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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
movss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0xb8
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0xc8]
jae 0x14008c738
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0xd0], eax
jne 0x14008c744
mov eax, dword [rsp + 0xd0]
jmp 0x14008cd54
movss xmm0, dword [rsp + 0xc8]
comiss xmm0, dword [0x140116c6c]
jb 0x14008c762
mov eax, dword [rsp + 0xd8]
jmp 0x14008cd54
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x14008cc38
mov eax, dword [rsp + 0xd0]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xe8]
comiss xmm1, xmm0
jbe 0x14008c7ea
mov eax, dword [rsp + 0xd0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14008c7cd
movss xmm0, dword [rsp + 0xe8]
xorps xmm0, xmmword [0x140116ca0]
movss dword [rsp + 0x40], xmm0
jmp 0x14008c7dc
movss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x14008c7fc
mov eax, dword [rsp + 0xd0]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x34], xmm0
mov eax, dword [rsp + 0xd8]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xe8]
comiss xmm1, xmm0
jbe 0x14008c878
mov eax, dword [rsp + 0xd8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14008c85b
movss xmm0, dword [rsp + 0xe8]
xorps xmm0, xmmword [0x140116ca0]
movss dword [rsp + 0x48], xmm0
jmp 0x14008c86a
movss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x4c], xmm0
jmp 0x14008c88a
mov eax, dword [rsp + 0xd8]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0xd8], eax
jae 0x14008c8ad
mov byte [rsp + 0x20], 1
jmp 0x14008c8b2
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14008c8e8
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0xd8]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x14011d3b4]
jp 0x14008c929
jne 0x14008c929
mov eax, dword [rsp + 0xd0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14008c929
movss xmm0, dword [rsp + 0xe8]
xorps xmm0, xmmword [0x140116ca0]
movss dword [rsp + 0x2c], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14008c94b
movss xmm0, dword [0x140116c6c]
subss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0x50], xmm0
jmp 0x14008c95a
movss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0xd0]
imul eax, dword [rsp + 0xd8]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14008cb47
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0xd0], eax
jae 0x14008c9a5
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x54], eax
jmp 0x14008c9b0
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x140116ca0]
movss dword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0xd0]
cvtsi2ss xmm1, rax
mov eax, dword [rsp + 0xd8]
cvtsi2ss xmm2, rax
subss xmm2, xmm1
movaps xmm1, xmm2
cvtss2sd xmm1, xmm1
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0x60]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0xf0]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0xf0]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x58]
jb 0x14008ca59
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x30]
jb 0x14008ca59
mov dword [rsp + 0x24], 0
jmp 0x14008cb42
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rsp + 0x30]
jbe 0x14008cad6
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [rsp + 0x58]
movss xmm1, dword [0x140116c6c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x34]
xorps xmm0, xmmword [0x140116ca0]
divss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [rsp + 0x68]
movss xmm0, dword [rsp + 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movss xmm1, dword [rsp + 0xe8]
mulss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x140116ca0]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14008cb42
movss xmm0, dword [0x140116c6c]
subss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x30]
subss xmm1, dword [rsp + 0x3c]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x80], xmm0
movss xmm1, dword [rsp + 0x78]
movss xmm0, dword [rsp + 0x80]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movss xmm1, dword [rsp + 0xe8]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14008cc33
mov eax, dword [rsp + 0xd0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x14008cb6f
mov eax, dword [rsp + 0xd8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14008cbe9
movss xmm0, dword [rsp + 0x2c]
xorps xmm0, xmmword [0x140116ca0]
movss xmm1, dword [rsp + 0x34]
xorps xmm1, xmmword [0x140116ca0]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [0x140116c6c]
subss xmm0, dword [rsp + 0x30]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x2c]
xorps xmm0, xmmword [0x140116ca0]
mulss xmm0, dword [rsp + 0x90]
xorps xmm0, xmmword [0x140116ca0]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14008cc33
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x98], xmm0
movss xmm1, dword [rsp + 0x30]
movss xmm0, dword [rsp + 0x98]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movss dword [rsp + 0xa0], xmm0
movss xmm0, dword [rsp + 0x34]
mulss xmm0, dword [rsp + 0xa0]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14008cd50
cmp dword [rsp + 0xc0], 8
je 0x14008cc53
cmp dword [rsp + 0xc0], 9
je 0x14008cc53
mov byte [rsp + 0x22], 0
jmp 0x14008cc58
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14008ccad
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0xd8]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm0, rax
mulss xmm0, dword [rsp + 0xc8]
mov eax, dword [rsp + 0xd0]
cvtsi2ss xmm1, rax
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14008cd50
cvtss2sd xmm0, dword [rsp + 0xc8]
movsd xmm1, qword [0x14011de58]
comisd xmm1, xmm0
jbe 0x14008cd50
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0xd8]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0xa4], xmm0
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0xd0], eax
jbe 0x14008cd13
movsd xmm0, qword [0x14011deb0]
movsd qword [rsp + 0xa8], xmm0
jmp 0x14008cd24
movsd xmm0, qword [0x14011de50]
movsd qword [rsp + 0xa8], xmm0
cvtsd2ss xmm0, qword [rsp + 0xa8]
movss xmm1, dword [rsp + 0xa4]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov ecx, dword [rsp + 0xd0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0xb8
ret