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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov ebx, dword [ebp + 8]
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
lea eax, [esi + 0xd0]
mov dword [esi + 0xd4], 0x10127720
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
mov dword fs:[0], eax
call fcn.1004d5c0
mov edi, eax
movsd xmm0, qword [eax + 8]
movaps xmmword [esi + 0x20], xmm0
mov ecx, dword [0x10259da0]
mov eax, dword [ecx]
call dword [eax + 0x94]
movss xmm1, dword [ebx]
movss xmm2, dword [ebx + 4]
movss xmm0, dword [ebx + 8]
movss xmm3, dword [eax + 0x34]
mulss xmm3, xmm2
movss xmm4, dword [eax + 0x30]
mulss xmm4, xmm1
addss xmm4, xmm3
movss xmm3, dword [eax + 0x38]
mulss xmm3, xmm0
addss xmm3, xmm4
addss xmm3, dword [eax + 0x3c]
movss xmm4, dword [0x101b0eb4]
ucomiss xmm4, xmm3
ja 0x100f7f5b
movaps xmm6, xmmword [esi + 0x20]
divps xmm6, xmmword [0x101b0ed0]
movss xmm4, dword [eax + 4]
mulss xmm4, xmm2
movss xmm5, dword [eax]
mulss xmm5, xmm1
addss xmm5, xmm4
movss xmm4, dword [eax + 8]
mulss xmm4, xmm0
addss xmm4, xmm5
addss xmm4, dword [eax + 0xc]
divss xmm4, xmm3
movss xmm5, dword [edi + 8]
movaps xmm7, xmm5
mulss xmm7, dword [0x101a72c0]
mulss xmm4, xmm5
mulss xmm4, dword [0x101a72c0]
addss xmm4, xmm7
movaps xmm7, xmmword [0x101a87e0]
movaps xmmword [esi + 0x20], xmm6
xorps xmm7, xmm6
ucomiss xmm4, xmm7
jae 0x100f8488
mov ebx, edi
mov edi, dword [0x10259dd8]
movss xmm0, dword [edi + 0xc8]
mulss xmm0, dword [0x101b073c]
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
ucomiss xmm0, dword [0x101b0740]
jae 0x100f8507
movss xmm1, dword [0x101b0744]
ucomiss xmm1, xmm0
jae 0x100f8507
movsd qword [esp], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp dword [esi + 0x5c]
movss xmm0, dword [esi + 0x5c]
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [edi + 0xcc]
mulss xmm0, dword [0x101b073c]
cvtss2sd xmm0, xmm0
movsd qword [esi + 0x30], xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp dword [esi + 0x58]
movss xmm0, dword [esi + 0x58]
movss dword [esi + 0x20], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movss xmm2, dword [0x101b073c]
fstp dword [esi + 0x54]
mulss xmm2, dword [edi + 0xd0]
movss xmm1, dword [esi + 0x54]
ucomiss xmm2, dword [0x101b0740]
jae 0x100f8522
movss xmm0, dword [0x101b0744]
ucomiss xmm0, xmm2
jae 0x100f8522
movss xmm0, dword [esi + 0x1c]
mulss xmm1, xmm0
movss xmm3, dword [esi + 0x20]
mulss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
movaps xmm4, xmm1
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm2, xmm2
addss xmm1, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jb 0x100f8065
sqrtsd xmm0, xmm0
jmp 0x100f808e
movsd qword [esp], xmm0
movss dword [esi + 0x20], xmm3
movss dword [esi + 0x18], xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm2, xmm2
movss xmm4, dword [esi + 0x18]
movss xmm3, dword [esi + 0x20]
fstp qword [esi + 0x78]
movsd xmm0, qword [esi + 0x78]
mov ecx, dword [ebp + 8]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
ucomiss xmm1, xmm2
movaps xmm0, xmm1
jne 0x100f80ad
movaps xmm0, xmm1
jp 0x100f80ad
movss xmm0, dword [0x101a7280]
divss xmm2, xmm1
movss dword [esi + 0x1c], xmm2
jne 0x100f80c2
jp 0x100f80c2
xorps xmm1, xmm1
movss dword [esi + 0x1c], xmm1
divss xmm4, xmm0
divss xmm3, xmm0
movss xmm0, dword [ebx + 0xc]
divss xmm0, dword [0x101b0ee0]
mulss xmm0, dword [0x101afa10]
movaps xmmword [esi + 0x30], xmm0
mov eax, dword [0x10259dd8]
movss xmm2, dword [ecx + 8]
subss xmm2, dword [eax + 0xc4]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 4]
subss xmm0, dword [eax + 0xc0]
subss xmm1, dword [eax + 0xbc]
movss dword [esi + 0x48], xmm0
mulss xmm0, xmm0
movss dword [esi + 0x4c], xmm1
mulss xmm1, xmm1
addss xmm1, xmm0
movaps xmmword [esi + 0xb0], xmm2
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, xmm1
cvtss2sd xmm0, xmm0
xorps xmm1, xmm1
ucomisd xmm0, xmm1
movss dword [esi + 0x20], xmm3
jb 0x100f814e
sqrtsd xmm0, xmm0
jmp 0x100f816a
movsd qword [esp], xmm0
movss dword [esi + 0x18], xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm4, dword [esi + 0x18]
fstp qword [esi + 0x70]
movsd xmm0, qword [esi + 0x70]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
movaps xmm2, xmm1
cmpneqss xmm2, xmm0
andps xmm1, xmm2
movss xmm3, dword [0x101a7280]
andnps xmm2, xmm3
orps xmm2, xmm1
movss xmm7, dword [esi + 0x4c]
divss xmm7, xmm2
movss xmm5, dword [esi + 0x48]
divss xmm5, xmm2
movaps xmm3, xmmword [esi + 0xb0]
divss xmm3, xmm2
movss xmm1, dword [esi + 0x1c]
mulss xmm1, xmm0
movss xmm2, dword [0x101af354]
mulss xmm2, xmm4
movss xmm6, dword [esi + 0x20]
mulss xmm0, xmm6
addss xmm0, xmm2
movaps xmm2, xmm4
subss xmm2, xmm1
subss xmm1, xmm6
mulss xmm2, xmm5
mulss xmm1, xmm7
addss xmm1, xmm2
mulss xmm0, xmm3
addss xmm0, xmm1
mulss xmm5, xmm6
mulss xmm7, xmm4
addss xmm7, xmm5
mulss xmm3, dword [esi + 0x1c]
addss xmm3, xmm7
movaps xmm1, xmmword [0x101a87e0]
xorps xmm0, xmm1
movaps xmm2, xmmword [esi + 0x30]
mulss xmm0, xmm2
xorps xmm3, xmm1
mulss xmm3, xmm2
xorps xmm1, xmm1
cvtss2sd xmm1, xmm3
cvtss2sd xmm0, xmm0
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
fstp dword [esi + 0x50]
movss xmm0, dword [esi + 0x50]
addss xmm0, dword [0x101af358]
mulss xmm0, dword [0x101b0ee8]
mulss xmm0, dword [0x101b073c]
cvtss2sd xmm0, xmm0
movsd qword [esi + 0x20], xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esi + 0x68]
movsd xmm0, qword [esi + 0x20]
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esi + 0x60]
xorps xmm0, xmm0
movups xmmword [esi + 0x98], xmm0
movups xmmword [esi + 0x88], xmm0
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 0
movsd xmm0, qword [esi + 0x60]
movhpd xmm0, qword [esi + 0x68]
cvtpd2ps xmm0, xmm0
movaps xmm3, xmmword [esi + 0x30]
movaps xmm1, xmm3
movsd xmm2, qword [ebx + 8]
mulps xmm2, xmmword [0x101a8710]
movaps xmm7, xmmword [0x101a87e0]
xorps xmm1, xmm7
unpcklps xmm3, xmm1
mulps xmm3, xmm0
addps xmm3, xmm2
cvttps2dq xmm1, xmm3
cvtdq2ps xmm3, xmm1
movss xmm1, dword [0x101afa68]
addss xmm1, xmm3
movss xmm2, dword [0x101a8fa4]
addss xmm2, xmm3
movaps xmm4, xmm3
subss xmm4, xmm3
unpcklps xmm4, xmm4
movaps xmm5, xmm0
shufps xmm5, xmm0, 0xe1
mulps xmm4, xmm5
addps xmm4, xmm3
subss xmm1, xmm3
unpcklps xmm1, xmm1
mulps xmm1, xmm5
addps xmm1, xmm3
subss xmm2, xmm3
unpcklps xmm2, xmm2
mulps xmm2, xmm5
addps xmm2, xmm3
shufps xmm3, xmm3, 0x55
movss xmm5, dword [0x101a8d70]
addss xmm5, xmm3
subss xmm5, xmm3
subss xmm3, xmm3
movaps xmm6, xmm3
xorps xmm6, xmm7
unpcklps xmm6, xmm3
mulps xmm6, xmm0
addps xmm6, xmm4
movlps qword [esi + 0x80], xmm6
movaps xmm3, xmm7
xorps xmm3, xmm5
unpcklps xmm3, xmm5
mulps xmm3, xmm0
addps xmm1, xmm3
movlps qword [esi + 0x90], xmm1
addps xmm2, xmm3
movlps qword [esi + 0xa0], xmm2
mov eax, dword [0x10259d54]
movss xmm0, dword [0x101a7294]
movss xmm3, dword [eax + 0x264]
mulss xmm3, xmm0
movss xmm2, dword [eax + 0x268]
mulss xmm2, xmm0
movss xmm1, dword [eax + 0x26c]
mulss xmm1, xmm0
mulss xmm0, dword [eax + 0x270]
cmp byte [0x1025f7c0], 1
jne 0x100f855a
mov eax, dword [0x1025f7bc]
cvttss2si ecx, xmm3
movzx edx, cl
cvttss2si ecx, xmm2
movzx ecx, cl
shl ecx, 8
cvttss2si ebx, xmm1
or ecx, edx
movzx edx, bl
shl edx, 0x10
or edx, ecx
cvttss2si edi, xmm0
shl edi, 0x18
or edi, edx
mov ecx, dword [0x10259ddc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
mov dword [esi + 0xd8], 0xffffffff
mov dword [esp], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0x101b0e54
call edx
sub esp, 0x10
mov ecx, dword [0x10259ddc]
mov eax, dword [ecx]
mov dword [esp], edi
call dword [eax + 0x38]
sub esp, 4
mov ecx, dword [0x10259ddc]
mov eax, dword [0x1025f7bc]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x98]
sub esp, 4
mov ecx, dword [0x10259ddc]
mov eax, dword [ecx]
lea edx, [esi + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp], 3
call dword [eax + 0x1a8]
sub esp, 0xc
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mulss xmm2, dword [eax + 0x14]
mulss xmm1, dword [eax + 0x10]
addss xmm1, xmm2
mulss xmm0, dword [eax + 0x18]
addss xmm0, xmm1
addss xmm0, dword [eax + 0x1c]
divss xmm0, xmm3
movss xmm1, dword [edi + 0xc]
mulss xmm0, xmm1
unpcklps xmm5, xmm1
movss xmm2, dword [0x101a72c0]
mulss xmm1, xmm2
mulss xmm0, xmm2
subss xmm1, xmm0
addps xmm5, xmmword [esi + 0x20]
unpcklps xmm4, xmm1
cmpnleps xmm4, xmm5
unpcklps xmm4, xmm4
movmskpd eax, xmm4
test al, 1
jne 0x100f7f5b
movaps xmm0, xmmword [esi + 0x20]
shufps xmm0, xmm0, 0x55
xorps xmm0, xmmword [0x101a87e0]
ucomiss xmm1, xmm0
jb 0x100f7f5b
shr al, 1
je 0x100f8472
jmp 0x100f7f5b
movsd qword [esp], xmm2
movsd qword [esi + 0x20], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp st(0)
movsd xmm2, qword [esi + 0x20]
jmp 0x100f7f98
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esi + 0x30], xmm0
movsd qword [esp], xmm0
movss dword [esi + 0x18], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp st(0)
movsd xmm0, qword [esi + 0x30]
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp st(0)
movss xmm1, dword [esi + 0x18]
jmp 0x100f8024
movss dword [esi + 0x18], xmm3
movss dword [esi + 0x30], xmm2
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
mov byte [0x1025f7c0], 1
mov ecx, dword [0x10259ddc]
mov eax, dword [ecx]
mov eax, dword [eax + 0xac]
mov dword [esi + 0xd8], 0
mov dword [esp], 1
call eax
sub esp, 4
mov dword [0x1025f7bc], eax
movss xmm0, dword [esi + 0x20]
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x30]
movss xmm3, dword [esi + 0x18]
jmp 0x100f83be