Function at 0x14004fab0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x710
mov rax, qword [0x14030c918]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov r15, rdx
mov byte [rdx], 0
cmp byte [rcx + 0x28], 0
jne 0x14004fae9
xor al, al
jmp 0x14004fd4f
lea r8, [rsp + 0x60]
lea rdx, str.SELECT__FROM_Win32_NetworkAdapter
call fcn.140052be0
test al, al
je 0x14004fd4d
xor r12d, r12d
mov dword [rsp + 0x34], r12d
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x34]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xc0]
lea edx, [r12 - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x14004fd4d
mov esi, r12d
nop dword [rax]
cmp esi, dword [rsp + 0x34]
jae 0x14004fd4d
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
lea r14, [rsp + 0xc0]
lea r14, [r14 + rax*8]
lea r9, [rsp + 0x38]
lea r8, str.PhysicalAdapter
mov rdx, qword [r14]
call fcn.140052450
test al, al
je 0x14004fd31
cmp word [rsp + 0x38], 0xb
jne 0x14004fb93
cmp word [rsp + 0x40], 0
setne bl
jmp 0x14004fbd4
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, VariantTimeToDosDateTime
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14004fd77
cmp word [rsp + 0x70], 0xffff
sete bl
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
je 0x14004fd31
lea r9, [rsp + 0x38]
lea r8, str.NetConnectionStatus
mov rdx, qword [r14]
call fcn.140052450
test al, al
je 0x14004fd31
cmp word [rsp + 0x38], 0x16
jne 0x14004fc06
mov ebx, dword [rsp + 0x40]
jmp 0x14004fc4e
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 0x16
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14004fd7f
mov ebx, dword [rsp + 0x88]
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebx, 2
jne 0x14004fd31
lea r9, [rsp + 0x38]
lea r8, str.Name
mov rdx, qword [r14]
call fcn.140052450
test al, al
je 0x14004fd31
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400540c0
nop
mov rax, qword [rax]
test rax, rax
je 0x14004fca2
mov rdx, qword [rax]
jmp 0x14004fca5
mov rdx, r12
lea rcx, [rsp + 0x98]
call fcn.140009744
mov rbx, rax
call fcn.14006f7a0
nop
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rax
call fcn.14006fbf0
movzx edi, al
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14004fd21
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14004fd1c
test rbx, rbx
je 0x14004fd1c
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004fcfd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004fd0f
call fcn.140075f74
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.14000410c
mov qword [rsp + 0x50], r12
test dil, dil
je 0x14004fd31
cmp byte [rsp + 0x30], 0
je 0x14004fd31
mov byte [r15], 1
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc esi
jmp 0x14004fb40
mov al, 1
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140212f90
mov rbx, qword [rsp + 0x750]
add rsp, 0x710
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.140214220
nop
mov ecx, eax
call fcn.140214220
int3