Function at 0x1402d7c58
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 [0x14049e510]
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, [0x14038ab18]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x14038ab08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp - 0x59], eax
test eax, eax
jns 0x1402d7d1d
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402d7f82
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, [0x1403dfcc6]
call fcn.140001158
jmp 0x1402d7f82
mov r15, qword [rbp - 0x51]
cmp qword [rbx + 0x18], 8
jb 0x1402d7d2b
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1402d7dd9
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 [case.0x140245398.0]
mov dword [rbp - 0x59], eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [rbp - 0x59], r12d
jge 0x1402d7df7
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402d7f82
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, [0x1403dfcc6]
call fcn.140001158
jmp 0x1402d7f82
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x1402d7fc0
jmp 0x1402d7d3b
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 0x1402d7e81
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402d7f82
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, [0x1403dfcc6]
call fcn.140001158
jmp 0x1402d7f82
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x1402d7e8e
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1402d7eb9
mov rbx, r12
mov qword [rbp - 0x49], rbx
lea rcx, [0x140388e68]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1402d7fcb
jmp 0x1402d7ed4
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x1402d7fd6
jmp 0x1402d7e9a
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 [case.0x140245398.0]
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 0x1402d7f87
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402d7f6a
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, [0x1403dfcc6]
call fcn.140001158
mov rcx, qword [r14]
test rcx, rcx
je 0x1402d7f82
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140245398.0]
mov qword [r14], r12
mov ebx, dword [rbp - 0x59]
jmp 0x1402d7f8a
mov ebx, r12d
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1402d7fa0
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x140245398.0]
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1402dfdb0
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1401ca0c0
nop
mov ecx, 0x8007000e
call fcn.1401ca0c0
nop
mov ecx, 0x8007000e
call fcn.1401ca0c0
int3