Function at 0x1800356d0
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 [0x18004f010]
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 [0x18005a108]
sub r15, rdx
mov rax, qword [0x18005a110]
sub rax, rdx
sar rax, 4
movabs r8, 0xfffffffffffffff
cmp rax, r8
je 0x1800359b9
lea r12, [rax + 1]
mov rcx, qword [0x18005a118]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r8
sub rax, rdx
cmp rcx, rax
ja 0x1800359b3
lea rax, [rdx + rcx]
mov rsi, r12
cmp rax, r12
cmovae rsi, rax
cmp rsi, r8
ja 0x1800359b3
mov r14, rsi
shl r14, 4
mov qword [rsp + 0x38], rsi
cmp r14, 0x1000
jb 0x1800357ad
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1800359b3
call fcn.18003d610
test rax, rax
je 0x180035999
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800357d0
test r14, r14
je 0x1800357c9
mov rcx, r14
call fcn.18003d610
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
jmp 0x1800357d5
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.18003d610
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, [0x180036de0]
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 0x1800359a0
mov qword [rsp + 0x30], r13
mov rdx, qword [0x18005a110]
mov rcx, qword [0x18005a108]
mov rax, rdi
cmp rbx, rdx
jne 0x18003588b
cmp rcx, rdx
je 0x1800358f4
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 0x180035870
jmp 0x1800358e6
cmp rcx, rbx
je 0x1800358b7
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 0x180035890
mov rdx, qword [0x18005a110]
mov rcx, qword [0x18005a108]
mov qword [rsp + 0x30], rdi
cmp rbx, rdx
je 0x1800358f4
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 0x1800358d0
mov rcx, qword [0x18005a108]
mov rdx, qword [0x18005a110]
test rcx, rcx
je 0x180035948
mov rax, rcx
cmp rcx, rdx
je 0x180035914
cmp dword [rax + 8], 0
jne 0x180035992
add rax, 0x10
cmp rax, rdx
jne 0x180035901
mov rdx, qword [0x18005a118]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x180035943
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180035999
mov rcx, r8
call fcn.18003d64c
mov qword [0x18005a108], rdi
shl r12, 4
add r12, rdi
mov qword [0x18005a110], r12
lea rcx, [r14 + rdi]
mov qword [0x18005a118], rcx
mov rax, r13
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18003d5f0
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.180034820
int3