Function at 0x402616
Capabilities:
Copy file
Create process on windows
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
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, 0x190
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [eax + eax*2]
push edi
lea eax, [ecx + eax*8]
lea ecx, [eax + 0x10]
mov edi, dword [eax + 8]
mov dword [ebp - 4], ecx
mov esi, dword [eax + 0xc]
mov ecx, dword [ecx]
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
add ecx, 0xfffffffe
cmp ecx, 0x44
mov dword [ebp - 0x10], edi
mov dword [ebp + 0xc], esi
ja case.0x40265f.64
jmp dword [ecx*4 + 0x403e3a]
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push esi
push 0x409898
call fcn.0040676c
jmp 0x403e2e
inc dword [0x4212ec]
cmp dword [0x421b48], 0
je 0x403e2e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x403e2e
push ebx
call fcn.004025fa
dec eax
push 0
push eax
push dword [ebp + 8]
call fcn.00402567
jmp 0x403e33
test edi, edi
je 0x4026c8
mov dword [0x4096ac], edi
jmp 0x403e12
mov esi, 0x40a370
push ebx
push esi
call fcn.004072a4
push 0x409898
push esi
call fcn.0040676c
jmp 0x403e12
push ebx
call fcn.004073d4
cmp eax, 1
jge 0x4026f2
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403e12
mov byte [0x420ac0], bl
jmp 0x403e12
push 0
push dword [0x421b48]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x403e12
push 5
push dword [0x421b48]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x421b48]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x403e12
mov byte [0x421318], bl
jmp 0x403e12
mov eax, dword [0x4212f4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x402759
push edi
push eax
call esi
mov eax, dword [0x42130c]
test eax, eax
je 0x403e12
push ebx
push eax
call esi
jmp 0x403e12
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x403e12
inc dword [0x409e20]
jmp 0x403e12
mov edi, 0x40a770
push ebx
push edi
call fcn.004072a4
cmp dword [ebp - 0x10], 0
push edi
je 0x4027be
push 0x23
call fcn.00406750
push edi
push dword [0x409720]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4027c5
push 0x24
call fcn.00406750
push edi
call fcn.0040719d
jmp 0x403e12
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push esi
call fcn.00403f7e
test eax, eax
jne 0x402fd9
mov eax, dword [ebp + 0xc]
jmp 0x403e33
mov eax, dword [0x409e20]
mov dword [0x409e20], esi
test eax, eax
je 0x402fd9
mov eax, ebx
jmp 0x403e33
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push dword [ebp - 0x10]
mov edi, 0x40a770
push edi
call fcn.004072a4
push esi
push 0x40a370
call sub.KERNEL32.dll_lstrcpyA
push edi
call sub.KERNEL32.dll_lstrlenA
push esi
mov ebx, eax
call sub.KERNEL32.dll_lstrlenA
add ebx, eax
cmp ebx, 0x3fd
mov ebx, 0x40a370
jge 0x402862
push 0x4094a0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x40287b
push ebx
push 0x1d
call fcn.00406750
jmp 0x403e12
cmp dword [ebp + 0xc], 0
je 0x40278b
push esi
call fcn.00403f7e
test eax, eax
je 0x40278b
inc dword [0x409f68]
push edi
push esi
call fcn.00406f4b
push ebx
push 0x1c
jmp 0x402871
mov esi, 0x40ab70
push edi
shl ebx, 0xa
push esi
add ebx, 0x41a6c0
call fcn.004072a4
lea eax, [ebp + 8]
mov edi, 0x400
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x4028f4
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x4028fd
cmp byte [eax], 0
je 0x4028fd
push esi
call fcn.00403f7e
test eax, eax
je 0x4028f4
add eax, 0x2c
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4028fd
inc dword [0x409e20]
and byte [ebx], 0
cmp dword [ebp + 0xc], 0
jne 0x403e12
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x403e12
mov esi, 0x40ab70
push edi
shl ebx, 0xa
push esi
add ebx, 0x41a6c0
call fcn.004072a4
lea eax, [ebp + 8]
push eax
push ebx
push 0x400
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
jmp 0x40296e
mov esi, 0x40ab70
shl ebx, 0xa
push esi
push 0x400
add ebx, 0x41a6c0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x402976
push ebx
push 0
push 0x40949c
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x403e12
and byte [ebx], 0
jmp 0x40278b
push dword [0x409720]
mov esi, 0x40ab70
mov dword [ebp + 8], ebx
push esi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406dad
push edi
mov edi, 0x40a370
push edi
call fcn.004072a4
push edi
call fcn.00406e40
push edi
push esi
test eax, eax
je 0x4029b7
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4029bd
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, 0x40a770
mov ebx, 0x41a6c0
cmp dword [ebp + 8], 0
jne 0x4029e3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x402a11
xor eax, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp + 8], 3
jne 0x402a11
push esi
call fcn.00403f7e
test eax, eax
mov dword [ebp + 8], 1
je 0x402a11
push dword [ebp - 4]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp + 8], ecx
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406f2f
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x402a94
cmp dword [ebp + 8], 0
jne 0x402a7f
push ebx
push 0x409f70
call sub.KERNEL32.dll_lstrcpyA
push esi
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 0xc
push edi
call fcn.004072ce
push 0x409f70
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 0x12
push edi
call fcn.00406caa
sub eax, 4
je 0x4029c7
dec eax
je 0x40278b
push esi
push 0xd
call fcn.00406750
jmp 0x403e2e
push 0x40a370
push 0x21
call fcn.00406750
cmp dword [ebp + 8], 2
jmp 0x402785
mov edi, 0x40a370
push edi
push 0x1e
call fcn.00406750
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.0040420c
cmp dword [ebp - 8], 0xffffffff
mov ebx, eax
jne 0x402aba
cmp dword [ebp - 0xc], 0xffffffff
je 0x402acb
push dword [ebp - 4]
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jge 0x403e12
mov eax, dword [0x421314]
cmp ebx, 0xfffffffe
jne 0x402b01
push edi
push dword [eax + 0x7c]
call fcn.004041f2
push eax
push str._s_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x402b13
push dword [eax + 0x80]
call fcn.004041f2
push eax
push esi
call sub.KERNEL32.dll_lstrcpyA
push 0x10
push esi
jmp 0x403e29
mov edi, 0x40a770
push ebx
push edi
call fcn.004072a4
mov esi, 0x40ab70
push edi
push esi
call sub.KERNEL32.dll_lstrcpyA
push esi
call fcn.00406de7
lea eax, [ebp - 0x190]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x403e12
test byte [ebp - 0x190], 0x10
jne 0x402bc0
lea eax, [ebp - 0x164]
push eax
push esi
push 0x40948c
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x190]
add esp, 0x10
test al, 1
je 0x402b87
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x402b9c
push edi
push 0x16
call fcn.00406750
jmp 0x402bc0
cmp dword [ebp - 0x10], 0
je 0x402bba
inc dword [0x409f68]
push edi
push 0x17
call fcn.00406750
push 0
push edi
call fcn.00406f4b
jmp 0x402bc0
inc dword [0x409e20]
lea eax, [ebp - 0x190]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402b52
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403e12
push edi
mov edi, 0x40a370
push edi
call fcn.004072a4
push ebx
push edi
call fcn.00406caa
test eax, eax
je 0x40278b
mov ecx, esi
and ecx, 0xffff
cmp eax, ecx
je 0x402d93
sar esi, 0x10
cmp eax, esi
jne 0x403e12
jmp 0x402da1
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push esi
call fcn.00406dcc
cmp al, 0x5c
jne 0x402c35
push esi
call fcn.00406de7
push edi
push esi
call fcn.00406cc6
push esi
call fcn.00403f7e
test eax, eax
je 0x403e12
jmp 0x40278b
mov esi, 0x40ab70
push edi
push esi
call fcn.004072a4
push esi
call sub.KERNEL32.dll_lstrlenA
jmp 0x403e02
push dword [ebp + 0xc]
call fcn.004073d4
push dword [ebp - 8]
mov dword [ebp + 8], eax
call fcn.004073d4
mov esi, 0x40ab70
push edi
shl ebx, 0xa
push esi
mov dword [ebp - 4], eax
add ebx, 0x41a6c0
call fcn.004072a4
and byte [ebx], 0
cmp dword [ebp + 0xc], 0
mov edi, dword [ebp + 8]
jl 0x402ca5
test edi, edi
je 0x403e12
push esi
call sub.KERNEL32.dll_lstrlenA
mov ecx, dword [ebp - 4]
test ecx, ecx
jge 0x402cba
add ecx, eax
js 0x403e12
cmp ecx, eax
jle 0x402cc0
mov ecx, eax
lea eax, [ecx + 0x40ab70]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
test edi, edi
je 0x403e12
jge 0x402ce3
push ebx
call sub.KERNEL32.dll_lstrlenA
add edi, eax
jns 0x402ce3
xor edi, edi
cmp edi, 0x400
jge 0x403e12
and byte [ebx + edi], 0
jmp 0x403e12
push ebx
mov ebx, 0x409f70
push ebx
call fcn.004072a4
push edi
mov edi, 0x40a370
push edi
call fcn.004072a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402d93
mov eax, esi
jmp 0x403e33
mov esi, 0x40ab70
push edi
shl ebx, 0xa
push esi
add ebx, 0x41a6c0
call fcn.004072a4
cmp dword [ebp + 0xc], 0
push 0x400
push ebx
push esi
je 0x402d59
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402d5f
and byte [ebx], al
inc dword [0x409e20]
jmp 0x402d5f
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [ebx + 0x3ff], 0
jmp 0x403e12
push ebx
call fcn.004073d4
push edi
mov ebx, eax
call fcn.004073d4
cmp ebx, eax
jl 0x402d93
jle 0x402d1c
jmp 0x402da1
push ebx
call fcn.004073d4
push edi
mov ebx, eax
call fcn.004073d4
cmp ebx, eax
jae 0x402d9b
mov eax, dword [ebp - 8]
jmp 0x403e33
jbe 0x402d1c
mov eax, dword [ebp - 0xc]
jmp 0x403e33
shl ebx, 0xa
push edi
add ebx, 0x41a6c0
call fcn.004073d4
push esi
mov edi, eax
call fcn.004073d4
cmp dword [ebp - 8], 0xb
mov ecx, eax
ja case.default.0x402dcb
mov eax, dword [ebp - 8]
jmp dword [eax*4 + 0x403f4e]
add edi, ecx
jmp case.default.0x402dcb
sub edi, ecx
jmp case.default.0x402dcb
imul ecx, edi
mov edi, ecx
jmp case.default.0x402dcb
test ecx, ecx
je 0x402e2b
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x402dcb
or edi, ecx
jmp case.default.0x402dcb
and edi, ecx
jmp case.default.0x402dcb
xor edi, ecx
jmp case.default.0x402dcb
not edi
jmp case.default.0x402dcb
xor eax, eax
test edi, edi
sete al
jmp 0x402dea
test edi, edi
jne 0x402e19
jmp 0x402e15
xor edi, edi
jmp case.default.0x402dcb
test edi, edi
je 0x402e0d
test ecx, ecx
je 0x402e0d
xor edi, edi
inc edi
jmp case.default.0x402dcb
test ecx, ecx
je 0x402e2b
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x402dcb
xor edi, edi
inc dword [0x409e20]
push edi
jmp 0x403e0c
mov esi, 0x40ab70
push edi
push esi
call fcn.004072a4
push dword [ebp + 0xc]
call fcn.004073d4
shl ebx, 0xa
push eax
add ebx, 0x41a6c0
push esi
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x403e12
mov eax, dword [0x40af8c]
test esi, esi
mov dword [ebp + 8], eax
je 0x402ebf
dec esi
test eax, eax
je case.0x40265f.64
mov eax, dword [eax]
test esi, esi
mov dword [ebp + 8], eax
jne 0x402e73
test eax, eax
je case.0x40265f.64
lea edi, [eax + 4]
mov esi, 0x40ab70
push edi
push esi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40af8c]
add eax, 4
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40af8c]
push esi
add eax, 4
push eax
call sub.KERNEL32.dll_lstrcpyA
jmp 0x403e12
test edi, edi
je 0x402ef5
test eax, eax
je 0x40278b
shl ebx, 0xa
add eax, 4
add ebx, 0x41a6c0
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
mov dword [0x40af8c], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x403e12
push 0x404
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push ebx
lea eax, [esi + 4]
push eax
call fcn.004072a4
mov eax, dword [0x40af8c]
mov dword [esi], eax
mov dword [0x40af8c], esi
jmp 0x403e12
push dword [ebp - 8]
call fcn.004073d4
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.004073d4
push dword [ebp - 0x10]
mov esi, 0x40ab70
mov dword [ebp + 8], eax
push esi
call fcn.004072a4
push dword [ebp + 0xc]
mov edi, 0x40a770
push edi
call fcn.004072a4
push edi
call fcn.00407324
cmp eax, 0xc
jne 0x402f71
push dword [ebp - 0xc]
push 0x409f70
call fcn.004072a4
mov dword [ebp + 8], 0x409f70
cmp dword [ebp - 0x14], 0x23
jne 0x402f93
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.00407324
push eax
push esi
call fcn.00407324
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402fb7
mov al, byte [0x40a770]
neg al
sbb eax, eax
and eax, edi
push eax
mov al, byte [0x40ab70]
neg al
sbb eax, eax
and eax, esi
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_FindWindowExA]
test ebx, ebx
jl 0x403e12
jmp 0x403e02
push ebx
call fcn.004073d4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402d1c
mov eax, edi
jmp 0x403e33
push esi
call fcn.004073d4
push eax
push edi
call fcn.004073d4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x403e02
push esi
call fcn.004073d4
push eax
push edi
push ebx
call fcn.004073d4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x403e12
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push dword [ebp - 0x10]
mov edi, 0x40a770
push edi
call fcn.004072a4
push dword [ebp + 0xc]
push 0x409f70
call fcn.004072a4
push edi
push esi
mov ebx, 0x40a370
push str._s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push 0x1a
call fcn.00406750
mov al, byte [0x409f70]
push dword [ebp - 8]
neg al
push dword [0x409720]
sbb eax, eax
and eax, 0x409f70
push eax
mov al, byte [0x40ab70]
neg al
sbb eax, eax
push edi
and eax, esi
push eax
push dword [0x421b48]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x403e12
jmp 0x40278b
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push esi
push 0x1b
call fcn.00406750
mov eax, dword [0x409720]
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
push ecx
push esi
call fcn.00406c4f
test eax, eax
mov dword [ebp + 8], eax
je 0x40278b
test edi, edi
je 0x403147
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x403114
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0xf
pop ebx
mov esi, 0x40af70
jmp 0x4030f5
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 0x4030ee
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4030f5
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x40313b
push dword [ebp - 4]
shl eax, 0xa
add eax, 0x41a6c0
push eax
call fcn.0040730b
jmp 0x403147
cmp dword [ebp - 4], 0
je 0x403147
inc dword [0x409e20]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403e12
mov eax, dword [ebp + 0xc]
mov ecx, 0x41a6c0
shl eax, 0xa
mov esi, 0x40ab70
add eax, ecx
shl edi, 0xa
push ebx
push esi
add edi, ecx
mov dword [ebp + 8], eax
call fcn.004072a4
push esi
call fcn.00403f7e
mov esi, eax
test esi, esi
je 0x403196
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.0040730b
push dword [esi + 0x18]
push edi
jmp 0x403e0d
and byte [edi], 0
jmp 0x40388b
mov eax, dword [ebp + 0xc]
mov ecx, 0x41a6c0
shl eax, 0xa
add eax, ecx
mov esi, 0x40ab70
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
shl edi, 0xa
push ebx
push esi
add edi, ecx
mov dword [ebp + 8], eax
call fcn.004072a4
lea eax, [ebp - 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
and byte [edi], 0
mov ebx, eax
mov eax, dword [ebp - 4]
and byte [eax], 0
inc dword [0x409e20]
test ebx, ebx
je 0x403e12
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x403e12
push eax
push ebx
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403243
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x409480
push dword [ebp + 0xc]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403243
mov eax, dword [ebp + 8]
push dword [eax + 8]
push edi
call fcn.0040730b
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [ebp - 4]
call fcn.0040730b
dec dword [0x409e20]
push dword [ebp + 0xc]
jmp 0x402eea
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
inc dword [0x409e20]
cmp eax, 1
je 0x40326e
test eax, eax
je 0x40326e
push 0x40ab70
push 0x13
jmp 0x402871
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push dword [ebp - 0x10]
mov edi, 0x40a770
push edi
call fcn.004072a4
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp + 8], eax
je 0x4032fe
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4032e5
dec dword [0x409e20]
cmp dword [ebp + 0xc], 0
jge 0x4032cc
push 0x40af8c
push 0x41a6c0
push 0x400
push dword [0x421b48]
call ebx
add esp, 0x10
jmp 0x4032ed
push dword [ebp + 0xc]
mov edi, 0x409f70
push edi
call fcn.004072a4
push esi
push edi
call fcn.0040676c
call ebx
jmp 0x4032ed
push edi
push 0x11
call fcn.00406750
cmp dword [ebp - 8], 0
jne 0x403306
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403306
push esi
push 0x12
call fcn.00406750
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x403e12
push ebx
push 0x409f70
call fcn.004072a4
push dword [ebp - 0x10]
mov edi, 0x40a770
push edi
call fcn.004072a4
push dword [ebp + 0xc]
mov esi, 0x40ab70
push esi
call fcn.004072a4
push dword [ebp - 8]
mov ebx, 0x40a370
push ebx
call fcn.004072a4
mov eax, dword [ebp - 0xc]
mov ecx, eax
sar ecx, 0x10
push ecx
xor ecx, ecx
mov cl, ah
push ecx
mov cl, byte [0x40ab70]
push dword [0x409720]
neg cl
sbb ecx, ecx
and eax, 0xff
and ecx, esi
push ecx
push edi
push eax
mov al, byte [0x40a370]
neg al
sbb eax, eax
and eax, ebx
push eax
push 0x409f70
push dword [0x421b48]
call fcn.0040760c
test eax, eax
push 0x409f70
je 0x4033a0
inc dword [0x409e20]
push 0x15
jmp 0x402871
push 0x14
jmp 0x402871
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
push dword [ebp - 0x10]
mov edi, 0x40a770
push edi
call fcn.004072a4
mov eax, dword [0x421b48]
push esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 2
call sub.KERNEL32.dll_lstrlenA
and byte [eax + 0x40ab71], 0
push edi
call sub.KERNEL32.dll_lstrlenA
and byte [eax + 0x40a771], 0
mov eax, dword [0x421314]
push edi
push dword [eax + 0x40]
call fcn.004041f2
push eax
mov ebx, 0x409f70
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ax, word [ebp + 0xc]
add esp, 0x10
mov dword [ebp - 0x2c], esi
mov esi, 0x409898
push ebx
push esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1a], ebx
mov word [ebp - 0x24], ax
call fcn.0040676c
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x403e12
push esi
push 0xf
call fcn.00406750
jmp 0x40278b
inc dword [0x409e20]
cmp ebx, 0xbadf00d
jne case.0x40265f.64
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x4034e4
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 + 0xc], eax
call esi
cmp dword [ebp + 8], edi
mov esi, eax
je 0x4034e4
cmp dword [ebp + 0xc], edi
je 0x4034e4
cmp esi, edi
je 0x4034e4
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4034e4
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
push edi
call dword [ebp + 0xc]
push edi
push edi
lea eax, [ebp - 0x24]
push edi
push eax
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
call esi
add esp, 0x24
push edi
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4034f8
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403e12
xor ecx, ecx
cmp dword [0x409f68], ecx
sete cl
mov eax, dword [eax + ecx*4 + 4]
jmp 0x403e33
mov dword [0x409f68], ebx
jmp 0x403e12
and dword [ebp + 8], 0
and dword [ebp - 4], 0
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
test edi, edi
jl 0x40354c
push dword [ebp - 0x10]
mov edi, 0x40a770
push edi
call fcn.004072a4
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], 0
jl 0x403563
push dword [ebp + 0xc]
mov edi, 0x409f70
push edi
call fcn.004072a4
mov dword [ebp + 8], edi
push dword [ebp - 8]
mov edi, 0x40a370
push edi
call fcn.004072a4
push edi
push dword [ebp + 8]
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x402783
push dword [ebp - 0x10]
mov esi, 0x40ab70
shl ebx, 0xa
push esi
add ebx, 0x41a6c0
call fcn.004072a4
push dword [ebp + 0xc]
mov edi, 0x40a770
push edi
call fcn.004072a4
push dword [ebp - 8]
push 0x409f70
call fcn.004072a4
push 0x409f70
push 0x3ff
push ebx
push dword [0x409410]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x409410]
mov eax, dword [eax]
cmp eax, dword [ebx]
jne 0x403e12
inc dword [0x409e20]
and byte [ebx], 0
jmp 0x403e12
inc dword [0x409e20]
push edi
mov edi, 0x40a370
push edi
call fcn.004072a4
cmp esi, 0xffffffff
je 0x40364e
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403e12
push dword [ebp + 0xc]
mov esi, 0x40ab70
push esi
call fcn.004072a4
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x403640
dec dword [0x409e20]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403e12
push dword [ebp - 8]
push edi
push ebx
call fcn.00403fa5
test eax, eax
jne 0x403e12
dec dword [0x409e20]
jmp 0x403e12
push dword [ebp + 0xc]
inc dword [0x409e20]
mov edi, 0x40a770
push edi
call fcn.004072a4
push dword [ebp - 0x10]
mov esi, 0x40a370
push esi
call fcn.004072a4
lea eax, [ebp + 8]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403e12
mov ebx, dword [ebp - 0xc]
cmp ebx, 1
jg 0x4036cc
push dword [ebp - 8]
mov esi, 0x409f70
push esi
call fcn.004072a4
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 0x40370d
cmp ebx, 2
jne 0x4036e6
push dword [ebp - 8]
call fcn.004073d4
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 4
push eax
push 4
jmp 0x40370d
cmp ebx, 3
jne 0x403640
mov esi, 0x409f70
push 0x400
push esi
push dword [ebp - 8]
call fcn.0040453d
test eax, eax
jl 0x403640
push eax
push esi
push ebx
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x403636
push dword [ebp + 0xc]
mov esi, 0x40ab70
shl ebx, 0xa
push esi
add ebx, 0x41a6c0
call fcn.004072a4
push dword [ebp - 8]
mov edi, 0x40a770
push edi
call fcn.004072a4
lea eax, [ebp + 0xc]
and byte [ebx], 0
push eax
push 0x20019
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40278b
lea eax, [ebp - 0x14]
xor esi, esi
push eax
lea eax, [ebp + 8]
push ebx
push eax
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4037b2
cmp dword [ebp + 8], 4
je 0x40379d
cmp dword [ebp + 8], 1
je 0x403796
cmp dword [ebp + 8], 2
jne 0x4037b2
cmp dword [ebp - 0xc], esi
je 0x4037bb
jmp 0x4037b5
cmp dword [ebp - 0xc], esi
jne 0x4037a8
inc dword [0x409e20]
push dword [ebx]
push ebx
call fcn.0040730b
jmp 0x4037bb
and byte [ebx], 0
inc dword [0x409e20]
push dword [ebp + 0xc]
jmp 0x403643
push dword [ebp - 8]
shl ebx, 0xa
add ebx, 0x41a6c0
call fcn.004073d4
push dword [ebp + 0xc]
mov edi, 0x40a770
mov dword [ebp - 4], eax
push edi
call fcn.004072a4
lea eax, [ebp + 8]
and byte [ebx], 0
xor esi, esi
push eax
push 0xf003f
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40278b
cmp dword [ebp - 0xc], esi
mov eax, 0x3ff
mov dword [ebp + 0xc], eax
je 0x403823
push eax
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403838
push esi
push esi
push esi
lea eax, [ebp + 0xc]
push esi
push eax
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
and byte [ebx + 0x3ff], 0
jmp 0x403640
shl ebx, 0xa
add ebx, 0x41a6c0
cmp byte [ebx], 0
je 0x403e12
push ebx
call fcn.00407324
push eax
jmp 0x40314a
mov eax, dword [ebp - 8]
mov esi, 0x40ab70
shl eax, 0xa
add eax, 0x41a6c0
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.004072a4
push dword [ebp + 0xc]
push edi
push esi
call fcn.00406f2f
cmp eax, 0xffffffff
jne 0x403896
mov eax, dword [ebp + 8]
and byte [eax], 0
jmp 0x40278b
push eax
push dword [ebp + 8]
jmp 0x403e0d
push dword [ebp - 0x10]
mov edi, 0x40a770
shl ebx, 0xa
add ebx, 0x41a6c0
cmp dword [ebp + 0xc], 0
je 0x4038c5
call fcn.004073d4
mov byte [0x40a770], al
xor eax, eax
inc eax
jmp 0x4038d1
push edi
call fcn.004072a4
push edi
call sub.KERNEL32.dll_lstrlenA
cmp byte [ebx], 0
je 0x40278b
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push edi
push ebx
call fcn.00407324
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x402783
shl edi, 0xa
mov eax, 0x41a6c0
push esi
add edi, eax
shl ebx, 0xa
mov dword [ebp - 0xc], edi
xor edi, edi
add ebx, eax
call fcn.004073d4
mov esi, eax
cmp esi, 1
jl 0x403e12
mov eax, 0x3ff
cmp esi, eax
jle 0x403924
mov esi, eax
cmp byte [ebx], 0
je 0x4039b3
and byte [ebp + 0xb], 0
push ebx
call fcn.00407324
test esi, esi
mov ebx, eax
jle 0x4039b3
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp + 0xf]
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4039b3
cmp dword [ebp - 0x14], 1
jne 0x4039b3
cmp dword [ebp - 8], 0
jne 0x403983
mov al, byte [ebp + 0xf]
test al, al
je 0x4039b3
cmp byte [ebp + 0xb], 0xd
je 0x403990
cmp byte [ebp + 0xb], 0xa
je 0x403990
mov ecx, dword [ebp - 0xc]
mov byte [ebp + 0xb], al
mov byte [edi + ecx], al
inc edi
cmp edi, esi
jl 0x40393d
jmp 0x4039b3
movzx eax, byte [ebp + 0xf]
push eax
push dword [ebp - 0xc]
jmp 0x403e0d
cmp byte [ebp + 0xb], al
je 0x4039a6
cmp al, 0xd
je 0x40399d
cmp al, 0xa
jne 0x4039a6
mov ecx, dword [ebp - 0xc]
mov byte [edi + ecx], al
inc edi
jmp 0x4039b3
push 1
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0xc]
and byte [edi + eax], 0
test edi, edi
jmp 0x402785
shl ebx, 0xa
add ebx, 0x41a6c0
cmp byte [ebx], 0
je 0x403e12
push esi
push 0
push edi
call fcn.004073d4
push eax
push ebx
call fcn.00407324
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 8]
test ecx, ecx
jl 0x403e12
shl ecx, 0xa
add ecx, 0x41a6c0
push eax
push ecx
jmp 0x403e0d
shl ebx, 0xa
add ebx, 0x41a6c0
cmp byte [ebx], 0
je 0x403e12
push ebx
call fcn.00407324
push eax
jmp 0x402bd3
mov eax, 0x41a6c0
shl edi, 0xa
shl ebx, 0xa
add edi, eax
add ebx, eax
cmp byte [edi], 0
je 0x4035de
lea eax, [ebp - 0x190]
push eax
push edi
call fcn.00407324
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4035de
lea eax, [ebp - 0x164]
push eax
push ebx
jmp 0x402eb5
mov eax, dword [ebp + 0xc]
mov ecx, 0x41a6c0
shl eax, 0xa
mov esi, 0x40ab70
add eax, ecx
shl edi, 0xa
push ebx
push esi
add edi, ecx
mov dword [ebp + 8], eax
call fcn.004072a4
lea eax, [ebp - 0x190]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403aa6
mov eax, dword [ebp + 8]
and byte [eax], 0
and byte [edi], 0
jmp 0x40278b
push eax
push dword [ebp + 8]
call fcn.0040730b
lea eax, [ebp - 0x164]
push eax
push edi
jmp 0x402eb5
mov esi, 0x40ab70
push ebx
push esi
mov dword [ebp + 8], 0xfffffd66
call fcn.004072a4
push esi
call fcn.00406e40
test eax, eax
mov edi, 0x40a770
je 0x403ae7
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x403b01
push dword [0x40971c]
push edi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406dad
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 2
push 0x40000000
push edi
call fcn.00406f2f
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x403c0b
push dword [0x421b44]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x403bfd
push ebx
push ebx
push ebx
push dword [0x421b50]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [0x421b44]
push dword [ebp + 0xc]
push dword [0x421b50]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4212fc]
cmp dword [eax + 0x78], 0xffffffff
je 0x403bd0
push dword [eax + 0x7c]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x403bd0
mov ecx, eax
mov eax, dword [0x4212fc]
push dword [eax + 0x7c]
lea ebx, [ecx + 4]
push ecx
push dword [eax + 0x78]
call fcn.0040453d
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
cmp dword [eax], 0
jbe 0x403bc5
mov ecx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x14], ecx
push ecx
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
add ebx, 4
add eax, ecx
push ebx
push eax
call fcn.00406f0b
add ebx, dword [ebp - 0x14]
inc dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax]
jb 0x403b9b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [0x421b44]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xc]
push 0xffffffffffffffff
call fcn.0040420c
mov dword [ebp + 8], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
jge 0x403c1f
push esi
push 0x19
call fcn.00406750
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x403e12
push esi
push 0x18
jmp 0x402871
push ebx
call fcn.004073d4
mov ebx, eax
mov eax, dword [0x42131c]
test eax, eax
je 0x40278b
test ebx, ebx
jl 0x40278b
mov ecx, dword [0x4212fc]
cmp ebx, dword [ecx + 0x84]
jge 0x40278b
test edi, edi
jne 0x403c82
mov ecx, dword [0x421b54]
test ecx, ecx
je 0x403c77
push esi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x42131c]
lea ecx, [ebx + ebx*2]
mov dword [eax + ecx*8], esi
jmp 0x403e12
cmp edi, 1
jne 0x403ca1
lea ecx, [ebx + ebx*2]
shl esi, 0xa
push dword [eax + ecx*8]
add esi, 0x41a6c0
push esi
call fcn.004072a4
jmp 0x403e12
cmp edi, 2
jne 0x403ce9
lea edi, [ebx + ebx*2]
push esi
shl edi, 3
call fcn.004073d4
mov ecx, dword [0x42131c]
mov dword [edi + ecx + 4], eax
mov eax, dword [0x421b54]
test eax, eax
je 0x403e12
mov ecx, dword [0x42131c]
mov ecx, dword [edi + ecx + 4]
shr ecx, 0x1f
push ecx
push ebx
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x403e12
lea ecx, [ebx + ebx*2]
shl esi, 0xa
push dword [eax + ecx*8 + 4]
add esi, 0x41a6c0
push esi
jmp 0x403e0d
push edi
push dword [0x421b48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, 0x40ab70
push ebx
push esi
call fcn.004072a4
mov eax, dword [0x40af90]
xor ebx, ebx
cmp eax, ebx
je 0x403d37
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov ecx, eax
neg ecx
sbb ecx, ecx
push 0x10
and ecx, edx
push ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
neg eax
sbb eax, eax
and eax, ecx
push eax
push ebx
push esi
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push ebx
push 0x172
mov dword [0x40af90], eax
push edi
jmp 0x403cde
cmp byte [0x40af98], 0
jne 0x403e12
push 0x41a6c0
push 0x40af98
jmp 0x402eb5
and dword [ebp - 0x50], 0
push 0xe
pop ecx
xor eax, eax
push 0x48
push 0x5a
push dword [0x421b48]
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [ebp + 0xc]
call fcn.004073d4
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [ebp - 8]
neg eax
mov dword [ebp - 0x50], eax
call fcn.004073d4
mov dword [ebp - 0x40], eax
mov al, byte [ebp - 0xc]
mov cl, al
push dword [ebp - 0x10]
and cl, 1
mov byte [ebp - 0x3c], cl
mov cl, al
and al, 4
and cl, 2
mov byte [ebp - 0x3a], al
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x3b], cl
call fcn.004072a4
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
shl ebx, 0xa
push eax
add ebx, 0x41a6c0
push ebx
call fcn.0040730b
xor eax, eax
jmp 0x403e33
mov eax, dword [0x421314]
push 0x10
push dword [eax + 0x88]
call fcn.004041f2
push eax
call fcn.00406caa
mov eax, 0x7fffffff
pop edi
pop esi
pop ebx
leave
ret 8