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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429c28
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]
mov ebx, 1
push 0x1001
mov dword [ebp - 4], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push eax
mov byte [ebp - 4], bl
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 ebx
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 dword [ebp - 0x18], edx
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x28]
add ecx, 8
cmp ecx, eax
jbe 0x4067fc
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, 8
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 0x406839
mov edx, dword [esi + 0x1c]
lea ecx, [ebp - 0x5c]
lea eax, [edx + edi*4]
push eax
push ecx
call fcn.0042438d
inc edi
jmp 0x406821
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 0x40685d
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, 8
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 0x406892
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, 8
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 0x4068c7
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, 8
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 0x4068fc
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, 8
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 0x406931
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, 8
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 0x406966
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, 8
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 0x40699b
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, 8
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 0x4069d0
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, 8
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 0x406a05
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, 8
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 0x406a3a
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, 8
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 0x406a6f
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, 8
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 0x406aaa
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, 8
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 0x406ae5
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, 8
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 0x406b20
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, 8
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 0x406b5b
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, 8
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 0x406b96
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, 8
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 0x406bd1
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, 8
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 0x406c0c
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 [esi + 0xbc]
mov edx, dword [ebp - 0x38]
mov ecx, dword [esi + 0xb8]
push eax
add edx, 8
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x38], edx
call fcn.004061b0
mov edx, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc0]
push edx
push ecx
mov ecx, eax
call fcn.004061b0
mov edx, dword [esi + 0xcc]
mov ecx, dword [esi + 0xc8]
push edx
push ecx
mov ecx, eax
call fcn.004061b0
mov edx, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
push edx
push ecx
mov ecx, eax
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 + 0xe4]
mov ecx, dword [esi + 0xe0]
push edx
push ecx
mov ecx, eax
call fcn.004061b0
mov edx, dword [esi + 0xec]
mov ecx, dword [esi + 0xe8]
push edx
push ecx
mov ecx, eax
call fcn.004061b0
mov edx, dword [esi + 0xf4]
mov ecx, dword [esi + 0xf0]
push edx
push ecx
mov ecx, eax
call fcn.004061b0
mov edx, dword [esi + 0xfc]
mov ecx, dword [esi + 0xf8]
push edx
push ecx
mov ecx, eax
call fcn.004061b0
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], bl
call fcn.00422728
mov dword [ebp - 4], 0xffffffff
call fcn.00422615
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4