Function at 0x140272614
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rbp - 0x39], r15
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x140306e60]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x140306e50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp - 0x49], eax
test eax, eax
jns 0x1402726d5
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402726cd
lea rax, [rbp - 0x49]
mov qword [rbp + 7], rax
lea eax, [r15 + 4]
mov qword [rbp + 0xf], rax
lea rdx, str.WmiQueryUtils___failed_to_create_wbem_locator
mov qword [rbp + 0x17], rdx
mov qword [rbp + 0x1f], 0x5c
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403542f1]
call fcn.140001078
mov ebx, dword [rbp - 0x49]
jmp 0x14027296f
mov qword [rbp - 0x41], r15
mov r14, qword [rbp - 0x39]
cmp qword [rbx + 0x18], 8
jb 0x1402726e7
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1402726f5
mov rbx, r15
mov qword [rbp - 0x31], rbx
jmp 0x140272715
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x31], rax
test rax, rax
jne 0x140272715
mov ecx, 0x8007000e
call fcn.1401a9db0
nop
mov rax, qword [r14]
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [str.__v__]
mov dword [rbp - 0x49], eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [rbp - 0x49], r15d
jge 0x1402727b7
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140272950
lea rax, [rbp - 0x49]
mov qword [rbp + 7], rax
mov eax, 4
mov qword [rbp + 0xf], rax
lea rdx, str.WmiQueryUtils___failed_connecting_server
mov qword [rbp + 0x17], rdx
mov qword [rbp + 0x1f], 0x52
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403542f1]
call fcn.140001078
jmp 0x140272950
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rbp - 0x49], eax
test eax, eax
jns 0x140272842
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140272950
lea rax, [rbp - 0x49]
mov qword [rbp + 7], rax
mov eax, 4
mov qword [rbp + 0xf], rax
lea rdx, str.WmiQueryUtils___failed_to_set_proxy
mov qword [rbp + 0x17], rdx
mov qword [rbp + 0x1f], VarR8FromUI1
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403542f1]
call fcn.140001078
jmp 0x140272950
mov r14, qword [rbp - 0x41]
cmp qword [rdi + 0x18], 8
jb 0x140272850
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14027285e
mov rbx, r15
mov qword [rbp - 0x31], rbx
jmp 0x14027287e
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x31], rax
test rax, rax
jne 0x14027287e
mov ecx, 0x8007000e
call fcn.1401a9db0
nop
lea rcx, [0x1403061b0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp - 0x21], rax
test rax, rax
jne 0x1402728a2
mov ecx, 0x8007000e
call fcn.1401a9db0
nop
mov rax, qword [r14]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, rbx
mov rdx, rdi
mov rcx, r14
mov rax, qword [rax + 0xa0]
call qword [str.__v__]
mov dword [rbp - 0x49], eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [rbp - 0x49], r15d
jge 0x140272955
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140272938
lea rax, [rbp - 0x49]
mov qword [rbp + 7], rax
mov eax, 4
mov qword [rbp + 0xf], rax
lea rdx, str.WmiQueryUtils___failed_to_execute_query
mov qword [rbp + 0x17], rdx
mov qword [rbp + 0x1f], 0x50
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403542f1]
call fcn.140001078
mov rcx, qword [rsi]
test rcx, rcx
je 0x140272950
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__v__]
mov qword [rsi], r15
mov ebx, dword [rbp - 0x49]
jmp 0x140272958
mov ebx, r15d
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14027296f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__v__]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140272985
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str.__v__]
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14027a710
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret