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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ec362
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52e030]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x52e030]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x40231c
lea ecx, [esp + 0x14]
lea eax, [edi + 4]
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.00402bcf
and dword [esp + 0x58], 0
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
call fcn.00403d55
mov byte [esp + 0x70], 1
push 1
mov ebx, 0x4018e2
push ebx
push esi
mov byte [esp + 0x7c], 0
call fcn.00403d6f
add esp, 0x14
mov byte [esp + 0x68], 2
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x6c], 0
call fcn.00403e19
mov byte [esp + 0x58], 3
lea esi, [edi + 0x78]
lea eax, [esp + 0x2c]
cmp esi, eax
je 0x402121
call fcn.00402f79
lea eax, [esp + 0x2c]
call fcn.00405b12
mov byte [esp + 0x58], 0
lea esi, [esp + 0x2c]
call fcn.00402f79
or dword [esp + 0x58], 0xffffffff
mov esi, dword [esp + 0x18]
test esi, esi
je 0x402141
call fcn.004011f4
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
call fcn.00402bcf
mov dword [esp + 0x58], 4
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.00403d55
mov byte [esp + 0x70], 5
push 0
push ebx
push esi
mov byte [esp + 0x7c], 4
call fcn.00403d6f
add esp, 0x14
mov byte [esp + 0x68], 6
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x6c], 4
call fcn.00403e19
mov byte [esp + 0x58], 7
lea esi, [edi + 0x90]
lea eax, [esp + 0x2c]
cmp esi, eax
je 0x4021b8
call fcn.00402f79
lea eax, [esp + 0x2c]
call fcn.00405b12
mov byte [esp + 0x58], 4
lea esi, [esp + 0x2c]
call fcn.00402f79
or dword [esp + 0x58], 0xffffffff
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4021d8
call fcn.004011f4
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call fcn.00402bcf
mov dword [esp + 0x58], 8
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x28], esp
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x44], esp
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
call fcn.00403d55
mov byte [esp + 0x88], 9
movzx eax, byte [0x5357e1]
push eax
push ebx
mov byte [esp + 0x90], 8
call fcn.00403e75
add esp, 0x10
mov byte [esp + 0x80], 0xa
push esi
mov byte [esp + 0x84], 8
call fcn.00403f1d
mov byte [esp + 0x70], 0xb
add edi, 0x20
mov byte [esp + 0x70], 8
mov ecx, edi
call fcn.00418005
or dword [esp + 0x58], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40226a
call fcn.004011f4
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call fcn.00402bcf
mov dword [esp + 0x58], 0xc
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x2c], esp
sub esp, 0x14
mov ebx, esp
mov dword [esp + 0x3c], esp
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
call fcn.00403d55
mov byte [esp + 0x8c], 0xd
movzx eax, byte [0x5357e2]
push eax
movzx eax, byte [0x5357e1]
push eax
push ebx
mov byte [esp + 0x98], 0xc
call fcn.00403f6f
add esp, 0x14
mov byte [esp + 0x84], 0xe
push esi
mov byte [esp + 0x88], 0xc
call fcn.0040401a
mov byte [esp + 0x70], 0xf
mov byte [esp + 0x70], 0xc
mov ecx, edi
call fcn.00417fc7
or dword [esp + 0x58], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x402301
call fcn.004011f4
push ecx
mov eax, esp
and dword [eax], 0
mov dword [esp + 0x18], esp
push ecx
mov eax, esp
and dword [eax], 0
mov eax, edi
mov dword [esp + 0x1c], esp
call fcn.00402d27
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00475360
mov esp, ebp
pop ebp
ret 4