Function at 0x40230a
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, 0x425380
lea eax, [edx + 4]
push edi
mov dword [0x40ac20], eax
mov edx, dword [edx]
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov dword [ebp - 0xc], 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 + 8], ebx
shl ecx, 0xa
add ecx, esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], 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.0x402374.67
jmp dword [ecx*4 + 0x403ab4]
push 0
call fcn.00403cda
push eax
push 0x40c468
call fcn.00405fe7
jmp 0x403aa8
inc dword [0x42c390]
cmp dword [0x42cbc8], 0
je 0x403aa8
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x403aa8
push dword [ebp - 0x10]
call fcn.004022ee
dec eax
push 0
push eax
call fcn.00402263
jmp 0x403aad
mov eax, dword [ebp + 8]
test eax, eax
je 0x4023f0
test al, 8
je 0x4023e2
mov eax, dword [0x409038]
mov dword [0x409244], eax
jmp 0x40249b
mov ecx, dword [0x409244]
mov dword [0x409038], ecx
jmp 0x4023d8
push 0x30
call fcn.00403cda
push 0x40c468
push eax
call fcn.00405fe7
jmp 0x40249b
push 0
call fcn.00403cb9
cmp eax, 1
jge 0x402416
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40249b
push 0
push dword [0x42cbc8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40249b
push 5
push dword [0x42cbc8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x42cbc8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x40249b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x42cbe0], eax
jmp 0x40249b
mov eax, dword [0x42c394]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40246f
push dword [ebp + 8]
push eax
call esi
mov eax, dword [0x42c3ac]
test eax, eax
je 0x40249b
push dword [ebp - 0x10]
push eax
call esi
jmp 0x40249b
push 0xfffffffffffffff0
call fcn.00403cda
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40249b
inc dword [0x42cbe8]
xor eax, eax
jmp 0x403aad
push 0xfffffffffffffff0
call fcn.00403cda
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [ebp - 8], esi
push esi
je 0x4024d6
push 0xffffffffffffffda
call fcn.00405fd1
push esi
push dword [0x409298]
call sub.KERNEL32.dll_lstrcpyA
push dword [0x409298]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x4024dd
push 0xffffffffffffffd9
call fcn.00405fd1
mov edi, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x4024ea
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
je 0x4024e5
cmp byte [esi], 0
je 0x40249b
push esi
call edi
cmp word [eax], 0x5c3a
jne 0x402503
lea esi, [eax + 2]
jmp 0x40252a
cmp word [esi], 0x5c5c
jne 0x40249b
push 2
pop ebx
jmp 0x402518
test al, al
je 0x402527
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x40250f
test al, al
je 0x402527
push esi
call edi
mov esi, eax
dec ebx
jne 0x402518
mov al, byte [esi]
test al, al
je 0x40249b
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x402547
test al, al
je 0x402550
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x40253c
cmp byte [esi], 0
jne 0x402559
push 0
push dword [ebp - 8]
call ebx
jmp 0x402567
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 0x402547
jmp 0x40249b
push 0
call fcn.00403cda
push eax
call fcn.00403c08
jmp 0x402cfe
cmp dword [0x42cbe8], 0
je 0x402d06
mov eax, dword [ebp - 0x10]
jmp 0x403aad
push 0xfffffffffffffff0
call fcn.00403cda
push 0xffffffffffffffdf
mov dword [ebp + 8], eax
call fcn.00403cda
push dword [ebp + 8]
mov esi, 0x40b860
mov ebx, eax
push esi
call sub.KERNEL32.dll_lstrcpyA
push ebx
call sub.KERNEL32.dll_lstrlenA
push dword [ebp + 8]
mov edi, eax
call sub.KERNEL32.dll_lstrlenA
add edi, eax
cmp edi, 0x3fd
jge 0x4025e6
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 + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x402601
push esi
push 0xffffffffffffffe0
call fcn.00405fd1
jmp 0x40249b
cmp dword [ebp - 0xc], 0
je 0x402495
push dword [ebp + 8]
call fcn.00403c08
test eax, eax
je 0x402495
inc dword [0x42cbec]
push ebx
push dword [ebp + 8]
call fcn.0040685c
push esi
push 0xffffffffffffffe1
jmp 0x4025f7
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 0x402672
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40267b
cmp byte [eax], 0
je 0x40267b
push esi
call fcn.00403c08
test eax, eax
je 0x402672
add eax, 0x2c
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x40267b
inc dword [0x42cbe8]
and byte [edi], 0
cmp dword [ebp - 0xc], 0
jne 0x40249b
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x40249b
push 0xffffffffffffffff
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 0x40249b
inc dword [0x42cbe8]
and byte [edi], 0
jmp 0x40249b
push edi
push 0
push 0x4090c8
push 0x42bf80
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
jmp 0x4026af
push 0x31
call fcn.00403cda
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.00406714
push edi
mov edi, 0x40ac60
test eax, eax
je 0x4026fe
push edi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x402717
push dword [0x409298]
push edi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.0040667f
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call fcn.00406d71
mov ebx, 0x40b460
cmp dword [ebp - 0x10], 0
jne 0x40273e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x402773
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x10], 3
jne 0x402773
push edi
call fcn.00403c08
test eax, eax
mov dword [ebp - 0x10], 1
je 0x402773
mov ecx, dword [0x40ac20]
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.00406840
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4027f4
cmp dword [ebp - 0x10], 0
jne 0x4027e1
push esi
push ebx
call sub.KERNEL32.dll_lstrcpyA
push edi
push esi
call sub.KERNEL32.dll_lstrcpyA
push 0xfffffffffffffff1
push 0x40b060
call fcn.00406ab9
push ebx
push esi
call sub.KERNEL32.dll_lstrcpyA
push 0x12
push 0x40b060
call fcn.004065f8
sub eax, 4
je 0x402722
dec eax
je 0x402495
push edi
push 0xfffffffffffffff0
call fcn.00405fd1
jmp 0x403aa8
push dword [ebp - 4]
push 0xffffffffffffffdc
call fcn.00405fd1
cmp dword [ebp - 0x10], 2
jmp 0x402493
push dword [ebp - 4]
push 0xffffffffffffffdf
call fcn.00405fd1
xor esi, esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00403e31
cmp dword [ebp - 0x20], 0xffffffff
mov ebx, eax
jne 0x40281b
cmp dword [ebp - 0x18], 0xffffffff
je 0x40282f
mov eax, dword [0x40ac20]
add eax, 0xc
push eax
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
jge 0x40249b
cmp ebx, 0xfffffffe
jne 0x402861
push dword [ebp - 4]
push 0xffffffffffffffde
call fcn.00403e0d
push eax
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40286f
push 0xffffffffffffffdd
call fcn.00403e0d
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
push 0x10
push edi
jmp 0x403aa3
push 0x10
call fcn.00403cda
mov esi, eax
mov edi, 0x40ac60
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
push edi
call fcn.004066bb
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40249b
test byte [ebp - 0x184], 0x10
jne 0x402919
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 0x4028e0
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 0x4028f5
push esi
push 0xffffffffffffffe7
call fcn.00405fd1
jmp 0x402919
cmp dword [ebp + 8], 0
je 0x402913
inc dword [0x42cbec]
push esi
push 0xffffffffffffffe6
call fcn.00405fd1
push 0
push esi
call fcn.0040685c
jmp 0x402919
inc dword [0x42cbe8]
lea eax, [ebp - 0x184]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4028ab
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40249b
push 0x31
call fcn.00403cda
push dword [ebp - 0x10]
push eax
call fcn.004065f8
test eax, eax
je 0x402495
mov ecx, dword [ebp - 0xc]
mov edx, ecx
and edx, 0xffff
cmp eax, edx
je 0x402ac6
sar ecx, 0x10
cmp eax, ecx
jne 0x40249b
jmp 0x402ad0
push 0
call fcn.00403cda
mov esi, eax
push esi
call fcn.004066a0
cmp al, 0x5c
jne 0x40298b
push esi
call fcn.004066bb
push dword [ebp + 8]
push esi
call fcn.00406623
push esi
call fcn.00403c08
test eax, eax
je 0x40249b
jmp 0x402495
push 1
call fcn.00403cda
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
push edi
call fcn.00406adb
jmp 0x40249b
push 2
call fcn.00403cb9
push 3
mov ebx, eax
call fcn.00403cb9
push 1
mov esi, eax
call fcn.00403cda
and byte [edi], 0
cmp dword [ebp - 0xc], 0
mov dword [ebp + 8], eax
je 0x4029ed
test ebx, ebx
je 0x40249b
push eax
call sub.KERNEL32.dll_lstrlenA
test esi, esi
jge 0x4029ff
add esi, eax
js 0x40249b
cmp esi, eax
jle 0x402a05
mov esi, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
test ebx, ebx
je 0x40249b
jge 0x402a27
push edi
call sub.KERNEL32.dll_lstrlenA
add ebx, eax
jns 0x402a27
xor ebx, ebx
cmp ebx, 0x400
jge 0x40249b
and byte [ebx + edi], 0
jmp 0x40249b
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 0x402ac6
mov eax, dword [ebp - 0xc]
jmp 0x403aad
push 1
call fcn.00403cda
cmp dword [ebp - 0xc], 0
push 0x400
push edi
push eax
je 0x402a88
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402a8e
inc dword [0x42cbe8]
and byte [edi], al
jmp 0x402a8e
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [edi + 0x3ff], 0
jmp 0x40249b
push 0
call fcn.00403cb9
push 1
mov esi, eax
call fcn.00403cb9
cmp esi, eax
jl 0x402ac6
jle 0x402a58
jmp 0x402ad0
push 0
call fcn.00403cb9
push 1
mov esi, eax
call fcn.00403cb9
cmp esi, eax
jae 0x402ace
mov eax, dword [ebp - 0x20]
jmp 0x403aad
jbe 0x402a58
mov eax, dword [ebp - 0x18]
jmp 0x403aad
push 1
call fcn.00403cb9
push 2
mov esi, eax
call fcn.00403cb9
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xb
ja case.default.0x402af2
jmp dword [eax*4 + 0x403bd8]
add esi, ecx
jmp case.default.0x402af2
sub esi, ecx
jmp case.default.0x402af2
imul ecx, esi
mov esi, ecx
jmp case.default.0x402af2
test ecx, ecx
je 0x402b52
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp case.default.0x402af2
or esi, ecx
jmp case.default.0x402af2
and esi, ecx
jmp case.default.0x402af2
xor esi, ecx
jmp case.default.0x402af2
not esi
jmp case.default.0x402af2
xor eax, eax
test esi, esi
sete al
jmp 0x402b11
test esi, esi
jne 0x402b40
jmp 0x402b3c
xor esi, esi
jmp case.default.0x402af2
test esi, esi
je 0x402b34
test ecx, ecx
je 0x402b34
xor esi, esi
inc esi
jmp case.default.0x402af2
test ecx, ecx
je 0x402b52
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x402af2
xor esi, esi
inc dword [0x42cbe8]
push esi
jmp 0x4029b5
push 1
call fcn.00403cda
push 2
mov esi, eax
call fcn.00403cb9
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40249b
mov eax, dword [ebp - 0xc]
mov esi, dword [0x40c060]
test eax, eax
je 0x402bd7
dec eax
test esi, esi
je case.0x402374.67
mov esi, dword [esi]
test eax, eax
jne 0x402b8e
test esi, esi
je case.0x402374.67
add esi, 4
mov edi, 0x40ac60
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40c060]
add eax, 4
push eax
push esi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40c060]
push edi
add eax, 4
push eax
call sub.KERNEL32.dll_lstrcpyA
jmp 0x40249b
cmp dword [ebp + 8], 0
je 0x402c02
test esi, esi
je 0x402495
lea eax, [esi + 4]
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [esi]
push esi
mov dword [0x40c060], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40249b
push 0x404
call fcn.00406614
push dword [ebp - 0x10]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406ab9
mov eax, dword [0x40c060]
mov dword [esi], eax
mov dword [0x40c060], esi
jmp 0x40249b
push 3
call fcn.00403cb9
push 4
mov ebx, eax
call fcn.00403cb9
cmp dword [ebp - 0x1c], 0x22
mov dword [ebp + 8], eax
push 1
jne 0x402cb1
call fcn.00403cb9
push 2
mov esi, eax
call fcn.00403cb9
test byte [ebp - 0x14], 1
mov dword [ebp - 8], eax
je 0x402c67
push 3
call fcn.00403cda
mov ebx, eax
test byte [ebp - 0x14], 2
je 0x402c77
push 0x14
call fcn.00403cda
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
sar eax, 2
je 0x402ca1
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 0x402cde
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402cdb
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 0x40249b
push dword [ebp - 4]
jmp 0x4029b5
push 0
call fcn.00403cb9
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402a58
mov eax, dword [ebp + 8]
jmp 0x403aad
push 2
call fcn.00403cb9
push eax
push 1
call fcn.00403cb9
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4029b4
push 0x400
push edi
push 1
call fcn.00403cb9
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40249b
or eax, 0xffffffff
cmp dword [ebp + 8], eax
je 0x402d53
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push 0xffffffffffffffeb
push 0
call fcn.00403cb9
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x40249b
push dword [ebp + 8]
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 - 0xc]
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.00403cda
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 0x40249b
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.00403cb9
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x40ac24], eax
call fcn.00403cb9
mov dword [0x40ac34], eax
mov al, byte [ebp - 0x18]
push dword [ebp + 8]
mov cl, al
and cl, 1
mov byte [0x40ac3b], 1
mov byte [0x40ac38], cl
mov cl, al
and cl, 2
and al, 4
push 0x40ac40
mov byte [0x40ac39], cl
mov byte [0x40ac3a], al
call fcn.00406ab9
push 0x40ac24
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x4029b4
push 1
call fcn.00403cb9
push eax
push 0
call fcn.00403cb9
push eax
jmp 0x402427
push 0
call fcn.00403cda
push 0x11
mov edi, eax
call fcn.00403cda
push 0x22
mov dword [ebp + 8], eax
call fcn.00403cda
push dword [ebp + 8]
mov esi, 0x40b860
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.00405fd1
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 0x40249b
jmp 0x402495
push 0
call fcn.00403cda
mov esi, eax
push esi
push 0xffffffffffffffe2
call fcn.00405fd1
push dword [0x409298]
push esi
call fcn.00406582
test eax, eax
mov dword [ebp - 0x18], eax
je 0x402495
cmp dword [ebp + 8], 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, 0x40aac0
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 - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x402f3f
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0xc], 0
jl 0x402f7e
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00406adb
jmp 0x402f8a
cmp dword [ebp + 8], 0
je 0x402f8a
inc dword [0x42cbe8]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40249b
push 0
call fcn.00403cda
push eax
call fcn.00403c08
mov esi, eax
test esi, esi
je 0x402fbe
push dword [esi + 0x14]
push dword [ebp - 4]
call fcn.00406adb
push dword [esi + 0x18]
jmp 0x403782
and byte [ebx], 0
mov eax, dword [ebp - 4]
jmp 0x4036a9
lea eax, [ebp - 0x38]
push 0xfffffffffffffff0
mov dword [ebp + 8], eax
call fcn.00403cda
mov edi, eax
lea eax, [ebp - 0x1c]
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 0x40249b
push esi
call fcn.00406614
test eax, eax
mov dword [ebp - 0x14], eax
je 0x40249b
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.00406adb
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [ebp - 4]
call fcn.00406adb
dec dword [0x42cbe8]
push dword [ebp - 0x14]
jmp 0x402bf7
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
inc dword [0x42cbe8]
cmp eax, 1
je 0x40307e
test eax, eax
je 0x40307e
push 0x40b060
push 0xffffffffffffffea
jmp 0x4025f7
push 0xfffffffffffffff0
call fcn.00403cda
push 1
mov dword [ebp + 8], eax
call fcn.00403cda
push dword [ebp + 8]
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 - 0xc], 0
je 0x4030d9
push 0x22
call fcn.00403cda
push dword [ebp + 8]
push eax
call fcn.00405fe7
call edi
test eax, eax
je 0x4030f9
inc dword [0x42cbe8]
jmp 0x4030f9
push 0x40c060
push esi
push 0x400
push dword [0x42cbc8]
call edi
add esp, 0x10
jmp 0x4030f9
push ebx
push 0xffffffffffffffec
call fcn.00405fd1
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 + 8]
push 0xffffffffffffffeb
call fcn.00405fd1
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x40249b
push 0xffffffffffffffe0
call fcn.00403cda
push 0x11
mov dword [ebp - 0x14], eax
call fcn.00403cda
push 2
mov esi, eax
call fcn.00403cda
push 0xffffffffffffffcd
mov dword [ebp - 0x1c], 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 0x40316d
test eax, eax
jne 0x40326c
lea eax, [ebp + 8]
push eax
push 0x4073a8
push edi
push 0
push 0x4073b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x403260
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x4073c8
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 - 0x18]
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 - 0x1c]
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 0x4025f7
push dword [ebp - 0x14]
push 0xffffffffffffffe9
jmp 0x4025f7
push 0
call fcn.00403cda
push 0x11
mov edi, eax
call fcn.00403cda
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.00403e0d
push eax
mov ebx, 0x40b460
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ax, word [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x38], esi
mov esi, 0x40c468
push ebx
push esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2a], ebx
mov word [ebp - 0x34], ax
call fcn.00405fe7
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x40249b
push esi
push 0xffffffffffffffee
call fcn.00405fd1
jmp 0x402495
inc dword [0x42cbe8]
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x40339f
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 0x40339f
cmp dword [ebp - 8], ebx
je 0x40339f
cmp esi, ebx
je 0x40339f
lea eax, [ebp - 0x1c]
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 ebx
call dword [ebp - 8]
push ebx
push ebx
lea eax, [ebp - 0x38]
push ebx
push eax
push ebx
push dword [ebp - 0x1c]
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 0x4033b3
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40249b
xor ecx, ecx
cmp dword [0x42cbec], ecx
sete cl
mov eax, dword [eax + ecx*4]
jmp 0x403aad
xor edi, edi
xor esi, esi
xor ebx, ebx
cmp dword [ebp - 0x10], edi
je 0x4033e5
push ebx
call fcn.00403cda
mov esi, eax
cmp dword [ebp + 8], 0
je 0x4033f4
push 0x11
call fcn.00403cda
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x403403
push 0x22
call fcn.00403cda
mov edi, eax
push 0xffffffffffffffcd
call fcn.00403cda
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x402491
push 1
call fcn.00403cda
push 0x12
mov esi, eax
call fcn.00403cda
push 0xffffffffffffffdd
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 0x4026b1
push 0x31
call fcn.00403cda
mov ecx, dword [ebp - 0x20]
inc dword [0x42cbe8]
test ecx, ecx
jne 0x4034af
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 0x40249b
push 2
call fcn.00403cda
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4034a1
dec dword [0x42cbe8]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40249b
and ecx, 2
push ecx
push eax
push dword [ebp - 0x10]
call fcn.00403c2f
test eax, eax
jne 0x40249b
dec dword [0x42cbe8]
jmp 0x40249b
push 0x12
call fcn.00403cda
push 0x31
mov edi, eax
call fcn.00403cda
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 0x40249b
mov ebx, dword [ebp - 0x18]
cmp ebx, 1
jg 0x403521
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 0x403564
cmp ebx, 2
jne 0x40353a
push 3
call fcn.00403cb9
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
jmp 0x403564
cmp ebx, 3
jne 0x4034a1
mov ebx, 0x40b460
push 0x400
push ebx
push 0
push dword [ebp - 0x20]
call fcn.00403e31
test eax, eax
jl 0x4034a1
push eax
push ebx
push 3
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x403497
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 + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402495
lea eax, [ebp - 0x1c]
xor esi, esi
push eax
lea eax, [ebp + 8]
push edi
push eax
push esi
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4035f6
cmp dword [ebp + 8], 4
je 0x4035e1
cmp dword [ebp + 8], 1
je 0x4035da
cmp dword [ebp + 8], 2
jne 0x4035f6
cmp dword [ebp - 0x18], esi
je 0x4035ff
jmp 0x4035f9
cmp dword [ebp - 0x18], esi
jne 0x4035ec
inc dword [0x42cbe8]
push dword [edi]
push edi
call fcn.00406adb
jmp 0x4035ff
and byte [edi], 0
inc dword [0x42cbe8]
push dword [ebp - 8]
jmp 0x4034a4
push 3
call fcn.00403cb9
push 0x12
mov ebx, eax
call fcn.00403cda
lea ecx, [ebp - 0x14]
and byte [edi], 0
xor esi, esi
push ecx
push 0xf003f
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402495
cmp dword [ebp - 0x18], esi
mov eax, 0x3ff
mov dword [ebp + 8], eax
je 0x403653
push eax
push edi
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403666
push esi
push esi
push esi
lea eax, [ebp + 8]
push esi
push eax
push edi
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
and byte [edi + 0x3ff], 0
push dword [ebp - 0x14]
jmp 0x4034a4
cmp byte [edi], 0
je 0x40249b
push edi
call fcn.00406af4
push eax
jmp 0x402f8d
push 0xfffffffffffffff0
call fcn.00403cda
push dword [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.00406840
cmp eax, 0xffffffff
jne 0x4037e0
mov eax, dword [ebp - 8]
and byte [eax], 0
jmp 0x402495
cmp dword [ebp - 0xc], 0
je 0x4036c8
push 1
call fcn.00403cb9
mov byte [0x40b060], al
xor eax, eax
inc eax
jmp 0x4036d5
push 0x11
call fcn.00403cda
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], 0
je 0x402495
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push 0x40b060
push edi
call fcn.00406af4
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x402491
push 2
xor esi, esi
call fcn.00403cb9
cmp eax, 1
mov dword [ebp - 4], eax
jl 0x40249b
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jle 0x40371e
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x4037a8
and byte [ebp + 0xb], 0
push edi
call fcn.00406af4
cmp dword [ebp - 4], 0
mov edi, eax
jle 0x4037a8
lea eax, [ebp - 0x1c]
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 0x4037a8
cmp dword [ebp - 0x1c], 1
jne 0x4037a8
cmp dword [ebp - 0x20], 0
jne 0x40377d
mov al, byte [ebp - 0x21]
test al, al
je 0x4037a8
cmp byte [ebp + 0xb], 0xd
je 0x403788
cmp byte [ebp + 0xb], 0xa
je 0x403788
mov byte [esi + ebx], al
inc esi
cmp esi, dword [ebp - 4]
mov byte [ebp + 0xb], al
jl 0x403739
jmp 0x4037a8
movzx eax, byte [ebp - 0x21]
push eax
push ebx
jmp 0x4029b6
cmp byte [ebp + 0xb], al
je 0x40379b
cmp al, 0xd
je 0x403795
cmp al, 0xa
jne 0x40379b
mov byte [esi + ebx], al
inc esi
jmp 0x4037a8
push 1
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and byte [esi + ebx], 0
test esi, esi
jmp 0x402493
cmp byte [edi], 0
je 0x40249b
push dword [ebp - 0xc]
push 0
push 1
call fcn.00403cb9
push eax
push edi
call fcn.00406af4
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0
jl 0x40249b
push eax
push dword [ebp - 8]
jmp 0x4029b6
cmp byte [edi], 0
je 0x40249b
push edi
call fcn.00406af4
push eax
jmp 0x40292c
cmp byte [ebx], 0
je 0x4026b7
lea eax, [ebp - 0x184]
push eax
push ebx
call fcn.00406af4
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4026b7
lea eax, [ebp - 0x158]
push eax
push edi
jmp 0x402bcd
push 0
call fcn.00403cda
lea ecx, [ebp - 0x184]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403858
mov eax, dword [ebp - 4]
and byte [eax], 0
and byte [ebx], 0
jmp 0x402495
push eax
push dword [ebp - 4]
call fcn.00406adb
lea eax, [ebp - 0x158]
push eax
push ebx
jmp 0x402bcd
xor edi, edi
mov esi, 0xfffffd66
push edi
call fcn.00403cda
mov ebx, eax
push ebx
mov dword [ebp - 8], ebx
call fcn.00406714
test eax, eax
push ebx
je 0x403898
mov ebx, 0x40b060
push ebx
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4038ba
push dword [0x409294]
push 0x40b060
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.0040667f
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x40b060
push ebx
call fcn.00406d71
push 2
push 0x40000000
push ebx
call fcn.00406840
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40398e
push dword [0x42cbc4]
call fcn.00406614
mov ebx, eax
cmp ebx, edi
je 0x403981
push edi
push edi
call fcn.00403ffb
push dword [0x42cbc4]
push ebx
call fcn.00403fc9
mov eax, dword [0x42c39c]
cmp dword [eax + 0x78], 0xffffffff
je 0x403957
push dword [eax + 0x7c]
call fcn.00406614
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x1c], esi
je 0x403957
mov eax, dword [0x42c39c]
push dword [eax + 0x7c]
push esi
push edi
push dword [eax + 0x78]
call fcn.00403e31
jmp 0x403947
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.0040681c
add esi, edi
cmp byte [esi], 0
jne 0x403931
push dword [ebp - 0x1c]
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.00403e31
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
jge 0x4039a8
push dword [ebp - 8]
push 0xffffffffffffffe4
call fcn.00405fd1
push 0x40b060
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x402495
push dword [ebp - 8]
push 0xffffffffffffffe5
jmp 0x4025f7
cmp byte [0x40c068], 0
jne 0x40249b
push esi
push 0x40c068
jmp 0x402bcd
push 0
call fcn.00403cb9
mov esi, eax
mov eax, dword [0x42c3b8]
test eax, eax
je 0x402495
test esi, esi
jl 0x402495
mov ecx, dword [0x42c39c]
cmp esi, dword [ecx + 0x84]
jge 0x402495
cmp dword [ebp + 8], 0
jne 0x403a2d
mov ecx, dword [0x42cbd8]
test ecx, ecx
je 0x403a1f
push dword [ebp - 0xc]
push esi
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x42c3b8]
mov edx, dword [ebp - 0xc]
lea ecx, [esi + esi*2]
mov dword [eax + ecx*8], edx
jmp 0x40249b
cmp dword [ebp + 8], 1
jne 0x403a46
lea ecx, [esi + esi*2]
push dword [eax + ecx*8]
push dword [ebp - 4]
call fcn.00406ab9
jmp 0x40249b
cmp dword [ebp + 8], 2
jne 0x403a8a
lea edi, [esi + esi*2]
push 2
shl edi, 3
call fcn.00403cb9
mov ecx, dword [0x42c3b8]
mov dword [ecx + edi + 8], eax
mov eax, dword [0x42cbd8]
test eax, eax
je 0x40249b
mov ecx, dword [0x42c3b8]
mov ecx, dword [ecx + edi + 8]
and ecx, 1
push ecx
push esi
push 0x418
push eax
jmp 0x402dd9
lea ecx, [esi + esi*2]
push dword [eax + ecx*8 + 8]
push dword [ebp - 4]
jmp 0x4029b6
push 0x10
push 0xffffffffffffffdb
call fcn.00403e0d
push eax
call fcn.004065f8
mov eax, 0x7fffffff
pop edi
pop esi
pop ebx
leave
ret 4