Function at 0x140337990
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [0x14036b7f0]
mov ecx, 0xb0
call fcn.14036882c
mov r14, rax
test rax, rax
je 0x140337c1d
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [r14], 1
xorps xmm0, xmm0
movups xmmword [r14 + 0x20], xmm0
xor esi, esi
xor eax, eax
movups xmmword [r14 + 0x30], xmm0
mov dword [rsp + 0x28], 0x20
mov r9d, 0xffffffff
movups xmmword [r14 + 0x40], xmm0
mov dword [r14 + 0x50], 0xffffffff
mov r8, rbx
mov dword [r14 + 8], 2
xorps xmm1, xmm1
movups xmmword [r14 + 0x10], xmm1
mov dword [r14 + 0x54], esi
xor edx, edx
mov qword [r14 + 0x58], rsi
mov ecx, 0xfde9
mov qword [r14 + 0x60], rsi
movups xmmword [r14 + 0x68], xmm0
mov qword [0x1403b15a0], r14
movups xmmword [r14 + 0x78], xmm0
movups xmmword [r14 + 0x88], xmm0
mov qword [r14 + 0x98], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
movups xmmword [r14 + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140334280
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x14037e0f0]
mov dword [0x1403b15a8], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140337ab0
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14037e13c]
cmp eax, 0x7fffffff
jne 0x140337ad1
dec eax
mov ecx, 6
mov dword [0x14037e13c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
test rdi, rdi
je 0x140337af1
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1403b1470], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [0x1403b1480], xmm1
jmp 0x140337b02
xorps xmm0, xmm0
movups xmmword [0x1403b1470], xmm0
movups xmmword [0x1403b1480], xmm0
movups xmmword [0x1403b1490], xmm0
lea rcx, [0x14037e0f0]
xorps xmm0, xmm0
movups xmmword [0x1403b16b0], xmm0
movups xmmword [0x1403b16c0], xmm0
movups xmmword [0x1403b16d0], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1403b56e8], rsi
jne 0x140337c26
lea rax, [0x14037e0e0]
mov r8d, 1
mov qword [0x1403a10f0], rax
test rbx, rbx
je 0x140337b83
lea rcx, [0x1403a1110]
cmp byte [rbx], sil
je 0x140337b80
mov edx, r8d
sub rdx, rbx
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x140337b80
movzx eax, byte [rbx]
inc rbx
mov byte [rcx], al
inc rcx
cmp byte [rbx], sil
jne 0x140337b66
mov byte [rcx], sil
mov rbx, qword [0x1403b15a0]
lea rax, [0x1403a10f0]
mov qword [0x1403b56e8], rax
mov ecx, 8
lea rax, [0x140338180]
mov qword [0x1403a1100], rax
lea rax, [0x140338190]
mov qword [0x1403a1108], rax
xchg byte [rbx], r8b
call fcn.1403687f0
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140339290]
xor ecx, ecx
mov dword [rsp + 0x20], esi
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 0x140337c0d
cmp dword [rbx + 0xa8], esi
jne 0x140337c06
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0xa0], xmm1
jmp 0x140337c26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rsp + 0x38], esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor esi, esi
mov qword [0x1403b15a0], rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1403687d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret