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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64d928
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb0]
lea eax, [esi + 4]
push edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x459740
sub eax, edx
mov edi, 0
mov dword [esp + 0x1c], eax
mov ebp, edi
js 0x459971
lea eax, [esi + 0x90]
mov dword [esp + 0x14], eax
jmp 0x459779
mov esi, dword [esp + 0xb4]
xor edi, edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [ecx]
cmp eax, edi
mov ecx, dword [edx + 0x820]
mov edx, dword [ecx + 8]
je 0x459971
movzx ecx, ax
cmp ecx, dword [edx + 8]
jae 0x459971
lea esi, [ecx + ecx*4]
shl esi, 5
add esi, dword [edx]
cmp dword [esi + 0x9c], eax
jne 0x459971
fld dword [0x665420]
push esi
fst dword [esp + 0x28]
lea eax, [esp + 0x28]
fst dword [esp + 0x2c]
mov ebx, 2
fst dword [esp + 0x30]
mov dword [esp + 0x4c], edi
fst dword [esp + 0x34]
mov dword [esp + 0x48], edi
fst dword [esp + 0x38]
mov dword [esp + 0x50], 0x65540c
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fstp dword [esp + 0x44]
call fcn.00471f90
mov edi, dword [esp + 0xc0]
fild dword [edi + 0xc]
fmul dword [esp + 0x40]
fstp dword [esp + 0x18]
fldz
fld dword [esp + 0x18]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x459822
fadd qword [0x679300]
jmp 0x459828
fsub qword [0x679300]
call fcn.006397d0
xor ebx, ebx
cmp eax, ebx
jle 0x459971
cmp eax, 0xff
jl 0x459843
mov eax, 0xff
fld dword [esi + 0x2c]
mov ecx, dword [edi + 4]
fadd dword [esp + 0x24]
mov edx, dword [edi]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 0xc]
fstp dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
fld dword [esi + 0x38]
mov dword [esp + 0x5c], eax
fadd dword [esp + 0xc4]
mov eax, dword [esp + 0xb4]
cmp dword [eax + 0x290], 0x62
mov dword [esp + 0x50], edx
fsub qword [0x679768]
mov edx, dword [edi + 8]
mov dword [esp + 0x58], edx
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jne 0x4598c5
mov edx, dword [eax + 0x84]
sub edx, dword [eax + 0x88]
cmp edx, dword [eax + 0x294]
jge 0x4598c5
fld dword [esi + 4]
fsubr qword [0x65b8f8]
fstp dword [esp + 0x18]
fld dword [esi + 0x2c]
fmul dword [esp + 0x18]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
lea esi, [esp + 0x7c]
lea edi, [esp + 0x24]
call fcn.004720f0
push ebx
push 0x65540c
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00404330
mov eax, dword [esp + 0xb4]
add eax, 4
mov dword [esp + 0xac], ebx
mov al, byte [eax + ebp]
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
push ecx
push 1
lea ecx, [esp + 0x68]
call fcn.00441d20
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0xbc]
mov eax, esi
push eax
push ecx
push edx
lea edx, [esp + 0x70]
call fcn.00511e50
add esp, 0x10
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x78], 0x10
jb 0x45995f
mov eax, dword [esp + 0x64]
push eax
call fcn.0061c19a
add esp, 4
add dword [esp + 0x14], 4
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jle 0x459770
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 0x14