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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], esi
call fcn.004225d7
mov eax, dword [ebp + 8]
push 0x1001
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
call fcn.00422688
push 0
push 0x1000
lea ecx, [ebp - 0x7c]
push 0
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004244f5
push 0xfc1e06
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00406180
push 1
mov ecx, eax
call fcn.00406180
push 0
mov ecx, eax
call fcn.00406180
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00406180
mov edx, dword [esi + 0x20]
mov edi, eax
mov eax, dword [esi + 0x24]
mov ebx, 8
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x28]
add ecx, ebx
cmp ecx, eax
mov dword [ebp - 0x18], edx
jbe 0x40534d
mov ecx, edi
call fcn.00424806
mov edx, dword [edi + 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov edx, dword [edi + 0x24]
add edx, ebx
lea ecx, [ebp - 0x5c]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x18]
push eax
call fcn.00406180
xor edi, edi
cmp edi, dword [esi + 0x18]
jge 0x405389
mov edx, dword [esi + 0x1c]
lea ecx, [ebp - 0x5c]
lea eax, [edx + edi*4]
push eax
push ecx
call fcn.0042438d
inc edi
jmp 0x405371
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
jbe 0x4053ad
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x4053e1
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x405415
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x405449
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x40547d
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x4054b1
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x4054e5
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x405519
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x40554d
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x405581
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x4055b5
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x4055ef
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x405629
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x405663
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x9c]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x40569d
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0xa0]
mov ecx, dword [esi + 0xa4]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x4056d7
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0xac]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x405711
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x40574b
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0xb8]
mov edx, dword [esi + 0xbc]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x405785
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
add eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x38], eax
jbe 0x4057bf
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
add eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 8]
cmp ecx, edx
mov dword [ebp - 0x38], eax
jbe 0x4057f9
lea ecx, [ebp - 0x5c]
call fcn.00424806
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0xd4]
add eax, ebx
push edx
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xd0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004061b0
mov eax, dword [esi + 0xd8]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00406180
mov edx, dword [esi + 0xdc]
mov ecx, eax
push edx
call fcn.00406180
mov edx, dword [esi + 0xe0]
mov ecx, eax
push edx
call fcn.00406180
mov edx, dword [esi + 0xe4]
mov ecx, eax
push edx
call fcn.00406180
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
push ecx
push edx
mov ecx, eax
call fcn.004061b0
mov ecx, dword [esi + 0xf4]
mov edx, dword [esi + 0xf0]
push ecx
push edx
mov ecx, eax
call fcn.004061b0
mov ecx, dword [esi + 0xfc]
mov edx, dword [esi + 0xf8]
push ecx
push edx
mov ecx, eax
call fcn.004061b0
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x100]
push ecx
push edx
mov ecx, eax
call fcn.004061b0
mov eax, dword [esi + 0x108]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00406180
xor ebx, ebx
cmp ebx, 0xa
jge 0x4058ff
mov eax, dword [esi + ebx*8 + 0x1b4]
mov ecx, dword [esi + ebx*8 + 0x1b0]
push eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004061b0
xor edi, edi
cmp edi, 2
jge 0x4058fc
lea edx, [edi + ebx*2 + 0x22]
mov eax, dword [esi + edx*8 + 4]
push eax
mov ecx, dword [esi + edx*8]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004061b0
inc edi
jmp 0x4058df
inc ebx
jmp 0x4058c0
lea ecx, [ebp - 0x5c]
call fcn.00424659
lea ecx, [ebp - 0x7c]
call fcn.00422a00
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004245d1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00422728
mov dword [ebp - 4], 0xffffffff
call fcn.00422615
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4