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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, edx
movss dword [esp + 8], xmm3
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ecx
mov edx, dword [edi]
test edx, edx
je 0x1001fc54
mov eax, dword [edx]
cmp eax, 1
jle 0x1001fc40
dec eax
mov dword [edx], eax
jmp 0x1001fc4e
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [edi], 0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movss xmm5, dword [eax]
movss xmm1, dword [eax + 4]
comiss xmm5, xmm1
jae 0x1001ffa5
movss xmm7, dword [eax + 8]
movss xmm6, dword [eax + 0xc]
comiss xmm7, xmm6
jae 0x1001ffa5
movss xmm0, dword [eax + 4]
movaps xmm4, xmm1
addss xmm4, xmm5
movss dword [esp + 0x88], xmm0
subss xmm1, xmm5
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x80], xmm0
movaps xmm3, xmm6
addss xmm3, xmm7
movss dword [esp + 0x9c], xmm5
movaps xmm2, xmm6
movss dword [esp + 0x98], xmm5
mulss xmm4, dword [0x103a6180]
subss xmm2, xmm7
xor esi, esi
mulss xmm1, dword [0x103a6128]
mulss xmm3, dword [0x103a6180]
movaps xmm0, xmm4
mulss xmm2, dword [0x103a6128]
subss xmm0, xmm1
addss xmm1, xmm4
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm3
subss xmm0, xmm2
movss dword [esp + 0x6c], xmm5
addss xmm2, xmm3
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x90], xmm4
movss dword [esp + 0x78], xmm4
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 8]
cvtps2pd xmm0, xmm0
movss dword [esp + 0x48], xmm6
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x40], xmm6
movss dword [esp + 0x60], xmm7
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x38], xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0x18]
xorps xmm4, xmm4
movss xmm7, dword [esp + 0x14]
xorps xmm5, xmm5
cvtsd2ss xmm4, xmm0
movss dword [esp + 0x30], xmm4
nop dword [eax]
movss xmm2, dword [esp + esi*4 + 0x6c]
movaps xmm0, xmm4
movss xmm1, dword [esp + esi*4 + 0x38]
movss xmm3, dword [esp + 0xc]
subss xmm2, dword [esp + 0x2c]
subss xmm1, dword [esp + 0x24]
mulss xmm3, xmm2
mulss xmm0, xmm1
mulss xmm4, xmm2
addss xmm3, dword [esp + 0x2c]
addss xmm4, dword [esp + 0x24]
subss xmm3, xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm1
movss dword [esp + esi*4 + 0x6c], xmm3
addss xmm4, xmm0
movss dword [esp + esi*4 + 0x38], xmm4
test esi, esi
jne 0x1001fe55
movss dword [esp + 0x14], xmm3
movaps xmm6, xmm4
movss dword [esp + 0x10], xmm3
movaps xmm7, xmm3
movss dword [esp + 0x18], xmm4
jmp 0x1001fe87
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm3
jbe 0x1001fe66
movss dword [esp + 0x10], xmm3
comiss xmm6, xmm4
jbe 0x1001fe74
movss dword [esp + 0x18], xmm4
movaps xmm6, xmm4
comiss xmm3, xmm7
jbe 0x1001fe82
movss dword [esp + 0x14], xmm3
movaps xmm7, xmm3
comiss xmm4, xmm5
jbe 0x1001fe99
movaps xmm0, xmm4
movaps xmm5, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 0x1c], xmm0
movss xmm4, dword [esp + 0x30]
inc esi
cmp esi, 0xd
jl 0x1001fde0
movss xmm0, dword [esp + 0x38]
sub esp, 0x10
cvtps2pd xmm0, xmm0
mov dword [esp + 0x1c], 0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x7c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._.3f__.3f_m_n
push edi
call fcn.10087c80
add esp, 0x18
xor edi, edi
movss xmm0, dword [esp + edi + 0x44]
lea eax, [esp + 0xc]
cvtps2pd xmm0, xmm0
sub esp, 0x30
movsd qword [esp + 0x28], xmm0
movss xmm0, dword [esp + edi + 0xa8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [esp + edi + 0x70]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esp + edi + 0xa4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + edi + 0x6c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + edi + 0xa0]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._.3f__.3f__.3f__.3f__.3f__.3f_c_n
push eax
call fcn.10087c80
mov esi, dword [esp + 0x44]
add esp, 0x38
test esi, esi
je 0x1001ff70
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0xc]
push eax
push dword [esi + 4]
call fcn.10087380
add edi, 0xc
cmp edi, 0x30
jl 0x1001fee1
mov edi, dword [esp + 0x28]
movups xmm0, xmmword [esp + 0x10]
movups xmmword [edi], xmm0
test esi, esi
je 0x1001ff9d
dec dword [esi]
cmp dword [esi], 1
jge 0x1001ff9d
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [esp + 0x10]
pop edi
mov eax, ecx
movups xmmword [ecx], xmm0
pop esi
mov esp, ebp
pop ebp
ret