Function at 0x14000d650
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14004e3b8]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r15d, edx
mov r14d, ecx
cmp byte [0x14004f260], 0
je 0x14000d696
xor al, al
jmp 0x14000da21
mov ecx, 0x70
call fcn.140035c18
mov rdi, rax
mov qword [rsp + 0x48], rax
xor r13d, r13d
test rax, rax
je 0x14000d6d9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_TED3D9Allocator_.0
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
call fcn.14000cf80
jmp 0x14000d6dc
mov rdi, r13
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], r13
lea r9d, [r15 + 0xf]
and r9d, 0xfffffff0
lea r8d, [r14 + 0xf]
and r8d, 0xfffffff0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x15
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000d0b0
nop
xor r12b, r12b
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000d9d4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
test rdi, rdi
je 0x14000d74c
lock inc dword [rdi + 8]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
mov rcx, rdi
test rdi, rdi
je 0x14000d783
lock inc dword [rdi + 8]
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], rcx
mov byte [rbp + 0xb8], 0
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], r13
mov ecx, 0x10
call fcn.140035c18
mov qword [rax + 8], r13
mov qword [rbp + 0xc0], rax
lea rcx, [rbp + 0xc0]
mov qword [rax], rcx
mov edx, 0x780
mov r8d, 0x438
lea rcx, [rbp - 0x70]
call fcn.14000dfd0
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14000d817
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000d817
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000d817
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8d, r15d
mov edx, r14d
lea rcx, [rbp - 0x70]
call fcn.14000dfd0
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14000dcc0
movzx r12d, al
mov ecx, 0x28
call fcn.140035c18
mov r9, rax
test rax, rax
je 0x14000d87c
mov qword [rax], r13
mov qword [rax + 8], r13
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14000d85b
lock inc dword [rcx + 8]
mov rax, qword [rbp + 0x70]
mov qword [r9], rax
mov rax, qword [rbp + 0x78]
mov qword [r9 + 8], rax
mov rax, qword [rbp - 0x68]
mov qword [r9 + 0x10], rax
mov rax, qword [rbp - 0x70]
mov qword [r9 + 0x18], rax
jmp 0x14000d87f
mov r9, r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r8, [0x14000d1f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000da53
cmp dword [rsp + 0x58], 0
je 0x14000da63
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14000da4b
mov rax, qword [rbp + 0xe0]
test rax, rax
je 0x14000d8f4
nop
sub rax, 1
jne 0x14000d8e0
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xd8], r13
mov rbx, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xc8]
test rbx, rbx
je 0x14000d93c
nop word [rax + rax]
dec rbx
mov rax, qword [rcx + rbx*8]
test rax, rax
je 0x14000d930
mov edx, 0x10
mov rcx, rax
call fcn.140035c54
mov rcx, qword [rbp + 0xc8]
test rbx, rbx
jne 0x14000d910
mov rbx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14000d976
lea rdx, [rbx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d971
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d971
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140035c54
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xc8], r13
mov rcx, qword [rbp + 0xc0]
mov qword [rbp + 0xc0], r13
mov edx, 0x10
call fcn.140035c54
mov rbx, qword [rbp + 0x78]
test rbx, rbx
je 0x14000d9cf
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000d9cf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000d9cf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
movzx eax, r12b
xor al, 1
mov byte [0x14004f260], al
test rcx, rcx
je 0x14000d9f1
mov qword [rsp + 0x30], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
test rdi, rdi
je 0x14000da1d
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000da1d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14000da1d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx eax, r12b
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140035fc0
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
mov dword [rsp + 0x58], r13d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3