Function at 0x1800054b4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rsi, rdx
mov ecx, 0xb0
lea rdx, [0x1800e5b40]
call fcn.1800787f4
mov rbx, rax
mov edi, 1
test rax, rax
je 0x18000553e
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx], dil
lea rcx, [rbx + 0x58]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
or dword [rbx + 0x50], 0xffffffff
and dword [rbx + 0x54], 0
movdqu xmmword [rbx + 0x10], xmm1
mov dword [rbx + 8], 2
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
movups xmmword [rbx + 0xa0], xmm0
jmp 0x180005540
xor ebx, ebx
mov qword [0x1804aa340], rbx
test rbx, rbx
je 0x18000570c
lea rax, [rbp - 0x40]
mov dword [rsp + 0x28], 0x20
lea rbx, str.1249731946724982824
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 - 0x40]
call fcn.180004664
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x1803a9bc0]
mov dword [0x1804aa008], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1800055b0
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x1803a9c0c]
cmp eax, 0x7fffffff
jne 0x1800055d1
sub eax, edi
mov ecx, 6
mov dword [0x1803a9c0c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
test rsi, rsi
je 0x1800055f1
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [0x1804aa210], xmm0
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [0x1804aa220], xmm1
jmp 0x18000560e
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [0x1804aa210], xmm0
movups xmmword [0x1804aa220], xmm0
movups xmmword [0x1804aa230], xmm0
lea rcx, [0x1803a9bc0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [0x1804aa450], xmm0
movups xmmword [0x1804aa460], xmm0
movups xmmword [0x1804aa470], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1804ae590], 0
jne 0x18000570c
lea rax, [0x1803a9ba8]
mov rdx, rdi
mov qword [0x1804ae6a0], rax
lea rcx, [0x1804ae6c0]
sub rdx, rbx
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x180005688
mov al, byte [rbx]
add rbx, rdi
mov byte [rcx], al
add rcx, rdi
cmp byte [rbx], 0
jne 0x18000566f
mov rbx, qword [0x1804aa340]
lea rax, [0x1804ae6a0]
mov byte [rcx], 0
mov ecx, 8
mov qword [0x1804ae590], rax
lea rax, [0x180005a98]
mov qword [0x1804ae6b0], rax
lea rax, [0x180005aa0]
mov qword [0x1804ae6b8], rax
xchg byte [rbx], dil
call fcn.180078328
lea rcx, [rbp - 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x180005d44]
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 - 0x50], rax
test rax, rax
je 0x18000572c
cmp dword [rbx + 0xa8], 0
jne 0x180005725
movaps xmm1, xmmword [rbp - 0x50]
movdqu xmmword [rbx + 0xa0], xmm1
lea r11, [rsp + 0x80]
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 - 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3