Function at 0x1800f16a0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r15d, r15d
mov r14, rcx
mov qword [rbp - 0x39], r15
lea ecx, [r15 + 0x18]
call fcn.1800f3074
mov rbx, rax
test rax, rax
je 0x1800f1aa2
mov qword [rax], r15
lea rcx, str.SELECT__FROM_Win32_TSSessionSetting
mov qword [rax + 0x10], 1
mov qword [rax + 8], r15
call fcn.180111960
lea ecx, [r15 + 0x18]
mov qword [rbx], rax
mov rsi, rax
call fcn.1800f3074
mov rdi, rax
test rax, rax
je 0x1800f1aa2
mov qword [rax], r15
lea rcx, [0x1801646dc]
mov qword [rax + 0x10], 1
mov qword [rax + 8], r15
call fcn.180111960
mov qword [rdi], rax
lea rcx, [rbp - 0x39]
mov r10, qword [r14]
lea r9d, [r15 + 0x30]
mov qword [rsp + 0x28], rcx
mov r8, rsi
mov rdx, rax
mov qword [rsp + 0x20], r15
mov rcx, r14
call qword [r10 + 0xa0]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1800f179f
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800f1780
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800f1792
call sym.SafeBase64.dll_SafeBase_free
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.18001cc90
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1800f17de
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800f17bf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800f17d1
call sym.SafeBase64.dll_SafeBase_free
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.18001cc90
test esi, esi
jns 0x1800f17e9
xor eax, eax
jmp 0x1800f1a74
mov rcx, qword [rbp - 0x39]
mov qword [rsp + 0xf8], r12
mov qword [rbp - 0x21], r15
mov dword [rbp + 7], r15d
test rcx, rcx
je 0x1800f1a65
mov r12d, 3
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
mov esi, eax
cmp dword [rbp + 7], r15d
je 0x1800f1a65
test eax, eax
js 0x1800f1a58
mov ecx, 0x18
call fcn.1800f3074
mov rbx, rax
test rax, rax
je 0x1800f1a97
mov qword [rax], r15
lea rcx, str.BrokenConnection
mov qword [rax + 0x10], 1
mov qword [rax + 8], r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1800f1a97
mov ecx, 0x18
call fcn.1800f3074
mov rdi, rax
test rax, rax
je 0x1800f1a97
mov qword [rax], r15
lea rcx, str.Win32_TSSessionSetting
mov qword [rax + 0x10], 1
mov qword [rax + 8], r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x1800f1a97
mov rax, qword [r14]
lea rcx, [rbp - 0x31]
mov qword [rbp - 0x31], r15
xor r9d, r9d
mov rdx, qword [rdi]
xor r8d, r8d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
mov rcx, r14
call qword [rax + 0x30]
mov r9, r15
mov qword [rbp - 0x29], r15
mov esi, eax
test eax, eax
js 0x1800f190f
mov rcx, qword [rbp - 0x31]
lea r9, [rbp - 0x29]
mov rdx, qword [rbx]
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + 0x98]
mov r9, qword [rbp - 0x29]
mov esi, eax
mov rcx, r15
mov qword [rbp - 0x41], rcx
test esi, esi
js 0x1800f192f
mov rax, qword [r9]
lea r8, [rbp - 0x41]
xor edx, edx
mov rcx, r9
call qword [rax + 0x78]
mov rcx, qword [rbp - 0x41]
mov esi, eax
mov word [rbp + 0x17], r12w
mov dword [rbp + 0x1f], 1
test esi, esi
js 0x1800f198e
mov rax, qword [rcx]
lea r9, [rbp + 0x17]
xor r8d, r8d
mov dword [rsp + 0x20], r15d
lea rdx, str.BrokenConnectionAction
call qword [rax + 0x28]
mov esi, eax
test eax, eax
js 0x1800f198a
mov rcx, qword [rbp - 0x21]
lea rdx, [rbp + 0xb]
mov qword [rsp + 0x28], rdx
lea r9, [rbp - 0x11]
lea rdx, [rbp + 0xf]
xor r8d, r8d
mov qword [rsp + 0x20], rdx
lea rdx, str.__PATH
mov rax, qword [rcx]
call qword [rax + 0x20]
mov esi, eax
mov rcx, qword [rbp - 0x41]
mov qword [rbp - 0x19], r15
test esi, esi
js 0x1800f19c6
mov rax, qword [r14]
lea rdx, [rbp - 0x19]
mov r8, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rdx
mov rdx, qword [rbp - 9]
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rsp + 0x20], r15
call qword [rax + 0xc0]
mov esi, eax
lea rcx, [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1800f1a19
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800f19fa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800f1a0c
call sym.SafeBase64.dll_SafeBase_free
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.18001cc90
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1800f1a58
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800f1a39
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800f1a4b
call sym.SafeBase64.dll_SafeBase_free
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.18001cc90
mov rcx, qword [rbp - 0x39]
test rcx, rcx
jne 0x1800f1810
mov r12, qword [rsp + 0xf8]
not esi
shr esi, 0x1f
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.180111950
int3
mov ecx, 0x8007000e
call fcn.180111950
int3