Function at 0x180099778
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rsi, rdx
mov ecx, 0xb0
lea rdx, [0x1800097e0]
call fcn.180105018
mov rbx, rax
mov edi, 1
test rax, rax
je 0x18009980b
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 8]
mov byte [rbx], dil
and qword [rcx + 8], 0
lea edx, [rdi + 1]
and qword [rcx + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
and dword [rcx + 0x48], 0
and dword [rcx + 0x4c], 0
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [rbx + 0x58]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
movups xmmword [rbx + 0xa0], xmm0
jmp 0x18009980d
xor ebx, ebx
mov qword [0x180375950], rbx
test rbx, rbx
je 0x1800999d9
lea rax, [rbp + 0x17]
mov dword [rsp + 0x28], 0x20
lea rbx, [0x18008a4b0]
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 + 0x17]
call fcn.180098998
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x180354490]
mov dword [0x1803554ec], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18009987d
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x1803544dc]
cmp eax, 0x7fffffff
jne 0x18009989e
sub eax, edi
mov ecx, 6
mov dword [0x1803544dc], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
test rsi, rsi
je 0x1800998be
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [0x180375820], xmm0
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [0x180375830], xmm1
jmp 0x1800998db
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [0x180375820], xmm0
movups xmmword [0x180375830], xmm0
movups xmmword [0x180375840], xmm0
lea rcx, [0x180354490]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [0x180375a60], xmm0
movups xmmword [0x180375a70], xmm0
movups xmmword [0x180375a80], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x180379ba0], 0
jne 0x1800999d9
lea rax, [0x1801a0c68]
mov rdx, rdi
mov qword [0x180379cb0], rax
lea rcx, [0x180379cd0]
sub rdx, rbx
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x180099955
mov al, byte [rbx]
add rbx, rdi
mov byte [rcx], al
add rcx, rdi
cmp byte [rbx], 0
jne 0x18009993c
mov rbx, qword [0x180375950]
lea rax, [0x180379cb0]
mov byte [rcx], 0
mov ecx, 8
mov qword [0x180379ba0], rax
lea rax, [0x180099d58]
mov qword [0x180379cc0], rax
lea rax, [0x180099d60]
mov qword [0x180379cc8], rax
xchg byte [rbx], dil
call fcn.180104b4c
lea rcx, [rbp - 0x51]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x18009a110]
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 - 0x59], rax
test rax, rax
je 0x1800999f9
cmp dword [rbx + 0xa8], 0
jne 0x1800999f2
movaps xmm1, xmmword [rbp - 0x59]
movdqu xmmword [rbx + 0xa0], xmm1
lea r11, [rsp + 0xe0]
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 - 0x51], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3