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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429bc3
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 0x405a6c
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 0x405a94
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 0x405ae2
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 0x405b40
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 0x405b1d
push fcn.0042183d
push 0x401ac0
lea ebx, [eax + 4]
push edi
push 4
push ebx
mov dword [eax], edi
call fcn.0040f906
jmp 0x405b1f
xor ebx, ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], ebx
xor edi, edi
cmp edi, dword [esi + 0x18]
jge 0x405b40
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x54]
lea ecx, [eax + edi*4]
push ecx
push edx
call fcn.0042445d
inc edi
jmp 0x405b28
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + 8]
cmp edx, ecx
jbe 0x405b61
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 0x405b8d
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 0x405bb9
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 0x405be5
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 0x405c11
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 0x405c3d
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 0x405c69
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 0x405c95
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 0x405cc1
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 0x405ced
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 0x405d19
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 0x405d45
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 0x405d77
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 0x405da9
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 0x405ddb
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 0x405e0d
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 + 0xa0], edx
mov edx, dword [eax - 4]
mov dword [esi + 0xa4], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x405e3f
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 + 0xa8], edx
mov edx, dword [eax - 4]
mov dword [esi + 0xac], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x405e71
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 + 0xb0], edx
mov edx, dword [eax - 4]
mov dword [esi + 0xb4], edx
lea edx, [eax + 8]
cmp edx, ecx
mov dword [ebp - 0x30], eax
jbe 0x405ea0
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 + 0xb8], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x30], eax
lea eax, [esi + 0xc0]
push eax
lea ecx, [ebp - 0x54]
mov dword [esi + 0xbc], edx
call fcn.004061f0
lea ecx, [esi + 0xc8]
push ecx
mov ecx, eax
call fcn.004061f0
lea edx, [esi + 0xd0]
mov ecx, eax
push edx
call fcn.004061f0
lea eax, [esi + 0xd8]
lea ecx, [ebp - 0x54]
push eax
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.00406230
lea ecx, [esi + 0xe4]
push ecx
mov ecx, eax
call fcn.00406230
lea edx, [esi + 0xe8]
mov ecx, eax
push edx
call fcn.004061f0
lea ecx, [esi + 0xf0]
push ecx
mov ecx, eax
call fcn.004061f0
lea edx, [esi + 0xf8]
mov ecx, eax
push edx
call fcn.004061f0
lea ecx, [esi + 0x100]
push ecx
mov ecx, eax
call fcn.004061f0
lea edx, [esi + 0x108]
lea ecx, [ebp - 0x54]
push edx
call fcn.00406230
xor ebx, ebx
cmp ebx, 0xa
jge 0x405f96
lea eax, [esi + ebx*8 + 0x1b0]
lea ecx, [ebp - 0x54]
push eax
call fcn.004061f0
xor edi, edi
cmp edi, 2
jge 0x405f93
lea ecx, [edi + ebx*2 + 0x22]
lea edx, [esi + ecx*8]
lea ecx, [ebp - 0x54]
push edx
call fcn.004061f0
inc edi
jmp 0x405f7b
inc ebx
jmp 0x405f64
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