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

Disassembly:
push ebx
push esi
mov esi, dword [0x974b34]
push edi
and esi, 0xfff
push ebp
mov eax, esi
add esp, 0xffffff80
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x38], eax
mov edi, dword [0xa10868]
fild qword [esp + 0x38]
cmp byte [0xa10b8f], 0
fmul dword [0x69cc68]
fstp dword [esp + 0x14]
mov eax, dword [edi + 0x18]
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 4], eax
mov eax, ecx
mov edx, dword [eax + 0x5c]
mov ebx, dword [eax + 0x30]
mov eax, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
mov dword [esp], eax
jne 0x5bf16d
push 0x1e
push ecx
call fcn.0064cd20
pop ecx
pop ecx
mov esi, 0x7e46a0
lea edi, [esp + 0x68]
movsd dword es:[edi], dword [esi]
fldz
fldz
fldz
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x6c]
fstp st(2)
fld dword [esp + 0x68]
fadd st(2)
fabs
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp st(3)
fld dword [0x69cc0c]
fmul st(3)
fadd dword [0x69cbfc]
fstp st(3)
fld dword [esp + 0x68]
fchs
fadd st(2)
fabs
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp st(2)
fld dword [0x69cc50]
fsub dword [0x69cbf8]
fmul dword [0x69cc84]
fstp dword [esp + 0x18]
fld dword [0x69cd38]
fmul dword [0x69cbf4]
fdivr dword [0x69cc50]
fstp dword [esp + 0x1c]
fld dword [0x69cc6c]
fmul dword [0x9b6a9c]
fadd dword [0x69cc70]
fstp st(1)
fld st(2)
fmul st(1)
fmul dword [0x69cd3c]
fstp dword [esp + 0x20]
fld dword [0x69cd38]
fmul dword [0x69cbac]
fdivr qword [0x69cd40]
fld dword [0x69cc70]
fmul dword [0x9b6a9c]
fadd dword [0x69cd0c]
fld dword [0x69cc10]
fmul st(4)
fadd dword [0x69cc00]
fmulp st(1)
fmulp st(1)
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fst dword [esp + 0x28]
fld dword [0x69cbb0]
fmul dword [0x9b6a9c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x50], 0x3f800000
fadd dword [0x69cd2c]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0
fstp dword [esp + 0x2c]
fcompp
fstp st(0)
mov eax, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
fild dword [esp + 0x38]
mov dword [esp + 0x38], eax
fmul dword [0x69cd48]
fstp dword [esp + 0x30]
fild dword [esp + 0x38]
fmul dword [esp + 0x18]
fstp dword [esp + 0x34]
lea eax, [eax]
mov dword [esp + 0x38], edi
mov eax, dword [esp + 4]
fild dword [esp + 0x38]
fmul dword [0x69cd48]
fadd dword [0x77fa6c]
fstp dword [eax + 4]
fld dword [0x77fa70]
fadd dword [esp + 0x30]
mov eax, dword [esp + 4]
fstp dword [eax]
mov eax, dword [esp + 0x94]
mov cl, byte [eax]
mov byte [ebx], cl
mov al, byte [eax + 1]
mov byte [ebx + 1], al
mov eax, dword [esp + 0x94]
mov dl, byte [eax + 2]
mov byte [ebx + 2], dl
mov al, byte [eax + 3]
mov byte [ebx + 3], al
cmp dword [esp + 0xc], 0
jle 0x5bf3a8
cmp dword [esp + 0xc], 0x10
jge 0x5bf3a8
test edi, edi
jle 0x5bf3a8
cmp edi, 0x10
jge 0x5bf3a8
call fcn.00649a40
and eax, 0xffff
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fmul dword [0x69cc44]
fmul dword [0x69cc84]
fadd dword [0x69ccbc]
fmul dword [esp + 0x1c]
fadd dword [ebp]
fmul dword [0x69cbf8]
fadd dword [esp + 0x34]
fstp dword [ebp]
call fcn.00649a40
and eax, 0xffff
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fmul dword [0x69cc44]
fmul dword [0x69cc84]
fadd dword [0x69ccbc]
fmul dword [esp + 0x1c]
fadd dword [ebp + 4]
mov dword [esp + 0x38], edi
fmul dword [0x69cbf8]
fild dword [esp + 0x38]
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [ebp + 4]
cmp dword [esp + 0xc], 0x10
fldz
fldz
fldz
fldz
jne 0x5bf3c0
fld dword [0x69cc78]
jmp 0x5bf3c9
fld dword [0x69cd24]
fmul dword [ebp]
fstp st(4)
cmp edi, 0x10
jne 0x5bf3d8
fld dword [0x69cc78]
jmp 0x5bf3e1
fld dword [0x69cd24]
fmul dword [ebp + 4]
fstp st(3)
fld st(2)
fadd st(4)
fmul dword [0x69cd3c]
fadd dword [esp + 0x14]
fstp st(2)
fld dword [0x69cd38]
fmul dword [0x69cba8]
fdivr dword [0x69cd4c]
fld st(3)
fsub st(5)
fmulp st(1)
fadd dword [esp + 0x14]
fstp st(4)
fld st(3)
fsin
fnstsw ax
test eax, 0x400
je 0x5bf425
call fcn.00642970
fsin
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp st(3)
fld st(1)
fsin
fnstsw ax
test eax, 0x400
je 0x5bf443
call fcn.00642970
fsin
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp st(1)
fld dword [esp + 0x28]
fmul st(1)
fld dword [esp + 0x2c]
fmul st(4)
faddp st(1)
fstp dword [ebp + 8]
fld st(1)
fcos
fnstsw ax
test eax, 0x400
je 0x5bf472
call fcn.00642970
fcos
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp st(3)
fld st(3)
fcos
fnstsw ax
test eax, 0x400
je 0x5bf490
call fcn.00642970
fcos
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp st(4)
fld dword [esp + 0x24]
fmul st(4)
fstp st(4)
fld dword [esp + 0x20]
fmul st(3)
fstp st(3)
lea eax, [esp + 0x5c]
lea esi, [esp + 0x50]
fld st(2)
fsub st(4)
fstp dword [esp + 0x58]
fld st(2)
push eax
lea eax, [esp + 0x78]
fadd st(4)
fstp dword [esp + 0x68]
fcompp
fcompp
push esi
push eax
call fcn.004e00d0
mov eax, dword [esp + 0x80]
add esp, 0xc
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
call fcn.004dfec0
mov eax, dword [esp]
inc edi
fld dword [esp + 0x44]
fstp dword [eax]
mov eax, dword [esp]
add ebx, 4
fld dword [esp + 0x48]
fstp dword [eax + 4]
mov eax, dword [esp]
add ebp, 0xc
fld dword [esp + 0x4c]
fstp dword [eax + 8]
add dword [esp], 0xc
add dword [esp + 4], 8
cmp edi, 0x11
jl 0x5bf2c0
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x11
jl 0x5bf291
push dword [esp + 0x10]
call fcn.0064cd50
mov al, 1
pop ecx
sub esp, 0xffffff80
pop ebp
pop edi
pop esi
pop ebx
ret