Function at 0x180006a88
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rdi, rdx
mov ecx, 0xb0
lea rdx, [0x1800fca00]
call fcn.18008f0f8
mov rbx, rax
mov esi, 1
test rax, rax
je 0x180006afb
lea rcx, [rax + 1]
xor edx, edx
mov r8d, 0xaf
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 8]
mov byte [rbx], sil
lea edx, [rsi + 1]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [rbx + 0x58]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
movups xmmword [rbx + 0xa0], xmm0
jmp 0x180006afd
xor ebx, ebx
mov qword [0x1802ef4f8], rbx
test rbx, rbx
je 0x180006ca5
lea rax, [rbp + 0x17]
mov dword [rsp + 0x28], 0x20
lea rbx, str.1209902102395101254
mov qword [rsp + 0x20], rax
mov r8, rbx
or r9d, 0xffffffff
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.180005d94
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x1802ce340]
mov dword [0x1802f3968], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180006b6a
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
test rdi, rdi
je 0x180006b8a
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1802ef700], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [0x1802ef710], xmm1
jmp 0x180006ba7
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [0x1802ef700], xmm0
movups xmmword [0x1802ef710], xmm0
movups xmmword [0x1802ef720], xmm0
lea rcx, [0x1802ce340]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [0x1802ef930], xmm0
movups xmmword [0x1802ef940], xmm0
movups xmmword [0x1802ef950], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1802f3a70], 0
jne 0x180006ca5
lea rax, [0x1801b5e98]
mov rdx, rsi
mov qword [0x1802f3b80], rax
lea rcx, [0x1802f3ba0]
sub rdx, rbx
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x180006c21
mov al, byte [rbx]
add rbx, rsi
mov byte [rcx], al
add rcx, rsi
cmp byte [rbx], 0
jne 0x180006c08
mov rbx, qword [0x1802ef4f8]
lea rax, [0x1802f3b80]
mov byte [rcx], 0
mov ecx, 8
mov qword [0x1802f3a70], rax
lea rax, [0x180007000]
mov qword [0x1802f3b90], rax
lea rax, [0x180007008]
mov qword [0x1802f3b98], rax
xchg byte [rbx], sil
call fcn.18008ea98
lea rcx, [rbp - 0x51]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x180007294]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov qword [rax], rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x180006cc5
cmp dword [rbx + 0xa8], 0
jne 0x180006cbe
movaps xmm1, xmmword [rbp - 0x59]
movdqu xmmword [rbx + 0xa0], xmm1
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
and dword [rbp - 0x51], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3