Function at 0x140018f10
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r8
mov rsi, rdx
mov r13, qword [rcx]
mov r12, qword [rcx + 8]
sub r12, r13
sar r12, 4
inc r12
mov qword [rbp - 0x18], rcx
mov rax, qword [rcx + 0x10]
sub rax, r13
sar rax, 4
mov r8, rax
shr r8, 1
movabs rcx, 0xfffffffffffffff
mov rdx, rcx
sub rdx, r8
add r8, rax
cmp r8, r12
cmovbe r8, r12
cmp rax, rdx
cmova r8, rcx
mov rax, r8
shr rax, 0x3c
jne 0x1400191b1
mov r15, r9
mov rdi, r8
shl rdi, 4
cmp r8, 0x100
mov qword [rbp - 0x28], r8
jb 0x140018fc8
movabs rax, 0xffffffffffffffe
cmp r8, rax
jae 0x1400191b1
lea rcx, [rdi + 0x27]
call fcn.140029184
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140018fdc
test r8, r8
je 0x140018fda
mov rcx, rdi
call fcn.140029184
mov rcx, rax
jmp 0x140018fdc
xor ecx, ecx
mov qword [rbp - 8], rcx
mov rbx, rsi
sub rbx, r13
sar rbx, 4
shl rbx, 4
lea rax, [rcx + rbx]
add rax, 0x10
mov qword [rbp - 0x10], rax
mov ecx, 0x20
call fcn.140029184
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
add rbx, qword [rbp - 8]
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
mov rcx, qword [r15]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], r14
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0
lea r8, [0x140025000]
xor ecx, ecx
xor edx, edx
mov qword [rbp - 0x20], rax
mov r9, rax
call fcn.14002ed08
mov qword [rbx], rax
test rax, rax
je 0x1400191b6
mov r14, qword [rbp - 0x18]
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
cmp rcx, rsi
mov r8, qword [rbp - 8]
mov r9, qword [rbp - 0x10]
je 0x1400190ee
cmp rax, rsi
je 0x1400190b0
xor ecx, ecx
nop dword [rax + rax]
vmovups xmm0, xmmword [rax + rcx]
vmovups xmmword [r8 + rcx], xmm0
mov qword [rax + rcx], 0
mov dword [rax + rcx + 8], 0
lea rdx, [rax + rcx]
add rdx, 0x10
add rcx, 0x10
cmp rdx, rsi
jne 0x140019080
mov rcx, qword [r14 + 8]
cmp rcx, rsi
je 0x14001912c
xor eax, eax
nop word [rax + rax]
vmovups xmm0, xmmword [rsi + rax]
vmovups xmmword [r9 + rax], xmm0
mov qword [rsi + rax], 0
mov dword [rsi + rax + 8], 0
lea rdx, [rsi + rax]
add rdx, 0x10
add rax, 0x10
cmp rdx, rcx
jne 0x1400190c0
jmp 0x14001912c
cmp rax, rsi
je 0x14001912f
xor ecx, ecx
nop word cs:[rax + rax]
vmovups xmm0, xmmword [rax + rcx]
vmovups xmmword [r8 + rcx], xmm0
mov qword [rax + rcx], 0
mov dword [rax + rcx + 8], 0
lea rdx, [rax + rcx]
add rdx, 0x10
add rcx, 0x10
cmp rdx, rsi
jne 0x140019100
mov rsi, qword [r14]
test rsi, rsi
je 0x140019183
mov rax, qword [r14 + 8]
cmp rsi, rax
je 0x14001914f
mov rcx, rsi
cmp dword [rcx + 8], 0
jne 0x1400191ac
add rcx, 0x10
cmp rcx, rax
jne 0x140019140
mov rdx, qword [r14 + 0x10]
sub rdx, rsi
cmp rdx, 0x1000
jb 0x140019177
mov rax, qword [rsi - 8]
add rsi, 0xfffffffffffffff8
sub rsi, rax
cmp rsi, 0x20
jae 0x1400191c7
add rdx, 0x27
mov rsi, rax
mov rcx, rsi
call fcn.140029214
mov r8, qword [rbp - 8]
mov qword [r14], r8
shl r12, 4
add r12, r8
mov qword [r14 + 8], r12
add rdi, r8
mov qword [r14 + 0x10], rdi
mov rax, rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14003b280
call fcn.140017630
mov dword [r14], 0
mov ecx, 6
call fcn.140026468
call fcn.140031a58
int3