Function at 0x140080fc0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf98
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0xf80], rax
mov edx, Ordinal_27
lea rcx, [rsp + 0x1e0]
call fcn.14006c900
lea rcx, [rsp + 0x1e0]
call fcn.14006c940
nop
mov edx, 0x40
lea rcx, [rsp + 0x280]
call fcn.14006c900
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0xfa0]
call fcn.140080aa0
nop
lea rax, [rsp + 0x280]
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x1c8]
call fcn.14006c900
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0x68]
call fcn.140081ec0
mov edx, 8
lea rcx, [rsp + 0x1f8]
call fcn.14006c900
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x68]
call fcn.140081e80
jmp 0x14008108a
lea rcx, [rsp + 0x1c8]
call fcn.140081b90
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1c8]
call fcn.140081d10
movzx eax, al
test eax, eax
je 0x1400810d5
lea rcx, [rsp + 0x1c8]
call fcn.140081bb0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140081ce0
jmp 0x14008107d
mov dword [rsp + 0x4c], 0
mov edx, 8
lea rcx, [rsp + 0x1d8]
call fcn.14006c900
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x1e0]
call fcn.140081c80
jmp 0x14008111e
xor r8d, r8d
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x1d8]
call fcn.140081b00
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x1e0]
call fcn.140081c20
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.140081b50
movzx eax, al
test eax, eax
je 0x1400817ea
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
lea rdx, str.___Adapter:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007ce60
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140081bd0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.14007d240
mov qword [rsp + 0xc8], rax
lea rdx, [0x14007d290]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.___Old_MAC:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007ce60
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140081bd0
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.140081d50
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14007d240
mov qword [rsp + 0xe0], rax
lea rdx, [0x14007d290]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0x48]
call fcn.14006d1b0
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140081bd0
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0xe8]
call fcn.14006cbe0
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140081bd0
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xf8]
call fcn.14006cc50
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x118], rax
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x220]
call fcn.140083cb0
nop
lea rcx, [rsp + 0x220]
call fcn.14007ac10
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x49], 0
mov qword [rsp + 0x1b8], 0
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140081772
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x1c0], 0x400
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1c0]
lea r8, [rsp + 0x780]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140081762
mov qword [rsp + 0x1b0], 0
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x780]
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140081748
mov dword [rsp + 0x1d0], 0x400
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14008173a
lea rax, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140081486
add rax, 2
test dx, dx
jne 0x140081470
xor eax, eax
jmp 0x14008148b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14008173a
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0xfa0]
call fcn.140080840
nop
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x260]
call fcn.14006cec0
nop
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x200]
call fcn.14006cbe0
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x140], rax
mov byte [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_45
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x200]
call fcn.14006cbe0
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x200]
call fcn.14006cc50
mov rax, qword [rax]
mov qword [rsp + 0x130], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x190]
call fcn.140083d80
mov rax, qword [rax]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x148], rax
mov r9, qword [rsp + 0x140]
mov r8, qword [rsp + 0x148]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x200]
call fcn.140082d10
lea rcx, [rsp + 0x4a]
call fcn.14006d1b0
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x200]
call fcn.14006cbe0
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x200]
call fcn.14006cc50
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x240]
call fcn.140083cb0
nop
lea rcx, [rsp + 0x240]
call fcn.14007ac10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x140081650
mov rax, qword [rsp + 0x58]
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.NetworkAddress
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140081711
lea rdx, str.___New_MAC:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007ce60
lea rdx, [rsp + 0x260]
mov rcx, rax
call fcn.14007d240
mov qword [rsp + 0xa0], rax
lea rdx, [0x14007d290]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0xfa0]
call fcn.140081830
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, qword [rsp + 0xfa0]
call fcn.140081830
nop
lea rcx, [rsp + 0x240]
call fcn.14007b0f0
nop
lea rcx, [rsp + 0x260]
call fcn.14006cd30
nop
lea rcx, [rsp + 0x200]
call fcn.14006cd30
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x1c0], 0x400
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x14008138a
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400817a7
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x220]
call fcn.14007b0f0
nop
lea rcx, [rsp + 0x280]
call fcn.140080f70
nop
lea rcx, [rsp + 0x1e0]
call fcn.14006c920
movzx eax, byte [rsp + 0x41]
jmp 0x14008180f
lea rdx, [0x1400fec84]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007ce60
mov qword [rsp + 0xa8], rax
lea rdx, [0x14007d290]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x220]
call fcn.14007b0f0
jmp 0x140081106
mov byte [rsp + 0x42], 1
lea rcx, [rsp + 0x280]
call fcn.140080f70
nop
lea rcx, [rsp + 0x1e0]
call fcn.14006c920
movzx eax, byte [rsp + 0x42]
mov rcx, qword [rsp + 0xf80]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0xf98
ret