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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400d1010]
xor rax, rsp
mov qword [rbp + 0x398], rax
mov rsi, rcx
mov rdi, qword [rcx]
xor r12d, r12d
test rdi, rdi
je 0x140022321
mov qword [rcx], r12
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140009620]
mov rcx, rdi
call rbx
mov qword [rsp + 0x20], rsi
lea r9, [0x1400a0500]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400a04f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x140022494
cmp eax, 0x80004002
je 0x140022459
cmp eax, 0x80004003
je 0x14002241e
cmp eax, 0x80040110
je 0x1400223e3
cmp eax, 0x80040154
je 0x1400223a8
lea rdx, str.Error_initializing_IWbemLocator:_Unknown_Error
lea rcx, [rsp + 0x60]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x140]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x140]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemLocator:_REGDB_E_CLASSNOTREG
lea rcx, [rbp - 0x80]
call fcn.14000c1e0
nop
mov r8d, 0x80040154
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x168]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x168]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemLocator:_CLASS_E_NOAGGREGATION
lea rcx, [rbp - 0x60]
call fcn.14000c1e0
nop
mov r8d, 0x80040110
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x190]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x190]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_POINTER
lea rcx, [rbp - 0x40]
call fcn.14000c1e0
nop
mov r8d, 0x80004003
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1b8]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x1b8]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_NOINTERFACE
lea rcx, [rbp - 0x20]
call fcn.14000c1e0
nop
mov r8d, 0x80004002
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1e0]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x1e0]
call fcn.140052430
nop
mov r15, qword [rsi]
mov ecx, 0x18
call fcn.14004b6fc
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400224ca
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.._rootcimv2
call fcn.14004f9d0
mov qword [rdi], rax
jmp 0x1400224cd
mov rdi, r12
mov qword [rsp + 0x50], rdi
test rdi, rdi
jne 0x1400224e2
mov ecx, 0x8007000e
call fcn.14004f9a0
nop
add rsi, 8
mov r14, qword [rsi]
test r14, r14
je 0x140022506
mov qword [rsi], r12
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140009620]
mov rcx, r14
call rbx
mov rax, qword [r15]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009620]
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, qword [rdi]
mov rcx, r15
call rbx
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14002257c
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002255d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002256f
call fcn.14004b3e0
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.14004b3e0
test ebx, ebx
jns 0x140022788
lea eax, [rbx + 0x7ffbefff]
cmp eax, 0x63
ja case.0x1400225ae.2147217406
cdqe
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x22890]
mov ecx, dword [rdx + rax*4 + 0x22870]
add rcx, rdx
jmp rcx
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_ACCESS_DENIED
lea rcx, [rbp]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp]
lea rcx, [rbp + 0x208]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x208]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_FAILED
lea rcx, [rbp + 0x20]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x230]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x230]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_INVALID_NAMESPACE
lea rcx, [rbp + 0x40]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x258]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x258]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_INVALID_PARAMETER
lea rcx, [rbp + 0x60]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x280]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x280]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_OUT_OF_MEMORY
lea rcx, [rbp + 0x80]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x2a8]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x2a8]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_TRANSPORT_FAILURE
lea rcx, [rbp + 0xa0]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x2d0]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x2d0]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_LOCAL_CREDENTIALS
lea rcx, [rbp + 0xc0]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x2f8]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x2f8]
call fcn.140052430
nop
lea rdx, str.Error_initializing_IWbemServices:_Unknown_Error
lea rcx, [rbp + 0xe0]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x320]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x320]
call fcn.140052430
nop
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
or r9, 0xffffffffffffffff
xor r8d, r8d
or edx, 0xffffffff
mov rcx, qword [rsi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x140022842
cmp eax, 0x80070057
je 0x140022801
lea rdx, str.Coult_not_set_proxy_blanket:_Unknown_Error
lea rcx, [rbp + 0x100]
call fcn.14000c1e0
nop
mov r8d, ebx
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x348]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x348]
call fcn.140052430
nop
lea rdx, str.Coult_not_set_proxy_blanket:_E_INVALIDARG
lea rcx, [rbp + 0x120]
call fcn.14000c1e0
nop
mov r8d, 0x80070057
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x370]
call fcn.140021200
lea rdx, [0x1400ce6b8]
lea rcx, [rbp + 0x370]
call fcn.140052430
nop
mov rcx, qword [rbp + 0x398]
xor rcx, rsp
call fcn.14004b110
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret