Function at 0x14001d090
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, qword [0x140041150]
mov r14, qword [0x140041480]
mov r15, qword [0x140041370]
mov ecx, 0x28
call fcn.14002dd78
mov rdi, rax
mov qword [rbp + 0x17], rax
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_std::promise_bool__.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.14002cbf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x2f], rbx
mov qword [rbp + 0x37], rdi
movups xmmword [rbp + 0x1f], xmm0
mov rax, qword [rbx]
test rax, rax
je 0x14001d2c5
cmp byte [rbx + 8], 0
je 0x14001d141
cmp byte [rax + 0xb8], 0
jne 0x14001d2c5
cmp byte [rbx + 0x10], 0
jne 0x14001d2ba
mov byte [rbx + 0x10], 1
mov qword [rbp + 0x1f], rax
mov byte [rbp + 0x27], 1
lock inc dword [rax + 8]
mov qword [rbp - 0x39], r15
lock inc dword [rdi + 8]
mov rbx, qword [rbp + 0x2f]
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], r14
mov byte [rbp - 0x19], 1
mov qword [rbp - 0x11], rsi
mov ecx, gethostbyname
call fcn.14002dd78
mov qword [rax], r15
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rax + 0x18], r14
mov byte [rax + 0x20], 1
mov qword [rax + 0x28], rsi
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14002c830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14001d2a7
cmp dword [rbp - 0x41], 0
je 0x14001d29b
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14001d29b
xorps xmm0, xmm0
movaps xmmword [rbp + 7], xmm0
movdqa xmmword [rbp - 0x49], xmm0
lea ebx, [rax - 1]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14001d24b
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001d24b
mov rcx, qword [rbp + 0x1f]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x14001d240
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x14001d24b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001d272
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14001d272
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002dd50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x41], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 2
call fcn.14001c390
int3
mov ecx, 4
call fcn.14001c390
int3