최대 1 분 소요


L18

문제

image-20220402185307933


파일 실행

image-20220402185746106


올리디버거

image-20220402185826780


ExeInfoPE

image-20220402185845406


All referenced text strings

image-20220402185857543


Double Click

image-20220402185919746

  • wsprintfA : 문자열을 버퍼에 저장
  • lstrcmpiA로 String1과 String2 비교하여 분기로 가는 걸로 추측


F9

image-20220402190140323

  • 상단의 wsprintfA는 CodeEngn 저장


image-20220402190307354

  • 하단의 wsprintfA의 CALL함수를 통해 String2 값에 Name에 따른 Serial 값 저장


image-20220402190322661

  • GetDigItemTextA로 사용자 입력값 String2에 삽입
  • lstrcmpiA를 통해 비교 후 분기 도달


Serial 값

image-20220402190336366

업데이트: