Function at 0xbef03700
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
lea rax, [rbp + 0x7f]
xor r14d, r14d
lea r9, [0xbeef1ab0]
mov qword [rbp + 0x7f], r14
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rcx, [0xbeef1aa0]
xor sil, sil
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0xbef03a4e
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], r14
lea rdx, [0xbeef3914]
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov rax, qword [rcx]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [rax + 0x18]
test eax, eax
jne 0xbef03a44
mov rcx, qword [rbp + 0x77]
lea r8, [rbp - 9]
lea rdx, [0xbeef1ac0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jne 0xbef037dd
mov rcx, qword [rbp - 9]
mov r9d, 0xffffffff
mov rdx, qword [rbp + 0x77]
mov r8d, r9d
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], r14
mov rax, qword [rcx]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], 0xffffffffffffffff
call qword [rax + 0x20]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp - 1]
mov qword [rsp + 0x28], rdx
lea r8, [0xbeef5384]
mov r9d, 0x30
mov qword [rsp + 0x20], r14
lea rdx, [0xbeef37a4]
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
jne 0xbef03a3a
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r15
lea r15, [0xbeef5340]
mov rcx, qword [rbp - 1]
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x6f]
mov edx, 0xffffffff
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0xbef03a18
cmp dword [rbp + 0x67], r14d
je 0xbef03a18
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r14
lea rdx, [0xbeef4918]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0xbef03a05
cmp dword [rbp + 0xf], 0x100000
jbe 0xbef03a05
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r14
lea rdx, [0xbeef4930]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0xbef03a05
mov rcx, qword [rbp + 0xf]
cmp rcx, qword [0xbef0dab0]
jb 0xbef03a05
cmp rcx, qword [0xbef0dab8]
ja 0xbef03a05
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp + 0xf]
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
je 0xbef03a05
mov ebx, r14d
mov rdi, r15
test sil, sil
jne 0xbef03a05
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp + 7]
mov rdx, qword [rdi]
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0xbef039f6
mov rcx, qword [rbp + 0xf]
cmp rcx, qword [0xbef0dab0]
jb 0xbef039f6
cmp rcx, qword [0xbef0dab8]
ja 0xbef039f6
mov rax, qword [0xbef0e4c0]
lea rdx, [0xbeef4960]
call rax
test rax, rax
jne 0xbef039e9
mov rax, qword [0xbef0e4c0]
lea rdx, [0xbeef4968]
mov rcx, qword [rbp + 0xf]
call rax
test rax, rax
jne 0xbef039e9
mov rax, qword [0xbef0e4c0]
lea rdx, [0xbeef4978]
mov rcx, qword [rbp + 0xf]
call rax
test rax, rax
jne 0xbef039e9
mov rax, qword [0xbef0e4c0]
lea rdx, [0xbeef4988]
mov rcx, qword [rbp + 0xf]
call rax
test rax, rax
jne 0xbef039e9
mov rax, qword [0xbef0e4c0]
lea rdx, [0xbeef4998]
mov rcx, qword [rbp + 0xf]
call rax
test rax, rax
jne 0xbef039e9
mov rax, qword [0xbef0e4c0]
lea rdx, [0xbeef49a8]
mov rcx, qword [rbp + 0xf]
call rax
test rax, rax
je 0xbef039ec
mov sil, 1
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
inc ebx
add rdi, 8
cmp ebx, 4
jb 0xbef03906
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
call qword [rax + 0x10]
test sil, sil
je 0xbef03833
mov rcx, qword [rbp - 1]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov r15, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x7f]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, sil
add rsp, 0xa0
pop r14
pop rsi
pop rbp
ret