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

Disassembly:
sub esp, 0x88
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x38]
fld dword [esp + 0x94]
fmul dword [0x589670]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 8]
push ebp
mov ebp, dword [ecx + 0x10]
fst dword [esp + 0x38]
fstp dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], 0
jle 0x45d18b
push ebx
mov ebx, dword [esp + 8]
push esi
mov si, word [esp + 0xc]
push edi
mov di, word [esp + 0x18]
jmp 0x45cc26
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esp + 0x3c]
add eax, ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x64], eax
xor eax, eax
mov ax, word [edx]
add eax, ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov ch, byte [ebp + 1]
mov cl, byte [ebp]
mov eax, ecx
xor eax, edx
and eax, 0x7fff
xor di, ax
movsx eax, cx
shr eax, 0xf
shl eax, 0xf
mov word [esp + 0x18], di
mov edi, dword [esp + 0x18]
mov edx, eax
xor edx, edi
and edx, 0x7fff
xor edx, eax
lea eax, [ebp + 2]
mov di, dx
mov edx, ecx
and edx, 0x3800
mov word [esp + 0x18], di
test dx, dx
jne 0x45cd08
and ecx, 0x4000
test cx, cx
je 0x45ccd5
xor ecx, ecx
mov cl, byte [eax]
inc eax
mov dx, word [ecx*8 + 0xaabce0]
lea ecx, [ecx*8 + 0xaabce0]
mov word [esp + 0x1a], dx
mov dx, word [ecx + 2]
mov cx, word [ecx + 4]
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], cx
jmp 0x45cd74
xor edx, edx
xor ecx, ecx
mov dh, byte [eax + 1]
mov ch, byte [eax + 3]
mov dl, byte [eax]
mov cl, byte [eax + 2]
add eax, 2
mov word [esp + 0x1a], dx
add eax, 2
xor edx, edx
mov word [esp + 0x1c], cx
mov dh, byte [eax + 1]
mov dl, byte [eax]
add eax, 2
mov word [esp + 0x1e], dx
jmp 0x45cd93
mov edx, ecx
and edx, 0x2000
test dx, dx
je 0x45cd1c
movzx dx, byte [eax]
inc eax
jmp 0x45cd26
xor edx, edx
mov dh, byte [eax + 1]
mov dl, byte [eax]
add eax, 2
mov word [esp + 0x1a], dx
mov edx, ecx
and edx, 0x1000
test dx, dx
je 0x45cd3f
movzx dx, byte [eax]
inc eax
jmp 0x45cd49
xor edx, edx
mov dh, byte [eax + 1]
mov dl, byte [eax]
add eax, 2
and ecx, 0x800
mov word [esp + 0x1c], dx
test cx, cx
je 0x45cd65
movzx cx, byte [eax]
mov word [esp + 0x1e], cx
inc eax
jmp 0x45cd74
xor edx, edx
mov dh, byte [eax + 1]
mov dl, byte [eax]
add eax, 2
mov word [esp + 0x1e], dx
mov ecx, dword [esp + 0x18]
mov edi, ecx
and ecx, 0xffff8000
and edi, 0x7ff
add di, di
sar di, 1
or edi, ecx
mov word [esp + 0x18], di
mov ecx, dword [esp + 0x64]
mov ebp, eax
cmp eax, ecx
jae 0x45cfbe
xor edx, edx
mov dh, byte [eax + 1]
mov dl, byte [eax]
add eax, 2
movsx ecx, dx
xor ebx, edx
and ebx, 0x7fff
shr ecx, 0xf
xor si, bx
shl ecx, 0xf
mov word [esp + 0x10], si
mov ebx, dword [esp + 0x10]
mov esi, ecx
xor esi, ebx
and esi, 0x7fff
xor esi, ecx
mov ecx, edx
and ecx, 0x3800
mov word [esp + 0x10], si
test cx, cx
jne 0x45ce50
and edx, 0x4000
test dx, dx
je 0x45ce20
xor edx, edx
mov dl, byte [eax]
mov cx, word [edx*8 + 0xaabce0]
lea eax, [edx*8 + 0xaabce0]
mov word [esp + 0x12], cx
mov dx, word [eax + 2]
mov ax, word [eax + 4]
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
jmp 0x45ceb8
xor ecx, ecx
xor edx, edx
mov ch, byte [eax + 1]
mov dh, byte [eax + 3]
mov cl, byte [eax]
mov dl, byte [eax + 2]
add eax, 2
mov word [esp + 0x12], cx
add eax, 2
xor ecx, ecx
mov word [esp + 0x14], dx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esp + 0x16], cx
jmp 0x45ced6
mov ecx, edx
and ecx, 0x2000
test cx, cx
je 0x45ce64
movzx cx, byte [eax]
inc eax
jmp 0x45ce6e
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
add eax, 2
mov word [esp + 0x12], cx
mov ecx, edx
and ecx, 0x1000
test cx, cx
je 0x45ce87
movzx cx, byte [eax]
inc eax
jmp 0x45ce91
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
add eax, 2
and edx, 0x800
mov word [esp + 0x14], cx
test dx, dx
je 0x45ceac
movzx dx, byte [eax]
mov word [esp + 0x16], dx
jmp 0x45ceb8
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esp + 0x16], cx
mov eax, dword [esp + 0x10]
mov esi, eax
and eax, 0xffff8000
and esi, 0x7ff
add si, si
sar si, 1
or esi, eax
mov word [esp + 0x10], si
mov dx, di
mov ebx, dword [esp + 0x10]
add dx, dx
sar dx, 1
movsx eax, dx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jp 0x45cc4c
mov cx, si
add cx, cx
sar cx, 1
movsx edx, cx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fcomp dword [esp + 0x44]
fnstsw ax
and eax, 0x100
jne 0x45cc4c
mov cx, di
mov ax, si
add cx, cx
add ax, ax
sar cx, 1
movsx edx, cx
sar ax, 1
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fld dword [esp + 0x44]
movsx ecx, ax
fsub st(1)
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fsub st(2)
fdivp st(1)
fstp dword [esp + 0x28]
fstp st(0)
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x5c]
push edx
push eax
call fcn.0045d350
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp eax, ecx
mov dword [esp + 0x4c], eax
jae 0x45cfde
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.0045d350
mov ecx, dword [esp + 0x64]
add esp, 8
movsx edx, cx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
jp 0x45cf5a
mov edx, dword [esp + 0x54]
movsx eax, dx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
and eax, 0x100
jne 0x45cf5a
jmp 0x45cff8
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 0
mov si, bx
jmp 0x45cf5a
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], 0
jmp 0x45d01e
movsx eax, cx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fld dword [esp + 0x30]
movsx ecx, dx
fsub st(1)
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fsub st(2)
fdivp st(1)
fstp dword [esp + 0x50]
fstp st(0)
mov edx, dword [esp + 0x38]
test dword [edx + 4], 0x9000000
jne 0x45d02f
xor ebp, ebp
jmp 0x45d034
mov ebp, 1
push 0x3f800000
push 0
push 0
push 0
lea ecx, [esp + 0x88]
call fcn.0045dab0
lea eax, [esp + 0x78]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0045cb00
fld dword [esp + 0x34]
fcomp dword [0x589284]
add esp, 0xc
fnstsw ax
test ah, 0x44
jp 0x45d076
lea edx, [esp + 0x78]
push edx
jmp 0x45d0d5
push 0x3f800000
push 0
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.0045dab0
lea eax, [esp + 0x68]
push ebp
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0045cb00
fld dword [esp + 0x34]
fcomp dword [0x589288]
add esp, 0xc
fnstsw ax
test ah, 0x44
jp 0x45d0b5
lea edx, [esp + 0x68]
push edx
jmp 0x45d0d5
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x90]
push edx
push eax
call fcn.0045dad0
add esp, 0x10
push eax
mov ecx, dword [esp + 0xa0]
call fcn.00499d60
mov ecx, dword [esp + 0x38]
test dword [ecx + 4], 0x9000000
jne 0x45d0f2
xor eax, eax
jmp 0x45d0f7
mov eax, 1
mov edx, dword [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push edx
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x64]
push eax
push ecx
push edx
call fcn.0045d1a0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov ebp, dword [esp + 0x50]
mov cx, word [eax]
add eax, 2
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], edx
xor edx, edx
mov dx, word [ecx]
add ecx, 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xb4]
mov eax, 0x10
add ebp, edx
mov edx, dword [esp + 0xb0]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x4c]
add esp, 0x14
mov dword [esp + 0x9c], edx
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], ebp
cmp eax, edx
mov dword [esp + 0x48], eax
jl 0x45cc22
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0x88
ret 0xc