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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x390
mov qword [rsp + 0x220], 0xfffffffffffffffe
mov rax, qword [0x14005bd60]
xor rax, rsp
mov qword [rsp + 0x380], rax
call fcn.140003c70
mov dword [rsp + 0x198], eax
mov byte [rsp + 0x50], 0
lea r9, str.HFNCv2
lea r8, [0x14003e240]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0xb0]
call fcn.14000cbe0
nop
lea rcx, [rsp + 0xb0]
call fcn.14000ae50
test eax, eax
jne 0x14000fbde
lea rcx, [rsp + 0xb0]
call fcn.14000a670
mov rcx, qword [rsp + 0x3a8]
cmp eax, dword [rcx]
jge 0x14000fba7
lea rcx, [rsp + 0xb0]
call fcn.14000a670
inc eax
cdqe
mov qword [rsp + 0x1d8], rax
lea rcx, [rsp + 0xb0]
call fcn.14000a650
mov rcx, qword [rsp + 0x3a8]
movsxd rcx, dword [rcx]
mov rdx, qword [rsp + 0x1d8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x3a0]
call qword [sym.imp.MSVCR120.dll_wcsncpy_s]
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0xb0]
call fcn.14000a670
mov rcx, qword [rsp + 0x3a8]
mov dword [rcx], eax
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x5c], al
lea rcx, [rsp + 0xb0]
call fcn.140009f90
movzx eax, byte [rsp + 0x5c]
jmp 0x1400105ef
lea rdx, str.select__from_Win32_NetworkAdapter_where_NOT_PNPDeviceID_LIKE_ROOT__AND_NOT_PNPDeviceID_LIKE_SW_
lea rcx, [rsp + 0x180]
call fcn.14000a050
nop
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140049b70]
mov r8d, 1
xor edx, edx
lea rcx, [0x140049b60]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x14000fc57
mov byte [rsp + 0x5b], 0
lea rcx, [rsp + 0x180]
call fcn.140009f90
nop
lea rcx, [rsp + 0xb0]
call fcn.140009f90
movzx eax, byte [rsp + 0x5b]
jmp 0x1400105ef
mov qword [rsp + 0x70], 0
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x218]
call fcn.140013c20
mov qword [rsp + reloc.mfc120u.dll_Ordinal_488], rax
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_488]
mov qword [rsp + 0x1f8], rax
mov rcx, qword [rsp + 0x1f8]
call fcn.140014020
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x208], rcx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x208]
call qword [rax + 0x18]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x218]
call fcn.140013de0
cmp dword [rsp + 0x54], 0
jge 0x14000fd41
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + InitCommonControls]
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x180]
call fcn.140009f90
nop
lea rcx, [rsp + 0xb0]
call fcn.140009f90
movzx eax, byte [rsp + 0x58]
jmp 0x1400105ef
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x14000fdcd
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + InitCommonControls]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + InitCommonControls]
mov byte [rsp + 0x5a], 0
lea rcx, [rsp + 0x180]
call fcn.140009f90
nop
lea rcx, [rsp + 0xb0]
call fcn.140009f90
movzx eax, byte [rsp + 0x5a]
jmp 0x1400105ef
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x180]
call fcn.14000a650
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.140013c20
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.140014020
mov qword [rsp + 0x150], rax
lea rdx, [0x14003d80c]
lea rcx, [rsp + 0x160]
call fcn.140013b90
mov qword [rsp + reloc.mfc120u.dll_Ordinal_320], rax
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.140014020
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov qword [rsp + 0x120], rcx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, qword [rsp + 0x150]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x120]
call qword [rax + 0xa0]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x160]
call fcn.140013de0
nop
lea rcx, [rsp + 0x1a8]
call fcn.140013de0
cmp dword [rsp + 0x54], 0
jl 0x140010575
cmp qword [rsp + 0x80], 0
je 0x140010575
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x260]
mov r8d, 0x1e
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x20]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0xe0]
call fcn.140009f50
nop
cmp dword [rsp + 0x54], 0
jl 0x140010568
cmp dword [rsp + 0x68], 0
jbe 0x140010568
lea rcx, [rsp + 0xf8]
call fcn.140013a40
nop
lea rcx, [rsp + 0x98]
call fcn.1400139b0
mov dword [rsp + 0x6c], 0
jmp 0x14000ff74
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x6c], eax
jae 0x14001031a
mov eax, dword [rsp + 0x6c]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140010315
lea rdx, [0x14003d508]
lea rcx, [rsp + 0x210]
call fcn.140013c20
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x1b8]
call fcn.140014020
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
mov qword [rsp + 0x1c8], rcx
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xc8]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x1c8]
call qword [rax + 0x20]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x210]
call fcn.140013de0
cmp dword [rsp + 0x54], 0
jl 0x140010315
movzx eax, word [rsp + 0xc8]
cmp eax, 3
jne 0x140010315
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x94], eax
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rdx, [0x14003d518]
lea rcx, [rsp + 0x200]
call fcn.140013c20
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + reloc.mfc120u.dll_Ordinal_480], rax
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_480]
call fcn.140014020
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
mov qword [rsp + 0x1b0], rcx
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xc8]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x1b0]
call qword [rax + 0x20]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x200]
call fcn.140013de0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rdx, str.MACAddress
lea rcx, [rsp + 0x138]
call fcn.140013c20
mov qword [rsp + reloc.mfc120u.dll_Ordinal_448], rax
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_448]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.140014020
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
mov qword [rsp + reloc.mfc120u.dll_Ordinal_296], rcx
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xc8]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_296]
call qword [rax + 0x20]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x138]
call fcn.140013de0
lea rcx, [rsp + 0x108]
call fcn.140009f50
nop
cmp dword [rsp + 0x54], 0
jl 0x1400102f9
movzx eax, word [rsp + 0xc8]
cmp eax, 8
jne 0x1400101fd
mov rcx, qword [rsp + 0xd0]
call fcn.140013720
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.14000a330
jmp 0x1400102a8
cmp dword [rsp + 0xa0], 0x16
jne 0x1400102a8
xor eax, eax
mov word [rsp + 0x350], ax
lea rax, [rsp + 0x352]
mov rdi, rax
xor eax, eax
mov ecx, 0x12
rep stosb byte [rdi], al
mov r9d, 0xa
mov r8d, 0xa
lea rdx, [rsp + 0x350]
mov ecx, dword [rsp + 0x94]
call qword [sym.imp.MSVCR120.dll__ltow_s]
lea r9, [rsp + 0x350]
lea r8, [0x14003d5c0]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x240]
call fcn.14000cbe0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x108]
call fcn.14000a390
nop
lea rcx, [rsp + 0x240]
call fcn.140009f90
lea rcx, [rsp + 0x108]
call fcn.14000ae50
test eax, eax
jne 0x1400102f9
lea r8, [0x14003d3fc]
lea rdx, [0x14003d414]
lea rcx, [rsp + 0x108]
call fcn.14000b030
lea rdx, [rsp + 0x94]
lea rcx, [rsp + 0xf8]
call fcn.140013f00
lea rdx, [rsp + 0x108]
mov rcx, rax
call fcn.14000a390
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x108]
call fcn.140009f90
jmp 0x14000ff6a
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0xf8]
call fcn.140015280
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x140010354
xor r8d, r8d
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x98]
call fcn.140014180
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0xf8]
call fcn.140015510
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140013ec0
movzx eax, al
test eax, eax
je 0x14001046b
lea rcx, [rsp + 0x98]
call fcn.1400140c0
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14000a390
lea rcx, [rsp + 0xe0]
call fcn.14000ae50
test eax, eax
jne 0x140010466
lea rcx, [rsp + 0x98]
call fcn.1400140c0
mov eax, dword [rax]
mov dword [rsp + 0xa4], eax
xor eax, eax
mov word [rsp + 0x368], ax
lea rax, [rsp + 0x36a]
mov rdi, rax
xor eax, eax
mov ecx, 0x12
rep stosb byte [rdi], al
mov r9d, 0xa
mov r8d, 0xa
lea rdx, [rsp + 0x368]
mov ecx, dword [rsp + 0xa4]
call qword [sym.imp.MSVCR120.dll__ltow_s]
lea rcx, [rsp + 0xe0]
call fcn.14000a650
mov r9, rax
lea r8, [rsp + 0x368]
lea rdx, [0x14003d618]
mov rcx, 0xffffffff80000001
call fcn.14000cf40
lea rcx, [rsp + 0xe0]
call fcn.14000a650
mov r9, rax
lea r8, [0x14003d6a8]
lea rdx, [0x14003d6b8]
mov rcx, 0xffffffff80000001
call fcn.14000cf40
jmp 0x14001046b
jmp 0x14001033c
lea rcx, [rsp + 0xe0]
call fcn.14000ae50
test eax, eax
jne 0x140010505
lea rcx, [rsp + 0xe0]
call fcn.14000a670
mov rcx, qword [rsp + 0x3a8]
cmp eax, dword [rcx]
jge 0x1400104ee
lea rcx, [rsp + 0xe0]
call fcn.14000a670
inc eax
cdqe
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0xe0]
call fcn.14000a650
mov rcx, qword [rsp + 0x3a8]
movsxd rcx, dword [rcx]
mov rdx, qword [rsp + 0x168]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x3a0]
call qword [sym.imp.MSVCR120.dll_wcsncpy_s]
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0xe0]
call fcn.14000a670
mov rcx, qword [rsp + 0x3a8]
mov dword [rcx], eax
mov dword [rsp + 0x78], 0
jmp 0x140010519
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x78], eax
jae 0x14001055a
mov eax, dword [rsp + 0x78]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x140010558
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
call qword [rax + InitCommonControls]
jmp 0x14001050f
lea rcx, [rsp + 0xf8]
call fcn.140013d60
nop
lea rcx, [rsp + 0xe0]
call fcn.140009f90
cmp qword [rsp + 0x70], 0
je 0x14001058d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + InitCommonControls]
cmp qword [rsp + 0x60], 0
je 0x1400105a5
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + InitCommonControls]
cmp qword [rsp + 0x80], 0
je 0x1400105c6
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + InitCommonControls]
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x59], al
lea rcx, [rsp + 0x180]
call fcn.140009f90
nop
lea rcx, [rsp + 0xb0]
call fcn.140009f90
movzx eax, byte [rsp + 0x59]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140029b50
add rsp, 0x390
pop rdi
ret