Function at 0x180017090
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, 0x80
mov rax, qword [0x1801aa0c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], r9
mov rdi, rdx
mov r14, rcx
mov r13, qword [rsp + 0xd0]
mov rdx, qword [rcx]
mov rbx, rdi
sub rbx, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r9, 0xfffffffffffffff
cmp rax, r9
je 0x180017394
lea r8, [rax + 1]
mov qword [rsp + 0x58], 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 0x18001738e
lea rax, [rdx + rcx]
mov rcx, r8
cmp rax, r8
cmovae rcx, rax
cmp rcx, r9
ja 0x18001738e
mov r12, rcx
shl r12, 4
mov qword [rsp + 0x48], rcx
test r12, r12
jne 0x18001714d
xor esi, esi
mov qword [rsp + 0x48], rcx
jmp 0x18001718b
cmp r12, 0x1000
jb 0x180017180
lea rcx, [r12 + 0x27]
cmp rcx, r12
jbe 0x18001738e
call fcn.18011b698
test rax, rax
je 0x180017373
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x18001718b
mov rcx, r12
call fcn.18011b698
mov rsi, rax
mov qword [rsp + 0x38], rsi
and rbx, 0xfffffffffffffff0
lea rax, [rbx + rsi]
mov qword [rsp + 0x40], rax
lea r15, [rax + 0x10]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x30], r15
mov ecx, 0x40
call fcn.18011b698
mov rbx, rax
mov qword [rsp + 0x68], 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
lea rcx, [rbx + 0x10]
mov rdx, r13
call fcn.180014840
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rbx + 0x30], eax
lea rax, [0x180009990]
mov qword [rbx + 0x38], rax
mov qword [rsp + 0x68], rbx
mov r13, qword [rsp + 0x40]
add r13, 8
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x180018640]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rbx, qword [rsp + 0x40]
mov qword [rbx], rax
test rax, rax
je 0x18001737a
mov qword [rsp + 0x30], rbx
mov rdx, qword [r14 + 8]
mov rax, qword [r14]
cmp rdi, rdx
jne 0x180017278
cmp rax, rdx
je 0x1800172c7
mov rcx, rsi
sub rcx, rax
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rax + rcx], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x180017260
jmp 0x1800172c7
cmp rax, rdi
je 0x180017299
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, rdi
jne 0x180017283
mov qword [rsp + 0x30], rsi
mov rax, qword [r14 + 8]
cmp rdi, rax
je 0x1800172c7
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 0x1800172b0
mov rcx, qword [r14]
test rcx, rcx
je 0x180017324
mov rdx, qword [r14 + 8]
mov rax, rcx
cmp rcx, rdx
je 0x1800172f3
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x18001736c
add rax, 0x10
cmp rax, rdx
jne 0x1800172e0
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x18001731f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180017373
mov rcx, r8
call fcn.18011b690
mov qword [r14], rsi
mov rax, qword [rsp + 0x58]
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 + 0x70]
xor rcx, rsp
call fcn.18011b670
lea r11, [rsp + 0x80]
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]
nop
mov dword [r13], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.180006ba0
int3
call fcn.180017070
int3