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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
mov qword [rbp - 0x51], r12
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
lea r9, [0x14034f878]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x14034f868]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp - 0x59], eax
test eax, eax
jns 0x1402a76d5
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402a793a
lea rax, [rbp - 0x59]
mov qword [rbp - 9], rax
lea eax, [r12 + 4]
mov qword [rbp - 1], rax
lea rdx, str.WmiQueryUtils___failed_to_create_wbem_locator
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], 0x5c
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3d72]
call fcn.140001158
jmp 0x1402a793a
mov r15, qword [rbp - 0x51]
cmp qword [rbx + 0x18], 8
jb 0x1402a76e3
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1402a7791
mov rbx, r12
mov qword [rbp - 0x49], rbx
mov rax, qword [r15]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
mov rax, qword [rax + 0x18]
call qword [str.PM_]
mov dword [rbp - 0x59], eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [rbp - 0x59], r12d
jge 0x1402a77af
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402a793a
lea rax, [rbp - 0x59]
mov qword [rbp - 9], rax
mov eax, 4
mov qword [rbp - 1], rax
lea rdx, str.WmiQueryUtils___failed_connecting_server
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], 0x52
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3d72]
call fcn.140001158
jmp 0x1402a793a
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x1402a7978
jmp 0x1402a76f3
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
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 [rsi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rbp - 0x59], eax
test eax, eax
jns 0x1402a7839
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402a793a
lea rax, [rbp - 0x59]
mov qword [rbp - 9], rax
mov eax, 4
mov qword [rbp - 1], rax
lea rdx, str.WmiQueryUtils___failed_to_set_proxy
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], VarR8FromUI1
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3d72]
call fcn.140001158
jmp 0x1402a793a
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x1402a7846
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1402a7871
mov rbx, r12
mov qword [rbp - 0x49], rbx
lea rcx, [0x14034e188]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1402a7983
jmp 0x1402a788c
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x1402a798e
jmp 0x1402a7852
mov rax, qword [rsi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rax, qword [rax + 0xa0]
call qword [str.PM_]
mov dword [rbp - 0x59], 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 - 0x59], r12d
jge 0x1402a793f
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402a7922
lea rax, [rbp - 0x59]
mov qword [rbp - 9], rax
mov eax, 4
mov qword [rbp - 1], rax
lea rdx, str.WmiQueryUtils___failed_to_execute_query
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], 0x50
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3d72]
call fcn.140001158
mov rcx, qword [r14]
test rcx, rcx
je 0x1402a793a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PM_]
mov qword [r14], r12
mov ebx, dword [rbp - 0x59]
jmp 0x1402a7942
mov ebx, r12d
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1402a7958
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str.PM_]
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1402ae860
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1401ba4f0
nop
mov ecx, 0x8007000e
call fcn.1401ba4f0
nop
mov ecx, 0x8007000e
call fcn.1401ba4f0
int3