Function at 0x140067010
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, 0xc8
mov rax, qword [0x1407df338]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0xd8]
jae 0x14006705a
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jne 0x140067066
mov eax, dword [rsp + 0xe0]
jmp 0x140067670
movss xmm0, dword [rsp + 0xd8]
comiss xmm0, dword [0x1401bf61c]
jb 0x140067084
mov eax, dword [rsp + 0xe8]
jmp 0x140067670
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14006755b
cvtsi2ss xmm0, dword [rsp + 0xe0]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xf8]
comiss xmm1, xmm0
jbe 0x140067106
cvtsi2ss xmm0, dword [rsp + 0xe0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400670e9
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0x38], xmm0
jmp 0x1400670f8
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
jmp 0x140067115
cvtsi2ss xmm0, dword [rsp + 0xe0]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0xac], xmm0
cvtsi2ss xmm0, dword [rsp + 0xe8]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xf8]
comiss xmm1, xmm0
jbe 0x14006718e
cvtsi2ss xmm0, dword [rsp + 0xe8]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140067171
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0x40], xmm0
jmp 0x140067180
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x14006719d
cvtsi2ss xmm0, dword [rsp + 0xe8]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0xa8], xmm0
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0xe8], eax
jge 0x1400671c3
mov byte [rsp + 0x20], 1
jmp 0x1400671c8
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006720a
movss xmm0, dword [rsp + 0xac]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0xac], xmm0
movss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0xa8], xmm0
cvtsi2ss xmm0, dword [rsp + 0xe8]
ucomiss xmm0, dword [0x1401c3b54]
jp 0x140067248
jne 0x140067248
cvtsi2ss xmm0, dword [rsp + 0xe0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140067248
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0xa8], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006726a
movss xmm0, dword [0x1401bf61c]
subss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x48], xmm0
jmp 0x140067279
movss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0xe0]
imul eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, eax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006745a
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jge 0x1400672c1
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x4c], eax
jmp 0x1400672cc
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
cvtsi2ss xmm0, dword [rsp + 0x4c]
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0x58], xmm0
cvtsi2ss xmm1, dword [rsp + 0xe0]
cvtsi2ss xmm2, dword [rsp + 0xe8]
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 + 0x58]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rsp + 0x100]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [rsp + 0x100]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x2c]
comiss xmm0, dword [rsp + 0x50]
jb 0x14006736c
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x2c]
jb 0x14006736c
mov dword [rsp + 0x24], 0
jmp 0x140067455
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x2c]
jbe 0x1400673ec
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x50]
movss xmm1, dword [0x1401bf61c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0xac]
xorps xmm0, xmmword [0x1401c3c50]
divss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [rsp + 0x60]
movss xmm0, dword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss xmm1, dword [rsp + 0xf8]
mulss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x1401c3c50]
cvttss2si eax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067455
movss xmm0, dword [0x1401bf61c]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x2c]
subss xmm1, dword [rsp + 0x34]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0xa8]
divss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rsp + 0x70]
movss xmm0, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss xmm1, dword [rsp + 0xf8]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067556
cvtsi2ss xmm0, dword [rsp + 0xe0]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x140067480
cvtsi2ss xmm0, dword [rsp + 0xe8]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140067503
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1401c3c50]
movss xmm1, dword [rsp + 0xac]
xorps xmm1, xmmword [0x1401c3c50]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [0x1401bf61c]
subss xmm0, dword [rsp + 0x2c]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1401c3c50]
mulss xmm0, dword [rsp + 0x88]
xorps xmm0, xmmword [0x1401c3c50]
cvttss2si eax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067556
movss xmm0, dword [rsp + 0xa8]
divss xmm0, dword [rsp + 0xac]
movss dword [rsp + 0x90], xmm0
movss xmm1, dword [rsp + 0x2c]
movss xmm0, dword [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0x98], xmm0
movss xmm0, dword [rsp + 0xac]
mulss xmm0, dword [rsp + 0x98]
cvttss2si eax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14006766c
cmp dword [rsp + 0xd0], 8
je 0x140067576
cmp dword [rsp + 0xd0], 9
je 0x140067576
mov byte [rsp + 0x22], 0
jmp 0x14006757b
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400675c9
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [rsp + 0xd8]
cvtsi2ss xmm1, dword [rsp + 0xe0]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14006766c
cvtss2sd xmm0, dword [rsp + 0xd8]
movsd xmm1, qword [0x1401d6e18]
comisd xmm1, xmm0
jbe 0x14006766c
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x9c], xmm0
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jle 0x14006762f
movsd xmm0, qword [0x1401dc670]
movsd qword [rsp + 0xa0], xmm0
jmp 0x140067640
movsd xmm0, qword [0x1401dc640]
movsd qword [rsp + 0xa0], xmm0
cvtsd2ss xmm0, qword [rsp + 0xa0]
movss xmm1, dword [rsp + 0x9c]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov ecx, dword [rsp + 0xe0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401b6900
add rsp, 0xc8
ret