Function at 0x1800368f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x180051010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x58], r8
mov rbx, rdx
mov r15, rdx
mov rdx, qword [0x18005c110]
sub r15, rdx
mov rax, qword [0x18005c118]
sub rax, rdx
sar rax, 4
movabs r8, 0xfffffffffffffff
cmp rax, r8
je 0x180036bd9
lea r12, [rax + 1]
mov rcx, qword [0x18005c120]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r8
sub rax, rdx
cmp rcx, rax
ja 0x180036bd3
lea rax, [rdx + rcx]
mov rsi, r12
cmp rax, r12
cmovae rsi, rax
cmp rsi, r8
ja 0x180036bd3
mov r14, rsi
shl r14, 4
mov qword [rsp + 0x38], rsi
cmp r14, 0x1000
jb 0x1800369cd
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x180036bd3
call fcn.18003e9b0
test rax, rax
je 0x180036bb9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800369f0
test r14, r14
je 0x1800369e9
mov rcx, r14
call fcn.18003e9b0
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
jmp 0x1800369f5
xor edi, edi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
and r15, 0xfffffffffffffff0
lea r13, [r15 + rdi]
lea rsi, [r13 + 0x10]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], rsi
mov ecx, 0x10
call fcn.18003e9b0
mov r9, rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov dword [r9], eax
mov rax, qword [rsp + 0x58]
mov qword [r9 + 8], rax
mov qword [rsp + 0x58], r9
lea r15, [r13 + 8]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0
lea r8, [0x180038010]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r13], rax
test rax, rax
je 0x180036bc0
mov qword [rsp + 0x30], r13
mov rdx, qword [0x18005c118]
mov rcx, qword [0x18005c110]
mov rax, rdi
cmp rbx, rdx
jne 0x180036aab
cmp rcx, rdx
je 0x180036b14
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rcx], xmm0
movups xmmword [rax], xmm1
lea rax, [rax + 0x10]
add rcx, 0x10
cmp rcx, rdx
jne 0x180036a90
jmp 0x180036b06
cmp rcx, rbx
je 0x180036ad7
xorps xmm0, xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rcx], xmm0
movups xmmword [rax], xmm1
lea rax, [rax + 0x10]
add rcx, 0x10
cmp rcx, rbx
jne 0x180036ab0
mov rdx, qword [0x18005c118]
mov rcx, qword [0x18005c110]
mov qword [rsp + 0x30], rdi
cmp rbx, rdx
je 0x180036b14
sub rsi, rbx
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [rsi + rbx], xmm1
add rbx, 0x10
cmp rbx, rdx
jne 0x180036af0
mov rcx, qword [0x18005c110]
mov rdx, qword [0x18005c118]
test rcx, rcx
je 0x180036b68
mov rax, rcx
cmp rcx, rdx
je 0x180036b34
cmp dword [rax + 8], 0
jne 0x180036bb2
add rax, 0x10
cmp rax, rdx
jne 0x180036b21
mov rdx, qword [0x18005c120]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x180036b63
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180036bb9
mov rcx, r8
call fcn.18003e9ec
mov qword [0x18005c110], rdi
shl r12, 4
add r12, rdi
mov qword [0x18005c118], r12
lea rcx, [r14 + rdi]
mov qword [0x18005c120], rcx
mov rax, r13
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18003e990
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
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 [r15], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.180002f00
int3
call fcn.1800358f0
int3