Function at 0x40231e
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get common file path
Get file attributes
Get file version info
Get graphical window text
Hide graphical window
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Resolve function by parsing pe exports
Set current directory
Set file attributes
Set registry value
Shutdown system
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x984
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, 0x425360
lea eax, [edx + 4]
push edi
mov dword [0x40ac18], eax
mov edx, dword [edx]
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov dword [ebp + 8], ecx
mov ebx, dword [eax + 4]
shl ecx, 0xa
add ecx, esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ebx
shl ecx, 0xa
add ecx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x14]
shl edi, 0xa
shl ebx, 0xa
mov dword [ebp - 0x14], ecx
lea ecx, [edx - 2]
add edi, esi
add ebx, esi
cmp ecx, 0x48
ja case.0x402388.8
jmp dword [ecx*4 + 0x403a6c]
push 0
call fcn.00403c8f
push eax
push 0x40c460
call fcn.00405fad
jmp 0x403a60
inc dword [0x42c374]
cmp dword [0x42cbc8], 0
je 0x403a60
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x403a60
push dword [ebp - 0x10]
call fcn.00402302
dec eax
push 0
push eax
call fcn.00402277
jmp 0x403a65
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x402404
test al, 8
je 0x4023f6
mov eax, dword [0x409038]
mov dword [0x409244], eax
jmp 0x40249f
mov ecx, dword [0x409244]
mov dword [0x409038], ecx
jmp 0x4023ec
push 0x30
call fcn.00403c8f
push 0x40c460
push eax
call fcn.00405fad
jmp 0x40249f
push 0
call fcn.00403c6e
cmp eax, 1
jge 0x40242a
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40249f
push 5
push dword [0x42cbc8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x42cbc8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x40249f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ecx*4 + 0x42cbe0], eax
jmp 0x40249f
mov eax, dword [0x42c378]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x402473
push dword [ebp - 0xc]
push eax
call esi
mov eax, dword [0x42c390]
test eax, eax
je 0x40249f
push dword [ebp - 0x10]
push eax
call esi
jmp 0x40249f
push 0xfffffffffffffff0
call fcn.00403c8f
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40249f
inc dword [0x42cbe8]
xor eax, eax
jmp 0x403a65
push 0xfffffffffffffff0
call fcn.00403c8f
cmp dword [ebp - 0xc], 0
mov esi, eax
mov dword [ebp + 8], esi
push esi
je 0x4024da
push 0xffffffffffffffda
call fcn.00405f97
push esi
push dword [0x409298]
call sub.KERNEL32.dll_lstrcpyA
push dword [0x409298]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x4024e1
push 0xffffffffffffffd9
call fcn.00405f97
mov edi, dword [sym.imp.USER32.dll_CharNextA]
push esi
call edi
cmp byte [esi], 0
je 0x40249f
cmp word [eax], 0x5c3a
jne 0x4024fb
lea esi, [eax + 2]
jmp 0x402529
cmp word [esi], 0x5c5c
jne 0x40249f
push 2
pop ebx
jmp 0x402510
test al, al
je 0x402516
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x402507
push esi
call edi
dec ebx
mov esi, eax
jne 0x402510
jmp 0x402529
test al, al
je 0x40252f
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x402520
push dword [ebp + 8]
mov bl, byte [esi]
and byte [esi], 0
call fcn.00403bc0
test eax, eax
jne 0x402555
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
inc eax
add dword [0x42cbe8], eax
mov byte [esi], bl
inc esi
test bl, bl
jne 0x402529
jmp 0x40249f
push 0
call fcn.00403c8f
push eax
call fcn.00403bc0
jmp 0x402cf8
cmp dword [0x42cbe8], 0
je 0x402d00
mov eax, dword [ebp - 0x10]
jmp 0x403a65
push 0xfffffffffffffff0
call fcn.00403c8f
push 0xffffffffffffffdf
mov dword [ebp - 4], eax
call fcn.00403c8f
push dword [ebp - 4]
mov esi, 0x40b858
mov ebx, eax
push esi
call sub.KERNEL32.dll_lstrcpyA
push ebx
call sub.KERNEL32.dll_lstrlenA
push dword [ebp - 4]
mov edi, eax
call sub.KERNEL32.dll_lstrlenA
add edi, eax
cmp edi, 0x3fd
jge 0x4025d5
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4090cc
push esi
call edi
push ebx
push esi
call edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4025f0
push esi
push 0xffffffffffffffe0
call fcn.00405f97
jmp 0x40249f
cmp dword [ebp + 8], 0
je 0x402499
push dword [ebp - 4]
call fcn.00403bc0
test eax, eax
je 0x402499
inc dword [0x42cbec]
push ebx
push dword [ebp - 4]
call fcn.00406800
push esi
push 0xffffffffffffffe1
jmp 0x4025e6
push 1
call fcn.00403c8f
mov esi, eax
lea eax, [ebp - 8]
push eax
mov ebx, 0x400
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x402661
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x40266a
cmp byte [eax], 0
je 0x40266a
push esi
call fcn.00403bc0
test eax, eax
je 0x402661
add eax, 0x2c
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x40266a
inc dword [0x42cbe8]
and byte [edi], 0
cmp dword [ebp + 8], 0
jne 0x40249f
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x40249f
push 0xffffffffffffffff
call fcn.00403c8f
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x40249f
inc dword [0x42cbe8]
and byte [edi], 0
jmp 0x40249f
push edi
push 0
push 0x4090c8
push 0x42bf60
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
jmp 0x40269e
push 0x31
call fcn.00403c8f
mov edi, eax
push edi
mov dword [ebp - 0xc], edi
call fcn.004066bc
push edi
mov edi, 0x40ac58
test eax, eax
je 0x4026ed
push edi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x402706
push dword [0x409298]
push edi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406637
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call fcn.00406d15
mov ebx, 0x40b458
cmp dword [ebp - 0x10], 0
jne 0x40272d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x402762
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x10], 3
jne 0x402762
push edi
call fcn.00403bc0
test eax, eax
mov dword [ebp - 0x10], 1
je 0x402762
mov ecx, dword [0x40ac18]
add eax, 0x14
add ecx, 0xc
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x10], ecx
xor eax, eax
cmp dword [ebp - 0x10], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.004067e4
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4027e3
cmp dword [ebp - 0x10], 0
jne 0x4027d0
push esi
push ebx
call sub.KERNEL32.dll_lstrcpyA
push edi
push esi
call sub.KERNEL32.dll_lstrcpyA
push 0xfffffffffffffff1
push 0x40b058
call fcn.00406a5d
push ebx
push esi
call sub.KERNEL32.dll_lstrcpyA
push 0x12
push 0x40b058
call fcn.004065b0
sub eax, 4
je 0x402711
dec eax
je 0x402499
push edi
push 0xfffffffffffffff0
call fcn.00405f97
jmp 0x403a60
push dword [ebp - 0xc]
push 0xffffffffffffffdc
call fcn.00405f97
cmp dword [ebp - 0x10], 2
jmp 0x402497
push dword [ebp - 0xc]
push 0xffffffffffffffdf
call fcn.00405f97
xor esi, esi
push esi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00403de6
cmp dword [ebp - 0x20], 0xffffffff
mov ebx, eax
jne 0x40280a
cmp dword [ebp - 0x1c], 0xffffffff
je 0x40281e
mov eax, dword [0x40ac18]
add eax, 0xc
push eax
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
jge 0x40249f
cmp ebx, 0xfffffffe
jne 0x402850
push dword [ebp - 0xc]
push 0xffffffffffffffde
call fcn.00403dc2
push eax
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40285e
push 0xffffffffffffffdd
call fcn.00403dc2
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
push 0x10
push edi
jmp 0x403a5b
push 0x10
call fcn.00403c8f
mov esi, eax
mov edi, 0x40ac58
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
push edi
call fcn.00406663
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40249f
test byte [ebp - 0x184], 0x10
jne 0x402908
lea eax, [ebp - 0x158]
push eax
push edi
push 0x4090b8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x184]
add esp, 0x10
test al, 1
je 0x4028cf
xor eax, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4028e4
push esi
push 0xffffffffffffffe7
call fcn.00405f97
jmp 0x402908
cmp dword [ebp - 0xc], 0
je 0x402902
inc dword [0x42cbec]
push esi
push 0xffffffffffffffe6
call fcn.00405f97
push 0
push esi
call fcn.00406800
jmp 0x402908
inc dword [0x42cbe8]
lea eax, [ebp - 0x184]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40289a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40249f
push 0x31
call fcn.00403c8f
push dword [ebp - 0x10]
push eax
call fcn.004065b0
test eax, eax
je 0x402499
mov ecx, dword [ebp + 8]
mov edx, ecx
and edx, 0xffff
cmp eax, edx
je 0x402ac0
sar ecx, 0x10
cmp eax, ecx
jne 0x40249f
jmp 0x402aca
push 0
call fcn.00403c8f
mov esi, eax
push esi
call sub.KERNEL32.dll_lstrlenA
add eax, esi
push eax
push esi
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x5c
jne 0x402985
push esi
call fcn.00406663
push dword [ebp - 0xc]
push esi
call fcn.004065db
push esi
call fcn.00403bc0
test eax, eax
je 0x40249f
jmp 0x402499
push 1
call fcn.00403c8f
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
push edi
call fcn.00406a7f
jmp 0x40249f
push 2
call fcn.00403c6e
push 3
mov ebx, eax
call fcn.00403c6e
push 1
mov esi, eax
call fcn.00403c8f
and byte [edi], 0
cmp dword [ebp + 8], 0
mov dword [ebp - 8], eax
je 0x4029e7
test ebx, ebx
je 0x40249f
push eax
call sub.KERNEL32.dll_lstrlenA
test esi, esi
jge 0x4029f9
add esi, eax
js 0x40249f
cmp esi, eax
jle 0x4029ff
mov esi, eax
mov eax, dword [ebp - 8]
add eax, esi
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
test ebx, ebx
je 0x40249f
jge 0x402a21
push edi
call sub.KERNEL32.dll_lstrlenA
add ebx, eax
jns 0x402a21
xor ebx, ebx
cmp ebx, 0x400
jge 0x40249f
and byte [ebx + edi], 0
jmp 0x40249f
push 0x20
call fcn.00403c8f
push 0x31
mov esi, eax
call fcn.00403c8f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402ac0
mov eax, dword [ebp + 8]
jmp 0x403a65
push 1
call fcn.00403c8f
cmp dword [ebp + 8], 0
push 0x400
push edi
push eax
je 0x402a82
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402a88
inc dword [0x42cbe8]
and byte [edi], al
jmp 0x402a88
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [edi + 0x3ff], 0
jmp 0x40249f
push 0
call fcn.00403c6e
push 1
mov esi, eax
call fcn.00403c6e
cmp esi, eax
jl 0x402ac0
jle 0x402a52
jmp 0x402aca
push 0
call fcn.00403c6e
push 1
mov esi, eax
call fcn.00403c6e
cmp esi, eax
jae 0x402ac8
mov eax, dword [ebp - 0x20]
jmp 0x403a65
jbe 0x402a52
mov eax, dword [ebp - 0x1c]
jmp 0x403a65
push 1
call fcn.00403c6e
push 2
mov esi, eax
call fcn.00403c6e
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xb
ja case.default.0x402aec
jmp dword [eax*4 + 0x403b90]
add esi, ecx
jmp case.default.0x402aec
sub esi, ecx
jmp case.default.0x402aec
imul ecx, esi
mov esi, ecx
jmp case.default.0x402aec
test ecx, ecx
je 0x402b4c
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp case.default.0x402aec
or esi, ecx
jmp case.default.0x402aec
and esi, ecx
jmp case.default.0x402aec
xor esi, ecx
jmp case.default.0x402aec
not esi
jmp case.default.0x402aec
xor eax, eax
test esi, esi
sete al
jmp 0x402b0b
test esi, esi
jne 0x402b3a
jmp 0x402b36
xor esi, esi
jmp case.default.0x402aec
test esi, esi
je 0x402b2e
test ecx, ecx
je 0x402b2e
xor esi, esi
inc esi
jmp case.default.0x402aec
test ecx, ecx
je 0x402b4c
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x402aec
xor esi, esi
inc dword [0x42cbe8]
push esi
jmp 0x4029af
push 1
call fcn.00403c8f
push 2
mov esi, eax
call fcn.00403c6e
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40249f
mov eax, dword [ebp + 8]
mov esi, dword [0x40c058]
test eax, eax
je 0x402bd1
dec eax
test esi, esi
je case.0x402388.8
mov esi, dword [esi]
test eax, eax
jne 0x402b88
test esi, esi
je case.0x402388.8
add esi, 4
mov edi, 0x40ac58
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40c058]
add eax, 4
push eax
push esi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40c058]
push edi
add eax, 4
push eax
call sub.KERNEL32.dll_lstrcpyA
jmp 0x40249f
cmp dword [ebp - 0xc], 0
je 0x402bfc
test esi, esi
je 0x402499
lea eax, [esi + 4]
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [esi]
push esi
mov dword [0x40c058], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40249f
push 0x404
call fcn.004065cc
push dword [ebp - 0x10]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406a5d
mov eax, dword [0x40c058]
mov dword [esi], eax
mov dword [0x40c058], esi
jmp 0x40249f
push 3
call fcn.00403c6e
push 4
mov ebx, eax
call fcn.00403c6e
cmp dword [ebp - 0x18], 0x22
mov dword [ebp + 8], eax
push 1
jne 0x402cab
call fcn.00403c6e
push 2
mov esi, eax
call fcn.00403c6e
test byte [ebp - 0x14], 1
mov dword [ebp - 8], eax
je 0x402c61
push 3
call fcn.00403c8f
mov ebx, eax
test byte [ebp - 0x14], 2
je 0x402c71
push 0x14
call fcn.00403c8f
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
sar eax, 2
je 0x402c9b
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
neg eax
sbb eax, eax
inc eax
add dword [0x42cbe8], eax
jmp 0x402cd8
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402cd5
call fcn.00403c8f
push 0x12
mov esi, eax
call fcn.00403c8f
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov al, byte [esi]
neg al
sbb eax, eax
push ecx
and eax, esi
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
jl 0x40249f
push dword [ebp - 4]
jmp 0x4029af
push 0
call fcn.00403c6e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402a52
mov eax, dword [ebp - 0xc]
jmp 0x403a65
push 2
call fcn.00403c6e
push eax
push 1
call fcn.00403c6e
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4029ae
push 0x400
push edi
push 1
call fcn.00403c6e
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40249f
or eax, 0xffffffff
cmp dword [ebp - 0xc], eax
je 0x402d4d
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push 0xffffffffffffffeb
push 0
call fcn.00403c6e
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x40249f
push dword [ebp - 0xc]
push dword [0x42cbc8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
mov ecx, eax
neg ecx
sbb ecx, ecx
push 0x10
and ecx, edx
push ecx
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
neg eax
sbb eax, eax
xor edi, edi
and eax, ecx
push eax
push edi
push edi
call fcn.00403c8f
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebx, eax
push ebx
push 8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push edi
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40249f
push 0x48
push 0x5a
push dword [0x42cbc8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
call fcn.00403c6e
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x40ac1c], eax
call fcn.00403c6e
mov dword [0x40ac2c], eax
mov al, byte [ebp - 0x1c]
push dword [ebp - 0xc]
mov cl, al
and cl, 1
mov byte [0x40ac33], 1
mov byte [0x40ac30], cl
mov cl, al
and cl, 2
and al, 4
push 0x40ac38
mov byte [0x40ac31], cl
mov byte [0x40ac32], al
call fcn.00406a5d
push 0x40ac1c
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x4029ae
push 1
call fcn.00403c6e
push eax
push 0
call fcn.00403c6e
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40249f
push 0
call fcn.00403c8f
push 0x11
mov edi, eax
call fcn.00403c8f
push 0x22
mov dword [ebp + 8], eax
call fcn.00403c8f
push dword [ebp + 8]
mov esi, 0x40b858
mov ebx, eax
push edi
push str._s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push esi
push 0xffffffffffffffe3
call fcn.00405f97
mov al, byte [ebx]
push dword [ebp - 0x20]
neg al
push dword [0x409298]
sbb eax, eax
and eax, ebx
push eax
mov al, byte [edi]
push dword [ebp + 8]
neg al
sbb eax, eax
and eax, edi
push eax
push dword [0x42cbc8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x40249f
jmp 0x402499
push 0
call fcn.00403c8f
mov esi, eax
push esi
push 0xffffffffffffffe2
call fcn.00405f97
push dword [0x409298]
push esi
call fcn.0040653a
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x402499
cmp dword [ebp - 0xc], 0
je 0x402f8a
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x402f5e
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0xf
pop ebx
mov esi, 0x40aab8
jmp 0x402f3f
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
push 0
push esi
call edi
test eax, eax
jne 0x402f38
push 0x64
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x402f3f
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 8], 0
jl 0x402f7e
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00406a7f
jmp 0x402f8a
cmp dword [ebp - 8], 0
je 0x402f8a
inc dword [0x42cbe8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40249f
push 0
call fcn.00403c8f
push eax
call fcn.00403bc0
mov esi, eax
test esi, esi
je 0x402fbe
push dword [esi + 0x14]
push dword [ebp - 4]
call fcn.00406a7f
push dword [esi + 0x18]
jmp 0x40377c
and byte [ebx], 0
mov eax, dword [ebp - 4]
jmp 0x4036a3
lea eax, [ebp - 0x38]
push 0xfffffffffffffff0
mov dword [ebp + 8], eax
call fcn.00403c8f
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
and byte [ebx], 0
mov esi, eax
mov eax, dword [ebp - 4]
and byte [eax], 0
inc dword [0x42cbe8]
test esi, esi
je 0x40249f
push esi
call fcn.004065cc
test eax, eax
mov dword [ebp - 0x14], eax
je 0x40249f
push eax
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403053
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x4090ac
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403053
mov eax, dword [ebp + 8]
push dword [eax + 8]
push ebx
call fcn.00406a7f
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [ebp - 4]
call fcn.00406a7f
dec dword [0x42cbe8]
push dword [ebp - 0x14]
jmp 0x402bf1
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
inc dword [0x42cbe8]
cmp eax, 1
je 0x40307e
test eax, eax
je 0x40307e
push 0x40b058
push 0xffffffffffffffea
jmp 0x4025e6
push 0xfffffffffffffff0
call fcn.00403c8f
push 1
mov dword [ebp - 0x14], eax
call fcn.00403c8f
push dword [ebp - 0x14]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 8], eax
je 0x40310e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4030f1
dec dword [0x42cbe8]
cmp dword [ebp + 8], 0
je 0x4030d9
push 0x22
call fcn.00403c8f
push dword [ebp - 0x14]
push eax
call fcn.00405fad
call edi
test eax, eax
je 0x4030f9
inc dword [0x42cbe8]
jmp 0x4030f9
push 0x40c058
push esi
push 0x400
push dword [0x42cbc8]
call edi
add esp, 0x10
jmp 0x4030f9
push ebx
push 0xffffffffffffffec
call fcn.00405f97
cmp dword [ebp - 0x20], 0
jne 0x403118
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x4030ff
jmp 0x403118
push dword [ebp - 0x14]
push 0xffffffffffffffeb
call fcn.00405f97
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x40249f
push 0xffffffffffffffe0
call fcn.00403c8f
push 0x11
mov dword [ebp - 0x14], eax
call fcn.00403c8f
push 2
mov esi, eax
call fcn.00403c8f
push 0xffffffffffffffcd
mov dword [ebp - 0x18], eax
call fcn.00403c8f
push 0x45
mov ebx, eax
call fcn.00403c8f
xor edi, edi
push 0
inc edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_OleInitialize]
cmp eax, edi
je 0x40316d
test eax, eax
jne 0x40326c
lea eax, [ebp + 8]
push eax
push 0x4073a4
push edi
push 0
push 0x4073b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x403260
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x4073c4
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x403257
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push dword [0x409298]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edi, dword [ebp - 0x1c]
mov esi, 0xff
mov eax, edi
sar eax, 8
and eax, esi
je 0x4031dc
mov ecx, dword [ebp + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov eax, dword [ebp + 8]
mov edx, edi
sar edx, 0x10
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
cmp byte [ebx], 0
je 0x4031fd
mov eax, dword [ebp + 8]
and edi, esi
push edi
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
xor esi, esi
cmp dword [ebp - 0x10], esi
jl 0x40324e
lea eax, [ebp - 0x984]
push 0x400
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x984]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40324e
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp dword [ebp - 4], 0
je 0x40327c
push dword [ebp - 0x14]
inc dword [0x42cbe8]
push 0xffffffffffffffe8
jmp 0x4025e6
push dword [ebp - 0x14]
push 0xffffffffffffffe9
jmp 0x4025e6
push 0
call fcn.00403c8f
push 0x11
mov edi, eax
call fcn.00403c8f
mov esi, eax
mov eax, dword [0x42cbc8]
push edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 2
call sub.KERNEL32.dll_lstrlenA
and byte [eax + edi + 1], 0
push esi
call sub.KERNEL32.dll_lstrlenA
and byte [eax + esi + 1], 0
push esi
push 0xffffffffffffffed
call fcn.00403dc2
push eax
mov ebx, 0x40b458
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ax, word [ebp + 8]
add esp, 0x10
mov dword [ebp - 0x38], esi
mov esi, 0x40c460
push ebx
push esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2a], ebx
mov word [ebp - 0x34], ax
call fcn.00405fad
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x40249f
push esi
push 0xffffffffffffffee
call fcn.00405f97
jmp 0x402499
inc dword [0x42cbe8]
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x40339f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenProcessToken
push ebx
call esi
push str.LookupPrivilegeValueA
push ebx
mov dword [ebp + 8], eax
call esi
push str.AdjustTokenPrivileges
push ebx
mov dword [ebp - 8], eax
call esi
cmp dword [ebp + 8], edi
mov esi, eax
je 0x40339f
cmp dword [ebp - 8], edi
je 0x40339f
cmp esi, edi
je 0x40339f
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp + 8]
test eax, eax
je 0x40339f
lea eax, [ebp - 0x34]
push eax
push str.SeShutdownPrivilege
push edi
call dword [ebp - 8]
push edi
push edi
lea eax, [ebp - 0x38]
push edi
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 2
call esi
push edi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4033b3
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40249f
xor ecx, ecx
cmp dword [0x42cbec], ecx
sete cl
mov eax, dword [eax + ecx*4]
jmp 0x403a65
xor edi, edi
xor esi, esi
xor ebx, ebx
cmp dword [ebp - 0x10], edi
je 0x4033e5
push ebx
call fcn.00403c8f
mov esi, eax
cmp dword [ebp - 0xc], 0
je 0x4033f4
push 0x11
call fcn.00403c8f
mov ebx, eax
cmp dword [ebp - 0x1c], 0
je 0x403403
push 0x22
call fcn.00403c8f
mov edi, eax
push 0xffffffffffffffcd
call fcn.00403c8f
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x402495
push 1
call fcn.00403c8f
push 0x12
mov esi, eax
call fcn.00403c8f
push 0xffffffffffffffdd
mov ebx, eax
call fcn.00403c8f
push eax
push 0x3ff
push edi
push dword [0x40903c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x40903c]
mov eax, dword [eax]
cmp eax, dword [edi]
jmp 0x4026a0
push 0x31
call fcn.00403c8f
mov ecx, dword [ebp - 0x20]
inc dword [0x42cbe8]
test ecx, ecx
jne 0x4034ac
lea ecx, [ebp + 8]
push ecx
push 2
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40249f
push 2
call fcn.00403c8f
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40349e
dec dword [0x42cbe8]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40249f
and ecx, 2
push ecx
push eax
push dword [ebp - 0x10]
call fcn.00403be7
test eax, eax
jne 0x40249f
dec dword [0x42cbe8]
jmp 0x40249f
push 0x12
call fcn.00403c8f
push 0x31
mov edi, eax
call fcn.00403c8f
inc dword [0x42cbe8]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40249f
mov ebx, dword [ebp - 0x1c]
cmp ebx, 1
jg 0x40351e
push 0x23
call fcn.00403c8f
mov esi, eax
push esi
call sub.KERNEL32.dll_lstrlenA
inc eax
push eax
xor eax, eax
cmp ebx, 1
push esi
setne al
inc eax
push eax
jmp 0x403561
cmp ebx, 2
jne 0x403537
push 3
call fcn.00403c6e
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
push 4
jmp 0x403561
cmp ebx, 3
jne 0x40349e
mov ebx, 0x40b458
push 0x400
push ebx
push 0
push dword [ebp - 0x20]
call fcn.00403de6
test eax, eax
jl 0x40349e
push eax
push ebx
push 3
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x403494
push 2
call fcn.00403c8f
push 0x13
mov esi, eax
call fcn.00403c8f
mov ebx, eax
lea eax, [ebp - 8]
and byte [edi], 0
push eax
push 0x20019
push 0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402499
lea eax, [ebp - 0x18]
xor esi, esi
push eax
lea eax, [ebp + 8]
push edi
push eax
push esi
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x18], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4035f3
cmp dword [ebp + 8], 4
je 0x4035de
cmp dword [ebp + 8], 1
je 0x4035d7
cmp dword [ebp + 8], 2
jne 0x4035f3
cmp dword [ebp - 0x1c], esi
je 0x4035fc
jmp 0x4035f6
cmp dword [ebp - 0x1c], esi
jne 0x4035e9
inc dword [0x42cbe8]
push dword [edi]
push edi
call fcn.00406a7f
jmp 0x4035fc
and byte [edi], 0
inc dword [0x42cbe8]
push dword [ebp - 8]
jmp 0x4034a1
push 3
call fcn.00403c6e
push 0x12
mov ebx, eax
call fcn.00403c8f
lea ecx, [ebp + 8]
and byte [edi], 0
xor esi, esi
push ecx
push 0x20019
push esi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402499
cmp dword [ebp - 0x1c], esi
mov eax, 0x3ff
mov dword [ebp - 0x18], eax
je 0x403650
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403663
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push esi
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
and byte [edi + 0x3ff], 0
jmp 0x40349e
cmp byte [edi], 0
je 0x40249f
push edi
call fcn.00406a98
push eax
jmp 0x402f8d
push 0xfffffffffffffff0
call fcn.00403c8f
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
call fcn.004067e4
cmp eax, 0xffffffff
jne 0x4037da
mov eax, dword [ebp - 8]
and byte [eax], 0
jmp 0x402499
cmp dword [ebp + 8], 0
je 0x4036c2
push 1
call fcn.00403c6e
mov byte [0x40b058], al
xor eax, eax
inc eax
jmp 0x4036cf
push 0x11
call fcn.00403c8f
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], 0
je 0x402499
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push 0x40b058
push edi
call fcn.00406a98
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x402495
push 2
xor esi, esi
call fcn.00403c6e
cmp eax, 1
mov dword [ebp - 4], eax
jl 0x40249f
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jle 0x403718
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x4037a2
and byte [ebp + 0xb], 0
push edi
call fcn.00406a98
cmp dword [ebp - 4], 0
mov edi, eax
jle 0x4037a2
lea eax, [ebp - 0x18]
push 0
push eax
lea eax, [ebp - 0x21]
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4037a2
cmp dword [ebp - 0x18], 1
jne 0x4037a2
cmp dword [ebp - 0x20], 0
jne 0x403777
mov al, byte [ebp - 0x21]
test al, al
je 0x4037a2
cmp byte [ebp + 0xb], 0xd
je 0x403782
cmp byte [ebp + 0xb], 0xa
je 0x403782
mov byte [esi + ebx], al
inc esi
cmp esi, dword [ebp - 4]
mov byte [ebp + 0xb], al
jl 0x403733
jmp 0x4037a2
movzx eax, byte [ebp - 0x21]
push eax
push ebx
jmp 0x4029b0
cmp byte [ebp + 0xb], al
je 0x403795
cmp al, 0xd
je 0x40378f
cmp al, 0xa
jne 0x403795
mov byte [esi + ebx], al
inc esi
jmp 0x4037a2
push 1
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and byte [esi + ebx], 0
test esi, esi
jmp 0x402497
cmp byte [edi], 0
je 0x40249f
push dword [ebp + 8]
push 0
push 1
call fcn.00403c6e
push eax
push edi
call fcn.00406a98
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0
jl 0x40249f
push eax
push dword [ebp - 8]
jmp 0x4029b0
cmp byte [edi], 0
je 0x40249f
push edi
call fcn.00406a98
push eax
jmp 0x40291b
cmp byte [ebx], 0
je 0x4026a6
lea eax, [ebp - 0x184]
push eax
push ebx
call fcn.00406a98
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4026a6
lea eax, [ebp - 0x158]
push eax
push edi
jmp 0x402bc7
push 0
call fcn.00403c8f
lea ecx, [ebp - 0x184]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403852
mov eax, dword [ebp - 4]
and byte [eax], 0
and byte [ebx], 0
jmp 0x402499
push eax
push dword [ebp - 4]
call fcn.00406a7f
lea eax, [ebp - 0x158]
push eax
push ebx
jmp 0x402bc7
xor edi, edi
mov esi, 0xfffffd66
push edi
call fcn.00403c8f
mov ebx, eax
push ebx
mov dword [ebp - 8], ebx
call fcn.004066bc
test eax, eax
push ebx
je 0x403892
mov ebx, 0x40b058
push ebx
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4038b4
push dword [0x409294]
push 0x40b058
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406637
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x40b058
push ebx
call fcn.00406d15
push 2
push 0x40000000
push ebx
call fcn.004067e4
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x403988
push dword [0x42cbc4]
call fcn.004065cc
mov ebx, eax
cmp ebx, edi
je 0x40397b
push edi
push edi
call fcn.00403fb0
push dword [0x42cbc4]
push ebx
call fcn.00403f7e
mov eax, dword [0x42c380]
cmp dword [eax + 0x78], 0xffffffff
je 0x403951
push dword [eax + 0x7c]
call fcn.004065cc
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x18], esi
je 0x403951
mov eax, dword [0x42c380]
push dword [eax + 0x7c]
push esi
push edi
push dword [eax + 0x78]
call fcn.00403de6
jmp 0x403941
mov edi, dword [esi]
add esi, 4
push edi
mov eax, dword [esi]
add esi, 4
add eax, ebx
push esi
push eax
call fcn.004067c0
add esi, edi
cmp byte [esi], 0
jne 0x40392b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
lea eax, [ebp - 0x14]
push edi
push eax
push dword [0x42cbc4]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
push edi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403de6
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
jge 0x4039a2
push dword [ebp - 8]
push 0xffffffffffffffe4
call fcn.00405f97
push 0x40b058
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x402499
push dword [ebp - 8]
push 0xffffffffffffffe5
jmp 0x4025e6
cmp byte [0x40c060], 0
jne 0x40249f
push esi
push 0x40c060
jmp 0x402bc7
push 0
call fcn.00403c6e
mov edi, eax
cmp edi, dword [0x42c368]
jae 0x402499
mov ecx, dword [0x42c39c]
lea eax, [edi + edi*2]
lea esi, [ecx + eax*8]
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x403a03
mov esi, dword [esi + eax*4]
push esi
push dword [ebp - 4]
jne 0x4029b0
call fcn.00406a5d
jmp 0x40249f
or ebx, 0xffffffff
sub ebx, eax
je 0x403a16
push 2
call fcn.00403c6e
mov dword [ebp + 8], eax
jmp 0x403a2b
push dword [ebp + 8]
push edi
push 0x417
push dword [0x42cbd8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 8]
test ebx, ebx
mov dword [esi + ebx*4], eax
je 0x40249f
mov eax, dword [esi + 8]
and eax, 1
push eax
push edi
push 0x418
push dword [0x42cbd8]
jmp 0x402dd3
push 0x10
push 0xffffffffffffffdb
call fcn.00403dc2
push eax
call fcn.004065b0
mov eax, 0x7fffffff
pop edi
pop esi
pop ebx
leave
ret 4