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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
movss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0x108
mov rax, qword [0x1406a2180]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x118]
jae 0x14006d45c
mov rax, qword [rsp + 0x128]
cmp qword [rsp + 0x120], rax
jne 0x14006d469
mov rax, qword [rsp + 0x120]
jmp 0x14006de39
movss xmm0, dword [rsp + 0x118]
comiss xmm0, dword [0x1401c3578]
jb 0x14006d488
mov rax, qword [rsp + 0x128]
jmp 0x14006de39
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x130]
test eax, eax
je 0x14006dca5
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x120]
test rax, rax
jl 0x14006d4c4
cvtsi2sd xmm1, rax
jmp 0x14006d4dd
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm2, rcx
addsd xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
movsd xmm1, qword [rsp + 0x70]
comisd xmm1, xmm0
jbe 0x14006d55b
mov rax, qword [rsp + 0x120]
test rax, rax
jl 0x14006d505
cvtsi2ss xmm0, rax
jmp 0x14006d51e
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006d53e
movss xmm0, dword [rsp + 0x138]
xorps xmm0, xmmword [0x1401c7f80]
movss dword [rsp + 0x38], xmm0
jmp 0x14006d54d
movss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x38], xmm0
cvtss2sd xmm0, dword [rsp + 0x38]
movsd qword [rsp + 0x60], xmm0
jmp 0x14006d58e
mov rax, qword [rsp + 0x120]
test rax, rax
jl 0x14006d56f
cvtsi2sd xmm0, rax
jmp 0x14006d588
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
movsd qword [rsp + 0x60], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rsp + 0xe8], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x128]
test rax, rax
jl 0x14006d5c0
cvtsi2sd xmm1, rax
jmp 0x14006d5d9
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm2, rcx
addsd xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
movsd xmm1, qword [rsp + 0x78]
comisd xmm1, xmm0
jbe 0x14006d657
mov rax, qword [rsp + 0x128]
test rax, rax
jl 0x14006d601
cvtsi2ss xmm0, rax
jmp 0x14006d61a
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006d63a
movss xmm0, dword [rsp + 0x138]
xorps xmm0, xmmword [0x1401c7f80]
movss dword [rsp + 0x3c], xmm0
jmp 0x14006d649
movss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x3c], xmm0
cvtss2sd xmm0, dword [rsp + 0x3c]
movsd qword [rsp + 0x68], xmm0
jmp 0x14006d68a
mov rax, qword [rsp + 0x128]
test rax, rax
jl 0x14006d66b
cvtsi2sd xmm0, rax
jmp 0x14006d684
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
movsd qword [rsp + 0x68], xmm0
movsd xmm0, qword [rsp + 0x68]
movsd qword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x120]
cmp qword [rsp + 0x128], rax
jae 0x14006d6b2
mov byte [rsp + 0x20], 1
jmp 0x14006d6b7
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006d6ff
movsd xmm0, qword [rsp + 0xe8]
movsd qword [rsp + 0x80], xmm0
movsd xmm0, qword [rsp + 0xe0]
movsd qword [rsp + 0xe8], xmm0
movsd xmm0, qword [rsp + 0x80]
movsd qword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x128]
test rax, rax
jl 0x14006d713
cvtsi2ss xmm0, rax
jmp 0x14006d72c
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
ucomiss xmm0, dword [0x1401c7e9c]
jp 0x14006d789
jne 0x14006d789
mov rax, qword [rsp + 0x120]
test rax, rax
jl 0x14006d74b
cvtsi2ss xmm0, rax
jmp 0x14006d764
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006d789
movss xmm0, dword [rsp + 0x138]
xorps xmm0, xmmword [0x1401c7f80]
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0xe0], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006d7ab
movss xmm0, dword [0x1401c3578]
subss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x40], xmm0
jmp 0x14006d7ba
movss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x120]
imul rax, qword [rsp + 0x128]
test rax, rax
jl 0x14006d7e3
cvtsi2ss xmm0, rax
jmp 0x14006d7fc
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006daee
mov rax, qword [rsp + 0x128]
cmp qword [rsp + 0x120], rax
jae 0x14006d829
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x50], rax
jmp 0x14006d836
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
test rax, rax
jl 0x14006d847
cvtsi2ss xmm0, rax
jmp 0x14006d860
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
xorps xmm0, xmmword [0x1401c7f80]
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x120]
test rax, rax
jl 0x14006d881
cvtsi2ss xmm1, rax
jmp 0x14006d89a
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm2
mov rax, qword [rsp + 0x128]
test rax, rax
jl 0x14006d8ae
cvtsi2ss xmm2, rax
jmp 0x14006d8c7
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm3, rcx
addss xmm3, xmm3
movaps xmm2, xmm3
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 + 0x48]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rsp + 0x140]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [rsp + 0x140]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x24]
comiss xmm0, dword [rsp + 0x44]
jb 0x14006d943
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x24]
jb 0x14006d943
mov qword [rsp + 0x28], 0
jmp 0x14006dae9
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x24]
jbe 0x14006da25
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rsp + 0x44]
movss xmm1, dword [0x1401c3578]
subss xmm1, xmm0
movaps xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0x88], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd xmm1, qword [rsp + 0xe8]
xorps xmm1, xmmword [0x1401cd740]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x90], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0x98], xmm0
movsd xmm1, qword [rsp + 0x88]
movsd xmm0, qword [rsp + 0x90]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rsp + 0x98]
mulsd xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x1401cd740]
xor eax, eax
comisd xmm0, xmmword [0x1401cd710]
jb 0x14006da10
subsd xmm0, qword [0x1401cd710]
comisd xmm0, xmmword [0x1401cd710]
jae 0x14006da10
movabs rcx, 0x8000000000000000
add rax, rcx
cvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14006dae9
movss xmm0, dword [0x1401c3578]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x24]
subss xmm1, dword [rsp + 0x34]
divss xmm1, xmm0
movaps xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0xa0], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd xmm1, qword [rsp + 0xe0]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xa8], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0xb0], xmm0
movsd xmm1, qword [rsp + 0xa0]
movsd xmm0, qword [rsp + 0xa8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rsp + 0xb0]
mulsd xmm1, xmm0
movaps xmm0, xmm1
xor eax, eax
comisd xmm0, xmmword [0x1401cd710]
jb 0x14006dad9
subsd xmm0, qword [0x1401cd710]
comisd xmm0, xmmword [0x1401cd710]
jae 0x14006dad9
movabs rcx, 0x8000000000000000
add rax, rcx
cvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14006dca0
mov rax, qword [rsp + 0x120]
test rax, rax
jl 0x14006db02
cvtsi2ss xmm0, rax
jmp 0x14006db1b
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x14006db5c
mov rax, qword [rsp + 0x128]
test rax, rax
jl 0x14006db37
cvtsi2ss xmm0, rax
jmp 0x14006db50
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14006dc18
movsd xmm0, qword [rsp + 0xe0]
xorps xmm0, xmmword [0x1401cd740]
movsd xmm1, qword [rsp + 0xe8]
xorps xmm1, xmmword [0x1401cd740]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xb8], xmm0
movss xmm0, dword [0x1401c3578]
subss xmm0, dword [rsp + 0x24]
cvtss2sd xmm0, xmm0
movaps xmm1, xmm0
movsd xmm0, qword [rsp + 0xb8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd qword [rsp + 0xc0], xmm0
movsd xmm0, qword [rsp + 0xe0]
xorps xmm0, xmmword [0x1401cd740]
mulsd xmm0, qword [rsp + 0xc0]
xorps xmm0, xmmword [0x1401cd740]
xor eax, eax
comisd xmm0, xmmword [0x1401cd710]
jb 0x14006dc03
subsd xmm0, qword [0x1401cd710]
comisd xmm0, xmmword [0x1401cd710]
jae 0x14006dc03
movabs rcx, 0x8000000000000000
add rax, rcx
cvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14006dca0
movsd xmm0, qword [rsp + 0xe0]
divsd xmm0, qword [rsp + 0xe8]
movsd qword [rsp + 0xc8], xmm0
cvtss2sd xmm0, dword [rsp + 0x24]
movaps xmm1, xmm0
movsd xmm0, qword [rsp + 0xc8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd qword [rsp + 0xd0], xmm0
movsd xmm0, qword [rsp + 0xe8]
mulsd xmm0, qword [rsp + 0xd0]
xor eax, eax
comisd xmm0, xmmword [0x1401cd710]
jb 0x14006dc90
subsd xmm0, qword [0x1401cd710]
comisd xmm0, xmmword [0x1401cd710]
jae 0x14006dc90
movabs rcx, 0x8000000000000000
add rax, rcx
cvttsd2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14006de34
cmp dword [rsp + 0x110], 8
je 0x14006dcc0
cmp dword [rsp + 0x110], 9
je 0x14006dcc0
mov byte [rsp + 0x22], 0
jmp 0x14006dcc5
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14006dd91
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
sub rcx, rax
mov rax, rcx
test rax, rax
jl 0x14006dcfd
cvtsi2ss xmm0, rax
jmp 0x14006dd16
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x118]
mov rax, qword [rsp + 0x120]
test rax, rax
jl 0x14006dd33
cvtsi2ss xmm1, rax
jmp 0x14006dd4c
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm1
xor eax, eax
comiss xmm0, dword [0x1401cd718]
jb 0x14006dd7c
subss xmm0, dword [0x1401cd718]
comiss xmm0, dword [0x1401cd718]
jae 0x14006dd7c
movabs rcx, 0x8000000000000000
add rax, rcx
cvttss2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14006de34
cvtss2sd xmm0, dword [rsp + 0x118]
movsd xmm1, qword [0x1401cd6d0]
comisd xmm1, xmm0
jbe 0x14006de34
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
mulss xmm0, dword [rsp + 0x118]
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0xd8], xmm0
mov rax, qword [rsp + 0x128]
cmp qword [rsp + 0x120], rax
jbe 0x14006ddff
movsd xmm0, qword [0x1401cd720]
movsd qword [rsp + 0x58], xmm0
jmp 0x14006de0d
movsd xmm0, qword [0x1401cd6c8]
movsd qword [rsp + 0x58], xmm0
movsd xmm0, qword [rsp + 0xd8]
addsd xmm0, qword [rsp + 0x58]
cvttsd2si rax, xmm0
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401ba160
add rsp, 0x108
ret