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

Disassembly:
test rcx, rcx
je 0x180005171
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1800180a0]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
cmp word [rcx], si
je 0x180005150
lea rax, [rsp + 0x70]
lea r9, [0x1800139d0]
lea r8d, [rsi + 1]
lea rcx, [0x180013aa0]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x180005120
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rdx, str.ROOTCIMV2
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [rax + 0x18]
test eax, eax
js 0x180005120
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
lea edx, [rsi + 0xa]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x180005120
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea r9d, [rsi + 0x30]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdx
lea rdx, [0x180014b38]
mov r8, rdi
mov qword [rsp + 0x20], rsi
call qword [rax + 0xa0]
test eax, eax
js 0x180005120
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180005130
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x50], esi
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x68]
or edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rsp + 0x50], esi
je 0x180005120
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, str.MACAddress
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [rax + 0x20]
mov rdi, qword [rbp - 0x80]
lea rax, [rbp - 0x70]
mov edx, 0x80
sub rdi, rax
lea rcx, [rbp - 0x70]
lea rax, [rdx + 0x7fffff7e]
test rax, rax
je 0x1800050a7
movzx eax, word [rdi + rcx]
test ax, ax
je 0x1800050a7
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x180005084
jmp 0x1800050ac
test rdx, rdx
jne 0x1800050b0
sub rcx, 2
mov word [rcx], si
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x70]
mov r11, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x18000510b
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + r11*2 - 0x70]
cmp ax, 0x3a
je 0x180005103
mov word [rcx], ax
add rcx, 2
inc r11
cmp r11, rdx
jl 0x1800050f0
cmp word [rbx], si
jne 0x180005120
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x180005010
jmp 0x180005130
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180005130
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180005140
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180005150
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.180005a00
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1a0
pop rdi
pop rsi
pop rbp
repz ret