Function at 0x18005abe0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x1802e7038]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rdx, [0x180138cb0]
mov ecx, 0xb0
call fcn.1801164a4
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x18005aeb1
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx], 1
lea rcx, [rbx + 8]
mov qword [rsp + 0x40], rcx
lea edx, [rsi + 2]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
lea rcx, [rbx + 0x58]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
nop
xorps xmm0, xmm0
movups xmmword [rbx + 0xa0], xmm0
mov qword [0x180323a48], rbx
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9d, [rsi - 1]
lea rbx, str.1112360491847778344
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.1800596f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1802ee43c], eax
lea rbp, [0x1802ee780]
mov qword [rsp + 0xb0], rbp
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18005acea
lea ecx, [rsi + 5]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x1802ee7cc]
cmp eax, 0x7fffffff
jne 0x18005ad0b
dec eax
mov dword [0x1802ee7cc], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
test rdi, rdi
je 0x18005ad2b
movups xmm0, xmmword [rdi]
movups xmmword [0x180323c50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x180323c60], xmm1
movups xmm0, xmmword [rdi + 0x20]
jmp 0x18005ad4b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [0x180323c50], xmm0
movups xmmword [0x180323c60], xmm0
movups xmmword [0x180323c70], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [0x180323e80], xmm0
movups xmmword [0x180323e90], xmm0
movups xmmword [0x180323ea0], xmm0
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x180327eb8], 0
jne 0x18005aeb8
lea rax, [0x1802e70e8]
mov qword [0x18030f890], rax
lea rcx, [0x18030f8b0]
mov edi, 1
mov edx, edi
sub rdx, rbx
nop dword [rax + rax]
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x18005adda
movzx eax, byte [rbx]
mov byte [rcx], al
inc rcx
inc rbx
cmp byte [rbx], 0
jne 0x18005adc0
mov byte [rcx], 0
lea rax, [0x18030f890]
mov qword [0x180327eb8], rax
lea rax, [0x18005b3e0]
mov qword [0x18030f8a0], rax
lea rax, [0x18005b3f0]
mov qword [0x18030f8a8], rax
mov rbx, qword [0x180323a48]
mov eax, edi
xchg byte [rbx], al
mov qword [rsp + 0xb0], rsi
mov ecx, 8
call fcn.180115d44
mov qword [rax], rbx
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x18005b7b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18005aea1
mov qword [rsp + 0xb0], rsi
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
cmp dword [rbx + 0xa8], 0
je 0x18005ae7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rbx + 0xa0], xmm1
cmp dword [rsp + 0x48], 0
je 0x18005aeb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov qword [0x180323a48], rsi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180115cf0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret