Function at 0x140037290
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [0x14006d860]
mov ecx, 0xb0
call fcn.14006a34c
mov r14, rax
test rax, rax
je 0x140037530
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [r14], 1
lea rcx, [r14 + 0x58]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x40], xmm0
mov dword [r14 + 0x50], 0xffffffff
movups xmmword [r14 + 0x10], xmm1
mov dword [r14 + 8], 2
mov dword [r14 + 0x54], 0
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x40]
mov qword [0x1400b4700], r14
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
movups xmmword [r14 + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140033ea0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x1400810f0]
mov dword [0x1400b43c8], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140037397
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14008113c]
cmp eax, 0x7fffffff
jne 0x1400373b8
dec eax
mov ecx, 6
mov dword [0x14008113c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
test rdi, rdi
je 0x1400373d8
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1400b45d0], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [0x1400b45e0], xmm1
jmp 0x1400373f8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x1400b45d0], xmm0
movups xmmword [0x1400b45e0], xmm0
movups xmmword [0x1400b45f0], xmm0
lea rcx, [0x1400810f0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x1400b4810], xmm0
movups xmmword [0x1400b4820], xmm0
movups xmmword [0x1400b4830], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1400b4708], 0
jne 0x14003753b
lea rax, [0x1400810e0]
mov r8d, 1
mov qword [0x1400a4240], rax
test rbx, rbx
je 0x14003748d
cmp byte [rbx], 0
lea rcx, [0x1400a4260]
je 0x14003748a
mov edx, r8d
sub rdx, rbx
nop dword [rax]
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x14003748a
movzx eax, byte [rbx]
inc rbx
mov byte [rcx], al
inc rcx
cmp byte [rbx], 0
jne 0x140037470
mov byte [rcx], 0
mov rbx, qword [0x1400b4700]
lea rax, [0x1400a4240]
mov qword [0x1400b4708], rax
mov ecx, 8
lea rax, [0x140037a80]
mov qword [0x1400a4250], rax
lea rax, [0x140037a90]
mov qword [0x1400a4258], rax
xchg byte [rbx], r8b
call fcn.14006a310
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140038b80]
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 0x14003751c
cmp dword [rbx + 0xa8], 0
jne 0x140037515
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0xa0], xmm1
jmp 0x14003753b
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 [0x1400b4700], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006a2f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret