Function at 0x140067690
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 0x1400676da
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jne 0x1400676e6
mov eax, dword [rsp + 0xe0]
jmp 0x140067d25
movss xmm0, dword [rsp + 0xd8]
comiss xmm0, dword [0x1401bf61c]
jb 0x140067704
mov eax, dword [rsp + 0xe8]
jmp 0x140067d25
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x140067c09
mov eax, dword [rsp + 0xe0]
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 + 0xf8]
comiss xmm1, xmm0
jbe 0x14006778c
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006776f
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0x38], xmm0
jmp 0x14006777e
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
jmp 0x14006779e
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0xac], xmm0
mov eax, dword [rsp + 0xe8]
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 + 0xf8]
comiss xmm1, xmm0
jbe 0x14006781d
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140067800
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0x40], xmm0
jmp 0x14006780f
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x14006782f
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
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
jae 0x140067855
mov byte [rsp + 0x20], 1
jmp 0x14006785a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006789c
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
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1401c3b54]
jp 0x1400678e0
jne 0x1400678e0
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400678e0
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0xa8], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140067902
movss xmm0, dword [0x1401bf61c]
subss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x48], xmm0
jmp 0x140067911
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]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140067b00
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jae 0x14006795c
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x4c], eax
jmp 0x140067967
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1401c3c50]
movss dword [rsp + 0x58], xmm0
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm1, rax
mov eax, dword [rsp + 0xe8]
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 + 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 0x140067a10
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x2c]
jb 0x140067a10
mov dword [rsp + 0x24], 0
jmp 0x140067afb
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x2c]
jbe 0x140067a91
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 rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067afb
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 rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067c04
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x140067b2c
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140067bb0
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 rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067c04
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 rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067d21
cmp dword [rsp + 0xd0], 8
je 0x140067c24
cmp dword [rsp + 0xd0], 9
je 0x140067c24
mov byte [rsp + 0x22], 0
jmp 0x140067c29
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x140067c7e
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm0, rax
mulss xmm0, dword [rsp + 0xd8]
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm1, rax
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x140067d21
cvtss2sd xmm0, dword [rsp + 0xd8]
movsd xmm1, qword [0x1401d6e18]
comisd xmm1, xmm0
jbe 0x140067d21
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
jbe 0x140067ce4
movsd xmm0, qword [0x1401dc670]
movsd qword [rsp + 0xa0], xmm0
jmp 0x140067cf5
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