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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x1401cf048]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r13, r8
mov r14, rdx
mov r12, rcx
mov qword [rbp + 0x168], rcx
xor r15d, r15d
mov dword [rbp - 0x58], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14003d9f9
lea rax, fcn.14003cfb0
mov qword [rbp + 0x128], rax
lea rax, [rbp + 0x128]
mov qword [rbp + 0x160], rax
lea rax, [rbp + 0x128]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x2b0]
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x2e8], r15
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x128]
call fcn.14003cfb0
mov qword [rbp + 0x2e8], rax
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x14003d233
mov rax, qword [rcx]
lea rdx, [rbp + 0x128]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x160], r15
mov qword [rbp - 0x68], r15
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x14015ea90]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14015eaa0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14003da1c
lea rax, fcn.14003cfc0
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x270]
mov qword [rsp + 0x50], rax
mov qword [rbp + 0x2a8], r15
lea rdx, [rbp + 0x270]
lea rcx, [rbp - 0x18]
call fcn.14003cfc0
mov qword [rbp + 0x2a8], rax
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14003d2cc
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x20], r15
mov qword [rbp - 0x78], r15
mov rax, qword [rbp - 0x68]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.140100acc
mov rbx, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14003d317
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14003d9e3
jmp 0x14003d31a
mov rbx, r15
mov qword [rbp - 0x40], rbx
test rbx, rbx
je 0x14003da3f
lea rax, [rbp - 0x78]
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 - 0x68]
call rdi
mov esi, eax
shr esi, 0x1f
mov rdi, 0xffffffffffffffff
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14003d39b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003d37c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003d38e
call fcn.1401009e8
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1401009e8
test sil, sil
jne 0x14003da4a
lea rax, fcn.14003cfe0
mov qword [rbp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x28]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x230]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x268], r15
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x28]
call fcn.14003cfe0
mov qword [rbp + 0x268], rax
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14003d40e
mov rax, qword [rcx]
lea rdx, [rbp + 0x28]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x60], r15
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]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14003da6d
mov qword [rbp - 0x50], r15
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.140100acc
mov rbx, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14003d488
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
mov rcx, qword [r14]
call fcn.140101a90
mov qword [rbx], rax
jmp 0x14003d48a
xor ebx, ebx
mov qword [rbp - 0x70], rbx
test rbx, rbx
je 0x14003da90
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.140100acc
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003d4db
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
lea rcx, [0x140158a68]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x14003d9ee
jmp 0x14003d4dd
xor esi, esi
mov qword [rsp + 0x58], rsi
test rsi, rsi
je 0x14003da9b
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x78]
call r15
mov r14d, eax
shr r14d, 0x1f
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x14003d55c
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003d538
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003d54e
call fcn.1401009e8
mov qword [rsi + 8], 0
mov edx, 0x18
mov rcx, rsi
call fcn.1401009e8
nop
mov eax, edi
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003d5a0
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003d57d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003d593
call fcn.1401009e8
mov qword [rbx + 8], 0
mov edx, 0x18
mov rcx, rbx
call fcn.1401009e8
test r14b, r14b
jne 0x14003daa6
lea rax, fcn.14003d000
mov qword [rbp + 0x68], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x68]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x1f0]
mov qword [rbp - 0x70], rax
xor esi, esi
mov qword [rbp + 0x228], rsi
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x68]
call fcn.14003d000
mov qword [rbp + 0x228], rax
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x14003d61e
mov rax, qword [rcx]
lea rdx, [rbp + 0x68]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xa0], rsi
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x80], esi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x60]
mov r8d, 1
mov edx, edi
call qword [rax + 0x20]
test eax, eax
js 0x14003dac9
cmp dword [rbp - 0x80], 0
je 0x14003daec
lea rax, fcn.14003d020
mov qword [rbp + 0xa8], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xa8]
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x1b0]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x1e8], rsi
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xa8]
call fcn.14003d020
mov qword [rbp + 0x1e8], rax
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x14003d6db
mov rax, qword [rcx]
lea rdx, [rbp + 0xa8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xe0], rsi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x20]
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x2f0]
call fcn.14003e160
nop
cmp qword [rax + 0x18], 8
jb 0x14003d719
mov rax, qword [rax]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x60]
call rbx
mov ebx, eax
shr ebx, 0x1f
mov rdx, qword [rbp + 0x308]
cmp rdx, 8
jb 0x14003d77e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d779
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003db0f
call fcn.1401009e8
test bl, bl
jne 0x14003d9c0
lea rax, fcn.14003d040
mov qword [rbp + 0xe8], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0xe8]
mov qword [rbp + 0x120], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x170]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x1a8], rsi
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xe8]
call fcn.14003d040
mov qword [rbp + 0x1a8], rax
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x14003d80b
mov rax, qword [rcx]
lea rdx, [rbp + 0xe8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x120], rsi
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x40], rax
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14003d813
mov qword [rbp - 0x38], rdi
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.14003dd20
mov dword [rbp - 0x58], 1
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x14003d877
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x14003d877
mov rax, qword [rcx]
lea rdx, [rbp + 0x170]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1a8], rsi
mov rcx, qword [rbp + 0x1e8]
test rcx, rcx
je 0x14003d8af
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x1e8]
test rcx, rcx
je 0x14003d8af
mov rax, qword [rcx]
lea rdx, [rbp + 0x1b0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1e8], rsi
mov rcx, qword [rbp + 0x228]
test rcx, rcx
je 0x14003d8e7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x228]
test rcx, rcx
je 0x14003d8e7
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x228], rsi
mov rcx, qword [rbp + 0x268]
test rcx, rcx
je 0x14003d91f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x268]
test rcx, rcx
je 0x14003d91f
mov rax, qword [rcx]
lea rdx, [rbp + 0x230]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x268], rsi
mov rcx, qword [rbp + 0x2a8]
test rcx, rcx
je 0x14003d957
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x2a8]
test rcx, rcx
je 0x14003d957
mov rax, qword [rcx]
lea rdx, [rbp + 0x270]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x2a8], rsi
mov r9, qword [rbp + 0x2e8]
test r9, r9
je 0x14003d993
mov rax, qword [r9]
mov rcx, r9
call qword [rax + 0x10]
mov r9, qword [rbp + 0x2e8]
test r9, r9
je 0x14003d993
mov rcx, qword [r9]
mov r8, qword [rcx + 0x20]
lea rax, [rbp + 0x2b0]
cmp r9, rax
setne dl
mov rcx, r9
call r8
nop
mov rax, r12
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140100a80
mov rbx, qword [rsp + 0x478]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Failed_to_extract_property_from_query_result
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
nop
mov ecx, 0x8007000e
call fcn.140101a80
nop
mov ecx, 0x8007000e
call fcn.140101a80
nop
lea rdx, str.Failed_to_initialize_COM
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
nop
lea rdx, str.Failed_to_create_IWbemLocator_instance
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
nop
mov ecx, 0x8007000e
call fcn.140101a80
int3
lea rdx, str.Failed_to_connect_to_IWbemServices
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
nop
lea rdx, str.Failed_to_set_IWbemServices_security_levels
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
int3
mov ecx, 0x8007000e
call fcn.140101a80
nop
mov ecx, 0x8007000e
call fcn.140101a80
nop
lea rdx, str.Failed_to_query_IWbemServices
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
nop
lea rdx, str.Failed_to_extract_result_from_WMI_enumerator
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
int3
lea rdx, str.Failed_to_extract_WMI_result
lea rcx, [rsp + 0x60]
call fcn.140001430
lea rdx, [0x1401c8d30]
lea rcx, [rsp + 0x60]
call fcn.140101e78
nop
call fcn.140107a98
int3