Function at 0x14002b340
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 [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x380], rax
call fcn.140015130
mov dword [rsp + 0x198], eax
mov byte [rsp + 0x50], 0
lea r9, str.HFNCv2
lea r8, [0x14013c988]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0xb0]
call fcn.140028b00
nop
lea rcx, [rsp + 0xb0]
call fcn.140030f30
test eax, eax
jne 0x14002b45e
lea rcx, [rsp + 0xb0]
call fcn.140030750
mov rcx, qword [rsp + 0x3a8]
cmp eax, dword [rcx]
jge 0x14002b427
lea rcx, [rsp + 0xb0]
call fcn.140030750
inc eax
cdqe
mov qword [rsp + 0x1d8], rax
lea rcx, [rsp + 0xb0]
call fcn.140030730
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.140030750
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.140030070
movzx eax, byte [rsp + 0x5c]
jmp 0x14002be6f
lea rdx, str.select__from_Win32_NetworkAdapter_where_NOT_PNPDeviceID_LIKE_ROOT__AND_NOT_PNPDeviceID_LIKE_SW_
lea rcx, [rsp + 0x180]
call fcn.140030130
nop
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1401903a0]
mov r8d, 1
xor edx, edx
lea rcx, [0x140190390]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x14002b4d7
mov byte [rsp + 0x5b], 0
lea rcx, [rsp + 0x180]
call fcn.140030070
nop
lea rcx, [rsp + 0xb0]
call fcn.140030070
movzx eax, byte [rsp + 0x5b]
jmp 0x14002be6f
mov qword [rsp + 0x70], 0
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x218]
call fcn.1400274f0
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.1400276e0
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.140027670
cmp dword [rsp + 0x54], 0
jge 0x14002b5c1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x180]
call fcn.140030070
nop
lea rcx, [rsp + 0xb0]
call fcn.140030070
movzx eax, byte [rsp + 0x58]
jmp 0x14002be6f
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 0x14002b64d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
mov byte [rsp + 0x5a], 0
lea rcx, [rsp + 0x180]
call fcn.140030070
nop
lea rcx, [rsp + 0xb0]
call fcn.140030070
movzx eax, byte [rsp + 0x5a]
jmp 0x14002be6f
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x180]
call fcn.140030730
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.1400274f0
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.1400276e0
mov qword [rsp + 0x150], rax
lea rdx, [0x14013c4e4]
lea rcx, [rsp + 0x160]
call fcn.14002e790
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.1400276e0
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.140027670
nop
lea rcx, [rsp + 0x1a8]
call fcn.140027670
cmp dword [rsp + 0x54], 0
jl 0x14002bdf5
cmp qword [rsp + 0x80], 0
je 0x14002bdf5
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.140030030
nop
cmp dword [rsp + 0x54], 0
jl 0x14002bde8
cmp dword [rsp + 0x68], 0
jbe 0x14002bde8
lea rcx, [rsp + 0xf8]
call fcn.14002e700
nop
lea rcx, [rsp + 0x98]
call fcn.140098a30
mov dword [rsp + 0x6c], 0
jmp 0x14002b7f4
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x6c], eax
jae 0x14002bb9a
mov eax, dword [rsp + 0x6c]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14002bb95
lea rdx, [0x14013c308]
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_528]
call fcn.1400274f0
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x1b8]
call fcn.1400276e0
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 + reloc.mfc120u.dll_Ordinal_528]
call fcn.140027670
cmp dword [rsp + 0x54], 0
jl 0x14002bb95
movzx eax, word [rsp + 0xc8]
cmp eax, 3
jne 0x14002bb95
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x94], eax
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rdx, [0x14013c318]
lea rcx, [rsp + 0x200]
call fcn.1400274f0
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.1400276e0
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.140027670
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.1400274f0
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.1400276e0
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.140027670
lea rcx, [rsp + 0x108]
call fcn.140030030
nop
cmp dword [rsp + 0x54], 0
jl 0x14002bb79
movzx eax, word [rsp + 0xc8]
cmp eax, 8
jne 0x14002ba7d
mov rcx, qword [rsp + 0xd0]
call fcn.140041fd0
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.140030410
jmp 0x14002bb28
cmp dword [rsp + 0xa0], 0x16
jne 0x14002bb28
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, [0x14013c360]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x240]
call fcn.140028b00
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.140030470
nop
lea rcx, [rsp + 0x240]
call fcn.140030070
lea rcx, [rsp + 0x108]
call fcn.140030f30
test eax, eax
jne 0x14002bb79
lea r8, [0x14013c274]
lea rdx, [0x14013c2c4]
lea rcx, [rsp + 0x108]
call fcn.140031110
lea rdx, [rsp + 0x94]
lea rcx, [rsp + 0xf8]
call fcn.14002e930
lea rdx, [rsp + 0x108]
mov rcx, rax
call fcn.140030470
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x108]
call fcn.140030070
jmp 0x14002b7ea
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0xf8]
call fcn.14002f420
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x14002bbd4
xor r8d, r8d
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x98]
call fcn.1400414d0
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0xf8]
call fcn.1400a9790
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400412d0
movzx eax, al
test eax, eax
je 0x14002bceb
lea rcx, [rsp + 0x98]
call fcn.1400f3cd0
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140030470
lea rcx, [rsp + 0xe0]
call fcn.140030f30
test eax, eax
jne 0x14002bce6
lea rcx, [rsp + 0x98]
call fcn.1400f3cd0
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.140030730
mov r9, rax
lea r8, [rsp + 0x368]
lea rdx, [0x14013c3c8]
mov rcx, 0xffffffff80000001
call fcn.140028c00
lea rcx, [rsp + 0xe0]
call fcn.140030730
mov r9, rax
lea r8, [0x14013c3f0]
lea rdx, [0x14013c400]
mov rcx, 0xffffffff80000001
call fcn.140028c00
jmp 0x14002bceb
jmp 0x14002bbbc
lea rcx, [rsp + 0xe0]
call fcn.140030f30
test eax, eax
jne 0x14002bd85
lea rcx, [rsp + 0xe0]
call fcn.140030750
mov rcx, qword [rsp + 0x3a8]
cmp eax, dword [rcx]
jge 0x14002bd6e
lea rcx, [rsp + 0xe0]
call fcn.140030750
inc eax
cdqe
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0xe0]
call fcn.140030730
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.140030750
mov rcx, qword [rsp + 0x3a8]
mov dword [rcx], eax
mov dword [rsp + 0x78], 0
jmp 0x14002bd99
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x78], eax
jae 0x14002bdda
mov eax, dword [rsp + 0x78]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14002bdd8
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
call qword [rax + 0x10]
jmp 0x14002bd8f
lea rcx, [rsp + 0xf8]
call fcn.14002e8d0
nop
lea rcx, [rsp + 0xe0]
call fcn.140030070
cmp qword [rsp + 0x70], 0
je 0x14002be0d
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x10]
cmp qword [rsp + 0x60], 0
je 0x14002be25
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
cmp qword [rsp + 0x80], 0
je 0x14002be46
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x10]
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x59], al
lea rcx, [rsp + 0x180]
call fcn.140030070
nop
lea rcx, [rsp + 0xb0]
call fcn.140030070
movzx eax, byte [rsp + 0x59]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x390
pop rdi
ret