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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, r9
mov r12, r8
mov r14, rdx
mov qword [rsp + 0x58], rdx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], r8
xor r15d, r15d
mov rcx, qword [r8 + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 7
jb 0x14003a879
mov rax, r8
cmp qword [r8 + 0x18], 7
jbe 0x14003a0bb
mov rax, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, str.SELECT
lea rcx, [rbp - 0x70]
call fcn.140004f40
nop
mov r8d, 6
lea rdx, str._FROM
lea rcx, [rbp - 0x70]
call fcn.1400048b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14003a134
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400048b0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rsp + 0x68]
call fcn.1400041a0
nop
lea rcx, [rbp - 0x70]
call fcn.1400041a0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov dword [rbp - 8], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14003a33f
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x14003a338
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x14013def8]
mov r13d, 1
mov r8d, r13d
xor edx, edx
lea rcx, [0x14013df08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14003a338
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.1400ef3b0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003a26f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r13d
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14003a837
jmp 0x14003a272
mov rbx, r15
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14003a86e
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x48]
call rsi
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14003a2ed
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a2ce
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003a2e0
call fcn.1400ef634
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400ef634
test esi, esi
js 0x14003a32e
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
mov edx, 0xa
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14003a381
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rbp]
call fcn.1400041a0
nop
mov rcx, r14
call fcn.1400041a0
nop
mov rcx, r12
call fcn.1400041a0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400ef390
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
lea rsi, [rbp]
cmp qword [rbp + 0x18], 7
cmova rsi, qword [rbp]
mov ecx, 0x18
call fcn.1400ef3b0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003a3e4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], r13d
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14003a3e6
test rsi, rsi
jne 0x14003a842
jmp 0x14003a3e6
xor ebx, ebx
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14003a86e
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.1400ef3b0
mov rsi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14003a43d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], r13d
lea rcx, [0x140144bf0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x14003a84d
jmp 0x14003a43f
xor esi, esi
mov qword [rsp + 0x60], rsi
test rsi, rsi
je 0x14003a82c
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x50]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x14003a4bd
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003a499
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003a4af
call fcn.1400ef634
mov qword [rsi + 8], 0
mov edx, 0x18
mov rcx, rsi
call fcn.1400ef634
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003a504
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a4e1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003a4f7
call fcn.1400ef634
mov qword [rbx + 8], 0
mov edx, 0x18
mov rcx, rbx
call fcn.1400ef634
test r14d, r14d
jns 0x14003a538
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rbp]
call fcn.1400041a0
nop
mov rcx, qword [rsp + 0x58]
jmp 0x14003a34c
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14003a7b1
xor r14d, r14d
nop dword [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x38]
mov r8d, r13d
mov edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp - 8], 0
je 0x14003a7b1
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14003a58b
mov rdx, qword [r12]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x30]
xor r8d, r8d
call qword [rax + 0x20]
lea rdx, [0x1401762b8]
lea rcx, [0x140176300]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x14003a766
lea rdx, [0x140176288]
lea rcx, [0x140176300]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x14003a766
lea rdx, [0x140176058]
lea rcx, [0x140176300]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a5f9
movsx rax, word [rbp - 0x28]
jmp 0x14003a76a
lea rdx, [0x1401762a0]
lea rcx, [0x140176300]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a619
mov eax, dword [rbp - 0x28]
jmp 0x14003a76a
lea rdx, [0x1401762e8]
lea rcx, [0x140176300]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a63a
movzx eax, word [rbp - 0x28]
jmp 0x14003a76a
lea rdx, [0x1401762d0]
lea rcx, [0x140176300]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a65b
mov rax, qword [rbp - 0x28]
jmp 0x14003a76a
lea rdx, [0x140176270]
lea rcx, [0x140176300]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
jne 0x14003a67c
mov rax, qword [rbp - 0x28]
jmp 0x14003a76a
mov rsi, qword [rbp - 0x28]
mov ecx, 0x18
call fcn.1400ef3b0
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14003a6c7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], r13d
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14003a6ca
test rsi, rsi
jne 0x14003a858
jmp 0x14003a6ca
mov rbx, r14
mov qword [rbp - 0x78], rbx
test rbx, rbx
je 0x14003a86e
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a6fb
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test rax, rax
je 0x14003a863
jmp 0x14003a6fe
mov rax, r14
mov qword [rsp + 0x50], rax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14003a717
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x14003a725
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140034f30
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003a790
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003a745
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003a757
call fcn.1400ef634
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.1400ef634
jmp 0x14003a790
movsxd rax, dword [rbp - 0x28]
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
mov qword [rsp + 0x50], rax
je 0x14003a783
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x14003a790
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140034f30
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jne 0x14003a550
mov r9, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, r9
sub rcx, rdx
sar rcx, 3
test rcx, rcx
jne 0x14003a80f
cmp rcx, 1
jbe 0x14003a7d7
lea rax, [rdx + 8]
mov qword [rdi + 8], rax
jmp 0x14003a80f
mov rax, qword [rdi + 0x10]
sub rax, rdx
sar rax, 3
cmp rax, 1
jae 0x14003a7f2
mov rcx, rdi
call fcn.14003cc70
jmp 0x14003a80f
sub r13, rcx
lea r8, [r13*8]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 8], rbx
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
jmp 0x14003a517
mov ecx, 0x8007000e
call fcn.1400f0470
nop
mov ecx, 0x8007000e
call fcn.1400f0470
nop
mov ecx, 0x8007000e
call fcn.1400f0470
nop
mov ecx, 0x8007000e
call fcn.1400f0470
nop
mov ecx, 0x8007000e
call fcn.1400f0470
nop
mov ecx, 0x8007000e
call fcn.1400f0470
nop
mov ecx, 0x8007000e
call fcn.1400f0470
nop
call fcn.140002af0
int3