Function at 0x140004310
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 [0x1400f0080]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rdx, [0x1400d3374]
mov ecx, 0xb0
call fcn.1400be1dc
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x1400045f6
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
mov dword [rcx], esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rsi
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 [0x1403a3be8], rbx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9d, [rsi - 1]
lea rbx, str.1164758097227677696
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.140003180
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x140373068], eax
lea rbp, [0x140371fb0]
mov qword [rsp + 0xb0], rbp
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140004437
lea ecx, [rsi + 5]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x140371ffc]
cmp eax, 0x7fffffff
jne 0x140004458
dec eax
mov dword [0x140371ffc], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
test rdi, rdi
je 0x140004478
movups xmm0, xmmword [rdi]
movups xmmword [0x1403a40b0], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1403a40c0], xmm1
movups xmm0, xmmword [rdi + 0x20]
jmp 0x140004498
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [0x1403a40b0], xmm0
movups xmmword [0x1403a40c0], xmm0
movups xmmword [0x1403a40d0], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [0x1403a42e0], xmm0
movups xmmword [0x1403a42f0], xmm0
movups xmmword [0x1403a4300], xmm0
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1403a3ea8], 0
jne 0x1400045fd
lea rax, [0x14036f758]
mov qword [0x1403930c0], rax
lea rcx, [0x1403930e0]
mov edi, 1
mov edx, edi
sub rdx, rbx
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x14000451f
movzx eax, byte [rbx]
mov byte [rcx], al
inc rcx
inc rbx
cmp byte [rbx], 0
jne 0x140004505
mov byte [rcx], 0
lea rax, [0x1403930c0]
mov qword [0x1403a3ea8], rax
lea rax, [0x140004a10]
mov qword [0x1403930d0], rax
lea rax, [0x140004a20]
mov qword [0x1403930d8], rax
mov rbx, qword [0x1403a3be8]
mov eax, edi
xchg byte [rbx], al
mov qword [rsp + 0xb0], rsi
mov ecx, 8
call fcn.1400be1a0
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, [0x140005180]
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 0x1400045e6
mov qword [rsp + 0xb0], rsi
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
cmp dword [rbx + 0xa8], 0
je 0x1400045c3
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 0x1400045fd
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 [0x1403a3be8], rsi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400be180
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