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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429c63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x58], esi
call fcn.004225d7
mov eax, dword [ebp + 8]
xor edi, edi
push edi
mov dword [ebp - 4], edi
mov eax, dword [eax]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.00422688
push edi
push 0x1000
lea ecx, [ebp - 0x68]
push 1
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004244f5
lea edx, [ebp + 8]
lea ecx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 3
mov dword [ebp + 8], edi
call fcn.00406230
lea ecx, [esi + 8]
push ecx
mov ecx, eax
call fcn.00406230
lea edx, [esi + 0xc]
mov ecx, eax
push edx
call fcn.00406230
cmp dword [ebp + 8], 0xfc1e06
je 0x406e4c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004245d1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00422728
mov dword [ebp - 4], 0xffffffff
call fcn.00422615
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 0x14]
lea ecx, [ebp - 0x54]
push eax
call fcn.00406230
mov edi, eax
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
lea edx, [eax + 8]
cmp edx, ecx
jbe 0x406e74
sub eax, ecx
mov ecx, edi
add eax, 8
push eax
call fcn.00424882
mov eax, dword [edi + 0x24]
lea ebx, [esi + 0x18]
push ebx
mov ecx, dword [eax]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x24], edx
mov ecx, dword [edi + 0x24]
add ecx, 8
mov dword [edi + 0x24], ecx
lea ecx, [ebp - 0x54]
call fcn.00406230
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x406ec2
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.0042183d
push ecx
push 4
push eax
call fcn.0040f828
push edi
call fcn.00421c1d
add esp, 4
mov dword [esi + 0x1c], 0
mov edi, dword [ebx]
test edi, edi
je 0x406f20
lea edx, [edi*4 + 4]
push edx
call fcn.00421bf4
add esp, 4
mov dword [ebp - 0x74], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x406efd
push fcn.0042183d
push 0x401ac0
lea ebx, [eax + 4]
push edi
push 4
push ebx
mov dword [eax], edi
call fcn.0040f906
jmp 0x406eff
xor ebx, ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], ebx
xor edi, edi
cmp edi, dword [esi + 0x18]
jge 0x406f20
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x54]
lea ecx, [eax + edi*4]
push ecx
push edx
call fcn.0042445d
inc edi
jmp 0x406f08
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + 8]
cmp edx, ecx
jbe 0x406f41
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x28], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x2c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x406f6d
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x30], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x34], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x406f99
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x38], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x3c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x406fc5
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x40], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x44], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x406ff1
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x48], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x4c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x40701d
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x50], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x54], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x407049
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x58], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x5c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x407075
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x60], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x64], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x4070a1
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x68], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x6c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x4070cd
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x70], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x74], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x4070f9
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x78], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x7c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x407125
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x80], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x84], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x407157
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x88], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x8c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x407189
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x90], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x94], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x4071bb
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
add eax, 8
mov dword [esi + 0x98], edx
mov edx, dword [eax - 4]
mov dword [esi + 0x9c], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x4071ea
sub eax, ecx
lea ecx, [ebp - 0x54]
add eax, 8
push eax
call fcn.00424882
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
add eax, 8
mov dword [esi + 0xa0], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x30], eax
lea eax, [esi + 0xa8]
push eax
lea ecx, [ebp - 0x54]
mov dword [esi + 0xa4], edx
call fcn.004061f0
lea ecx, [esi + 0xb0]
push ecx
mov ecx, eax
call fcn.004061f0
lea edx, [esi + 0xb8]
mov ecx, eax
push edx
call fcn.004061f0
lea ecx, [esi + 0xc0]
push ecx
mov ecx, eax
call fcn.004061f0
lea edx, [esi + 0xc8]
mov ecx, eax
push edx
call fcn.004061f0
lea ecx, [esi + 0xd0]
push ecx
mov ecx, eax
call fcn.004061f0
lea edx, [esi + 0xd8]
lea ecx, [ebp - 0x54]
push edx
call fcn.00406230
lea ecx, [esi + 0xdc]
push ecx
mov ecx, eax
call fcn.00406230
lea edx, [esi + 0xe0]
mov ecx, eax
push edx
call fcn.004061f0
lea ecx, [esi + 0xe8]
push ecx
mov ecx, eax
call fcn.004061f0
lea edx, [esi + 0xf0]
mov ecx, eax
push edx
call fcn.004061f0
add esi, 0xf8
mov ecx, eax
push esi
call fcn.004061f0
lea ecx, [ebp - 0x54]
call fcn.00424659
lea ecx, [ebp - 0x68]
call fcn.00422a00
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004245d1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00422728
mov dword [ebp - 4], 0xffffffff
call fcn.00422615
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4