Function at 0x4015a5
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 0x403105
imul eax, dword [ebp + 8], 0x1c
add eax, dword [0x7a34d0]
cmp dword [eax], 1
je 0x40310f
mov edx, dword [0x7a3550]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x190], edx
push edx
push 0x1c
push eax
push ecx
call fcn.00407b30
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, esi
lea ecx, [ebp - 0x30]
shl eax, 0xa
add esp, 0x10
mov dword [0x40cc50], ecx
lea edi, [eax + section..ndata]
mov eax, edx
shl eax, 0xa
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.0x401624.65
jmp dword [eax*4 + 0x40a004]
push eax
push eax
push 0
push esi
jmp 0x401b2d
inc dword [0x7a3d70]
cmp dword [ebp - 0x190], 0
je 0x403113
sub esp, 0xc
push 0
call sub.USER32.dll_PostQuitMessage
mov eax, 0x7fffffff
add esp, 0xc
jmp 0x40311e
sub esp, 0xc
push esi
call fcn.00401467
sub esp, 0xc
dec eax
push 0
push eax
call fcn.004015a5
mov esi, eax
add esp, 0x18
jmp case.0x401624.2
push edi
push edi
push 0
push esi
call fcn.00403dcf
jmp 0x401c1f
xor eax, eax
call fcn.00401448
sub esp, 0xc
test eax, eax
jg 0x4016a0
mov eax, 1
push eax
call sub.KERNEL32.dll_Sleep
jmp 0x401f34
sub esp, 0xc
push dword [ebp - 0x190]
call sub.USER32.dll_SetForegroundWindow
jmp 0x401f34
cmp dword [ebp - 0x28], 0
jne 0x4016eb
mov eax, dword [esi*4 + 0x7a3450]
mov ebx, dword [ebp - 0x30]
mov dword [esi*4 + 0x7a3410], eax
mov eax, 1
call fcn.00401448
mov dword [ebx*4 + 0x7a3450], eax
jmp case.0x401624.65
mov eax, dword [esi*4 + 0x7a3410]
mov dword [esi*4 + 0x7a3450], eax
jmp case.0x401624.65
mov ecx, dword [ebp - 0x28]
shl ecx, 2
mov edx, dword [ecx + 0x7a3450]
cmp edx, 1
sbb eax, eax
and edx, dword [ebp - 0x24]
and eax, 4
mov dword [ecx + 0x7a3450], edx
mov esi, dword [ebp + eax - 0x30]
jmp case.0x401624.2
push ebx
push ebx
push dword [edx*4 + 0x7a3450]
jmp 0x402b1d
mov eax, dword [0x7a3d80]
test eax, eax
je 0x401746
push ecx
push ecx
push edx
push eax
call sub.USER32.dll_ShowWindow
pop eax
pop edx
mov eax, dword [0x7a3d90]
test eax, eax
je case.0x401624.65
push edi
push edi
push dword [ebp - 0x30]
push eax
jmp 0x402201
mov eax, 0xfffffff0
call fcn.004013fc
push esi
push esi
push dword [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_SetFileAttributesA
jmp 0x4019ab
mov eax, 0xfffffff0
call fcn.004013fc
sub esp, 0xc
mov esi, eax
push eax
call fcn.00406191
mov dword [ebp - 0x194], 0
add esp, 0xc
test eax, eax
je 0x401801
push ebx
push ebx
push 0x5c
push eax
call fcn.00406165
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 0x4017f0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
je 0x4017d7
inc dword [ebp - 0x194]
jmp 0x4017f0
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 0x401801
lea eax, [ebx + 1]
jmp 0x40179e
cmp dword [ebp - 0x2c], 0
je 0x40183e
sub esp, 0xc
push 0xffffffffffffffe6
call fcn.004013e3
sub esp, 0xc
push esi
push 0x7ac800
call fcn.00406334
add esp, 0xc
push esi
call sub.KERNEL32.dll_SetCurrentDirectoryA
add esp, 0xc
test eax, eax
jne 0x403092
inc dword [ebp - 0x194]
jmp 0x403092
sub esp, 0xc
push 0xfffffffffffffff5
jmp 0x402f10
xor eax, eax
call fcn.004013fc
sub esp, 0xc
push eax
call fcn.00406132
jmp 0x402086
mov eax, 0xffffffd0
call fcn.004013fc
mov ebx, eax
mov eax, 0xffffffdf
call fcn.004013fc
mov esi, eax
mov eax, 0x13
call fcn.004013fc
push edi
push edi
push esi
push ebx
call sub.KERNEL32.dll_MoveFileA
pop edx
test eax, eax
pop ecx
je 0x401898
sub esp, 0xc
push 0xffffffffffffffe3
jmp 0x4026ea
cmp dword [ebp - 0x28], 0
je 0x403088
sub esp, 0xc
push ebx
call fcn.00406132
add esp, 0xc
test eax, eax
je 0x403088
push edi
push edi
push esi
push ebx
call fcn.0040688b
push ebx
push 0xffffffffffffffe4
jmp 0x4026ea
xor eax, eax
call fcn.004013fc
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1bc]
push 0x400
push ebx
call sub.KERNEL32.dll_GetFullPathNameA
test eax, eax
jne 0x4018f4
mov ecx, dword [ebp - 0x1bc]
mov byte [ecx], 0
jmp 0x401935
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x401941
cmp byte [eax], 0
je 0x401941
sub esp, 0xc
push ebx
call fcn.00406132
add esp, 0xc
test eax, eax
je 0x40192c
add eax, 0x2c
push ecx
push ecx
push eax
push dword [ebp - 0x10]
call fcn.00406334
mov dword [ebp - 0x194], 0
pop eax
pop edx
jmp 0x40194b
mov eax, dword [ebp - 0x1bc]
mov byte [eax], 0
mov dword [ebp - 0x194], 1
jmp 0x40194b
mov dword [ebp - 0x194], 0
cmp dword [ebp - 0x28], 0
jne 0x403092
push edi
push 0x400
push dword [ebp - 0x1bc]
push dword [ebp - 0x1bc]
call sub.KERNEL32.dll_GetShortPathNameA
jmp 0x403079
or eax, 0xffffffff
call fcn.004013fc
lea edx, [ebp - 0x10]
push esi
push esi
push edx
push edi
push 0x400
push 0
push eax
push 0
call sub.KERNEL32.dll_SearchPathA
pop ecx
test eax, eax
pop ebx
jmp 0x402877
mov eax, 0xffffffef
call fcn.004013fc
push edx
push edx
push eax
push edi
call fcn.004066a6
pop ebx
pop esi
jmp 0x402b7e
mov eax, 0x31
call fcn.004013fc
sub esp, 0xc
mov edi, eax
mov ebx, dword [ebp - 0x30]
push eax
call fcn.00405fb0
add esp, 0xc
test eax, eax
je 0x4019e2
push ecx
push ecx
push edi
push 0x40b850
call fcn.00406334
pop eax
pop edx
jmp 0x401a07
push eax
push eax
push 0x7ac800
push 0x40b850
call fcn.00406334
push esi
push eax
call fcn.004062f7
sub esp, 0xc
push edi
push eax
call fcn.004062b0
add esp, 0x18
sub esp, 0xc
mov esi, ebx
and esi, 7
push 0x40b850
call fcn.004061fa
add esp, 0xc
cmp esi, 2
jle 0x401a5c
sub esp, 0xc
push 0x40b850
call fcn.00406132
xor ecx, ecx
add esp, 0xc
mov edx, eax
test eax, eax
je 0x401a4c
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 eax, ecx
sete al
movzx esi, al
test esi, esi
jne 0x401a72
sub esp, 0xc
push 0x40b850
call fcn.004067f8
add esp, 0xc
jmp 0x401a7c
mov eax, 1
cmp esi, 1
je 0x401a81
mov eax, 2
push edx
push eax
push 0x40000000
push 0x40b850
call fcn.004067c0
mov ebx, eax
pop eax
cmp ebx, 0xffffffff
jne 0x401b37
test esi, esi
je 0x401abc
push eax
push eax
push edi
push 0xffffffffffffffe2
call fcn.00403dcf
cmp esi, 2
pop edi
pop eax
jne case.0x401624.65
jmp 0x403088
push ebx
push ebx
push section..ndata
push 0x40c050
call fcn.00406334
push 0x40b850
push section..ndata
call fcn.00406334
push dword [ebp - 0x1c]
push 0x40bc50
call fcn.004063eb
push 0x40c050
push section..ndata
call fcn.00406334
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40bc50
call fcn.00406cf7
pop edx
cmp eax, 4
pop ecx
je 0x401a60
cmp eax, 5
jne 0x401b24
inc dword [0x7a3458]
jmp 0x40311a
push ebx
push ebx
push 0x40b850
push 0xfffffffffffffffa
call fcn.00403dcf
jmp 0x4027cd
push ecx
push ecx
push edi
push 0xffffffffffffffea
call fcn.00403dcf
inc dword [0x7a3484]
pop eax
pop edx
push 0
push 0
push ebx
push dword [ebp - 0x28]
call fcn.004031a5
dec dword [0x7a3484]
mov esi, eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x401b6a
cmp dword [ebp - 0x20], 0xffffffff
je 0x401b77
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.0x401624.65
cmp esi, 0xfffffffe
jne 0x401bab
push eax
push eax
push 0xffffffffffffffe9
push 0x40b850
call fcn.004063eb
push edi
push 0x40b850
call fcn.004062b0
jmp 0x401bb9
push eax
push eax
push 0xffffffffffffffee
push 0x40b850
call fcn.004063eb
push 0x200010
push 0x40b850
call fcn.00406cf7
jmp 0x4027cd
xor eax, eax
jmp 0x401c0f
mov eax, 0x31
call fcn.004013fc
push edi
push edi
push dword [ebp - 0x30]
push eax
call fcn.00406cf7
pop ebx
test eax, eax
pop esi
je 0x403088
cmp eax, dword [ebp - 0x28]
je 0x401dc1
cmp eax, dword [ebp - 0x20]
jne case.0x401624.65
mov esi, dword [ebp - 0x1c]
jmp case.0x401624.2
mov eax, 0xfffffff0
call fcn.004013fc
push ecx
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.00406a8e
mov dword [ebp - 0x194], 0
pop eax
pop edx
jmp 0x403092
mov eax, 1
call fcn.004013fc
sub esp, 0xc
push eax
call fcn.004062b9
jmp 0x4021da
mov eax, 2
call fcn.00401448
mov ebx, eax
mov eax, 3
call fcn.00401448
mov esi, eax
mov eax, 1
call fcn.004013fc
test ebx, ebx
mov dword [ebp - 0x19c], eax
mov byte [edi], 0
setne byte [ebp - 0x181]
cmp dword [ebp - 0x28], 0
je 0x401c8f
cmp byte [ebp - 0x181], 0
je case.0x401624.65
sub esp, 0xc
push dword [ebp - 0x19c]
call fcn.004062b9
add esp, 0xc
mov edx, eax
test esi, esi
jns 0x401cae
add esi, eax
js case.0x401624.65
cmp esi, edx
push eax
push eax
mov eax, esi
jle 0x401cb8
mov eax, edx
add eax, dword [ebp - 0x19c]
push eax
push edi
call fcn.00406334
cmp byte [ebp - 0x181], 0
pop ecx
pop esi
je case.0x401624.65
test ebx, ebx
jns 0x401cec
sub esp, 0xc
push edi
call fcn.004062b9
add esp, 0xc
add ebx, eax
jns 0x401cec
xor ebx, ebx
jmp 0x401cf8
cmp ebx, 0x3ff
jg case.0x401624.65
mov byte [edi + ebx], 0
jmp case.0x401624.65
mov eax, 0x20
call fcn.004013fc
mov ebx, eax
mov eax, 0x31
call fcn.004013fc
cmp dword [ebp - 0x20], 0
jne 0x401d28
push edx
push edx
push eax
push ebx
call sub.KERNEL32.dll_lstrcmpiA
jmp 0x401d31
push edi
push edi
push eax
push ebx
call sub.KERNEL32.dll_lstrcmpA
pop ebx
test eax, eax
pop esi
je 0x402095
jmp 0x401dc1
mov eax, 1
call fcn.004013fc
mov ebx, eax
push ecx
push 0x400
push edi
push eax
call sub.KERNEL32.dll_ExpandEnvironmentStringsA
pop edx
test eax, eax
je 0x401d73
cmp dword [ebp - 0x28], 0
je 0x401d82
push eax
push eax
push edi
push ebx
call sub.KERNEL32.dll_lstrcmpA
pop ebx
test eax, eax
pop esi
jne 0x401d82
mov byte [edi], 0
mov dword [ebp - 0x194], 1
jmp 0x401d8c
mov dword [ebp - 0x194], 0
mov byte [edi + 0x3ff], 0
jmp 0x403092
xor eax, eax
call fcn.00401448
mov ebx, eax
mov eax, 1
call fcn.00401448
cmp dword [ebp - 0x1c], 0
jne 0x401dbd
cmp ebx, eax
jl 0x401dc1
jle 0x402095
jmp 0x401dcf
cmp ebx, eax
jae 0x401dc9
mov esi, dword [ebp - 0x24]
jmp case.0x401624.2
jbe 0x402095
mov esi, dword [ebp - 0x20]
jmp case.0x401624.2
mov eax, 1
call fcn.00401448
mov ebx, eax
mov eax, 2
call fcn.00401448
mov dword [ebp - 0x194], 0
mov ecx, eax
cmp dword [ebp - 0x24], 0xc
ja case.default.0x401e02
mov eax, dword [ebp - 0x24]
jmp dword [eax*4 + 0x40a10c]
add ebx, ecx
jmp 0x401e5f
sub ebx, ecx
jmp 0x401e5f
imul ebx, ecx
jmp 0x401e5f
test ecx, ecx
je 0x401e6f
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
jmp 0x401e5f
or ebx, ecx
jmp 0x401e5f
and ebx, ecx
jmp 0x401e5f
xor ebx, ecx
jmp 0x401e5f
test ebx, ebx
sete al
jmp 0x401e3b
or ecx, ebx
setne al
movzx ebx, al
jmp 0x401e5f
test ebx, ebx
setne dl
xor ebx, ebx
test ecx, ecx
setne bl
and ebx, edx
jmp 0x401e5f
test ecx, ecx
je 0x401e6f
mov eax, ebx
cdq
idiv ecx
mov ebx, edx
jmp 0x401e5f
shl ebx, cl
mov dword [ebp - 0x194], 0
jmp case.default.0x401e02
sar ebx, cl
jmp 0x401e5f
mov dword [ebp - 0x194], 1
xor ebx, ebx
push ecx
push ecx
push ebx
jmp 0x40206b
mov eax, 1
call fcn.004013fc
mov ebx, eax
mov eax, 2
call fcn.00401448
push edx
push eax
push ebx
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
mov dword [ebp - 0x194], 0
jmp 0x403092
mov eax, dword [ebp - 0x28]
mov ebx, dword [0x40b840]
test eax, eax
jne 0x401ec5
jmp 0x401f0e
mov ebx, dword [ebx]
dec eax
cmp eax, 0xffffffff
je 0x401ed4
test ebx, ebx
jne 0x401ec3
jmp 0x4027b7
test ebx, ebx
je 0x4027b7
add ebx, 4
push esi
push esi
push ebx
push 0x40b850
call fcn.00406334
mov eax, dword [0x40b840]
add eax, 4
push eax
push ebx
call fcn.00406334
mov eax, dword [0x40b840]
add eax, 4
push 0x40b850
push eax
jmp 0x402d85
test edx, edx
je 0x401f46
test ebx, ebx
je 0x403088
lea eax, [ebx + 4]
push ecx
push ecx
push eax
push edi
call fcn.00406334
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 0x403092
push eax
push eax
push 0x404
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
push dword [ebp - 0x30]
mov ebx, eax
lea eax, [eax + 4]
push eax
call fcn.004063eb
mov eax, dword [0x40b840]
mov dword [ebx], eax
mov dword [0x40b840], ebx
jmp 0x401c1f
mov eax, 3
call fcn.00401448
mov dword [ebp - 0x1a0], eax
mov eax, 4
call fcn.00401448
test byte [ebp - 0x1c], 1
mov esi, eax
je 0x401fa6
mov eax, 0x33
call fcn.004013fc
mov dword [ebp - 0x1a0], eax
test byte [ebp - 0x1c], 2
je 0x401fb8
mov eax, 0x44
call fcn.004013fc
mov esi, eax
cmp dword [ebp - 0x34], 0x21
jne 0x402019
mov eax, 1
call fcn.00401448
mov ebx, eax
mov eax, 2
call fcn.00401448
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
sar edx, 2
je 0x402009
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 0x40205c
push esi
push dword [ebp - 0x1a0]
push ecx
push ebx
call sub.USER32.dll_SendMessageA
jmp 0x40204f
mov eax, 1
call fcn.004013fc
mov ebx, eax
mov eax, 0x12
call fcn.004013fc
xor edx, edx
cmp byte [eax], 0
je 0x402038
mov edx, eax
xor eax, eax
cmp byte [ebx], 0
je 0x402041
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 0x403092
push ebx
push ebx
push dword [ebp - 0x10]
push edi
call fcn.0040634e
jmp 0x401c29
xor eax, eax
call fcn.00401448
sub esp, 0xc
push eax
call sub.USER32.dll_IsWindow
add esp, 0xc
test eax, eax
je 0x402095
mov esi, dword [ebp - 0x2c]
jmp case.0x401624.2
mov esi, dword [ebp - 0x28]
jmp case.0x401624.2
mov eax, 2
call fcn.00401448
mov ebx, eax
mov eax, 1
call fcn.00401448
push ecx
push ecx
push ebx
push eax
call sub.USER32.dll_GetDlgItem
push eax
jmp 0x402364
mov ebx, edx
xor eax, eax
add ebx, dword [0x7a34e8]
call fcn.00401448
push edx
push ebx
push 0xffffffffffffffeb
push eax
call sub.USER32.dll_SetWindowLongA
jmp 0x40306f
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.004013fc
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.0x401624.65
sub esp, 0xc
push eax
call sub.GDI32.dll_DeleteObject
jmp 0x401f34
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.00401448
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.00401448
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.004063eb
push eax
push 0x40b800
call sub.GDI32.dll_CreateFontIndirectA
sub esp, 0xc
push eax
push edi
jmp 0x402ffb
xor eax, eax
call fcn.00401448
mov ebx, eax
mov eax, 1
call fcn.00401448
cmp dword [ebp - 0x24], 0
jne 0x40220b
push edi
push edi
push eax
push ebx
call sub.USER32.dll_ShowWindow
jmp 0x401c1f
push esi
push esi
push eax
push ebx
call sub.USER32.dll_EnableWindow
jmp 0x401c1f
xor eax, eax
call fcn.004013fc
mov esi, eax
mov eax, 0x31
call fcn.004013fc
mov edi, eax
mov eax, 0x22
call fcn.004013fc
mov ebx, eax
mov eax, 0x15
call fcn.004013fc
sub esp, 0xc
push 0xffffffffffffffec
call fcn.004013e3
xor ecx, ecx
add esp, 0xc
mov eax, dword [ebp - 0x24]
cmp byte [ebx], 0
je 0x40225d
mov ecx, ebx
xor edx, edx
cmp byte [esi], 0
je 0x402266
mov edx, esi
push ebx
push ebx
push eax
push 0x7ac800
push ecx
push edi
push edx
push dword [ebp - 0x190]
call sub.SHELL32.DLL_ShellExecuteA
pop edx
cmp eax, 0x20
pop ecx
jle 0x403088
jmp case.0x401624.65
xor eax, eax
call fcn.004013fc
mov ebx, eax
push eax
push eax
push ebx
push 0xffffffffffffffeb
call fcn.00403dcf
push edi
push ebx
call fcn.00406d8e
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x403088
cmp dword [ebp - 0x28], 0
je 0x40231d
jmp 0x4022c8
sub esp, 0xc
push 0xf
call fcn.004060a8
add esp, 0xc
push esi
push esi
push 0x64
push ebx
call sub.KERNEL32.dll_WaitForSingleObject
pop edx
cmp eax, 0x102
pop ecx
je 0x4022bb
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 0x40230d
push ecx
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0x1bc]
call fcn.0040634e
mov dword [ebp - 0x194], 0
pop eax
pop edx
jmp 0x402327
mov dword [ebp - 0x194], 1
cmp dword [ebp - 0x10], 0
jne 0x402327
mov dword [ebp - 0x194], 0
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_CloseHandle
jmp 0x401f3e
mov eax, 2
call fcn.004013fc
sub esp, 0xc
push eax
call fcn.00406132
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x40236f
push eax
push eax
push dword [ebx + 0x14]
push dword [ebp - 0x1bc]
call fcn.0040634e
push dword [ebx + 0x18]
push edi
call fcn.0040634e
jmp 0x401c1f
mov byte [edi], 0
mov ecx, dword [ebp - 0x1bc]
mov byte [ecx], 0
jmp 0x403088
mov eax, 0xffffffee
call fcn.004013fc
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 0x403088
push ecx
push ecx
push ebx
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov esi, eax
pop eax
test esi, esi
pop edx
je 0x403088
push esi
push ebx
push 0
push dword [ebp - 0x1a4]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402426
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 0x402426
push eax
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push edi
call fcn.0040634e
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [ebp - 0x1bc]
call fcn.0040634e
mov dword [ebp - 0x194], 0
pop edi
pop eax
jmp 0x402430
mov dword [ebp - 0x194], 1
sub esp, 0xc
push esi
call sub.KERNEL32.dll_GlobalFree
jmp 0x401f3e
cmp dword [0x7a3490], 0
js 0x402541
mov eax, 0xfffffff0
call fcn.004013fc
mov ebx, eax
mov eax, 1
call fcn.004013fc
cmp dword [ebp - 0x20], 0
mov edi, eax
je 0x40247b
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_GetModuleHandleA
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x402491
push esi
push 8
push 0
push ebx
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
pop ebx
test eax, eax
je 0x402537
push ecx
push ecx
push edi
push esi
call sub.KERNEL32.dll_GetProcAddress
mov ebx, eax
pop eax
test ebx, ebx
pop edx
je 0x4024f5
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4024c7
sub esp, 0xc
push eax
call fcn.004013e3
add esp, 0xc
call ebx
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x194], eax
jmp 0x40250b
sub esp, 0xc
push section..data
push 0x40b840
push section..ndata
push 0x400
push dword [ebp - 0x190]
call ebx
add esp, 0x20
mov dword [ebp - 0x194], 0
jmp 0x40250b
push eax
push eax
push edi
push 0xfffffffffffffff7
call fcn.00403dcf
mov dword [ebp - 0x194], 1
pop edi
pop eax
cmp dword [ebp - 0x24], 0
jne 0x403092
sub esp, 0xc
push esi
call fcn.00403cc9
add esp, 0xc
test eax, eax
je 0x403092
sub esp, 0xc
push esi
call sub.KERNEL32.dll_FreeLibrary
jmp 0x401f3e
sub esp, 0xc
push 0xfffffffffffffff6
jmp 0x4026d1
sub esp, 0xc
push 0xffffffffffffffe7
jmp 0x4026d1
mov eax, 0xfffffff0
call fcn.004013fc
mov dword [ebp - 0x1a8], eax
mov eax, 0xffffffdf
call fcn.004013fc
mov esi, eax
mov eax, 2
call fcn.004013fc
mov dword [ebp - 0x1ac], eax
mov eax, 0xffffffcd
call fcn.004013fc
mov edi, eax
mov eax, 0x45
call fcn.004013fc
sub esp, 0xc
mov dword [ebp - 0x1b0], eax
push esi
call fcn.00405fb0
add esp, 0xc
test eax, eax
jne 0x4025aa
mov al, 0x21
call fcn.004013fc
sub esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40a8b0
push 1
push 0
push 0x40a9c0
call sub.OLE32.dll_CoCreateInstance
add esp, 0xc
test eax, eax
js 0x4026cc
mov eax, dword [ebp - 0x18]
push ebx
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push 0x40abb0
push eax
call dword [ecx]
mov ebx, eax
pop ecx
test eax, eax
js 0x4026b9
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 0x7ac800
push eax
call dword [edx + 0x24]
movzx ecx, byte [ebp - 0x1f]
pop esi
test ecx, ecx
pop eax
je 0x402620
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 0x402648
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 0x4026aa
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 0x4026aa
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 0x4026e5
sub esp, 0xc
push 0xfffffffffffffff0
call fcn.004013e3
mov dword [ebp - 0x194], 1
jmp 0x401f3e
sub esp, 0xc
push 0xfffffffffffffff4
call fcn.004013e3
jmp 0x401f34
xor eax, eax
call fcn.004013fc
mov ebx, eax
mov eax, 0x11
call fcn.004013fc
mov esi, eax
mov eax, 0x23
call fcn.004013fc
sub esp, 0xc
mov edi, eax
push ebx
call fcn.00406132
add esp, 0xc
test eax, eax
je 0x402795
sub esp, 0xc
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], 2
push ebx
call fcn.004062b9
mov byte [eax + ebx + 1], 0
push esi
call fcn.004062b9
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.00403dcf
lea eax, [ebp - 0x174]
add esp, 0xc
push eax
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0xc
test eax, eax
je case.0x401624.65
push eax
push eax
push 0
push 0xfffffffffffffff9
call fcn.00403dcf
mov dword [ebp - 0x194], 1
jmp 0x401c29
cmp esi, 0xbadf00d
je 0x4027d9
push edi
push edi
push 0xffffffffffffffe8
push 0
call fcn.004063eb
push 0x200010
push eax
call fcn.00406cf7
pop ebx
mov eax, 0x7fffffff
pop esi
jmp 0x40311e
inc dword [0x7a3464]
jmp case.0x401624.65
xor edi, edi
test esi, esi
je 0x4027f3
xor eax, eax
call fcn.004013fc
mov edi, eax
xor esi, esi
cmp dword [ebp - 0x2c], 0
je 0x402807
mov eax, 0x11
call fcn.004013fc
mov esi, eax
xor ebx, ebx
cmp dword [ebp - 0x20], 0
je 0x40281b
mov eax, 0x22
call fcn.004013fc
mov ebx, eax
mov eax, 0xffffffcd
call fcn.004013fc
push eax
push ebx
push esi
push edi
call sub.KERNEL32.dll_WritePrivateProfileStringA
jmp 0x402b7e
mov eax, 1
mov dword [ebp - 0x14], 0x7e4e21
call fcn.004013fc
mov esi, eax
mov eax, 0x12
call fcn.004013fc
mov ebx, eax
mov eax, 0xffffffdd
call fcn.004013fc
lea edx, [ebp - 0x14]
push ecx
push ecx
push eax
push 0x3ff
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.0x401624.65
jmp 0x402d67
cmp dword [ebp - 0x20], 0
jne 0x4028bd
mov eax, 2
call fcn.00401488
mov ebx, eax
test eax, eax
je 0x403088
mov eax, 0x33
call fcn.004013fc
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 0x4028e2
mov eax, 0x22
call fcn.004013fc
mov ebx, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [ebp - 0x2c]
call fcn.004013d0
and ebx, 2
mov edx, esi
mov ecx, ebx
call fcn.004014d2
mov esi, eax
test esi, esi
jne 0x403088
jmp case.0x401624.65
mov eax, esi
call fcn.004013d0
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
mov eax, 2
mov dword [ebp - 0x1b4], ecx
mov esi, dword [ebp - 0x20]
call fcn.004013fc
mov edi, eax
mov eax, 0x11
call fcn.004013fc
sub esp, 0xc
lea edx, [ebp - 0x14]
push 0
push edx
mov edx, dword [0x7a3480]
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 0x403088
cmp esi, 1
jne 0x402966
mov al, 0x23
call fcn.004013fc
sub esp, 0xc
push 0x40c050
call fcn.004062b9
inc eax
add esp, 0xc
jmp 0x40299c
cmp esi, 4
jne 0x402981
mov eax, 3
call fcn.00401448
mov dword [0x40c050], eax
mov eax, 4
jmp 0x40299c
xor eax, eax
cmp esi, 3
jne 0x40299c
push 0xc00
push 0x40c050
push 0
push dword [ebp - 0x24]
call fcn.004031a5
push edx
push edx
push eax
push 0x40c050
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 0x402a62
mov eax, 0x20019
call fcn.00401488
mov ebx, eax
mov eax, 0x33
call fcn.004013fc
mov byte [edi], 0
mov edx, eax
test ebx, ebx
je 0x403088
lea eax, [ebp - 0x14]
push esi
push esi
push eax
lea eax, [ebp - 0x18]
push edi
mov dword [ebp - 0x14], 0x3ff
push eax
push 0
push edx
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExA
pop edx
test eax, eax
pop ecx
jne 0x402a22
mov eax, dword [ebp - 0x18]
cmp eax, 4
je 0x402a31
cmp eax, 1
je 0x402a4e
cmp eax, 2
je 0x402a4e
mov byte [edi], 0
mov dword [ebp - 0x194], 1
jmp 0x402a5e
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.0040634e
pop esi
pop edi
jmp 0x402a5e
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 0x401f3e
mov eax, 0x20019
call fcn.00401488
mov ebx, eax
mov eax, 3
call fcn.00401448
mov byte [edi], 0
mov edx, eax
test ebx, ebx
je 0x403088
mov dword [ebp - 0x18], 0x3ff
cmp dword [ebp - 0x20], 0
je 0x402aab
push 0x3ff
push edi
push eax
push ebx
call sub.ADVAPI32.DLL_RegEnumKeyA
jmp 0x402ac7
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 0x403088
sub esp, 0xc
mov byte [edi + 0x3ff], 0
push ebx
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x401f34
cmp byte [edi], 0
je case.0x401624.65
sub esp, 0xc
push edi
call fcn.00406000
push eax
call sub.KERNEL32.dll_CloseHandle
jmp 0x401f34
mov eax, 0xffffffed
call fcn.004013fc
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.004067c0
pop ecx
cmp eax, 0xffffffff
je 0x402d67
push edx
push edx
push eax
push edi
jmp 0x402cdd
cmp dword [ebp - 0x28], 0
je 0x402b3f
mov eax, 1
mov ebx, 1
call fcn.00401448
mov byte [0x40bc50], al
jmp 0x402b57
mov eax, 0x11
call fcn.004013fc
sub esp, 0xc
push eax
call fcn.004062b9
mov ebx, eax
add esp, 0xc
cmp byte [edi], 0
je 0x403088
sub esp, 0xc
push edi
call fcn.00406000
lea edx, [ebp - 0x18]
push 0
push edx
push ebx
push 0x40bc50
push eax
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
jmp 0x401ab1
mov eax, 2
call fcn.00401448
test eax, eax
jle case.0x401624.65
mov esi, eax
cmp eax, 0x3ff
jle 0x402ba5
mov esi, 0x3ff
mov dword [ebp - 0x1b8], 0
cmp byte [edi], 0
je 0x402c85
sub esp, 0xc
xor ebx, ebx
push edi
call fcn.00406000
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 0x402c85
cmp dword [ebp - 0x18], 1
jne 0x402c85
cmp dword [ebp - 0x24], 0
je 0x402c1b
movzx eax, byte [ebp - 0x10]
push esi
push esi
push eax
push dword [ebp - 0x1bc]
call fcn.0040634e
pop ecx
pop ebx
jmp 0x40311a
cmp bl, 0xd
je 0x402c25
cmp bl, 0xa
jne 0x402c5a
mov al, byte [ebp - 0x10]
cmp bl, al
je 0x402c34
cmp al, 0xd
je 0x402c42
cmp al, 0xa
je 0x402c42
push 1
push 0
push 0xffffffffffffffff
push edi
call sub.KERNEL32.dll_SetFilePointer
jmp 0x402c85
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1bc]
mov byte [edx + ecx], al
inc ecx
mov dword [ebp - 0x1b8], ecx
jmp 0x402c85
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 0x402c85
cmp ecx, esi
jl 0x402bd2
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1bc]
test edx, edx
mov byte [eax + edx], 0
jmp 0x401ab1
cmp byte [edi], 0
je case.0x401624.65
mov eax, 2
mov esi, dword [ebp - 0x24]
call fcn.00401448
sub esp, 0xc
mov ebx, eax
push edi
call fcn.00406000
add esp, 0xc
push esi
push 0
push ebx
push eax
call sub.KERNEL32.dll_SetFilePointer
cmp dword [ebp - 0x2c], 0
js case.0x401624.65
push edx
push edx
push eax
push dword [ebp - 0x1bc]
call fcn.0040634e
jmp 0x401c1f
cmp byte [edi], 0
je case.0x401624.65
sub esp, 0xc
push edi
call fcn.00406000
push eax
call sub.KERNEL32.dll_FindClose
jmp 0x401f34
mov ecx, dword [ebp - 0x1bc]
cmp byte [ecx], 0
je 0x402d67
sub esp, 0xc
push ecx
call fcn.00406000
sub esp, 0xc
lea edx, [ebp - 0x174]
push edx
push eax
call sub.KERNEL32.dll_FindNextFileA
add esp, 0x18
test eax, eax
je 0x402d67
push eax
push eax
lea eax, [ebp - 0x148]
push eax
push edi
jmp 0x402f58
mov eax, 2
call fcn.004013fc
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 0x402d6f
mov eax, dword [ebp - 0x1bc]
mov byte [eax], 0
mov byte [edi], 0
jmp 0x403088
push edx
push edx
push eax
push dword [ebp - 0x1bc]
call fcn.0040634e
lea eax, [ebp - 0x148]
push eax
push edi
call fcn.00406334
jmp 0x401c1f
mov eax, 0xfffffff0
call fcn.004013fc
sub esp, 0xc
mov dword [ebp - 0x1c4], eax
push eax
call fcn.00405fb0
add esp, 0xc
test eax, eax
jne 0x402db9
mov eax, 0xffffffed
call fcn.004013fc
sub esp, 0xc
push dword [ebp - 0x1c4]
call fcn.004067f8
push eax
push eax
push 2
push 0x40000000
push dword [ebp - 0x1c4]
call fcn.004067c0
mov dword [ebp - 0x1c0], eax
add esp, 0x14
inc eax
je 0x402eec
mov edx, dword [0x7a3530]
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 0x402ec6
sub esp, 0xc
push 0
call fcn.00403150
sub esp, 0xc
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
call fcn.0040316c
push dword [ebp - 0x28]
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
add esp, 0x18
mov edi, eax
test eax, eax
je 0x402e85
push dword [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x2c]
call fcn.004031a5
mov eax, edi
jmp 0x402e74
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.00405fdf
lea eax, [ebx + esi]
pop edx
cmp byte [eax], 0
jne 0x402e59
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.004031a5
mov ebx, eax
sub esp, 0xc
push dword [ebp - 0x1c0]
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
test ebx, ebx
js 0x402eec
mov eax, 0xfffffff3
mov dword [ebp - 0x194], 0
jmp 0x402f0c
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.004013e3
jmp 0x401f3e
xor eax, eax
call fcn.00401448
mov esi, eax
cmp eax, dword [0x7a34cc]
jae 0x403088
imul ebx, eax, 0x418
mov eax, dword [ebp - 0x28]
add ebx, dword [0x7a34c8]
cmp eax, 0
jl 0x402f62
mov eax, dword [ebx + eax*4]
jne 0x402cd4
push eax
push eax
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 0x1bc]
call fcn.00406334
jmp 0x401c1f
not eax
mov dword [ebp - 0x28], eax
test eax, eax
je 0x402f7a
mov eax, 1
call fcn.00401448
mov dword [ebp - 0x2c], eax
jmp 0x402f91
push eax
push eax
push dword [ebp - 0x20]
lea eax, [ebx + 0x18]
push eax
call fcn.004063eb
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.0x401624.65
sub esp, 0xc
push esi
call fcn.004011d0
jmp 0x401f34
xor eax, eax
call fcn.00401448
mov edx, eax
cmp eax, 0x1f
ja 0x403088
cmp dword [ebp - 0x24], 0
je 0x403012
cmp dword [ebp - 0x28], 0
je 0x402fe7
sub esp, 0xc
push eax
call fcn.004012e7
sub esp, 0xc
push 0
push 0
call fcn.00401234
jmp 0x403000
sub esp, 0xc
push 0
call fcn.00401330
sub esp, 0xc
push eax
push dword [ebp - 0x1bc]
call fcn.0040634e
add esp, 0x18
mov dword [ebp - 0x194], 0
jmp 0x403092
cmp dword [ebp - 0x28], 0
mov ecx, dword [0x7a34b0]
je 0x40302a
mov eax, dword [ebp - 0x2c]
mov dword [ecx + edx*4 + 0x94], eax
jmp case.0x401624.65
push esi
push esi
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0x1bc]
call fcn.004063eb
jmp 0x401c1f
and esi, dword [0x79f970]
push 0
push esi
push 0xb
push dword [ebp - 0x190]
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x30], 0
je case.0x401624.65
push ebx
push 0
push 0
push dword [ebp - 0x190]
call sub.USER32.dll_InvalidateRect
mov dword [ebp - 0x194], 0
pop ecx
jmp 0x403092
mov dword [ebp - 0x194], 0
jmp 0x403092
mov dword [ebp - 0x194], 1
mov ecx, dword [ebp - 0x194]
add dword [0x7a3458], ecx
jmp 0x40311a
cmp esi, 0x7fffffff
je 0x403113
sub esp, 0xc
push esi
call fcn.00401467
add esp, 0xc
test eax, eax
jne 0x4030c2
inc dword [ebp + 8]
mov edx, 1
jmp 0x4030cb
dec eax
mov edx, eax
sub edx, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], 0
je 0x403105
mov eax, edx
push edx
push dword [0x7a3dc0]
add eax, dword [0x7a3da0]
push 0x7530
mov dword [0x7a3da0], 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 0x4015b6
xor eax, eax
jmp 0x40311e
mov eax, 0x7fffffff
jmp 0x40311e
xor esi, esi
jmp 0x4030a8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8