Function at 0x1800d107c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rsi, rdx
mov ecx, 0xb0
lea rdx, [0x180009c00]
call fcn.180143f34
mov rbx, rax
mov edi, 1
test rax, rax
je 0x1800d1113
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx], dil
xorps xmm0, xmm0
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
xorps xmm1, xmm1
movdqu xmmword [rbx + 0x10], xmm1
mov dword [rbx + 8], 2
and qword [rbx + 0x58], 0
and qword [rbx + 0x60], 0
movups xmmword [rbx + 0x68], xmm0
xor eax, eax
movups xmmword [rbx + 0x78], xmm0
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], rax
movups xmmword [rbx + 0xa0], xmm0
jmp 0x1800d1115
xor ebx, ebx
mov qword [0x1805ebd70], rbx
test rbx, rbx
je 0x1800d12ce
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x20
lea rbx, [0x1800bcd50]
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, [rsp + 0x40]
call fcn.1800d02bc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x180407a60]
mov dword [0x1805cb93c], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1800d1187
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x180407aac]
cmp eax, 0x7fffffff
jne 0x1800d11a8
sub eax, edi
mov ecx, 6
mov dword [0x180407aac], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
test rsi, rsi
je 0x1800d11c8
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [0x1805ebc40], xmm0
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [0x1805ebc50], xmm1
jmp 0x1800d11d9
xorps xmm0, xmm0
movups xmmword [0x1805ebc40], xmm0
movups xmmword [0x1805ebc50], xmm0
movups xmmword [0x1805ebc60], xmm0
lea rcx, [0x180407a60]
xorps xmm0, xmm0
movups xmmword [0x1805ebe80], xmm0
movups xmmword [0x1805ebe90], xmm0
movups xmmword [0x1805ebea0], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1805effc0], 0
jne 0x1800d12ce
lea rax, [0x180407a48]
mov rdx, rdi
mov qword [0x1805f00d0], rax
lea rcx, [0x1805f00f0]
sub rdx, rbx
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x1800d1247
mov al, byte [rbx]
add rbx, rdi
mov byte [rcx], al
add rcx, rdi
cmp byte [rbx], 0
jne 0x1800d122e
mov rbx, qword [0x1805ebd70]
lea rax, [0x1805f00d0]
mov byte [rcx], 0
mov ecx, 8
mov qword [0x1805effc0], rax
lea rax, [0x1800d1658]
mov qword [0x1805f00e0], rax
lea rax, [0x1800d1660]
mov qword [0x1805f00e8], rax
xchg byte [rbx], dil
call fcn.180143a68
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1800d1904]
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 [rsp + 0x30], rax
test rax, rax
je 0x1800d12ea
cmp dword [rbx + 0xa8], 0
jne 0x1800d12e3
movaps xmm1, xmmword [rsp + 0x30]
movdqu xmmword [rbx + 0xa0], xmm1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
and dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3