Function at 0x401597
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Enumerate files recursively
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1bc
jmp 0x4030e8
imul eax, dword [ebp + 8], 0x1c
add eax, dword [0x49dcc8]
cmp dword [eax], 1
je 0x4030f2
mov edx, dword [0x49dd48]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x190], edx
push edx
push 0x1c
push eax
push ecx
call fcn.00407b7c
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
imul eax, esi, 0x7d00
lea ecx, [ebp - 0x30]
add esp, 0x10
lea edi, [eax + section..ndata]
mov dword [0x432950], ecx
imul eax, edx, 0x7d00
mov dword [ebp - 0x180], eax
add eax, section..ndata
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x34]
sub eax, 2
cmp eax, 0x41
ja case.0x401618.65
jmp dword [eax*4 + 0x40a004]
push eax
push eax
push 0
push esi
jmp 0x401b10
inc dword [0x4ad768]
cmp dword [ebp - 0x190], 0
je 0x4030f6
sub esp, 0xc
push 0
call sub.USER32.dll_PostQuitMessage
mov eax, 0x7fffffff
add esp, 0xc
jmp 0x403101
sub esp, 0xc
push esi
call fcn.00401456
sub esp, 0xc
dec eax
push 0
push eax
call fcn.00401597
mov esi, eax
add esp, 0x18
jmp case.0x401618.2
push edi
push edi
push 0
push esi
call fcn.00403f4b
jmp 0x401c02
xor eax, eax
call fcn.00401437
sub esp, 0xc
test eax, eax
jg 0x401694
mov eax, 1
push eax
call sub.KERNEL32.dll_Sleep
jmp 0x401f17
sub esp, 0xc
push dword [ebp - 0x190]
call sub.USER32.dll_SetForegroundWindow
jmp 0x401f17
cmp dword [ebp - 0x28], 0
jne 0x4016df
mov eax, dword [esi*4 + 0x49dc48]
mov ebx, dword [ebp - 0x30]
mov dword [esi*4 + 0x49dc08], eax
mov eax, 1
call fcn.00401437
mov dword [ebx*4 + 0x49dc48], eax
jmp case.0x401618.65
mov eax, dword [esi*4 + 0x49dc08]
mov dword [esi*4 + 0x49dc48], eax
jmp case.0x401618.65
mov ecx, dword [ebp - 0x28]
shl ecx, 2
mov edx, dword [ecx + 0x49dc48]
cmp edx, 1
sbb eax, eax
and edx, dword [ebp - 0x24]
and eax, 4
mov dword [ecx + 0x49dc48], edx
mov esi, dword [ebp + eax - 0x30]
jmp case.0x401618.2
push ebx
push ebx
push dword [edx*4 + 0x49dc48]
jmp 0x402b00
mov eax, dword [0x4ad778]
test eax, eax
je 0x40173a
push ecx
push ecx
push edx
push eax
call sub.USER32.dll_ShowWindow
pop eax
pop edx
mov eax, dword [0x4ad788]
test eax, eax
je case.0x401618.65
push edi
push edi
push dword [ebp - 0x30]
push eax
jmp 0x4021e4
mov eax, 0xfffffff0
call fcn.004013e8
push esi
push esi
push dword [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_SetFileAttributesA
jmp 0x40198e
mov eax, 0xfffffff0
call fcn.004013e8
sub esp, 0xc
mov esi, eax
push eax
call fcn.0040630d
mov dword [ebp - 0x194], 0
add esp, 0xc
test eax, eax
je 0x4017f5
push ebx
push ebx
push 0x5c
push eax
call fcn.004062e1
mov ebx, eax
mov al, byte [eax]
mov byte [ebp - 0x195], al
mov byte [ebx], 0
push 0
push esi
call sub.KERNEL32.dll_CreateDirectoryA
pop edx
test eax, eax
pop ecx
jne 0x4017e4
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
je 0x4017cb
inc dword [ebp - 0x194]
jmp 0x4017e4
sub esp, 0xc
push esi
call sub.KERNEL32.dll_GetFileAttributesA
and eax, 0x10
add esp, 0xc
cmp eax, 1
adc dword [ebp - 0x194], 0
mov dl, byte [ebp - 0x195]
mov byte [ebx], dl
test dl, dl
je 0x4017f5
lea eax, [ebx + 1]
jmp 0x401792
cmp dword [ebp - 0x2c], 0
je 0x401821
sub esp, 0xc
push 0xffffffffffffffe6
call fcn.004013cf
sub esp, 0xc
push esi
push 0x56be00
call fcn.004064b0
add esp, 0xc
push esi
call sub.KERNEL32.dll_SetCurrentDirectoryA
jmp 0x401f21
sub esp, 0xc
push 0xfffffffffffffff5
jmp 0x402ef3
xor eax, eax
call fcn.004013e8
sub esp, 0xc
push eax
call fcn.004062ae
jmp 0x402069
mov eax, 0xffffffd0
call fcn.004013e8
mov ebx, eax
mov eax, 0xffffffdf
call fcn.004013e8
mov esi, eax
mov eax, 0x13
call fcn.004013e8
push edi
push edi
push esi
push ebx
call sub.KERNEL32.dll_MoveFileA
pop edx
test eax, eax
pop ecx
je 0x40187b
sub esp, 0xc
push 0xffffffffffffffe3
jmp 0x4026cd
cmp dword [ebp - 0x28], 0
je 0x40306b
sub esp, 0xc
push ebx
call fcn.004062ae
add esp, 0xc
test eax, eax
je 0x40306b
push edi
push edi
push esi
push ebx
call fcn.00406a08
push ebx
push 0xffffffffffffffe4
jmp 0x4026cd
xor eax, eax
call fcn.004013e8
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1bc]
push 0x7d00
push ebx
call sub.KERNEL32.dll_GetFullPathNameA
test eax, eax
jne 0x4018d7
mov ecx, dword [ebp - 0x1bc]
mov byte [ecx], 0
jmp 0x401918
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x401924
cmp byte [eax], 0
je 0x401924
sub esp, 0xc
push ebx
call fcn.004062ae
add esp, 0xc
test eax, eax
je 0x40190f
add eax, 0x2c
push ecx
push ecx
push eax
push dword [ebp - 0x10]
call fcn.004064b0
mov dword [ebp - 0x194], 0
pop eax
pop edx
jmp 0x40192e
mov eax, dword [ebp - 0x1bc]
mov byte [eax], 0
mov dword [ebp - 0x194], 1
jmp 0x40192e
mov dword [ebp - 0x194], 0
cmp dword [ebp - 0x28], 0
jne 0x403075
push edi
push 0x7d00
push dword [ebp - 0x1bc]
push dword [ebp - 0x1bc]
call sub.KERNEL32.dll_GetShortPathNameA
jmp 0x40305c
or eax, 0xffffffff
call fcn.004013e8
lea edx, [ebp - 0x10]
push esi
push esi
push edx
push edi
push 0x7d00
push 0
push eax
push 0
call sub.KERNEL32.dll_SearchPathA
pop ecx
test eax, eax
pop ebx
jmp 0x40285a
mov eax, 0xffffffef
call fcn.004013e8
push edx
push edx
push eax
push edi
call fcn.00406823
pop ebx
pop esi
jmp 0x402b61
mov eax, 0x31
call fcn.004013e8
sub esp, 0xc
mov edi, eax
mov ebx, dword [ebp - 0x30]
push eax
call fcn.0040612c
add esp, 0xc
test eax, eax
je 0x4019c5
push ecx
push ecx
push edi
push 0x40b850
call fcn.004064b0
pop eax
pop edx
jmp 0x4019ea
push eax
push eax
push 0x56be00
push 0x40b850
call fcn.004064b0
push esi
push eax
call fcn.00406473
sub esp, 0xc
push edi
push eax
call fcn.0040642c
add esp, 0x18
sub esp, 0xc
mov esi, ebx
and esi, 7
push 0x40b850
call fcn.00406376
add esp, 0xc
cmp esi, 2
jle 0x401a3f
sub esp, 0xc
push 0x40b850
call fcn.004062ae
xor ecx, ecx
add esp, 0xc
mov edx, eax
test eax, eax
je 0x401a2f
lea eax, [ebp - 0x24]
push ecx
push ecx
push eax
lea eax, [edx + 0x14]
push eax
call sub.KERNEL32.dll_CompareFileTime
mov ecx, eax
pop ebx
pop eax
lea eax, [esi - 3]
or eax, 0x80000000
test ecx, eax
sete al
movzx esi, al
test esi, esi
jne 0x401a55
sub esp, 0xc
push 0x40b850
call fcn.00406975
add esp, 0xc
jmp 0x401a5f
mov eax, 1
cmp esi, 1
je 0x401a64
mov eax, 2
push edx
push eax
push 0x40000000
push 0x40b850
call fcn.0040693d
mov ebx, eax
pop eax
cmp ebx, 0xffffffff
jne 0x401b1a
test esi, esi
je 0x401a9f
push eax
push eax
push edi
push 0xffffffffffffffe2
call fcn.00403f4b
cmp esi, 2
pop edi
pop eax
jne case.0x401618.65
jmp 0x40306b
push ebx
push ebx
push section..ndata
push 0x41b250
call fcn.004064b0
push 0x40b850
push section..ndata
call fcn.004064b0
push dword [ebp - 0x1c]
push 0x413550
call fcn.00406567
push 0x41b250
push section..ndata
call fcn.004064b0
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x413550
call fcn.00406e74
pop edx
cmp eax, 4
pop ecx
je 0x401a43
cmp eax, 5
jne 0x401b07
inc dword [0x49dc50]
jmp 0x4030fd
push ebx
push ebx
push 0x40b850
push 0xfffffffffffffffa
call fcn.00403f4b
jmp 0x4027b0
push ecx
push ecx
push edi
push 0xffffffffffffffea
call fcn.00403f4b
inc dword [0x49dc7c]
pop eax
pop edx
push 0
push 0
push ebx
push dword [ebp - 0x28]
call fcn.00403411
dec dword [0x49dc7c]
mov esi, eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x401b4d
cmp dword [ebp - 0x20], 0xffffffff
je 0x401b5a
lea eax, [ebp - 0x24]
push eax
push 0
push eax
push ebx
call sub.KERNEL32.dll_SetFileTime
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
test esi, esi
jns case.0x401618.65
cmp esi, 0xfffffffe
jne 0x401b8e
push eax
push eax
push 0xffffffffffffffe9
push 0x40b850
call fcn.00406567
push edi
push 0x40b850
call fcn.0040642c
jmp 0x401b9c
push eax
push eax
push 0xffffffffffffffee
push 0x40b850
call fcn.00406567
push 0x200010
push 0x40b850
call fcn.00406e74
jmp 0x4027b0
xor eax, eax
jmp 0x401bf2
mov eax, 0x31
call fcn.004013e8
push edi
push edi
push dword [ebp - 0x30]
push eax
call fcn.00406e74
pop ebx
test eax, eax
pop esi
je 0x40306b
cmp eax, dword [ebp - 0x28]
je 0x401da4
cmp eax, dword [ebp - 0x20]
jne case.0x401618.65
mov esi, dword [ebp - 0x1c]
jmp case.0x401618.2
mov eax, 0xfffffff0
call fcn.004013e8
push ecx
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.00406c0b
mov dword [ebp - 0x194], 0
pop eax
pop edx
jmp 0x403075
mov eax, 1
call fcn.004013e8
sub esp, 0xc
push eax
call fcn.00406435
jmp 0x4021bd
mov eax, 2
call fcn.00401437
mov ebx, eax
mov eax, 3
call fcn.00401437
mov esi, eax
mov eax, 1
call fcn.004013e8
test ebx, ebx
mov dword [ebp - 0x19c], eax
mov byte [edi], 0
setne byte [ebp - 0x181]
cmp dword [ebp - 0x28], 0
je 0x401c72
cmp byte [ebp - 0x181], 0
je case.0x401618.65
sub esp, 0xc
push dword [ebp - 0x19c]
call fcn.00406435
add esp, 0xc
mov edx, eax
test esi, esi
jns 0x401c91
add esi, eax
js case.0x401618.65
cmp esi, edx
push eax
push eax
mov eax, esi
jle 0x401c9b
mov eax, edx
add eax, dword [ebp - 0x19c]
push eax
push edi
call fcn.004064b0
cmp byte [ebp - 0x181], 0
pop ecx
pop esi
je case.0x401618.65
test ebx, ebx
jns 0x401ccf
sub esp, 0xc
push edi
call fcn.00406435
add esp, 0xc
add ebx, eax
jns 0x401ccf
xor ebx, ebx
jmp 0x401cdb
cmp ebx, 0x7cff
jg case.0x401618.65
mov byte [edi + ebx], 0
jmp case.0x401618.65
mov eax, 0x20
call fcn.004013e8
mov ebx, eax
mov eax, 0x31
call fcn.004013e8
cmp dword [ebp - 0x20], 0
jne 0x401d0b
push edx
push edx
push eax
push ebx
call sub.KERNEL32.dll_lstrcmpiA
jmp 0x401d14
push edi
push edi
push eax
push ebx
call sub.KERNEL32.dll_lstrcmpA
pop ebx
test eax, eax
pop esi
je 0x402078
jmp 0x401da4
mov eax, 1
call fcn.004013e8
mov ebx, eax
push ecx
push 0x7d00
push edi
push eax
call sub.KERNEL32.dll_ExpandEnvironmentStringsA
pop edx
test eax, eax
je 0x401d56
cmp dword [ebp - 0x28], 0
je 0x401d65
push eax
push eax
push edi
push ebx
call sub.KERNEL32.dll_lstrcmpA
pop ebx
test eax, eax
pop esi
jne 0x401d65
mov byte [edi], 0
mov dword [ebp - 0x194], 1
jmp 0x401d6f
mov dword [ebp - 0x194], 0
mov byte [edi + 0x7cff], 0
jmp 0x403075
xor eax, eax
call fcn.00401437
mov ebx, eax
mov eax, 1
call fcn.00401437
cmp dword [ebp - 0x1c], 0
jne 0x401da0
cmp ebx, eax
jl 0x401da4
jle 0x402078
jmp 0x401db2
cmp ebx, eax
jae 0x401dac
mov esi, dword [ebp - 0x24]
jmp case.0x401618.2
jbe 0x402078
mov esi, dword [ebp - 0x20]
jmp case.0x401618.2
mov eax, 1
call fcn.00401437
mov ebx, eax
mov eax, 2
call fcn.00401437
mov dword [ebp - 0x194], 0
mov ecx, eax
cmp dword [ebp - 0x24], 0xc
ja case.default.0x401de5
mov eax, dword [ebp - 0x24]
jmp dword [eax*4 + 0x40a10c]
add ebx, ecx
jmp 0x401e42
sub ebx, ecx
jmp 0x401e42
imul ebx, ecx
jmp 0x401e42
test ecx, ecx
je 0x401e52
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
jmp 0x401e42
or ebx, ecx
jmp 0x401e42
and ebx, ecx
jmp 0x401e42
xor ebx, ecx
jmp 0x401e42
test ebx, ebx
sete al
jmp 0x401e1e
or ecx, ebx
setne al
movzx ebx, al
jmp 0x401e42
test ebx, ebx
setne dl
xor ebx, ebx
test ecx, ecx
setne bl
and ebx, edx
jmp 0x401e42
test ecx, ecx
je 0x401e52
mov eax, ebx
cdq
idiv ecx
mov ebx, edx
jmp 0x401e42
shl ebx, cl
mov dword [ebp - 0x194], 0
jmp case.default.0x401de5
sar ebx, cl
jmp 0x401e42
mov dword [ebp - 0x194], 1
xor ebx, ebx
push ecx
push ecx
push ebx
jmp 0x40204e
mov eax, 1
call fcn.004013e8
mov ebx, eax
mov eax, 2
call fcn.00401437
push edx
push eax
push ebx
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
mov dword [ebp - 0x194], 0
jmp 0x403075
mov eax, dword [ebp - 0x28]
mov ebx, dword [0x40b840]
test eax, eax
jne 0x401ea8
jmp 0x401ef1
mov ebx, dword [ebx]
dec eax
cmp eax, 0xffffffff
je 0x401eb7
test ebx, ebx
jne 0x401ea6
jmp 0x40279a
test ebx, ebx
je 0x40279a
add ebx, 4
push esi
push esi
push ebx
push 0x40b850
call fcn.004064b0
mov eax, dword [0x40b840]
add eax, 4
push eax
push ebx
call fcn.004064b0
mov eax, dword [0x40b840]
add eax, 4
push 0x40b850
push eax
jmp 0x402d68
test edx, edx
je 0x401f29
test ebx, ebx
je 0x40306b
lea eax, [ebx + 4]
push ecx
push ecx
push eax
push edi
call fcn.004064b0
mov eax, dword [ebx]
mov dword [0x40b840], eax
push edx
push ebx
call sub.KERNEL32.dll_GlobalFree
mov dword [ebp - 0x194], 0
add esp, 0xc
jmp 0x403075
push eax
push eax
push 0x7d04
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
push dword [ebp - 0x30]
mov ebx, eax
lea eax, [eax + 4]
push eax
call fcn.00406567
mov eax, dword [0x40b840]
mov dword [ebx], eax
mov dword [0x40b840], ebx
jmp 0x401c02
mov eax, 3
call fcn.00401437
mov dword [ebp - 0x1a0], eax
mov eax, 4
call fcn.00401437
test byte [ebp - 0x1c], 1
mov esi, eax
je 0x401f89
mov eax, 0x33
call fcn.004013e8
mov dword [ebp - 0x1a0], eax
test byte [ebp - 0x1c], 2
je 0x401f9b
mov eax, 0x44
call fcn.004013e8
mov esi, eax
cmp dword [ebp - 0x34], 0x21
jne 0x401ffc
mov eax, 1
call fcn.00401437
mov ebx, eax
mov eax, 2
call fcn.00401437
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
sar edx, 2
je 0x401fec
sub esp, 4
lea eax, [ebp - 0x10]
push eax
push edx
push 0
push esi
push dword [ebp - 0x1a0]
push ecx
push ebx
call sub.USER32.dll_SendMessageTimeoutA
test eax, eax
pop esi
sete al
movzx eax, al
mov dword [ebp - 0x194], eax
jmp 0x40203f
push esi
push dword [ebp - 0x1a0]
push ecx
push ebx
call sub.USER32.dll_SendMessageA
jmp 0x402032
mov eax, 1
call fcn.004013e8
mov ebx, eax
mov eax, 0x12
call fcn.004013e8
xor edx, edx
cmp byte [eax], 0
je 0x40201b
mov edx, eax
xor eax, eax
cmp byte [ebx], 0
je 0x402024
mov eax, ebx
push edx
push eax
push esi
push dword [ebp - 0x1a0]
call sub.USER32.dll_FindWindowExA
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x194], 0
cmp dword [ebp - 0x30], 0
js 0x403075
push ebx
push ebx
push dword [ebp - 0x10]
push edi
call fcn.004064ca
jmp 0x401c0c
xor eax, eax
call fcn.00401437
sub esp, 0xc
push eax
call sub.USER32.dll_IsWindow
add esp, 0xc
test eax, eax
je 0x402078
mov esi, dword [ebp - 0x2c]
jmp case.0x401618.2
mov esi, dword [ebp - 0x28]
jmp case.0x401618.2
mov eax, 2
call fcn.00401437
mov ebx, eax
mov eax, 1
call fcn.00401437
push ecx
push ecx
push ebx
push eax
call sub.USER32.dll_GetDlgItem
push eax
jmp 0x402347
mov ebx, edx
xor eax, eax
add ebx, dword [0x49dce0]
call fcn.00401437
push edx
push ebx
push 0xffffffffffffffeb
push eax
call sub.USER32.dll_SetWindowLongA
jmp 0x403052
push eax
push eax
push edx
push dword [ebp - 0x190]
call sub.USER32.dll_GetDlgItem
mov edi, eax
lea eax, [ebp - 0x174]
push eax
push edi
call sub.USER32.dll_GetClientRect
mov ebx, dword [ebp - 0x28]
mov esi, ebx
pop ecx
imul ebx, dword [ebp - 0x16c]
pop eax
xor eax, eax
imul esi, dword [ebp - 0x168]
call fcn.004013e8
push edx
push edx
push 0x10
push esi
push ebx
push 0
push eax
push 0
call sub.USER32.dll_LoadImageA
pop ecx
pop ebx
push eax
push 0
push 0x172
push edi
call sub.USER32.dll_SendMessageA
test eax, eax
je case.0x401618.65
sub esp, 0xc
push eax
call sub.GDI32.dll_DeleteObject
jmp 0x401f17
sub esp, 0xc
push dword [ebp - 0x190]
call sub.USER32.dll_GetDC
sub esp, 0xc
push 0x5a
push eax
call sub.GDI32.dll_GetDeviceCaps
add esp, 0x18
mov ebx, eax
mov eax, 2
call fcn.00401437
push edx
push 0x48
push ebx
push eax
call sub.KERNEL32.dll_MulDiv
neg eax
mov dword [0x40b800], eax
pop eax
mov eax, 3
call fcn.00401437
mov byte [0x40b817], 1
mov dword [0x40b810], eax
mov eax, dword [ebp - 0x20]
mov dl, al
and edx, 1
mov byte [0x40b814], dl
mov dl, al
and eax, 4
and edx, 2
mov byte [0x40b816], al
push eax
push eax
mov byte [0x40b815], dl
push dword [ebp - 0x2c]
push 0x40b81c
call fcn.00406567
push eax
push 0x40b800
call sub.GDI32.dll_CreateFontIndirectA
sub esp, 0xc
push eax
push edi
jmp 0x402fde
xor eax, eax
call fcn.00401437
mov ebx, eax
mov eax, 1
call fcn.00401437
cmp dword [ebp - 0x24], 0
jne 0x4021ee
push edi
push edi
push eax
push ebx
call sub.USER32.dll_ShowWindow
jmp 0x401c02
push esi
push esi
push eax
push ebx
call sub.USER32.dll_EnableWindow
jmp 0x401c02
xor eax, eax
call fcn.004013e8
mov esi, eax
mov eax, 0x31
call fcn.004013e8
mov edi, eax
mov eax, 0x22
call fcn.004013e8
mov ebx, eax
mov eax, 0x15
call fcn.004013e8
sub esp, 0xc
push 0xffffffffffffffec
call fcn.004013cf
xor ecx, ecx
add esp, 0xc
mov eax, dword [ebp - 0x24]
cmp byte [ebx], 0
je 0x402240
mov ecx, ebx
xor edx, edx
cmp byte [esi], 0
je 0x402249
mov edx, esi
push ebx
push ebx
push eax
push 0x56be00
push ecx
push edi
push edx
push dword [ebp - 0x190]
call sub.SHELL32.DLL_ShellExecuteA
pop edx
cmp eax, 0x20
pop ecx
jle 0x40306b
jmp case.0x401618.65
xor eax, eax
call fcn.004013e8
mov ebx, eax
push eax
push eax
push ebx
push 0xffffffffffffffeb
call fcn.00403f4b
push edi
push ebx
call fcn.00406f0b
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x40306b
cmp dword [ebp - 0x28], 0
je 0x402300
jmp 0x4022ab
sub esp, 0xc
push 0xf
call fcn.00406224
add esp, 0xc
push esi
push esi
push 0x64
push ebx
call sub.KERNEL32.dll_WaitForSingleObject
pop edx
cmp eax, 0x102
pop ecx
je 0x40229e
push eax
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.KERNEL32.dll_GetExitCodeProcess
cmp dword [ebp - 0x2c], 0
pop esi
pop edi
js 0x4022f0
push ecx
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0x1bc]
call fcn.004064ca
mov dword [ebp - 0x194], 0
pop eax
pop edx
jmp 0x40230a
mov dword [ebp - 0x194], 1
cmp dword [ebp - 0x10], 0
jne 0x40230a
mov dword [ebp - 0x194], 0
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_CloseHandle
jmp 0x401f21
mov eax, 2
call fcn.004013e8
sub esp, 0xc
push eax
call fcn.004062ae
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x402352
push eax
push eax
push dword [ebx + 0x14]
push dword [ebp - 0x1bc]
call fcn.004064ca
push dword [ebx + 0x18]
push edi
call fcn.004064ca
jmp 0x401c02
mov byte [edi], 0
mov ecx, dword [ebp - 0x1bc]
mov byte [ecx], 0
jmp 0x40306b
mov eax, 0xffffffee
call fcn.004013e8
mov dword [ebp - 0x1a4], eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1a4]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov byte [edi], 0
mov ebx, eax
mov eax, dword [ebp - 0x1bc]
test ebx, ebx
mov byte [eax], 0
pop esi
pop eax
je 0x40306b
push ecx
push ecx
push ebx
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov esi, eax
pop eax
test esi, esi
pop edx
je 0x40306b
push esi
push ebx
push 0
push dword [ebp - 0x1a4]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402409
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push eax
push section..rdata
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402409
push eax
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push edi
call fcn.004064ca
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [ebp - 0x1bc]
call fcn.004064ca
mov dword [ebp - 0x194], 0
pop edi
pop eax
jmp 0x402413
mov dword [ebp - 0x194], 1
sub esp, 0xc
push esi
call sub.KERNEL32.dll_GlobalFree
jmp 0x401f21
cmp dword [0x49dc88], 0
js 0x402524
mov eax, 0xfffffff0
call fcn.004013e8
mov ebx, eax
mov eax, 1
call fcn.004013e8
cmp dword [ebp - 0x20], 0
mov edi, eax
je 0x40245e
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_GetModuleHandleA
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x402474
push esi
push 8
push 0
push ebx
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
pop ebx
test eax, eax
je 0x40251a
push ecx
push ecx
push edi
push esi
call sub.KERNEL32.dll_GetProcAddress
mov ebx, eax
pop eax
test ebx, ebx
pop edx
je 0x4024d8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4024aa
sub esp, 0xc
push eax
call fcn.004013cf
add esp, 0xc
call ebx
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x194], eax
jmp 0x4024ee
sub esp, 0xc
push section..data
push 0x40b840
push section..ndata
push 0x7d00
push dword [ebp - 0x190]
call ebx
add esp, 0x20
mov dword [ebp - 0x194], 0
jmp 0x4024ee
push eax
push eax
push edi
push 0xfffffffffffffff7
call fcn.00403f4b
mov dword [ebp - 0x194], 1
pop edi
pop eax
cmp dword [ebp - 0x24], 0
jne 0x403075
sub esp, 0xc
push esi
call fcn.00403e49
add esp, 0xc
test eax, eax
je 0x403075
sub esp, 0xc
push esi
call sub.KERNEL32.dll_FreeLibrary
jmp 0x401f21
sub esp, 0xc
push 0xfffffffffffffff6
jmp 0x4026b4
sub esp, 0xc
push 0xffffffffffffffe7
jmp 0x4026b4
mov eax, 0xfffffff0
call fcn.004013e8
mov dword [ebp - 0x1a8], eax
mov eax, 0xffffffdf
call fcn.004013e8
mov esi, eax
mov eax, 2
call fcn.004013e8
mov dword [ebp - 0x1ac], eax
mov eax, 0xffffffcd
call fcn.004013e8
mov edi, eax
mov eax, 0x45
call fcn.004013e8
sub esp, 0xc
mov dword [ebp - 0x1b0], eax
push esi
call fcn.0040612c
add esp, 0xc
test eax, eax
jne 0x40258d
mov al, 0x21
call fcn.004013e8
sub esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40a6bc
push 1
push 0
push 0x40a5ac
call sub.OLE32.dll_CoCreateInstance
add esp, 0xc
test eax, eax
js 0x4026af
mov eax, dword [ebp - 0x18]
push ebx
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push 0x40aa9c
push eax
call dword [ecx]
mov ebx, eax
pop ecx
test eax, eax
js 0x40269c
mov eax, dword [ebp - 0x18]
push edx
push edx
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x50]
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push 0x56be00
push eax
call dword [edx + 0x24]
movzx ecx, byte [ebp - 0x1f]
pop esi
test ecx, ecx
pop eax
je 0x402603
mov eax, dword [ebp - 0x18]
push edx
push edx
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
pop esi
pop eax
mov eax, dword [ebp - 0x18]
push ecx
push ecx
mov ecx, dword [eax]
movzx edx, word [ebp - 0x1e]
push edx
push eax
call dword [ecx + 0x34]
cmp byte [edi], 0
pop eax
pop edx
je 0x40262b
mov eax, dword [ebp - 0x18]
push esi
movzx edx, byte [ebp - 0x20]
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0x44]
pop ecx
mov eax, dword [ebp - 0x18]
push edx
push edx
mov edx, dword [eax]
push dword [ebp - 0x1ac]
push eax
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push dword [ebp - 0x1b0]
push eax
call dword [edx + 0x1c]
test ebx, ebx
pop edi
pop eax
js 0x40268d
push esi
push esi
push 0x400
push section..bss
push 0xffffffffffffffff
push dword [ebp - 0x1a8]
push 0
push 0
call sub.KERNEL32.dll_MultiByteToWideChar
pop ecx
test eax, eax
pop ebx
mov ebx, 0x80004005
je 0x40268d
mov eax, dword [ebp - 0x14]
push edx
mov edx, dword [eax]
push 1
push section..bss
push eax
call dword [edx + 0x18]
mov ebx, eax
pop eax
mov eax, dword [ebp - 0x14]
sub esp, 0xc
mov edx, dword [eax]
push eax
call dword [edx + 8]
add esp, 0xc
mov eax, dword [ebp - 0x18]
sub esp, 0xc
mov edx, dword [eax]
push eax
call dword [edx + 8]
add esp, 0xc
test ebx, ebx
jns 0x4026c8
sub esp, 0xc
push 0xfffffffffffffff0
call fcn.004013cf
mov dword [ebp - 0x194], 1
jmp 0x401f21
sub esp, 0xc
push 0xfffffffffffffff4
call fcn.004013cf
jmp 0x401f17
xor eax, eax
call fcn.004013e8
mov ebx, eax
mov eax, 0x11
call fcn.004013e8
mov esi, eax
mov eax, 0x23
call fcn.004013e8
sub esp, 0xc
mov edi, eax
push ebx
call fcn.004062ae
add esp, 0xc
test eax, eax
je 0x402778
sub esp, 0xc
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], 2
push ebx
call fcn.00406435
mov byte [eax + ebx + 1], 0
push esi
call fcn.00406435
sub esp, 0xc
mov byte [eax + esi + 1], 0
mov dword [ebp - 0x16c], ebx
mov eax, dword [ebp - 0x28]
push edi
mov word [ebp - 0x164], ax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x15a], edi
push 0
call fcn.00403f4b
lea eax, [ebp - 0x174]
add esp, 0xc
push eax
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0xc
test eax, eax
je case.0x401618.65
push eax
push eax
push 0
push 0xfffffffffffffff9
call fcn.00403f4b
mov dword [ebp - 0x194], 1
jmp 0x401c0c
cmp esi, 0xbadf00d
je 0x4027bc
push edi
push edi
push 0xffffffffffffffe8
push 0
call fcn.00406567
push 0x200010
push eax
call fcn.00406e74
pop ebx
mov eax, 0x7fffffff
pop esi
jmp 0x403101
inc dword [0x49dc5c]
jmp case.0x401618.65
xor edi, edi
test esi, esi
je 0x4027d6
xor eax, eax
call fcn.004013e8
mov edi, eax
xor esi, esi
cmp dword [ebp - 0x2c], 0
je 0x4027ea
mov eax, 0x11
call fcn.004013e8
mov esi, eax
xor ebx, ebx
cmp dword [ebp - 0x20], 0
je 0x4027fe
mov eax, 0x22
call fcn.004013e8
mov ebx, eax
mov eax, 0xffffffcd
call fcn.004013e8
push eax
push ebx
push esi
push edi
call sub.KERNEL32.dll_WritePrivateProfileStringA
jmp 0x402b61
mov eax, 1
mov dword [ebp - 0x14], 0x7e4e21
call fcn.004013e8
mov esi, eax
mov eax, 0x12
call fcn.004013e8
mov ebx, eax
mov eax, 0xffffffdd
call fcn.004013e8
lea edx, [ebp - 0x14]
push ecx
push ecx
push eax
push 0x7cff
push edi
push edx
push ebx
push esi
call sub.KERNEL32.dll_GetPrivateProfileStringA
pop eax
mov eax, dword [edi]
cmp eax, dword [ebp - 0x14]
pop edx
jne case.0x401618.65
jmp 0x402d4a
cmp dword [ebp - 0x20], 0
jne 0x4028a0
mov eax, 2
call fcn.0040147a
mov ebx, eax
test eax, eax
je 0x40306b
mov eax, 0x33
call fcn.004013e8
push esi
push esi
push eax
push ebx
call sub.ADVAPI32.DLL_RegDeleteValueA
mov esi, eax
push ecx
push ebx
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
jmp 0x4028c5
mov eax, 0x22
call fcn.004013e8
mov ebx, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [ebp - 0x2c]
call fcn.004013bc
and ebx, 2
mov edx, esi
mov ecx, ebx
call fcn.004014c4
mov esi, eax
test esi, esi
jne 0x40306b
jmp case.0x401618.65
mov eax, esi
call fcn.004013bc
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
mov eax, 2
mov dword [ebp - 0x1b4], ecx
mov esi, dword [ebp - 0x20]
call fcn.004013e8
mov edi, eax
mov eax, 0x11
call fcn.004013e8
sub esp, 0xc
lea edx, [ebp - 0x14]
push 0
push edx
mov edx, dword [0x49dc78]
or edx, 2
push 0
push edx
push 0
push 0
push 0
push eax
push ebx
call sub.ADVAPI32.DLL_RegCreateKeyExA
add esp, 0xc
test eax, eax
jne 0x40306b
cmp esi, 1
jne 0x402949
mov al, 0x23
call fcn.004013e8
sub esp, 0xc
push 0x41b250
call fcn.00406435
inc eax
add esp, 0xc
jmp 0x40297f
cmp esi, 4
jne 0x402964
mov eax, 3
call fcn.00401437
mov dword [0x41b250], eax
mov eax, 4
jmp 0x40297f
xor eax, eax
cmp esi, 3
jne 0x40297f
push 0x17700
push 0x41b250
push 0
push dword [ebp - 0x24]
call fcn.00403411
push edx
push edx
push eax
push 0x41b250
push dword [ebp - 0x1b4]
push 0
push edi
push dword [ebp - 0x14]
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
push edi
push dword [ebp - 0x14]
setne al
movzx eax, al
mov dword [ebp - 0x194], eax
jmp 0x402a45
mov eax, 0x20019
call fcn.0040147a
mov ebx, eax
mov eax, 0x33
call fcn.004013e8
mov byte [edi], 0
mov edx, eax
test ebx, ebx
je 0x40306b
lea eax, [ebp - 0x14]
push esi
push esi
push eax
lea eax, [ebp - 0x18]
push edi
mov dword [ebp - 0x14], 0x7cff
push eax
push 0
push edx
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExA
pop edx
test eax, eax
pop ecx
jne 0x402a05
mov eax, dword [ebp - 0x18]
cmp eax, 4
je 0x402a14
cmp eax, 1
je 0x402a31
cmp eax, 2
je 0x402a31
mov byte [edi], 0
mov dword [ebp - 0x194], 1
jmp 0x402a41
xor eax, eax
cmp dword [ebp - 0x20], 0
sete al
mov dword [ebp - 0x194], eax
push eax
push eax
push dword [edi]
push edi
call fcn.004064ca
pop esi
pop edi
jmp 0x402a41
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x14]
mov byte [edi + eax], 0
sub esp, 0xc
push ebx
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x401f21
mov eax, 0x20019
call fcn.0040147a
mov ebx, eax
mov eax, 3
call fcn.00401437
mov byte [edi], 0
mov edx, eax
test ebx, ebx
je 0x40306b
mov dword [ebp - 0x18], 0x7cff
cmp dword [ebp - 0x20], 0
je 0x402a8e
push 0x7cff
push edi
push eax
push ebx
call sub.ADVAPI32.DLL_RegEnumKeyA
jmp 0x402aaa
lea eax, [ebp - 0x18]
push 0
push 0
push 0
push 0
push eax
push edi
push edx
push ebx
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
jne 0x40306b
sub esp, 0xc
mov byte [edi + 0x7cff], 0
push ebx
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x401f17
cmp byte [edi], 0
je case.0x401618.65
sub esp, 0xc
push edi
call fcn.0040617c
push eax
call sub.KERNEL32.dll_CloseHandle
jmp 0x401f17
mov eax, 0xffffffed
call fcn.004013e8
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.0040693d
pop ecx
cmp eax, 0xffffffff
je 0x402d4a
push edx
push edx
push eax
push edi
jmp 0x402cc0
cmp dword [ebp - 0x28], 0
je 0x402b22
mov eax, 1
mov ebx, 1
call fcn.00401437
mov byte [0x413550], al
jmp 0x402b3a
mov eax, 0x11
call fcn.004013e8
sub esp, 0xc
push eax
call fcn.00406435
mov ebx, eax
add esp, 0xc
cmp byte [edi], 0
je 0x40306b
sub esp, 0xc
push edi
call fcn.0040617c
lea edx, [ebp - 0x18]
push 0
push edx
push ebx
push 0x413550
push eax
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
jmp 0x401a94
mov eax, 2
call fcn.00401437
test eax, eax
jle case.0x401618.65
mov esi, eax
cmp eax, 0x7cff
jle 0x402b88
mov esi, 0x7cff
mov dword [ebp - 0x1b8], 0
cmp byte [edi], 0
je 0x402c68
sub esp, 0xc
xor ebx, ebx
push edi
call fcn.0040617c
mov dword [ebp - 0x1b8], 0
mov edi, eax
add esp, 0xc
sub esp, 0xc
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push 0
push edx
push 1
push ecx
push edi
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
test eax, eax
je 0x402c68
cmp dword [ebp - 0x18], 1
jne 0x402c68
cmp dword [ebp - 0x24], 0
je 0x402bfe
movzx eax, byte [ebp - 0x10]
push esi
push esi
push eax
push dword [ebp - 0x1bc]
call fcn.004064ca
pop ecx
pop ebx
jmp 0x4030fd
cmp bl, 0xd
je 0x402c08
cmp bl, 0xa
jne 0x402c3d
mov al, byte [ebp - 0x10]
cmp bl, al
je 0x402c17
cmp al, 0xd
je 0x402c25
cmp al, 0xa
je 0x402c25
push 1
push 0
push 0xffffffffffffffff
push edi
call sub.KERNEL32.dll_SetFilePointer
jmp 0x402c68
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1bc]
mov byte [edx + ecx], al
inc ecx
mov dword [ebp - 0x1b8], ecx
jmp 0x402c68
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x180]
mov al, byte [ebp - 0x10]
mov byte [edx + ecx + section..ndata], al
inc ecx
mov dword [ebp - 0x1b8], ecx
mov bl, al
test al, al
je 0x402c68
cmp ecx, esi
jl 0x402bb5
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1bc]
test edx, edx
mov byte [eax + edx], 0
jmp 0x401a94
cmp byte [edi], 0
je case.0x401618.65
mov eax, 2
mov esi, dword [ebp - 0x24]
call fcn.00401437
sub esp, 0xc
mov ebx, eax
push edi
call fcn.0040617c
add esp, 0xc
push esi
push 0
push ebx
push eax
call sub.KERNEL32.dll_SetFilePointer
cmp dword [ebp - 0x2c], 0
js case.0x401618.65
push edx
push edx
push eax
push dword [ebp - 0x1bc]
call fcn.004064ca
jmp 0x401c02
cmp byte [edi], 0
je case.0x401618.65
sub esp, 0xc
push edi
call fcn.0040617c
push eax
call sub.KERNEL32.dll_FindClose
jmp 0x401f17
mov ecx, dword [ebp - 0x1bc]
cmp byte [ecx], 0
je 0x402d4a
sub esp, 0xc
push ecx
call fcn.0040617c
sub esp, 0xc
lea edx, [ebp - 0x174]
push edx
push eax
call sub.KERNEL32.dll_FindNextFileA
add esp, 0x18
test eax, eax
je 0x402d4a
push eax
push eax
lea eax, [ebp - 0x148]
push eax
push edi
jmp 0x402f3b
mov eax, 2
call fcn.004013e8
lea edx, [ebp - 0x174]
push esi
push esi
push edx
push eax
call sub.KERNEL32.dll_FindFirstFileA
pop ecx
cmp eax, 0xffffffff
pop ebx
jne 0x402d52
mov eax, dword [ebp - 0x1bc]
mov byte [eax], 0
mov byte [edi], 0
jmp 0x40306b
push edx
push edx
push eax
push dword [ebp - 0x1bc]
call fcn.004064ca
lea eax, [ebp - 0x148]
push eax
push edi
call fcn.004064b0
jmp 0x401c02
mov eax, 0xfffffff0
call fcn.004013e8
sub esp, 0xc
mov dword [ebp - 0x1c4], eax
push eax
call fcn.0040612c
add esp, 0xc
test eax, eax
jne 0x402d9c
mov eax, 0xffffffed
call fcn.004013e8
sub esp, 0xc
push dword [ebp - 0x1c4]
call fcn.00406975
push eax
push eax
push 2
push 0x40000000
push dword [ebp - 0x1c4]
call fcn.0040693d
mov dword [ebp - 0x1c0], eax
add esp, 0x14
inc eax
je 0x402ecf
mov edx, dword [0x49dd28]
push edi
mov dword [ebp - 0x188], edx
push edi
push edx
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
pop ebx
mov dword [ebp - 0x18c], eax
pop esi
mov ebx, 0xfffffd66
test eax, eax
je 0x402ea9
sub esp, 0xc
push 0
call fcn.0040312c
sub esp, 0xc
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
call fcn.00403148
push dword [ebp - 0x28]
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
add esp, 0x18
mov edi, eax
test eax, eax
je 0x402e68
push dword [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x2c]
call fcn.00403411
mov eax, edi
jmp 0x402e57
mov esi, dword [eax]
lea ebx, [eax + 8]
push ecx
push esi
push ebx
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x18c]
push eax
call fcn.0040615b
lea eax, [ebx + esi]
pop edx
cmp byte [eax], 0
jne 0x402e3c
sub esp, 0xc
push edi
call sub.KERNEL32.dll_GlobalFree
add esp, 0xc
sub esp, 0xc
lea eax, [ebp - 0x18]
push 0
push eax
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
push dword [ebp - 0x1c0]
call sub.KERNEL32.dll_WriteFile
push dword [ebp - 0x18c]
call sub.KERNEL32.dll_GlobalFree
add esp, 0xc
push 0
push 0
push dword [ebp - 0x1c0]
push 0xffffffffffffffff
call fcn.00403411
mov ebx, eax
sub esp, 0xc
push dword [ebp - 0x1c0]
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
test ebx, ebx
js 0x402ecf
mov eax, 0xfffffff3
mov dword [ebp - 0x194], 0
jmp 0x402eef
sub esp, 0xc
push dword [ebp - 0x1c4]
call sub.KERNEL32.dll_DeleteFileA
mov dword [ebp - 0x194], 1
mov eax, 0xffffffef
add esp, 0xc
sub esp, 0xc
push eax
call fcn.004013cf
jmp 0x401f21
xor eax, eax
call fcn.00401437
mov esi, eax
cmp eax, dword [0x49dcc4]
jae 0x40306b
imul ebx, eax, 0x7d18
mov eax, dword [ebp - 0x28]
add ebx, dword [0x49dcc0]
cmp eax, 0
jl 0x402f45
mov eax, dword [ebx + eax*4]
jne 0x402cb7
push eax
push eax
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 0x1bc]
call fcn.004064b0
jmp 0x401c02
not eax
mov dword [ebp - 0x28], eax
test eax, eax
je 0x402f5d
mov eax, 1
call fcn.00401437
mov dword [ebp - 0x2c], eax
jmp 0x402f74
push eax
push eax
push dword [ebp - 0x20]
lea eax, [ebx + 0x18]
push eax
call fcn.00406567
or dword [ebx + 8], 0x100
pop edi
pop eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebx + eax*4], edx
cmp dword [ebp - 0x24], 0
je case.0x401618.65
sub esp, 0xc
push esi
call fcn.004011c8
jmp 0x401f17
xor eax, eax
call fcn.00401437
mov edx, eax
cmp eax, 0x1f
ja 0x40306b
cmp dword [ebp - 0x24], 0
je 0x402ff5
cmp dword [ebp - 0x28], 0
je 0x402fca
sub esp, 0xc
push eax
call fcn.004012df
sub esp, 0xc
push 0
push 0
call fcn.0040122c
jmp 0x402fe3
sub esp, 0xc
push 0
call fcn.00401328
sub esp, 0xc
push eax
push dword [ebp - 0x1bc]
call fcn.004064ca
add esp, 0x18
mov dword [ebp - 0x194], 0
jmp 0x403075
cmp dword [ebp - 0x28], 0
mov ecx, dword [0x49dca8]
je 0x40300d
mov eax, dword [ebp - 0x2c]
mov dword [ecx + edx*4 + 0x94], eax
jmp case.0x401618.65
push esi
push esi
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0x1bc]
call fcn.00406567
jmp 0x401c02
and esi, dword [0x44e770]
push 0
push esi
push 0xb
push dword [ebp - 0x190]
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x30], 0
je case.0x401618.65
push ebx
push 0
push 0
push dword [ebp - 0x190]
call sub.USER32.dll_InvalidateRect
mov dword [ebp - 0x194], 0
pop ecx
jmp 0x403075
mov dword [ebp - 0x194], 0
jmp 0x403075
mov dword [ebp - 0x194], 1
mov ecx, dword [ebp - 0x194]
add dword [0x49dc50], ecx
jmp 0x4030fd
cmp esi, 0x7fffffff
je 0x4030f6
sub esp, 0xc
push esi
call fcn.00401456
add esp, 0xc
test eax, eax
jne 0x4030a5
inc dword [ebp + 8]
mov edx, 1
jmp 0x4030ae
dec eax
mov edx, eax
sub edx, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], 0
je 0x4030e8
mov eax, edx
push edx
push dword [0x4ad7b8]
add eax, dword [0x4ad798]
push 0x7530
mov dword [0x4ad798], eax
push eax
call sub.KERNEL32.dll_MulDiv
mov dword [esp], 0
push eax
push 0x402
push dword [ebp + 0xc]
call sub.USER32.dll_SendMessageA
cmp dword [ebp + 8], 0
jns 0x4015a8
xor eax, eax
jmp 0x403101
mov eax, 0x7fffffff
jmp 0x403101
xor esi, esi
jmp 0x40308b
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8