Function at 0x140047950
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1405fb080]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r12d, r12d
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov qword [rbp + 0x17], r12
mov edx, 0x516610
lea rcx, [rbp + 7]
call fcn.14004d960
mov r8d, 0x516610
lea rdx, [0x1400d1100]
mov rdi, qword [rbp + 7]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rsi, [rdi + 0x516610]
mov qword [rbp + 0xf], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
lea rdx, [0x1405fde30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400479e1
lea rcx, [rbp - 0x19]
call fcn.14004c0a0
nop
mov eax, 4
mov rbx, qword [rbp - 9]
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rcx, qword [rbp - 0x19]
sub rbx, rax
lea r8, [rbx + 1]
lea rdx, [rcx + rax]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 9], rbx
mov ecx, 0x40
call fcn.1400b7fa4
mov r14, rax
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140049bf0
nop
mov qword [r14 + 0x20], r12
mov qword [r14 + 0x28], r12
mov qword [r14 + 0x30], r12
sub rsi, rdi
je 0x140047a7c
mov rdx, rsi
lea rcx, [r14 + 0x20]
call fcn.14004d960
mov rbx, qword [r14 + 0x20]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov qword [r14 + 0x28], rax
lea rax, [0x14003ddb0]
mov qword [r14 + 0x38], rax
mov qword [rbp + 0x27], r14
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, r14
lea r8, [0x14004e720]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140047bd1
cmp dword [rbp - 0x21], 0
jne 0x140047acc
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x21], eax
jne 0x140047ae3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp + 0x27], xmm0
xor edx, edx
lea rcx, [rbp + 0x27]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140047b08
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
call fcn.14003c550
mov byte [0x1405fde19], 0
cmp dword [rbp - 0x21], 0
je 0x140047b29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140047b68
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047b62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047b62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7e7c
nop
test rdi, rdi
je 0x140047ba4
mov rdx, qword [rbp + 0x17]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140047b9c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047b9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400b7e7c
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b7bc0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [rbp - 0x21], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3