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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65a2eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x730500
mov ecx, edi
call fcn.00491140
fld dword [ebp + 0x10]
fcomp dword [ebp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
fnstsw ax
test ah, 1
je 0x5aa60c
fld dword [ebp + 0x18]
fcomp dword [ebp + 0x1c]
fnstsw ax
test ah, 1
jne 0x5aa640
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fld dword [ebp + 0x14]
fsub dword [ebp + 0x10]
fld dword [ebp + 0x1c]
fsub dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
xor esi, esi
mov ecx, eax
mov edx, eax
mov dword [esp + 0x90], ecx
mov ecx, dword [ebp + 0x14]
fstp dword [esp + 0x28]
fld dword [ebp + 0x10]
fadd dword [ebp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x80], ecx
fmul dword [0x6641a8]
mov edx, ecx
mov eax, ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x1c]
fstp dword [esp + 0x14]
fld dword [ebp + 0x18]
fadd dword [ebp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov edx, ecx
mov dword [esp + 0x88], ecx
fmul dword [0x6641a8]
mov dword [esp + 0x70], edx
mov ecx, eax
mov edx, eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
fstp dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, eax
fmul dword [0x69fca4]
fld dword [esp + 0x28]
fmul dword [0x69fca4]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
mov ecx, eax
mov edx, eax
fstp dword [esp + 0xc]
fld dword [esp + 0x14]
fsub st(1)
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], edx
xor ecx, ecx
fst dword [esp + 0x8c]
fstp dword [esp + 0x6c]
fadd dword [esp + 0x14]
fst dword [esp + 0x84]
fstp dword [esp + 0x74]
fld dword [esp + 0x10]
fsub dword [esp + 0xc]
fst dword [esp + 0x5c]
fstp dword [esp + 0x4c]
fld dword [esp + 0xc]
fadd dword [esp + 0x10]
fst dword [esp + 0x44]
fstp dword [esp + 0x34]
fld dword [ebp + 0x20]
fld st(0)
fcos
fstp dword [esp + 0x28]
fsin
fld dword [esp + ecx*4 + 0x64]
fsub dword [esp + 0x14]
cmp ecx, esi
fstp dword [esp + 0x2c]
fld dword [esp + ecx*4 + 0x30]
fsub dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [esp + 0x28]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x14]
fld st(1)
fmul dword [esp + 0xc]
fsubp st(1)
fst dword [esp + ecx*4 + 0x64]
fld st(1)
fmul dword [esp + 0x2c]
fld dword [esp + 0x28]
fmul dword [esp + 0xc]
faddp st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0x30], eax
jne 0x5aa7bd
fst dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0xc]
fst dword [esp + 0x24]
fstp dword [esp + 0x20]
jmp 0x5aa811
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5aa7ce
fst dword [esp + 0x18]
fld dword [esp + 0x20]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x5aa7e5
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], edx
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x5aa7f8
fstp dword [esp + 0x1c]
jmp 0x5aa7fa
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x5aa811
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
inc ecx
cmp ecx, 0xd
jl 0x5aa753
fstp st(0)
mov dword [esp + 0xc], esi
fld dword [esp + 0x30]
sub esp, 8
mov dword [esp + 0xa8], esi
fstp qword [esp]
fld dword [esp + 0x6c]
sub esp, 8
fstp qword [esp]
push str._.3f__.3f_m_n
push edi
call fcn.00491cb0
add esp, 0x18
fld dword [esp + esi + 0x3c]
sub esp, 8
lea ecx, [esp + 0x14]
fstp qword [esp]
fld dword [esp + esi + 0x78]
sub esp, 8
fstp qword [esp]
fld dword [esp + esi + 0x48]
sub esp, 8
fstp qword [esp]
fld dword [esp + esi + 0x84]
sub esp, 8
fstp qword [esp]
fld dword [esp + esi + 0x54]
sub esp, 8
fstp qword [esp]
fld dword [esp + esi + 0x90]
sub esp, 8
fstp qword [esp]
push str._.3f__.3f__.3f__.3f__.3f__.3f_c_n
push ecx
call fcn.00491cb0
add esp, 0x38
lea edx, [esp + 0xc]
mov ecx, edi
push edx
call fcn.00491250
add esi, 0xc
cmp esi, 0x30
jl 0x5aa84a
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, esi
mov dword [esp + 0xa0], 0xffffffff
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xc]
mov dword [eax + 0xc], edx
call fcn.00490f90
mov ecx, dword [esp + 0x98]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret