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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jge 0x140001266
jmp 0x14000185c
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jge 0x1400012b9
jmp 0x14000185c
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x1400073c8]
mov r8d, 1
xor edx, edx
lea rcx, [0x140007498]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jge 0x14000130a
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000185c
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x18]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
je 0x14000139c
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000185c
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jge 0x14000141e
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000185c
mov qword [rsp + 0xa0], 0
lea rcx, [0x140007280]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
call qword [rax + 0xa0]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jge 0x1400014c6
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000185c
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x68]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xa0]
call qword [rax + 0x20]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0x70], 0
jne 0x140001511
jmp 0x14000185c
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x20]
mov dword [rsp + 0xa8], eax
cmp dword [0x14000aec4], 0
je 0x1400015c4
mov dword [rsp + 0x80], 0
jmp 0x140001587
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 4
jge 0x1400015c4
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x98], eax
mov eax, dword [0x14000aec0]
imul eax, eax, 0x100
add eax, dword [rsp + 0x98]
mov dword [0x14000aec0], eax
jmp 0x140001577
cmp dword [0x14000aec8], 0
je 0x140001627
mov dword [rsp + 0x80], 4
jmp 0x1400015ea
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 7
jge 0x140001627
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x98], eax
mov eax, dword [0x14000aec0]
imul eax, eax, 0x100
add eax, dword [rsp + 0x98]
mov dword [0x14000aec0], eax
jmp 0x1400015da
cmp dword [0x14000aed0], 0
je 0x14000166f
mov dword [rsp + 0x80], 0
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140001662
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x14000163b
mov eax, dword [rsp + 0x80]
mov dword [0x14000aec0], eax
cmp dword [0x14000aed4], 0
je 0x1400016d2
mov dword [rsp + 0x80], 7
jmp 0x140001695
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0xa
jge 0x1400016d2
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x98], eax
mov eax, dword [0x14000aec0]
imul eax, eax, 0x100
add eax, dword [rsp + 0x98]
mov dword [0x14000aec0], eax
jmp 0x140001685
cmp dword [0x14000aecc], 0
je 0x1400017f9
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x18]
mov word [0x14000aee0], ax
movzx eax, word [0x14000aee0]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [0x14000aed8], rax
movzx eax, word [0x14000aee0]
mov r8d, eax
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax + 0x10]
mov rcx, qword [0x14000aed8]
call fcn.140001a90
mov r8b, 1
lea rdx, [rsp + 0xc0]
mov cl, 0x87
call fcn.140001060
test eax, eax
jne 0x140001757
jmp 0x14000185c
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call section..text
test eax, eax
jne 0x140001777
jmp 0x14000185c
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x11]
imul eax, eax, 0x1000000
mov ecx, dword [0x14000aec0]
add ecx, eax
mov eax, ecx
mov dword [0x14000aec0], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x10]
imul eax, eax, 0x10000
mov ecx, dword [0x14000aec0]
add ecx, eax
mov eax, ecx
mov dword [0x14000aec0], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xf]
imul eax, eax, 0x100
mov ecx, dword [0x14000aec0]
add ecx, eax
mov eax, ecx
mov dword [0x14000aec0], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xe]
mov ecx, dword [0x14000aec0]
add ecx, eax
mov eax, ecx
mov dword [0x14000aec0], eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa0]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
add rsp, 0xd8
ret