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

Disassembly:
sub esp, 0x98
fld dword [esp + 0xa4]
fmul dword [0x589670]
mov eax, ecx
push ebx
push esi
xor esi, esi
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
fst dword [esp + 0x3c]
fstp dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 8]
mov ebx, edx
mov dword [esp + 0x5c], eax
test ecx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], esi
jle 0x45caf3
push ebp
push edi
jmp 0x45c634
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], ecx
and ecx, 0x400000
je 0x45c64c
movsx ebp, word [eax + esi*4]
jmp 0x45c653
xor edx, edx
mov dl, byte [eax + esi*2]
mov ebp, edx
test ecx, ecx
je 0x45c65e
movsx esi, word [eax + esi*4 + 2]
jmp 0x45c666
xor ecx, ecx
mov cl, byte [eax + esi*2 + 1]
mov esi, ecx
xor ecx, ecx
test ebp, ebp
jle 0x45c728
lea edi, [ebp - 1]
mov edx, ebx
cmp ecx, edi
je 0x45c6c4
mov ax, word [edx]
add ax, ax
sar ax, 1
movsx eax, ax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jp 0x45c6ba
mov ax, word [edx + 0x10]
add ax, ax
sar ax, 1
movsx eax, ax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcomp dword [esp + 0x44]
fnstsw ax
and eax, 0x100
je 0x45c6db
inc ecx
add edx, 0x10
cmp ecx, ebp
jl 0x45c675
jmp 0x45c728
shl ecx, 4
add ecx, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], ecx
jmp 0x45c728
mov eax, ecx
shl eax, 4
add eax, ebx
inc ecx
shl ecx, 4
mov dx, word [eax]
add ecx, ebx
add dx, dx
mov dword [esp + 0x50], ecx
mov cx, word [ecx]
mov dword [esp + 0x1c], eax
sar dx, 1
movsx eax, dx
add cx, cx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld dword [esp + 0x44]
sar cx, 1
movsx edx, cx
fsub st(1)
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fsub st(2)
fdivp st(1)
fstp dword [esp + 0x24]
fstp st(0)
xor ecx, ecx
test esi, esi
jle 0x45c7d0
mov edx, dword [esp + 0x20]
lea edi, [esi - 1]
cmp ecx, edi
je 0x45c776
movsx eax, word [edx]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x41
jp 0x45c76c
movsx eax, word [edx + 0x10]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcomp dword [esp + 0x48]
fnstsw ax
and eax, 0x100
je 0x45c791
inc ecx
add edx, 0x10
cmp ecx, esi
jl 0x45c739
jmp 0x45c7d0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], 0
shl ecx, 4
add ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
jmp 0x45c7d0
mov edx, dword [esp + 0x20]
mov eax, ecx
shl eax, 4
add eax, edx
inc ecx
mov dword [esp + 0x28], eax
movsx eax, word [eax]
shl ecx, 4
add ecx, edx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
movsx ecx, word [ecx]
fsub st(1)
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fsub st(2)
fdivp st(1)
fstp dword [esp + 0x18]
fstp st(0)
test dword [esp + 0x10], 0x9000000
jne 0x45c7de
xor ebx, ebx
jmp 0x45c7e3
mov ebx, 1
push 0x3f800000
push 0
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.0045dab0
test bl, bl
je 0x45c816
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
jmp 0x45c860
mov eax, dword [esp + 0x1c]
movsx ecx, word [eax + 2]
movsx edx, word [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
fild dword [esp + 0x10]
movsx eax, word [eax + 6]
fmul dword [0x58a3b0]
mov dword [esp + 0x10], edx
fstp dword [esp + 0x30]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x58a3b0]
fstp dword [esp + 0x34]
fild dword [esp + 0x10]
fmul dword [0x58a3b0]
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
fsubr dword [0x589288]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
fsubp st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
fsubp st(1)
fcom dword [0x589284]
fnstsw ax
test ah, 5
jp 0x45c897
fstp st(0)
fld dword [0x589284]
fsqrt
mov cx, word [ecx]
and ecx, 0xffff8000
test cx, cx
fstp dword [esp + 0x3c]
je 0x45c8b5
fld dword [esp + 0x3c]
fchs
fstp dword [esp + 0x3c]
fld dword [esp + 0x24]
fcomp dword [0x589284]
fnstsw ax
test ah, 0x44
jp 0x45c8cd
lea edx, [esp + 0x30]
push edx
jmp 0x45c92f
push 0x3f800000
push 0
push 0
push 0
lea ecx, [esp + 0x88]
call fcn.0045dab0
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x78]
push ebx
push eax
push ecx
call fcn.0045cb00
fld dword [esp + 0x30]
fcomp dword [0x589288]
add esp, 0xc
fnstsw ax
test ah, 0x44
jp 0x45c90f
lea edx, [esp + 0x78]
push edx
jmp 0x45c92f
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x90]
push edx
push eax
call fcn.0045dad0
add esp, 0x10
push eax
mov ecx, dword [esp + 0xb0]
call fcn.00499d60
mov edi, dword [esp + 0x64]
test dword [edi + 4], 0x9000000
jne 0x45c9d4
mov eax, dword [esp + 0x28]
xor ecx, ecx
movsx edx, word [eax + 2]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
movsx edx, word [eax + 4]
fmul dword [0x58a3ac]
movsx eax, word [eax + 6]
fstp dword [esp + 0x54]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x58a3ac]
fstp dword [esp + 0x58]
fild dword [esp + 0x10]
fmul dword [0x58a3ac]
fstp dword [esp + 0x5c]
fld dword [esp + 0x18]
fcomp dword [0x589284]
mov dword [esp + 0x60], 0x3f800000
fnstsw ax
test ah, 0x44
jp 0x45c9f4
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x3f800000
jmp 0x45caa8
mov eax, dword [esp + 0x28]
mov ecx, 1
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
jmp 0x45c994
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], 0x3f800000
test cl, cl
je 0x45ca1b
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
jmp 0x45ca5d
movsx ecx, word [eax + 2]
movsx edx, word [eax + 4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
movsx eax, word [eax + 6]
fmul dword [0x58a3ac]
mov dword [esp + 0x10], edx
fstp dword [esp + 0x68]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x58a3ac]
fstp dword [esp + 0x6c]
fild dword [esp + 0x10]
fmul dword [0x58a3ac]
fstp dword [esp + 0x70]
fld dword [esp + 0x18]
fcomp dword [0x589288]
fnstsw ax
test ah, 0x44
jp 0x45ca75
lea ecx, [esp + 0x68]
push ecx
jmp 0x45ca95
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0xa0]
push ecx
push edx
call fcn.0045da20
add esp, 0x10
push eax
mov ecx, dword [esp + 0xb4]
call fcn.00499d60
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0xac]
mov ecx, dword [edi + 8]
add eax, 0x10
shl ebp, 4
add edx, ebp
mov ebp, dword [esp + 0x20]
shl esi, 4
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x4c]
add ebp, esi
add ebx, 0x10
inc eax
mov dword [esp + 0x40], edx
cmp eax, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0x4c], eax
jl 0x45c628
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x98
ret 0xc