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

Disassembly:
mov eax, 0x1006cb5a
call fcn.00495a5a
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp byte [esi + 0x110], 0
jne 0x459caa
mov ecx, dword [esi + 0x24]
cmp ecx, edi
jne 0x45993f
cmp byte [esi + 0x48], 0
jne 0x4598b2
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.00495abe
cmp dword [esi + 0x38], edi
je 0x4598cc
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.00495abe
lea ecx, [ebp - 0x74]
call fcn.00459e4d
push 1
lea eax, [ebp - 0x74]
pop ebx
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], 0x6f10701
mov dword [ebp - 0x58], edi
call fcn.00459f01
push ebx
lea ecx, [esi + 0x58]
pop eax
push eax
push ebx
pop eax
push eax
call fcn.00449395
push edi
lea ecx, [esi + 0x80]
call fcn.004582e0
push edi
lea ecx, [esi + 0x94]
call fcn.004582e0
mov dword [ebp - 0x74], 0x10072a6c
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
call fcn.0044217a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00442151
jmp 0x459c3f
cmp ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jle 0x4599e1
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x10]
cmp dword [esi + 0x38], 0
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [ebp - 0x20], edi
jne 0x4599c0
dec ecx
cmp edx, ecx
jge 0x459980
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
add eax, ebx
lea ecx, [esi + 0x6c]
push eax
call fcn.00449395
jmp 0x45999a
lea edi, [esi + 0x94]
push 0
mov ecx, edi
call fcn.004422b4
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [eax], ecx
push 1
pop eax
cmp edi, eax
mov dword [ebp - 0x1c], eax
jbe 0x4599c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
lea ecx, [esi + 0x94]
push eax
call fcn.004582e0
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jb 0x4599a4
add dword [ebp - 0x18], ebx
add dword [ebp - 0x14], edi
push edi
push ebx
lea ecx, [esi + 0x58]
call fcn.00449395
mov ecx, dword [esi + 0x24]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x459950
xor edi, edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x459a87
and dword [ebp - 0x10], 0
test eax, eax
jle 0x459a4b
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add eax, dword [esi + 0x3c]
mov ebx, dword [eax]
test ebx, ebx
jbe 0x459a11
mov edx, dword [esi + 0x64]
add ecx, dword [edx]
add edx, 8
dec ebx
jne 0x459a09
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor ebx, ebx
test edi, edi
jbe 0x459a2d
mov ecx, dword [esi + 0x64]
add ecx, 4
add ebx, dword [ecx]
add ecx, 8
dec edi
jne 0x459a25
mov eax, dword [eax + 0xc]
lea ecx, [esi + 0x6c]
add eax, ebx
push eax
push edx
call fcn.00449395
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
cmp eax, dword [esi + 0x38]
jl 0x4599f8
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0x459a87
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x459a6d
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x459a70
inc edx
add eax, 8
cmp edx, ecx
jl 0x459a61
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x459a81
push edi
lea ecx, [esi + 0x94]
call fcn.004582e0
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x459a52
xor edi, edi
cmp dword [ebp - 0x18], edi
jle 0x459ac0
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x459aa6
mov eax, dword [esi + 0x78]
cmp dword [eax], edi
je 0x459aa9
inc edx
add eax, 8
cmp edx, ecx
jl 0x459a9a
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x459aba
push edi
lea ecx, [esi + 0x80]
call fcn.004582e0
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x459a8e
cmp dword [esi + 0x88], 0
jne 0x459ade
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.00495abe
mov eax, dword [esi + 0x8c]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.0045944d
mov ecx, dword [ebp - 0x1c]
xor edi, edi
test ecx, ecx
jbe 0x459b0e
mov eax, dword [esi + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0x459b06
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x459b29
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x459b38
inc edx
add eax, 8
cmp edx, ecx
jl 0x459b1d
or eax, 0xffffffff
test eax, eax
jl 0x459b3c
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + eax*8]
jmp 0x459ae6
mov eax, edx
jmp 0x459b2c
mov ecx, dword [esi + 0x9c]
xor edx, edx
test ecx, ecx
jle 0x459b7e
mov eax, dword [esi + 0xa0]
cmp dword [eax], edi
je 0x459b5c
inc edx
add eax, 4
cmp edx, ecx
jl 0x459b4e
jmp 0x459b7e
mov eax, dword [esi + 0x94]
lea ebx, [esi + 0x94]
push 1
push edx
mov ecx, ebx
call dword [eax + 4]
push 0
mov ecx, ebx
call fcn.004422b4
mov eax, dword [ebx + 0xc]
mov dword [eax], edi
cmp byte [esi + 0x48], 0
je 0x459c3f
mov edi, dword [esi + 0x9c]
xor ebx, ebx
test edi, edi
mov dword [ebp - 0x1c], edi
jle 0x459bb3
mov ecx, dword [esi + 0xa0]
mov eax, dword [ebp - 0x18]
add eax, ebx
push dword [ecx + ebx*4]
lea ecx, [esi + 0x6c]
push eax
call fcn.00449395
inc ebx
cmp ebx, edi
jl 0x459b97
lea ecx, [esi + 0x94]
call fcn.0044217a
xor ebx, ebx
test edi, edi
jle 0x459c3f
mov edi, 0x10072a6c
push 4
lea ecx, [ebp - 0x4c]
call fcn.0043cd1b
mov dword [ebp - 0x4c], edi
push 1
and dword [ebp - 0x30], 0
pop eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x34], 0x6f10701
call fcn.00459f01
push 1
lea ecx, [esi + 0x58]
pop eax
push eax
push eax
call fcn.00449395
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x94]
add eax, ebx
push eax
call fcn.004582e0
mov dword [ebp - 0x4c], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 3
call fcn.0044217a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00442151
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x459bc9
mov ebx, dword [esi + 0x24]
dec ebx
test ebx, ebx
jl 0x459c63
lea edi, [esi + 0xfc]
mov eax, dword [esi + 0x28]
mov ecx, edi
mov eax, dword [eax + ebx*4]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00449395
dec ebx
jns 0x459c4d
push 0xa8
call fcn.00442303
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov dword [ebp - 4], 4
je 0x459c89
lea eax, [esi + 0x58]
push eax
call fcn.0046f874
jmp 0x459c8b
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xa8]
push ecx
mov ecx, eax
mov dword [esi + 0xf8], eax
call fcn.0046fab1
mov byte [esi + 0x110], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret