Function at 0x180061b20
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [r11 - 0x30], r15
lea rax, [rcx + 0x18]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180061b7c
mov rcx, qword [rax]
test rcx, rcx
je 0x180061b7c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rax, rdx
je 0x180061ba2
nop dword [rax + rax]
cmp rdi, qword [rax]
je 0x180061e20
add rax, 0x18
cmp rax, rdx
jne 0x180061b90
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r15d
cmp qword [rbx + 0x10], rdx
je 0x180061bd1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rdx + 0x10], xmm1
add qword [rbx + 8], 0x18
jmp 0x180061bde
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.180064400
mov rcx, qword [rbx + 0x20]
mov rsi, 0xffffffffffffffff
test rcx, rcx
je 0x180061c3b
xor edx, edx
call fcn.1800f7ed0
mov rax, qword [rbx + 0x20]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180061c10
movzx eax, byte [rcx + 0x10]
test al, al
je 0x180061c10
mov rcx, qword [rbx + 0x20]
jmp 0x180061c32
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180061c3b
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180061c2b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x20], r15
mov rcx, r15
test rcx, rcx
jne 0x180061e20
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x180061c4a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x180061c59
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, 0x18
call fcn.18017df38
mov r14, rax
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
lea rax, vtable.RC::RCRefCounted.0
mov qword [r14], rax
mov dword [r14 + 8], r15d
lea rax, vtable.RC::RCThread.0
mov qword [r14], rax
mov ecx, WSAStartup
call fcn.18017df38
mov qword [rsp + 0x58], rax
mov rcx, rax
call fcn.1800f7a20
nop
mov qword [r14 + 0x10], rax
test rax, rax
je 0x180061cc0
mov qword [rax], rbx
mov rax, qword [r14 + 0x10]
lea rcx, [0x1800621a0]
mov qword [rax + 8], rcx
mov rdi, qword [rbx + 0x20]
mov ebp, 1
cmp rdi, r14
je 0x180061cf7
mov eax, ebp
lock xadd dword [r14 + 8], eax
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180061cf0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, ebp
jne 0x180061cf0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x20], r14
mov rdi, r14
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x180061e20
mov qword [rsp + 0x60], r15
add rbx, 0x38
mov qword [rsp + 0x60], rbx
je 0x180061d23
mov rcx, qword [rbx]
test rcx, rcx
je 0x180061d23
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rdi + 0x10]
cmp qword [rax + 8], 0
je 0x180061e08
lock xadd dword [rdi + 8], ebp
mov rax, qword [rdi + 0x10]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x1800f7bc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rdi + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x10]
cmp qword [rax + 0x18], 0
jne 0x180061dbe
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180061d88
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x180061da0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x18], rsi
mov rcx, qword [rdi + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x180061db4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x20], rsi
mov byte [rdi + 0x10], 0
mov dword [rdi + 0x14], r15d
jmp 0x180061e08
mov byte [rax + 0x10], 1
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x180061ddc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rdi + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x180061e08
lock xadd dword [rdi + 8], esi
cmp esi, 1
jne 0x180061dfe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
call fcn.1800f7d70
nop
test rbx, rbx
je 0x180061e20
mov rcx, qword [rbx]
test rcx, rcx
je 0x180061e1b
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x60], r15
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180061e3d
mov rcx, qword [rax]
test rcx, rcx
je 0x180061e38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x68], r15
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18017dee0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret