Function at 0x1400214b0
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 [0x1400d9040]
xor rax, rsp
mov qword [rbp + 0x398], rax
mov rsi, rcx
mov rdi, qword [rcx]
xor r12d, r12d
test rdi, rdi
je 0x140021511
mov qword [rcx], r12
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400072c0]
mov rcx, rdi
call rbx
mov qword [rsp + 0x20], rsi
lea r9, [0x1400a75d0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400a75c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x140021684
cmp eax, 0x80004002
je 0x140021649
cmp eax, 0x80004003
je 0x14002160e
cmp eax, 0x80040110
je 0x1400215d3
cmp eax, 0x80040154
je 0x140021598
lea rdx, str.Error_initializing_IWbemLocator:_Unknown_Error
lea rcx, [rsp + 0x60]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x140]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x140]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemLocator:_REGDB_E_CLASSNOTREG
lea rcx, [rbp - 0x80]
call fcn.140009e80
nop
mov r8d, 0x80040154
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x168]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x168]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemLocator:_CLASS_E_NOAGGREGATION
lea rcx, [rbp - 0x60]
call fcn.140009e80
nop
mov r8d, 0x80040110
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x190]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x190]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_POINTER
lea rcx, [rbp - 0x40]
call fcn.140009e80
nop
mov r8d, 0x80004003
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1b8]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x1b8]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_NOINTERFACE
lea rcx, [rbp - 0x20]
call fcn.140009e80
nop
mov r8d, 0x80004002
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1e0]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x1e0]
call fcn.140058ab8
nop
mov r15, qword [rsi]
mov ecx, 0x18
call fcn.140051c3c
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400216ba
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.._rootcimv2
call fcn.140055f80
mov qword [rdi], rax
jmp 0x1400216bd
mov rdi, r12
mov qword [rsp + 0x50], rdi
test rdi, rdi
jne 0x1400216d2
mov ecx, 0x8007000e
call fcn.140055f50
nop
add rsi, 8
mov r14, qword [rsi]
test r14, r14
je 0x1400216f6
mov qword [rsi], r12
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400072c0]
mov rcx, r14
call rbx
mov rax, qword [r15]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.1400072c0]
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 0x14002176c
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002174d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002175f
call fcn.140051920
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.140051920
test ebx, ebx
jns 0x140021978
lea eax, [rbx + 0x7ffbefff]
cmp eax, 0x63
ja case.0x14002179e.2147217406
cdqe
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x21a80]
mov ecx, dword [rdx + rax*4 + 0x21a60]
add rcx, rdx
jmp rcx
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_ACCESS_DENIED
lea rcx, [rbp]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp]
lea rcx, [rbp + 0x208]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x208]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_FAILED
lea rcx, [rbp + 0x20]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x230]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x230]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_INVALID_NAMESPACE
lea rcx, [rbp + 0x40]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x258]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x258]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_INVALID_PARAMETER
lea rcx, [rbp + 0x60]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x280]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x280]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_OUT_OF_MEMORY
lea rcx, [rbp + 0x80]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x2a8]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x2a8]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_TRANSPORT_FAILURE
lea rcx, [rbp + 0xa0]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x2d0]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x2d0]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemServices:_WBEM_E_LOCAL_CREDENTIALS
lea rcx, [rbp + 0xc0]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x2f8]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x2f8]
call fcn.140058ab8
nop
lea rdx, str.Error_initializing_IWbemServices:_Unknown_Error
lea rcx, [rbp + 0xe0]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x320]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x320]
call fcn.140058ab8
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 0x140021a32
cmp eax, 0x80070057
je 0x1400219f1
lea rdx, str.Coult_not_set_proxy_blanket:_Unknown_Error
lea rcx, [rbp + 0x100]
call fcn.140009e80
nop
mov r8d, ebx
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x348]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x348]
call fcn.140058ab8
nop
lea rdx, str.Coult_not_set_proxy_blanket:_E_INVALIDARG
lea rcx, [rbp + 0x120]
call fcn.140009e80
nop
mov r8d, 0x80070057
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x370]
call fcn.1400203f0
lea rdx, [0x1400d6638]
lea rcx, [rbp + 0x370]
call fcn.140058ab8
nop
mov rcx, qword [rbp + 0x398]
xor rcx, rsp
call fcn.140051640
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