Function at 0x402309
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
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 [0x40ac54], 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 - 0x14], 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 - 0x18], ecx
lea ecx, [edx - 2]
add edi, esi
add ebx, esi
cmp ecx, 0x44
ja case.0x402373.68
jmp dword [ecx*4 + 0x403abf]
push 0
call fcn.00403cda
push eax
push 0x40c460
call fcn.00405f42
jmp 0x403ab3
inc dword [0x42c390]
cmp dword [0x42cbe8], 0
je 0x403ab3
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x403ab3
push dword [ebp - 0x10]
call fcn.004022ed
dec eax
push 0
push eax
call fcn.00402262
jmp 0x403ab8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4023ef
test al, 8
je 0x4023e1
mov eax, dword [0x409038]
mov dword [0x409244], eax
jmp 0x403aa0
mov ecx, dword [0x409244]
mov dword [0x409038], ecx
jmp 0x4023d7
push 0x30
call fcn.00403cda
push 0x40c460
push eax
call fcn.00405f42
jmp 0x403aa0
push 0
call fcn.00403cb4
cmp eax, 1
jge 0x402415
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403aa0
mov al, byte [ebp - 0x10]
mov byte [0x42b760], al
jmp 0x403aa0
push 0
push dword [0x42cbe8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x403aa0
push 5
push dword [0x42cbe8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x42cbe8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x403aa0
mov eax, dword [ebp - 0x10]
mov dword [0x42c3b8], eax
jmp 0x403aa0
mov eax, dword [0x42c394]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x402482
push dword [ebp - 0xc]
push eax
call esi
mov eax, dword [0x42c3ac]
test eax, eax
je 0x403aa0
push dword [ebp - 0x10]
push eax
call esi
jmp 0x403aa0
push 0
call fcn.00403cda
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x403aa0
inc dword [0x40aab0]
jmp 0x403aa0
push 0x10
call fcn.00403cda
cmp dword [ebp - 0xc], 0
mov esi, eax
mov dword [ebp + 8], esi
push esi
je 0x4024e6
push 0xffffffffffffffda
call fcn.00405f2c
push esi
push dword [0x409298]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4024ed
push 0xffffffffffffffd9
call fcn.00405f2c
mov edi, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x4024fa
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
je 0x4024f5
cmp byte [esi], 0
je 0x403aa0
push esi
call edi
cmp word [eax], 0x5c3a
jne 0x402517
lea esi, [eax + 2]
jmp 0x402542
cmp word [esi], 0x5c5c
jne 0x403aa0
push 2
pop ebx
jmp 0x402530
test al, al
je 0x40253f
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x402527
test al, al
je 0x40253f
push esi
call edi
mov esi, eax
dec ebx
jne 0x402530
mov al, byte [esi]
test al, al
je 0x403aa0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x40255f
test al, al
je 0x402568
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x402554
cmp byte [esi], 0
jne 0x402571
push 0
push dword [ebp + 8]
call ebx
jmp 0x40257f
and byte [esi], 0
push 0
push dword [ebp + 8]
call ebx
mov byte [esi], 0x5c
inc esi
mov al, byte [esi]
test al, al
jne 0x40255f
jmp 0x403aa0
push 0
call fcn.00403cda
push eax
call fcn.00403c03
jmp 0x402d12
mov eax, dword [0x40aab0]
mov ecx, dword [ebp + 8]
test eax, eax
mov dword [0x40aab0], ecx
je 0x402d1a
mov eax, dword [ebp - 0x10]
jmp 0x403ab8
push 0
call fcn.00403cda
push 0x11
mov ebx, eax
call fcn.00403cda
mov edi, 0x40b858
push ebx
push edi
mov dword [ebp - 4], eax
call sub.KERNEL32.dll_lstrcpyA
push dword [ebp - 4]
call sub.KERNEL32.dll_lstrlenA
push ebx
mov esi, eax
call sub.KERNEL32.dll_lstrlenA
add esi, eax
cmp esi, 0x3fd
jge 0x402607
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4090cc
push edi
call esi
push dword [ebp - 4]
push edi
call esi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x402622
push edi
push 0xffffffffffffffe0
call fcn.00405f2c
jmp 0x403aa0
cmp dword [ebp + 8], 0
je 0x4024b3
push ebx
call fcn.00403c03
test eax, eax
je 0x4024b3
push dword [ebp - 4]
inc dword [0x40ac50]
push ebx
call fcn.004067c4
push edi
push 0xffffffffffffffe1
jmp 0x402618
push 1
call fcn.00403cda
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 0x402691
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x40269a
cmp byte [eax], 0
je 0x40269a
push esi
call fcn.00403c03
test eax, eax
je 0x402691
add eax, 0x2c
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x40269a
inc dword [0x40aab0]
and byte [edi], 0
cmp dword [ebp + 8], 0
jne 0x403aa0
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x403aa0
push 1
call fcn.00403cda
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 0x403aa0
inc dword [0x40aab0]
and byte [edi], 0
jmp 0x403aa0
push edi
push 0
push 0x4090c8
push 0x42bf80
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
jmp 0x4026ce
push 0x31
call fcn.00403cda
mov edi, eax
push edi
mov dword [ebp - 0xc], edi
call fcn.004066d0
push edi
mov edi, 0x40ac58
test eax, eax
je 0x40271d
push edi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x402736
push dword [0x409298]
push edi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.0040663b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x40b458
cmp dword [ebp - 0x10], 0
jne 0x402757
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x40278c
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x10], 3
jne 0x40278c
push edi
call fcn.00403c03
test eax, eax
mov dword [ebp - 0x10], 1
je 0x40278c
mov ecx, dword [0x40ac54]
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.004067a8
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40280d
cmp dword [ebp - 0x10], 0
jne 0x4027fa
push esi
push ebx
call sub.KERNEL32.dll_lstrcpyA
push edi
push esi
call sub.KERNEL32.dll_lstrcpyA
push 0xfffffffffffffff1
push 0x40b058
call fcn.00406a63
push ebx
push esi
call sub.KERNEL32.dll_lstrcpyA
push 0x12
push 0x40b058
call fcn.004065b4
sub eax, 4
je 0x40273b
dec eax
je 0x4024b3
push edi
push 0xfffffffffffffff0
call fcn.00405f2c
jmp 0x403ab3
push dword [ebp - 0xc]
push 0xffffffffffffffdc
call fcn.00405f2c
cmp dword [ebp - 0x10], 2
jmp 0x4024ad
push dword [ebp - 0xc]
push 0xffffffffffffffdf
call fcn.00405f2c
xor esi, esi
push esi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00403e17
cmp dword [ebp - 0x20], 0xffffffff
mov ebx, eax
jne 0x402834
cmp dword [ebp - 0x1c], 0xffffffff
je 0x402848
mov eax, dword [0x40ac54]
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 0x403aa0
cmp ebx, 0xfffffffe
jne 0x40287a
push dword [ebp - 0xc]
push 0xffffffffffffffde
call fcn.00403df3
push eax
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x402888
push 0xffffffffffffffdd
call fcn.00403df3
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
push 0x10
push edi
jmp 0x403aae
push 0x10
call fcn.00403cda
mov esi, eax
mov edi, 0x40ac58
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
push edi
call fcn.00406677
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x403aa0
test byte [ebp - 0x184], 0x10
jne 0x402932
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 0x4028f9
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 0x40290e
push esi
push 0xffffffffffffffe7
call fcn.00405f2c
jmp 0x402932
cmp dword [ebp - 0xc], 0
je 0x40292c
inc dword [0x40ac50]
push esi
push 0xffffffffffffffe6
call fcn.00405f2c
push 0
push esi
call fcn.004067c4
jmp 0x402932
inc dword [0x40aab0]
lea eax, [ebp - 0x184]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4028c4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403aa0
push 0x31
call fcn.00403cda
push dword [ebp - 0x10]
push eax
call fcn.004065b4
test eax, eax
je 0x4024b3
mov ecx, dword [ebp + 8]
mov edx, ecx
and edx, 0xffff
cmp eax, edx
je 0x402adf
sar ecx, 0x10
cmp eax, ecx
jne 0x403aa0
jmp 0x402ae9
push 0
call fcn.00403cda
mov esi, eax
push esi
call fcn.0040665c
cmp al, 0x5c
jne 0x4029a4
push esi
call fcn.00406677
push dword [ebp - 0xc]
push esi
call fcn.004065df
push esi
call fcn.00403c03
test eax, eax
je 0x403aa0
jmp 0x4024b3
push 1
call fcn.00403cda
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
push edi
call fcn.00406a8a
jmp 0x403aa0
push 2
call fcn.00403cb4
push 3
mov ebx, eax
call fcn.00403cb4
push 1
mov esi, eax
call fcn.00403cda
and byte [edi], 0
cmp dword [ebp + 8], 0
mov dword [ebp - 8], eax
je 0x402a06
test ebx, ebx
je 0x403aa0
push eax
call sub.KERNEL32.dll_lstrlenA
test esi, esi
jge 0x402a18
add esi, eax
js 0x403aa0
cmp esi, eax
jle 0x402a1e
mov esi, eax
mov eax, dword [ebp - 8]
add eax, esi
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
test ebx, ebx
je 0x403aa0
jge 0x402a40
push edi
call sub.KERNEL32.dll_lstrlenA
add ebx, eax
jns 0x402a40
xor ebx, ebx
cmp ebx, 0x400
jge 0x403aa0
and byte [ebx + edi], 0
jmp 0x403aa0
push 0x20
call fcn.00403cda
push 0x31
mov esi, eax
call fcn.00403cda
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402adf
mov eax, dword [ebp + 8]
jmp 0x403ab8
push 1
call fcn.00403cda
cmp dword [ebp + 8], 0
push 0x400
push edi
push eax
je 0x402aa1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402aa7
inc dword [0x40aab0]
and byte [edi], al
jmp 0x402aa7
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [edi + 0x3ff], 0
jmp 0x403aa0
push 0
call fcn.00403cb4
push 1
mov esi, eax
call fcn.00403cb4
cmp esi, eax
jl 0x402adf
jle 0x402a71
jmp 0x402ae9
push 0
call fcn.00403cb4
push 1
mov esi, eax
call fcn.00403cb4
cmp esi, eax
jae 0x402ae7
mov eax, dword [ebp - 0x20]
jmp 0x403ab8
jbe 0x402a71
mov eax, dword [ebp - 0x1c]
jmp 0x403ab8
push 1
call fcn.00403cb4
push 2
mov esi, eax
call fcn.00403cb4
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xb
ja case.default.0x402b0b
jmp dword [eax*4 + 0x403bd3]
add esi, ecx
jmp case.default.0x402b0b
sub esi, ecx
jmp case.default.0x402b0b
imul ecx, esi
mov esi, ecx
jmp case.default.0x402b0b
test ecx, ecx
je 0x402b6b
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp case.default.0x402b0b
or esi, ecx
jmp case.default.0x402b0b
and esi, ecx
jmp case.default.0x402b0b
xor esi, ecx
jmp case.default.0x402b0b
not esi
jmp case.default.0x402b0b
xor eax, eax
test esi, esi
sete al
jmp 0x402b2a
test esi, esi
jne 0x402b59
jmp 0x402b55
xor esi, esi
jmp case.default.0x402b0b
test esi, esi
je 0x402b4d
test ecx, ecx
je 0x402b4d
xor esi, esi
inc esi
jmp case.default.0x402b0b
test ecx, ecx
je 0x402b6b
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x402b0b
xor esi, esi
inc dword [0x40aab0]
push esi
jmp 0x4029ce
push 1
call fcn.00403cda
push 2
mov esi, eax
call fcn.00403cb4
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x403aa0
mov eax, dword [ebp + 8]
mov esi, dword [0x40c058]
test eax, eax
je 0x402beb
dec eax
test esi, esi
je case.0x402373.68
mov esi, dword [esi]
test eax, eax
jne 0x402ba7
test esi, esi
je case.0x402373.68
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
jmp 0x403a9b
cmp dword [ebp - 0xc], 0
je 0x402c16
test esi, esi
je 0x4024b3
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 0x403aa0
push 0x404
call fcn.004065d0
push dword [ebp - 0x10]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406a63
mov eax, dword [0x40c058]
mov dword [esi], eax
mov dword [0x40c058], esi
jmp 0x403aa0
push 3
call fcn.00403cb4
push 4
mov ebx, eax
call fcn.00403cb4
cmp dword [ebp - 0x14], 0x23
mov dword [ebp + 8], eax
push 1
jne 0x402cc5
call fcn.00403cb4
push 2
mov esi, eax
call fcn.00403cb4
test byte [ebp - 0x18], 1
mov dword [ebp - 8], eax
je 0x402c7b
push 3
call fcn.00403cda
mov ebx, eax
test byte [ebp - 0x18], 2
je 0x402c8b
push 0x14
call fcn.00403cda
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
sar eax, 2
je 0x402cb5
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 [0x40aab0], eax
jmp 0x402cf2
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402cef
call fcn.00403cda
push 0x12
mov esi, eax
call fcn.00403cda
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 0x403aa0
push dword [ebp - 4]
jmp 0x4029ce
push 0
call fcn.00403cb4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402a71
mov eax, dword [ebp - 0xc]
jmp 0x403ab8
push 2
call fcn.00403cb4
push eax
push 1
call fcn.00403cb4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4029cd
push 2
call fcn.00403cb4
push eax
push 1
call fcn.00403cb4
push eax
push 0
call fcn.00403cb4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x403aa0
push dword [ebp - 0xc]
push dword [0x42cbe8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x40c05c]
xor esi, esi
cmp eax, esi
je 0x402d8e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
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
and eax, ecx
push eax
push esi
push esi
call fcn.00403cda
push eax
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push esi
push 0x172
mov dword [0x40c05c], eax
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x403aa0
push 0x48
push 0x5a
push dword [0x42cbe8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
call fcn.00403cb4
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x40aad0], eax
call fcn.00403cb4
mov dword [0x40aae0], eax
mov al, byte [ebp - 0x1c]
push dword [ebp - 0xc]
mov cl, al
and cl, 1
mov byte [0x40aae7], 1
mov byte [0x40aae4], cl
mov cl, al
and cl, 2
and al, 4
push 0x40aaec
mov byte [0x40aae5], cl
mov byte [0x40aae6], al
call fcn.00406a63
push 0x40aad0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x4029cd
push 1
call fcn.00403cb4
push eax
push 0
call fcn.00403cb4
push eax
jmp 0x402436
push 0
call fcn.00403cda
push 0x11
mov esi, eax
call fcn.00403cda
push 0x22
mov dword [ebp + 8], eax
call fcn.00403cda
push dword [ebp + 8]
mov edi, 0x40b858
mov ebx, eax
push esi
push str._s__s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push edi
push 0xffffffffffffffe3
call fcn.00405f2c
mov al, byte [ebx]
push dword [ebp - 0x20]
neg al
push dword [0x409298]
sbb eax, eax
and eax, ebx
push eax
mov al, byte [esi]
push dword [ebp + 8]
neg al
sbb eax, eax
and eax, esi
push eax
push dword [0x42cbe8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x403aa0
jmp 0x4024b3
push 0
call fcn.00403cda
mov esi, eax
push esi
push 0xffffffffffffffe2
call fcn.00405f2c
push dword [0x409298]
push esi
call fcn.004064de
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x4024b3
cmp dword [ebp - 0xc], 0
je 0x402f7c
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x402f50
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0xf
pop ebx
mov esi, 0x40aab4
jmp 0x402f31
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 0x402f2a
push 0x64
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x402f31
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 8], 0
jl 0x402f70
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00406a8a
jmp 0x402f7c
cmp dword [ebp - 8], 0
je 0x402f7c
inc dword [0x40aab0]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403aa0
push 0
call fcn.00403cda
push eax
call fcn.00403c03
mov esi, eax
test esi, esi
je 0x402fb0
push dword [esi + 0x14]
push dword [ebp - 4]
call fcn.00406a8a
push dword [esi + 0x18]
jmp 0x40379f
and byte [ebx], 0
mov eax, dword [ebp - 4]
jmp 0x4036c6
lea eax, [ebp - 0x38]
push 0
mov dword [ebp + 8], eax
call fcn.00403cda
mov edi, eax
lea eax, [ebp - 0x14]
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 [0x40aab0]
test esi, esi
je 0x403aa0
push esi
call fcn.004065d0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x403aa0
push eax
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403045
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x4090ac
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403045
mov eax, dword [ebp + 8]
push dword [eax + 8]
push ebx
call fcn.00406a8a
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [ebp - 4]
call fcn.00406a8a
dec dword [0x40aab0]
push dword [ebp - 0x18]
jmp 0x402c0b
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
inc dword [0x40aab0]
cmp eax, 1
je 0x403070
test eax, eax
je 0x403070
push 0x40ac58
push 0xffffffffffffffea
jmp 0x402618
push 0
call fcn.00403cda
push 0x11
mov ebx, eax
call fcn.00403cda
mov edi, 0x40b858
push ebx
push edi
mov dword [ebp - 8], eax
call sub.KERNEL32.dll_lstrcpyA
push edi
call fcn.00406677
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x403119
push dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4030fa
dec dword [0x40aab0]
cmp dword [ebp + 8], 0
je 0x4030e2
push 0x22
call fcn.00403cda
push ebx
push eax
call fcn.00405f42
call edi
test eax, eax
je 0x403104
inc dword [0x40aab0]
jmp 0x403104
push 0x40c058
push esi
push 0x400
push dword [0x42cbe8]
call edi
add esp, 0x10
jmp 0x403104
push dword [ebp - 8]
push 0xffffffffffffffec
call fcn.00405f2c
cmp dword [ebp - 0x20], 0
jne 0x403121
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x40310a
jmp 0x403121
push ebx
push 0xffffffffffffffeb
call fcn.00405f2c
push dword [0x40929c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x403aa0
push 0x20
call fcn.00403cda
push 0x11
mov dword [ebp - 0x18], eax
call fcn.00403cda
push 2
mov esi, eax
call fcn.00403cda
push 0x33
mov dword [ebp - 0x14], eax
call fcn.00403cda
push 0x45
mov ebx, eax
call fcn.00403cda
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 0x403182
test eax, eax
jne 0x403281
lea eax, [ebp + 8]
push eax
push 0x407398
push edi
push 0
push 0x4073a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x403275
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x4073b8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x40326c
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
push dword [0x409298]
mov dword [ebp - 0xc], 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 0x4031f1
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 0x403212
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 - 0x14]
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 - 0xc], esi
jl 0x403263
lea eax, [ebp - 0x984]
push 0x400
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
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 0x403263
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 0x403291
push dword [ebp - 0x18]
inc dword [0x40aab0]
push 0xffffffffffffffe8
jmp 0x402618
push dword [ebp - 0x18]
push 0xffffffffffffffe9
jmp 0x402618
push 0
call fcn.00403cda
push 0x11
mov edi, eax
call fcn.00403cda
mov esi, eax
mov eax, dword [0x42cbe8]
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.00403df3
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.00405f42
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x403aa0
push esi
push 0xffffffffffffffee
call fcn.00405f2c
jmp 0x4024b3
inc dword [0x40aab0]
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4033b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenProcessToken
push edi
call esi
push str.LookupPrivilegeValueA
push edi
mov dword [ebp + 8], eax
call esi
push str.AdjustTokenPrivileges
push edi
mov dword [ebp - 8], eax
call esi
cmp dword [ebp + 8], ebx
mov esi, eax
je 0x4033b4
cmp dword [ebp - 8], ebx
je 0x4033b4
cmp esi, ebx
je 0x4033b4
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp + 8]
test eax, eax
je 0x4033b4
lea eax, [ebp - 0x34]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [ebp - 8]
push ebx
push ebx
lea eax, [ebp - 0x38]
push ebx
push eax
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 2
call esi
push ebx
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4033c8
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403aa0
xor ecx, ecx
cmp dword [0x40ac50], ecx
sete cl
mov eax, dword [eax + ecx*4]
jmp 0x403ab8
mov eax, dword [ebp - 0x10]
mov dword [0x40ac50], eax
jmp 0x403aa0
xor edi, edi
xor esi, esi
xor ebx, ebx
cmp dword [ebp - 0x10], edi
je 0x403407
push ebx
call fcn.00403cda
mov esi, eax
cmp dword [ebp - 0xc], 0
je 0x403416
push 0x11
call fcn.00403cda
mov ebx, eax
cmp dword [ebp + 8], 0
je 0x403425
push 0x22
call fcn.00403cda
mov edi, eax
push 0x33
call fcn.00403cda
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4024ab
push 1
call fcn.00403cda
push 0x12
mov esi, eax
call fcn.00403cda
push 0x23
mov ebx, eax
call fcn.00403cda
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 0x4026d0
push 0x31
call fcn.00403cda
inc dword [0x40aab0]
cmp dword [ebp + 8], 0
je 0x4034d0
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403aa0
push 2
call fcn.00403cda
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4034c2
dec dword [0x40aab0]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403aa0
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x10]
call fcn.00403c2a
test eax, eax
jne 0x403aa0
dec dword [0x40aab0]
jmp 0x403aa0
push 0x12
call fcn.00403cda
push 0x31
mov edi, eax
call fcn.00403cda
inc dword [0x40aab0]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403aa0
mov ebx, dword [ebp - 0x1c]
cmp ebx, 1
jg 0x403541
push 0x23
call fcn.00403cda
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 0x403584
cmp ebx, 2
jne 0x40355a
push 3
call fcn.00403cb4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x403584
cmp ebx, 3
jne 0x4034c2
mov ebx, 0x40b458
push 0x400
push ebx
push 0
push dword [ebp - 0x20]
call fcn.00403e17
test eax, eax
jl 0x4034c2
push eax
push ebx
push 3
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4034b8
push 2
call fcn.00403cda
push 0x13
mov esi, eax
call fcn.00403cda
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 0x4024b3
lea eax, [ebp - 0x14]
xor esi, esi
push eax
lea eax, [ebp + 8]
push edi
push eax
push esi
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403616
cmp dword [ebp + 8], 4
je 0x403601
cmp dword [ebp + 8], 1
je 0x4035fa
cmp dword [ebp + 8], 2
jne 0x403616
cmp dword [ebp - 0x1c], esi
je 0x40361f
jmp 0x403619
cmp dword [ebp - 0x1c], esi
jne 0x40360c
inc dword [0x40aab0]
push dword [edi]
push edi
call fcn.00406a8a
jmp 0x40361f
and byte [edi], 0
inc dword [0x40aab0]
push dword [ebp - 8]
jmp 0x4034c5
push 3
call fcn.00403cb4
push 0x12
mov ebx, eax
call fcn.00403cda
lea ecx, [ebp + 8]
and byte [edi], 0
xor esi, esi
push ecx
push 0xf003f
push esi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4024b3
cmp dword [ebp - 0x1c], esi
mov eax, 0x3ff
mov dword [ebp - 0x14], eax
je 0x403673
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403686
push esi
push esi
push esi
lea eax, [ebp - 0x14]
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 0x4034c2
cmp byte [edi], 0
je 0x403aa0
push edi
call fcn.00406aa3
push eax
jmp 0x402f7f
push 0
call fcn.00403cda
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
call fcn.004067a8
cmp eax, 0xffffffff
jne 0x4037fd
mov eax, dword [ebp - 8]
and byte [eax], 0
jmp 0x4024b3
cmp dword [ebp + 8], 0
je 0x4036e5
push 1
call fcn.00403cb4
mov byte [0x40b058], al
xor eax, eax
inc eax
jmp 0x4036f2
push 0x11
call fcn.00403cda
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], 0
je 0x4024b3
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push 0x40b058
push edi
call fcn.00406aa3
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4024ab
push 2
xor esi, esi
call fcn.00403cb4
cmp eax, 1
mov dword [ebp - 4], eax
jl 0x403aa0
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jle 0x40373b
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x4037c5
and byte [ebp + 0xb], 0
push edi
call fcn.00406aa3
cmp dword [ebp - 4], 0
mov edi, eax
jle 0x4037c5
lea eax, [ebp - 0x14]
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 0x4037c5
cmp dword [ebp - 0x14], 1
jne 0x4037c5
cmp dword [ebp - 0x20], 0
jne 0x40379a
mov al, byte [ebp - 0x21]
test al, al
je 0x4037c5
cmp byte [ebp + 0xb], 0xd
je 0x4037a5
cmp byte [ebp + 0xb], 0xa
je 0x4037a5
mov byte [esi + ebx], al
inc esi
cmp esi, dword [ebp - 4]
mov byte [ebp + 0xb], al
jl 0x403756
jmp 0x4037c5
movzx eax, byte [ebp - 0x21]
push eax
push ebx
jmp 0x4029cf
cmp byte [ebp + 0xb], al
je 0x4037b8
cmp al, 0xd
je 0x4037b2
cmp al, 0xa
jne 0x4037b8
mov byte [esi + ebx], al
inc esi
jmp 0x4037c5
push 1
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and byte [esi + ebx], 0
test esi, esi
jmp 0x4024ad
cmp byte [edi], 0
je 0x403aa0
push dword [ebp + 8]
push 0
push 1
call fcn.00403cb4
push eax
push edi
call fcn.00406aa3
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0
jl 0x403aa0
push eax
push dword [ebp - 8]
jmp 0x4029cf
cmp byte [edi], 0
je 0x403aa0
push edi
call fcn.00406aa3
push eax
jmp 0x402945
cmp byte [ebx], 0
je 0x4026d6
lea eax, [ebp - 0x184]
push eax
push ebx
call fcn.00406aa3
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4026d6
lea eax, [ebp - 0x158]
push eax
push edi
jmp 0x403a9b
push 0
call fcn.00403cda
lea ecx, [ebp - 0x184]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403875
mov eax, dword [ebp - 4]
and byte [eax], 0
and byte [ebx], 0
jmp 0x4024b3
push eax
push dword [ebp - 4]
call fcn.00406a8a
lea eax, [ebp - 0x158]
push eax
push ebx
jmp 0x403a9b
xor edi, edi
mov esi, 0xfffffd66
push edi
call fcn.00403cda
mov ebx, eax
push ebx
mov dword [ebp - 8], ebx
call fcn.004066d0
test eax, eax
push ebx
je 0x4038b4
push 0x40b058
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4038d1
push dword [0x409294]
push 0x40b058
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.0040663b
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 2
push 0x40000000
push 0x40b058
call fcn.004067a8
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4039a3
push dword [0x42cbe4]
call fcn.004065d0
mov ebx, eax
cmp ebx, edi
je 0x403996
push edi
push edi
call fcn.00403fe1
push dword [0x42cbe4]
push ebx
call fcn.00403faf
mov eax, dword [0x42c39c]
cmp dword [eax + 0x78], 0xffffffff
je 0x40396c
push dword [eax + 0x7c]
call fcn.004065d0
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x14], esi
je 0x40396c
mov eax, dword [0x42c39c]
push dword [eax + 0x7c]
push esi
push edi
push dword [eax + 0x78]
call fcn.00403e17
jmp 0x40395c
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.00406784
add esi, edi
cmp byte [esi], 0
jne 0x403946
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
lea eax, [ebp - 0x18]
push edi
push eax
push dword [0x42cbe4]
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.00403e17
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
jge 0x4039bd
push dword [ebp - 8]
push 0xffffffffffffffe4
call fcn.00405f2c
push 0x40b058
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x403aa0
push dword [ebp - 8]
push 0xffffffffffffffe5
jmp 0x402618
push 0
call fcn.00403cb4
mov esi, eax
mov eax, dword [0x42c3bc]
test eax, eax
je 0x4024b3
test esi, esi
jl 0x4024b3
mov ecx, dword [0x42c39c]
cmp esi, dword [ecx + 0x84]
jge 0x4024b3
cmp dword [ebp - 0xc], 0
jne 0x403a27
mov ecx, dword [0x42cbf8]
test ecx, ecx
je 0x403a1c
push dword [ebp + 8]
push esi
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x42c3bc]
mov edx, dword [ebp + 8]
lea ecx, [esi + esi*2]
mov dword [eax + ecx*8], edx
jmp 0x403aa0
cmp dword [ebp - 0xc], 1
jne 0x403a3d
lea ecx, [esi + esi*2]
push dword [eax + ecx*8]
push dword [ebp - 4]
call fcn.00406a63
jmp 0x403aa0
cmp dword [ebp - 0xc], 2
jne 0x403a7d
lea edi, [esi + esi*2]
push 2
shl edi, 3
call fcn.00403cb4
mov ecx, dword [0x42c3bc]
mov dword [ecx + edi + 8], eax
mov eax, dword [0x42cbf8]
test eax, eax
je 0x403aa0
mov ecx, dword [0x42c3bc]
mov ecx, dword [ecx + edi + 8]
and ecx, 1
push ecx
push esi
push 0x418
push eax
jmp 0x402dcb
lea ecx, [esi + esi*2]
push dword [eax + ecx*8 + 8]
push dword [ebp - 4]
jmp 0x4029cf
cmp byte [0x40c060], 0
jne 0x403aa0
push esi
push 0x40c060
call sub.KERNEL32.dll_lstrcpyA
xor eax, eax
jmp 0x403ab8
push 0x10
push 0xffffffffffffffdb
call fcn.00403df3
push eax
call fcn.004065b4
mov eax, 0x7fffffff
pop edi
pop esi
pop ebx
leave
ret 4