Function at 0x14006b8e0
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 [0x1406a2180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0xd8]
jae 0x14006b92a
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jne 0x14006b936
mov eax, dword [rsp + 0xe0]
jmp 0x14006bf75
movss xmm0, dword [rsp + 0xd8]
comiss xmm0, dword [0x1401c3578]
jb 0x14006b954
mov eax, dword [rsp + 0xe8]
jmp 0x14006bf75
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x14006be59
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 0x14006b9dc
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006b9bf
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c7f80]
movss dword [rsp + 0x38], xmm0
jmp 0x14006b9ce
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
jmp 0x14006b9ee
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 0x14006ba6d
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006ba50
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c7f80]
movss dword [rsp + 0x40], xmm0
jmp 0x14006ba5f
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x14006ba7f
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 0x14006baa5
mov byte [rsp + 0x20], 1
jmp 0x14006baaa
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006baec
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 [0x1401c7e9c]
jp 0x14006bb30
jne 0x14006bb30
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006bb30
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401c7f80]
movss dword [rsp + 0xa8], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006bb52
movss xmm0, dword [0x1401c3578]
subss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x48], xmm0
jmp 0x14006bb61
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 0x14006bd50
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jae 0x14006bbac
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x4c], eax
jmp 0x14006bbb7
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1401c7f80]
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 0x14006bc60
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x2c]
jb 0x14006bc60
mov dword [rsp + 0x24], 0
jmp 0x14006bd4b
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x2c]
jbe 0x14006bce1
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x50]
movss xmm1, dword [0x1401c3578]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0xac]
xorps xmm0, xmmword [0x1401c7f80]
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 [0x1401c7f80]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14006bd4b
movss xmm0, dword [0x1401c3578]
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 0x14006be54
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x14006bd7c
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006be00
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1401c7f80]
movss xmm1, dword [rsp + 0xac]
xorps xmm1, xmmword [0x1401c7f80]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [0x1401c3578]
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 [0x1401c7f80]
mulss xmm0, dword [rsp + 0x88]
xorps xmm0, xmmword [0x1401c7f80]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14006be54
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 0x14006bf71
cmp dword [rsp + 0xd0], 8
je 0x14006be74
cmp dword [rsp + 0xd0], 9
je 0x14006be74
mov byte [rsp + 0x22], 0
jmp 0x14006be79
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14006bece
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 0x14006bf71
cvtss2sd xmm0, dword [rsp + 0xd8]
movsd xmm1, qword [0x1401cd6d0]
comisd xmm1, xmm0
jbe 0x14006bf71
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 0x14006bf34
movsd xmm0, qword [0x1401cd720]
movsd qword [rsp + 0xa0], xmm0
jmp 0x14006bf45
movsd xmm0, qword [0x1401cd6c8]
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.1401ba160
add rsp, 0xc8
ret