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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xbc
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], 0
mov edx, dword [eax + 0x4c]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [eax + 0x50]
mov dword [esp + 0x7c], eax
mov eax, esp
mov dword [esp + 0x78], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov dword [eax + 4], ebp
mov dword [eax], edx
mov dword [eax + 8], 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
call esi
sub esp, 0x10
xor ecx, ecx
mov edx, dword [esp + 0x7c]
mov esi, dword [edx + 0x50]
mov edi, dword [esp + 0x68]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
call fcn.00401060
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x3c]
mov edx, esp
mov esi, dword [esp + 0x60]
mov dword [edx + 8], esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx], ecx
call section..text
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x7c]
mov esi, dword [edx + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov esi, dword [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
call fcn.00401060
mov eax, esp
lea ecx, [esp + 0xb8]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov dword [eax + 8], 2
mov dword [eax + 4], 0x400
mov eax, dword [esp + 0x64]
call eax
sub esp, 0x10
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 0x4c], eax
call fcn.00401300
mov ecx, dword [esp + 0x6c]
cmp ecx, 0
mov dword [esp + 0x48], eax
je 0x4026ea
xor eax, eax
lea ecx, [esp + 0x98]
mov edx, dword [esp + 0x48]
add edx, 0x18
mov esi, dword [esp + 0x48]
movzx edi, word [esi + 0x14]
add edx, edi
mov edi, ecx
mov ebx, ecx
add ebx, 0x10
mov ebp, ecx
add ebp, 0x18
mov esi, ecx
add esi, 0x1c
mov dword [esp + 0x44], eax
mov eax, ecx
add eax, 0x14
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
jmp 0x402763
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00401b40
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x7c]
add ecx, dword [edx + 0x44]
mov esi, dword [edx + 0x6c]
mov dword [esp + 0x80], esi
mov esi, dword [edx + 0x70]
mov dword [esp + 0x84], esi
mov esi, dword [edx + 0x74]
mov dword [esp + 0x88], esi
mov esi, dword [edx + 0x68]
mov dword [esp + 0x8c], esi
mov esi, dword [edx + 0x64]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ecx
lea eax, [esp + 0x80]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov esp, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
jmp eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x98]
mov esi, dword [esp + 0x68]
add esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x24]
mov ebx, dword [ecx + 8]
mov ebp, edi
shr ebp, 0x1e
and ebp, 1
mov dword [esp + 0x1c], eax
mov eax, edi
shr eax, 0x1f
shr edi, 0x1d
and edi, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [eax], 1
mov eax, dword [esp + 0x28]
mov dword [eax], 2
mov eax, dword [esp + 0x34]
mov dword [eax], 4
mov eax, dword [esp + 0x30]
mov dword [eax], 0x40
mov eax, dword [esp + 0x40]
mov dword [eax], 0x20
shl ebp, 4
add edx, ebp
mov ebp, dword [esp + 0x18]
shl ebp, 3
add edx, ebp
shl edi, 2
add edx, edi
mov edx, dword [edx]
mov edi, esp
lea ebp, [esp + 0xb8]
mov dword [edi + 0xc], ebp
mov dword [edi + 8], edx
mov dword [edi + 4], ebx
mov dword [edi], esi
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
add ecx, 1
mov edx, dword [esp + 0x14]
add edx, 0x28
mov esi, dword [esp + 0x6c]
cmp ecx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ecx
je 0x4026ea
jmp 0x402763