Function at 0x140014260
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 - 0x27]
sub rsp, 0xd0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov r15, rdx
xor ebx, ebx
mov r14d, ebx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov r13d, eax
test eax, eax
jns 0x1400142aa
cmp eax, 0x80010106
jne 0x1400146ca
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x41], rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e0938]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1400f07a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rsi, qword [rbp - 0x49]
mov ecx, 0x18
call fcn.1400cafcc
mov rdi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140014322
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.._rootcimv2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x140014325
mov ecx, 0x8007000e
call fcn.1400cb6a0
int3
mov rdi, rbx
mov qword [rbp - 9], rdi
test rdi, rdi
jne 0x140014339
mov ecx, 0x8007000e
call fcn.1400cb6a0
nop
mov rax, qword [rsi]
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
sets sil
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x14001439d
mov rcx, qword [rdi]
test rcx, rcx
je 0x140014387
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140014395
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test sil, sil
jne 0x14001468b
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14001468b
mov r12, qword [rbp - 0x59]
mov ecx, 0x18
call fcn.1400cafcc
mov rdi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140014420
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.Select__From_Win32_ComputerSystemProduct
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x140014423
mov ecx, 0x8007000e
call fcn.1400cb6a0
int3
mov rdi, rbx
mov qword [rbp + 0x17], rdi
test rdi, rdi
jne 0x140014437
mov ecx, 0x8007000e
call fcn.1400cb6a0
nop
mov ecx, 0x18
call fcn.1400cafcc
mov rsi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140014478
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, [0x1400e0b18]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
jne 0x14001447b
mov ecx, 0x8007000e
call fcn.1400cb6a0
int3
mov rsi, rbx
mov qword [rbp + 0xf], rsi
test rsi, rsi
jne 0x14001448f
mov ecx, 0x8007000e
call fcn.1400cb6a0
nop
mov rax, qword [r12]
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_49
mov r8, qword [rdi]
mov rdx, qword [rsi]
mov rcx, r12
call qword [rax + 0xa0]
test eax, eax
sets r12b
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
dec eax
jne 0x1400144ed
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400144d6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400144e4
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rsi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x14001451d
mov rcx, qword [rdi]
test rcx, rcx
je 0x140014507
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140014515
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test r12b, r12b
jne 0x14001468b
mov dword [rbp + 0x77], ebx
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x41]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
test eax, eax
js 0x14001468b
lea rcx, [rbp - 0x39]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp - 0x41]
test rdi, rdi
jne 0x14001456a
jmp 0x140014680
mov ecx, 0x18
call fcn.1400cafcc
mov rsi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x1400145ab
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.IdentifyingNumber
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
jne 0x1400145ae
mov ecx, 0x8007000e
call fcn.1400cb6a0
int3
mov rsi, rbx
mov qword [rbp - 1], rsi
test rsi, rsi
jne 0x1400145c2
mov ecx, 0x8007000e
call fcn.1400cb6a0
nop
mov rax, qword [rdi]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, rdi
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
test eax, eax
sets dil
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
dec eax
jne 0x140014615
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400145ff
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14001460d
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rsi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test dil, dil
je 0x14001461c
jmp 0x140014680
mov r14d, 1
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea r9d, [r14 + 7]
xor r8d, r8d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jns 0x14001464e
mov ecx, eax
call fcn.140001000
int3
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x140014669
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea ebx, [rcx - 1]
mov r8d, ebx
mov rcx, r15
call fcn.140001e80
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14001469b
mov rax, qword [rcx]
call qword [rax + Ordinal_17]
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400146ab
mov rax, qword [rcx]
call qword [rax + Ordinal_17]
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400146bb
mov rax, qword [rcx]
call qword [rax + Ordinal_17]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400146ca
mov rdx, qword [rcx]
call qword [rdx + Ordinal_17]
test r13d, r13d
js 0x1400146d5
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, r14d
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret