Function at 0x14001b240
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13, r9
mov rdi, rdx
mov r14, rcx
mov rdx, qword [rcx]
mov r15, rdi
sub r15, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r9, 0xfffffffffffffff
cmp rax, r9
je 0x14001b533
lea r8, [rax + 1]
mov qword [rsp + 0x50], r8
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r9
sub rax, rdx
cmp rcx, rax
ja 0x14001b52d
lea rax, [rdx + rcx]
mov rbx, r8
cmp rax, r8
cmovae rbx, rax
cmp rbx, r9
ja 0x14001b52d
mov r12, rbx
shl r12, 4
mov qword [rsp + 0x38], rbx
cmp r12, 0x1000
jb 0x14001b30e
lea rcx, [r12 + 0x27]
cmp rcx, r12
jbe 0x14001b52d
call fcn.140031ec0
test rax, rax
je 0x14001b512
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001b331
test r12, r12
je 0x14001b32a
mov rcx, r12
call fcn.140031ec0
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
jmp 0x14001b336
xor esi, esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rsi
and r15, 0xfffffffffffffff0
lea rax, [r15 + rsi]
mov qword [rsp + 0x48], rax
lea r15, [rax + 0x10]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x30], r15
mov ecx, 0x40
call fcn.140031ec0
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax]
mov qword [rbx + 8], rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
mov qword [rbx + 0x10], rcx
lea rcx, [rbx + 0x18]
mov rdx, r13
call fcn.14000e1f0
lea rax, [0x1400081b0]
mov qword [rbx + 0x38], rax
mov qword [rsp + 0x60], rbx
mov r13, qword [rsp + 0x48]
add r13, 8
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140022810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rbx, qword [rsp + 0x48]
mov qword [rbx], rax
test rax, rax
je 0x14001b519
mov qword [rsp + 0x30], rbx
mov rdx, qword [r14 + 8]
mov rax, qword [r14]
cmp rdi, rdx
jne 0x14001b41a
cmp rax, rdx
je 0x14001b477
mov rcx, rsi
sub rcx, rax
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x14001b402
jmp 0x14001b477
cmp rax, rdi
je 0x14001b446
mov rcx, rsi
sub rcx, rax
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rcx + rax], xmm1
add rax, 0x10
cmp rax, rdi
jne 0x14001b430
mov qword [rsp + 0x30], rsi
mov rax, qword [r14 + 8]
cmp rdi, rax
je 0x14001b477
sub r15, rdi
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rdi]
movups xmmword [rdi], xmm0
movups xmmword [r15 + rdi], xmm1
add rdi, 0x10
cmp rdi, rax
jne 0x14001b460
mov rcx, qword [r14]
test rcx, rcx
je 0x14001b4d0
mov rdx, qword [r14 + 8]
mov rax, rcx
cmp rcx, rdx
je 0x14001b49f
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x14001b50b
add rax, 0x10
cmp rax, rdx
jne 0x14001b490
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14001b4cb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001b512
mov rcx, r8
call fcn.1400323c0
mov qword [r14], rsi
mov rax, qword [rsp + 0x50]
shl rax, 4
add rax, rsi
mov qword [r14 + 8], rax
lea rcx, [r12 + rsi]
mov qword [r14 + 0x10], rcx
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140031b20
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
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]
nop
mov dword [r13], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001400
int3
call fcn.140011730
int3