Function at 0x14004f050
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x80
mov rbx, rcx
lea rdx, [0x1400e136c]
mov ecx, 0xb0
call fcn.1400ce028
mov rsi, rax
test rax, rax
je 0x14004f2bf
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rsi], 1
lea rcx, [rsi + 0x58]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
mov dword [rsi + 0x50], 0xffffffff
movups xmmword [rsi + 0x10], xmm1
mov dword [rsi + 8], 2
mov dword [rsi + 0x54], 0
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x40]
mov qword [0x14022a730], rsi
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
movups xmmword [rsi + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14004dc50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, reloc.WS2_32.dll_bind
mov dword [0x140229fdc], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14004f133
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14020640c]
cmp eax, 0x7fffffff
jne 0x14004f154
dec eax
mov ecx, 6
mov dword [0x14020640c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [0x140208db0]
lea rcx, reloc.WS2_32.dll_bind
movups xmm1, xmmword [0x140208dc0]
movups xmmword [0x14022a600], xmm0
movups xmm0, xmmword [0x140208dd0]
movups xmmword [0x14022a610], xmm1
xorps xmm1, xmm1
movups xmmword [0x14022a620], xmm0
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [0x14022a840], xmm1
movups xmmword [0x14022a850], xmm1
movups xmmword [0x14022a860], xmm1
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x14022e878], 0
jne 0x14004f2ca
lea rax, [0x1402063a8]
mov r8d, 1
mov qword [0x14022ea80], rax
test rbx, rbx
je 0x14004f20d
cmp byte [rbx], 0
lea rcx, [0x14022eaa0]
je 0x14004f20a
mov edx, r8d
sub rdx, rbx
nop dword [rax + rax]
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x14004f20a
movzx eax, byte [rbx]
inc rbx
mov byte [rcx], al
inc rcx
cmp byte [rbx], 0
jne 0x14004f1f0
mov byte [rcx], 0
mov rbx, qword [0x14022a730]
lea rax, [0x14022ea80]
mov qword [0x14022e878], rax
mov ecx, 8
lea rax, [0x14004f850]
mov qword [0x14022ea90], rax
lea rax, [0x14004f860]
mov qword [0x14022ea98], rax
xchg byte [rbx], r8b
call fcn.1400cdc38
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x14004ffc0]
xor ecx, ecx
mov dword [rsp + 0x20], 0
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 0x14004f2ab
cmp dword [rbx + 0xa8], 0
jne 0x14004f2a4
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0xa0], xmm1
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rsp + 0x38], 0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [0x14022a730], 0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rsi
ret