Function at 0x18005b1a0
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 [0x1802e8038]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rdx, [0x180138d91]
mov ecx, 0xb0
call fcn.180115c7c
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x18005b230
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
jmp 0x18005b233
mov rbx, rsi
mov qword [0x180324dd0], rbx
test rbx, rbx
je 0x18005b451
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
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.180059cf0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x180324ddc], eax
lea rbp, [0x1802f07f0]
mov qword [rsp + 0x40], rbp
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18005b2b2
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
test rdi, rdi
je 0x18005b2d2
movups xmm0, xmmword [rdi]
movups xmmword [0x180324ca0], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x180324cb0], xmm1
movups xmm0, xmmword [rdi + 0x20]
jmp 0x18005b2f2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [0x180324ca0], xmm0
movups xmmword [0x180324cb0], xmm0
movups xmmword [0x180324cc0], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [0x180324ee0], xmm0
movups xmmword [0x180324ef0], xmm0
movups xmmword [0x180324f00], xmm0
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x180328f18], 0
jne 0x18005b451
lea rax, [0x1802e80e8]
mov qword [0x1803108e0], rax
lea rcx, [0x180310900]
mov edi, 1
mov edx, edi
sub rdx, rbx
nop
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x18005b37a
movzx eax, byte [rbx]
mov byte [rcx], al
inc rcx
inc rbx
cmp byte [rbx], 0
jne 0x18005b360
mov byte [rcx], 0
lea rax, [0x1803108e0]
mov qword [0x180328f18], rax
lea rax, [0x18005b950]
mov qword [0x1803108f0], rax
lea rax, [0x18005b960]
mov qword [0x1803108f8], rax
mov rbx, qword [0x180324dd0]
mov eax, edi
xchg byte [rbx], al
mov qword [rsp + 0xb0], rsi
mov ecx, 8
call fcn.1801153a4
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, [0x18005bc60]
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 0x18005b441
mov qword [rsp + 0xb0], rsi
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
cmp dword [rbx + 0xa8], 0
je 0x18005b41e
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 0x18005b451
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 rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180115350
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