Function at 0x140016df0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14014ce80]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov rdx, qword [rcx]
mov rsi, rbx
sub rsi, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r8, 0xfffffffffffffff
cmp rax, r8
je 0x140017086
lea r12, [rax + 1]
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r8
sub rax, rdx
cmp rcx, rax
ja 0x140017080
lea rax, [rdx + rcx]
mov rcx, r12
cmp rax, r12
cmovae rcx, rax
cmp rcx, r8
ja 0x140017080
mov r13, rcx
shl r13, 4
mov qword [rsp + 0x48], rcx
test r13, r13
jne 0x140016ea0
xor edi, edi
mov qword [rsp + 0x48], rcx
jmp 0x140016edd
cmp r13, 0x1000
jb 0x140016ed2
lea rcx, [r13 + 0x27]
cmp rcx, r13
jbe 0x140017080
call fcn.1400f01f0
test rax, rax
je 0x140017079
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140016edd
mov rcx, r13
call fcn.1400f01f0
mov rdi, rax
mov qword [rsp + 0x40], rdi
and rsi, 0xfffffffffffffff0
lea rax, [rsi + rdi]
mov qword [rsp + 0x30], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x38], rcx
mov ecx, 8
call fcn.1400f01f0
mov r9, rax
test r9, r9
je 0x140016f15
mov rax, qword [r15]
mov qword [r9], rax
mov qword [rsp + 0x60], r9
mov r15, qword [rsp + 0x30]
add r15, 8
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0
lea r8, [0x140018c50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
test rax, rax
je 0x14001708c
mov qword [rsp + 0x38], rcx
mov rdx, qword [r14 + 8]
mov rax, qword [r14]
cmp rbx, rdx
jne 0x140016f88
cmp rax, rdx
je 0x140016fd7
mov rcx, rdi
sub rcx, rax
nop
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x140016f70
jmp 0x140016fd7
cmp rax, rbx
je 0x140016fa9
mov rcx, rdi
sub rcx, rax
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rbx
jne 0x140016f93
mov qword [rsp + 0x38], rdi
mov rax, qword [r14 + 8]
cmp rbx, rax
je 0x140016fd7
sub rsi, rbx
add rsi, rdi
nop dword [rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [rsi + rbx + 0x10], xmm1
add rbx, 0x10
cmp rbx, rax
jne 0x140016fc0
mov rcx, qword [r14]
test rcx, rcx
je 0x140017030
mov rdx, qword [r14 + 8]
mov rax, rcx
cmp rcx, rdx
je 0x140016fff
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x140017072
add rax, 0x10
cmp rax, rdx
jne 0x140016ff0
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14001702b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017079
mov rcx, r8
call fcn.1400f022c
mov qword [r14], rdi
shl r12, 4
add r12, rdi
mov qword [r14 + 8], r12
lea rcx, [rdi + r13]
mov qword [r14 + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400f0340
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075b0
int3
call fcn.140041ca0
nop
mov dword [r15], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3