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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov qword [rbp], r9
mov r13, r8
mov rsi, rdx
mov rbx, rcx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x140141190
cmp eax, 1
je 0x140141190
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 1
je 0x140141190
test eax, eax
jne 0x140141b68
inc dword [0x14028c8e8]
xor r15d, r15d
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x1402014f0]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1402014e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140141b53
cmp qword [rsp + 0x70], r15
je 0x140141b53
mov qword [rbp - 0x68], r15
cmp qword [rbx + 0x18], 8
jb 0x1401411e3
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400d5400
nop
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1401411fe
mov r14, qword [rax]
jmp 0x140141201
mov r14, r15
mov rdi, qword [rsp + 0x70]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.1400059b0]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call rbx
mov r14d, eax
test eax, eax
js 0x140141aff
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140141aff
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1401412db
mov rdi, qword [rbp - 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x70]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rdi
call rbx
cmp dword [0x14028c8e8], 0
jle 0x1401412d2
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
or r12, 0xffffffffffffffff
jmp 0x140141b42
mov qword [rbp - 0x70], r15
cmp qword [rsi + 0x18], 8
jb 0x1401412e9
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400d5400
mov rbx, rax
mov ecx, SafeArrayCopy
call fcn.140165194
mov rsi, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14014132a
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [0x14022c778]
call fcn.140188200
mov qword [rsi], rax
jmp 0x14014132d
mov rsi, r15
mov qword [rbp - 0x30], rsi
test rsi, rsi
jne 0x140141341
mov ecx, 0x8007000e
call fcn.1401880f0
nop
mov rax, qword [rbx]
test rax, rax
je 0x14014134e
mov r14, qword [rax]
jmp 0x140141351
mov r14, r15
mov rdi, qword [rbp - 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
call qword [fcn.1400059b0]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, rdi
call rbx
mov ebx, eax
lea rcx, [rbp - 0x30]
call fcn.1400d54a0
nop
lea rcx, [rbp - 0x38]
call fcn.1400d54a0
test ebx, ebx
js 0x14014128a
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x14014128a
mov rsi, r15
mov qword [rbp - 0x40], r15
lea r14, vtable.WaJson.0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x78], r15d
mov byte [rbp - 0x78], sil
mov dword [rbp - 0x80], 5
or r12, 0xffffffffffffffff
nop dword [rax + rax]
mov dword [rbp - 0x48], r15d
test rsi, rsi
je 0x140141406
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rsi
call rbx
mov qword [rbp - 0x40], r15
mov rdi, qword [rbp - 0x70]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.1400059b0]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
mov r8d, 1
mov edx, r12d
mov rcx, rdi
call rbx
cmp dword [rbp - 0x48], 0
je 0x140141a5b
test eax, eax
js 0x140141a5b
mov rbx, qword [r13]
cmp rbx, qword [r13 + 8]
je 0x140141a28
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], r15
mov word [rbp + 0x58], r15w
mov r9, r12
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.1400be8c0
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
cmp qword [rbx + 0x18], 8
jb 0x14014148b
mov rdx, qword [rbx]
jmp 0x14014148e
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.1400d5400
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x1401414a5
mov r14, qword [rcx]
jmp 0x1401414a8
mov r14, r15
mov rsi, qword [rbp - 0x40]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [fcn.1400059b0]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x28]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call rdi
mov edi, eax
lea rcx, [rbp - 8]
call fcn.1400d54a0
test edi, edi
js 0x1401419ee
movzx ecx, word [rbp - 0x28]
mov eax, ecx
cmp ecx, 2
jb 0x1401417b9
cmp eax, 3
jbe 0x1401416fa
cmp eax, 8
je 0x1401415dc
cmp eax, 0xb
je 0x14014151c
cmp eax, 0x10
je 0x1401416fa
jmp 0x1401417b9
movsx esi, word [rbp - 0x20]
lea r14, vtable.WaJson.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x60], r15d
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x58], 5
mov rdi, qword [fcn.1400c02b0]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rcx, [rsp + 0x50]
call rdi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], 1
cmp dword [rbp - 0x80], 2
je 0x140141595
mov dword [rsp + 0x68], 2
mov rax, qword [rsp + 0x78]
mov rdi, qword [rax + 0x90]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call rdi
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x18]
mov rcx, qword [rbp - 0x78]
call fcn.1400c70b0
mov rsi, qword [rbp + 0x18]
mov rax, qword [rsi + 0x30]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x30]
call rdi
nop
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call fcn.1400c02b0
nop
jmp 0x1401419f5
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x1401415e9
mov al, 1
jmp 0x140141652
cmp rcx, 0xffffffffffffffff
jne 0x1401415f3
mov al, 1
jmp 0x140141652
mov eax, 0xbaadf00d
cmp rcx, rax
jne 0x140141601
mov al, 1
jmp 0x140141652
mov eax, 0xdddddddd
cmp rcx, rax
jne 0x14014160f
mov al, 1
jmp 0x140141652
mov eax, 0xfeeefeee
cmp rcx, rax
jne 0x14014161d
mov al, 1
jmp 0x140141652
mov eax, 0xabababab
cmp rcx, rax
jne 0x14014162b
mov al, 1
jmp 0x140141652
mov eax, 0xcdcdcdcd
cmp rcx, rax
jne 0x140141639
mov al, 1
jmp 0x140141652
mov eax, 0xcccccccc
cmp rcx, rax
jne 0x140141647
mov al, 1
jmp 0x140141652
mov eax, 0xfdfdfdfd
cmp rcx, rax
sete al
lea rdx, [0x1402271c4]
test al, al
cmove rdx, rcx
lea r14, vtable.WaJson.0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x50], r15d
mov byte [rbp - 0x50], 0
mov dword [rbp - 0x58], 5
lea rcx, [rbp - 0x60]
call fcn.1400c2c80
nop
cmp dword [rbp - 0x80], 2
je 0x1401416b6
mov dword [rsp + 0x68], 2
mov rax, qword [rsp + 0x78]
mov rdi, qword [rax + 0x90]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call rdi
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp - 0x78]
call fcn.1400c70b0
mov rsi, qword [rbp + 0x28]
mov rax, qword [rsi + 0x30]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rbp - 0x60]
lea rcx, [rsi + 0x30]
call rdi
nop
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
call fcn.1400c02b0
nop
jmp 0x1401419f5
mov esi, dword [rbp - 0x20]
lea r14, vtable.WaJson.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x60], r15d
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x58], 5
mov rdi, qword [fcn.1400c02b0]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rcx, [rsp + 0x50]
call rdi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], 1
cmp dword [rbp - 0x80], 2
je 0x140141772
mov dword [rsp + 0x68], 2
mov rax, qword [rsp + 0x78]
mov rdi, qword [rax + 0x90]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call rdi
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp - 0x78]
call fcn.1400c70b0
mov rsi, qword [rbp + 0x38]
mov rax, qword [rsi + 0x30]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x30]
call rdi
nop
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call fcn.1400c02b0
nop
jmp 0x1401419f5
test cl, 0x1b
je 0x1401419ee
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401419ee
cmp rcx, 0xffffffffffffffff
je 0x1401419ee
mov eax, 0xbaadf00d
cmp rcx, rax
je 0x1401419ee
mov eax, 0xdddddddd
cmp rcx, rax
je 0x1401419ee
mov eax, 0xfeeefeee
cmp rcx, rax
je 0x1401419ee
mov eax, 0xabababab
cmp rcx, rax
je 0x1401419ee
mov eax, 0xcdcdcdcd
cmp rcx, rax
je 0x1401419ee
mov eax, 0xcccccccc
cmp rcx, rax
je 0x1401419ee
mov eax, 0xfdfdfdfd
cmp rcx, rax
je 0x1401419ee
call fcn.140141100
cmp eax, 1
jne 0x1401419ee
lea rax, vtable.WaJson.0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x60], r15d
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x58], 5
mov r14d, r15d
mov rcx, qword [rbp - 0x20]
cmp dword [rcx + 0x18], r15d
jbe 0x140141974
lea r12, vtable.WaJson.0
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [rcx + 0x1c]
add edx, r14d
mov dword [rbp - 0x38], edx
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
test eax, eax
js 0x14014195f
mov esi, dword [rbp - 0x30]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x50], r15d
mov byte [rbp - 0x50], 0
mov dword [rbp - 0x58], 5
mov rdi, qword [fcn.1400c02b0]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rcx, [rbp - 0x60]
call rdi
mov dword [rbp - 0x50], esi
mov dword [rbp - 0x58], 1
cmp dword [rsp + 0x58], 3
je 0x140141919
mov dword [rsp + 0x68], 3
mov rax, qword [rsp + 0x50]
mov rdi, qword [rax + 0x90]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call rdi
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 8], rax
jne 0x140141930
mov rcx, rdi
call fcn.1400c5b30
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x68], rcx
mov qword [rbp + 0x10], rcx
test rcx, rcx
je 0x14014194c
lea rdx, [rbp - 0x60]
call fcn.1400bf000
nop
add qword [rdi + 8], 0x18
mov qword [rbp - 0x60], r12
lea rcx, [rbp - 0x60]
call fcn.1400c02b0
nop
inc r14d
mov rcx, qword [rbp - 0x20]
cmp r14d, dword [rcx + 0x18]
jb 0x140141890
or r12, 0xffffffffffffffff
cmp dword [rbp - 0x80], 2
je 0x1401419a3
mov dword [rsp + 0x68], 2
mov rax, qword [rsp + 0x78]
mov rdi, qword [rax + 0x90]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call rdi
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp - 0x78]
call fcn.1400c70b0
mov rsi, qword [rbp + 0x48]
mov rax, qword [rsi + 0x30]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x30]
call rdi
nop
lea r14, vtable.WaJson.0
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call fcn.1400c02b0
nop
jmp 0x1401419f5
lea r14, vtable.WaJson.0
lea rcx, [rbp - 0x28]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov r8, qword [rbp + 0x70]
cmp r8, 8
jb 0x140141a1a
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400be810
add rbx, 0x20
cmp rbx, qword [r13 + 8]
jne 0x140141451
mov rdi, qword [rbp]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xd8]
mov rcx, rbx
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call rbx
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x140141a5f
mov rsi, qword [rbp - 0x40]
jmp 0x1401413e0
mov rdi, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x40]
test rsi, rsi
je 0x140141a81
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rsi
call rbx
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x140141a9b
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rdi
call rbx
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x140141ab9
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140141ad8
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rdi
call rbx
cmp dword [0x14028c8e8], 0
jle 0x140141aed
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x78]
call fcn.1400c02b0
nop
jmp 0x140141b45
mov rdi, qword [rsp + 0x70]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, rdi
call rbx
cmp dword [0x14028c8e8], 0
jle 0x140141b2e
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
or r12, 0xffffffffffffffff
mov eax, 0xffffffea
cmp r14d, 0x80070005
cmove r12d, eax
mov r15d, r12d
lea rcx, [rbp - 0x10]
call fcn.1400d54a0
mov eax, r15d
jmp 0x140141b6c
cmp dword [0x14028c8e8], r15d
jle 0x140141b68
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
or rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret