- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
invoke CreateFileA,401190h,0C0000000h,3,0,3,80h,0
CMP EAX,-1
je access
mov DWORD PTR SS:EBP-4,eax
invoke GetFileSize,DWORD PTR SS:EBP-4,0
OR EAX,EAX
je file_size
MOV DWORD PTR ds:401270h,EAX
invoke GlobalAlloc,40h,eax
OR EAX,EAX
je error_mem
mov DWORD PTR SS:401300h,eax
push 0
push 401060h
push DWORD PTR ss:401270h
PUSH DWORD PTR SS:401300h
PUSH DWORD PTR SS:EBP-4
invoke ReadFile
OR EAX,EAX
je error_read
jmp crypt
.............
invoke EnableWindow,[hwnd],0
cmp DWORD PTR DS:dddd,4Ch
je get_open
mov DWORD PTR DS:dddd,4Ch
MOV DWORD PTR DS:dddd+12,gameexe
MOV DWORD PTR DS:dddd+44,g2e
MOV DWORD PTR DS:dddd+52, OFN_FILEMUSTEXIST + OFN_PATHMUSTEXIST + OFN_LONGNAMES + OFN_EXPLORER + \
OFN_HIDEREADONLY
MOV DWORD PTR DS:dddd+28,dddd+100
MOV DWORD PTR DS:dddd+32,104h
MOV DWORD PTR DS:dddd+48,alawar
get_open:
PUSH dddd
.............
dddd: