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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x658868
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xb4]
lea edx, [edi + 4]
mov eax, edx
lea esi, [eax + 2]
xor ebp, ebp
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45cbf0
sub eax, esi
sar eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
js 0x45ce16
lea eax, [edi + 0x110]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jmp 0x45cc27
mov edi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
mov eax, dword [ecx]
cmp eax, ebp
mov ecx, dword [edx + 0x820]
mov edx, dword [ecx + 8]
je 0x45ce16
movzx ecx, ax
cmp ecx, dword [edx + 8]
jae 0x45ce16
lea esi, [ecx + ecx*4]
shl esi, 5
add esi, dword [edx]
cmp dword [esi + 0x9c], eax
jne 0x45ce16
fld dword [0x672468]
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], ebp
fst dword [esp + 0x34]
mov dword [esp + 0x48], ebp
fst dword [esp + 0x38]
mov dword [esp + 0x50], 0x660950
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fstp dword [esp + 0x44]
call fcn.00475aa0
mov ebx, dword [esp + 0xc0]
fild dword [ebx + 0xc]
fmul dword [esp + 0x40]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45ccd0
fadd qword [0x6885c0]
jmp 0x45ccd6
fsub qword [0x6885c0]
call fcn.00643d70
cmp eax, ebp
jle 0x45ce16
cmp eax, 0xff
jl 0x45ccef
mov eax, 0xff
cmp dword [edi + 0x310], 0x62
fld dword [esi + 0x2c]
fadd dword [esp + 0x24]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0xc]
fstp dword [esp + 0x24]
fld dword [esi + 0x38]
mov dword [esp + 0x50], edx
fadd dword [esp + 0xc4]
mov edx, dword [ebx + 8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
fsub qword [0x688a18]
mov dword [esp + 0x5c], eax
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jne 0x45cd6a
mov edx, dword [edi + 0x104]
sub edx, dword [edi + 0x108]
cmp edx, dword [edi + 0x314]
jge 0x45cd6a
fld dword [esi + 4]
fsubr qword [0x668940]
fstp dword [esp + 0x14]
fld dword [esi + 0x2c]
fmul dword [esp + 0x14]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
lea esi, [esp + 0x7c]
lea edi, [esp + 0x24]
call fcn.00475c00
push ebp
push 0x660424
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebp
mov word [esp + 0x6c], bp
call fcn.00404f80
mov eax, dword [esp + 0x10]
mov dword [esp + 0xac], ebp
movzx eax, word [eax]
push eax
push 1
lea ecx, [esp + 0x68]
call fcn.0045d5b0
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0xbc]
mov edx, esi
push edx
push eax
push ecx
lea edx, [esp + 0x70]
call fcn.00516080
add esp, 0x10
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x45cdf7
mov edx, dword [esp + 0x64]
push edx
call fcn.0062414c
add esp, 4
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 4
add dword [esp + 0x10], 2
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jle 0x45cc20
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 0x14