Function at 0x18005e520
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 [0x1802ec038]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rdx, [0x18013ecd0]
mov ecx, 0xb0
call fcn.18011a7e4
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x18005e7f1
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 [0x180327a50], 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.18005d030
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1802f3508], eax
lea rbp, [0x1802f2450]
mov qword [rsp + 0xb0], rbp
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18005e62a
lea ecx, [rsi + 5]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x1802f249c]
cmp eax, 0x7fffffff
jne 0x18005e64b
dec eax
mov dword [0x1802f249c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
test rdi, rdi
je 0x18005e66b
movups xmm0, xmmword [rdi]
movups xmmword [0x180327920], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x180327930], xmm1
movups xmm0, xmmword [rdi + 0x20]
jmp 0x18005e68b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [0x180327920], xmm0
movups xmmword [0x180327930], xmm0
movups xmmword [0x180327940], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [0x180327b60], xmm0
movups xmmword [0x180327b70], xmm0
movups xmmword [0x180327b80], xmm0
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x180327a58], 0
jne 0x18005e7f8
lea rax, [0x1802ec188]
mov qword [0x180313560], rax
lea rcx, [0x180313580]
mov edi, 1
mov edx, edi
sub rdx, rbx
nop dword [rax + rax]
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x18005e71a
movzx eax, byte [rbx]
mov byte [rcx], al
inc rcx
inc rbx
cmp byte [rbx], 0
jne 0x18005e700
mov byte [rcx], 0
lea rax, [0x180313560]
mov qword [0x180327a58], rax
lea rax, [0x18005ed20]
mov qword [0x180313570], rax
lea rax, [0x18005ed30]
mov qword [0x180313578], rax
mov rbx, qword [0x180327a50]
mov eax, edi
xchg byte [rbx], al
mov qword [rsp + 0xb0], rsi
mov ecx, 8
call fcn.18011a084
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, [0x18005f0f0]
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 0x18005e7e1
mov qword [rsp + 0xb0], rsi
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
cmp dword [rbx + 0xa8], 0
je 0x18005e7be
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 0x18005e7f8
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 [0x180327a50], rsi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.18011a030
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