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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xfa8
mov rax, qword [0x140151080]
xor rax, rsp
mov qword [rsp + 0xf90], rax
mov edx, Ordinal_26
lea rcx, [rsp + 0x1e8]
call fcn.14006c7f0
lea rcx, [rsp + 0x1e8]
call fcn.14006c830
nop
mov edx, 0x40
lea rcx, [rsp + 0x290]
call fcn.14006c7f0
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0xfb0]
call fcn.1400816c0
nop
lea rax, [rsp + 0x290]
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x1d0]
call fcn.14006c7f0
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x68]
call fcn.140082ad0
mov edx, 8
lea rcx, [rsp + 0x200]
call fcn.14006c7f0
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x68]
call fcn.140082a90
jmp 0x140081caa
lea rcx, [rsp + 0x1d0]
call fcn.1400827d0
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x1d0]
call fcn.140082920
movzx eax, al
test eax, eax
je 0x140081cf5
lea rcx, [rsp + 0x1d0]
call fcn.1400827f0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.140078b90
jmp 0x140081c9d
mov dword [rsp + 0x4c], 0
mov edx, 8
lea rcx, [rsp + 0x1d8]
call fcn.14006c7f0
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x1e8]
call fcn.1400828c0
jmp 0x140081d3e
xor r8d, r8d
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x1d8]
call fcn.140082740
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x1e8]
call fcn.140082860
mov rdx, rax
lea rcx, [rsp + 0x1d8]
call fcn.140082790
movzx eax, al
test eax, eax
je 0x140082431
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.14007d880
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.140082810
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.14007dc60
mov qword [rsp + 0xc8], rax
lea rdx, [0x14007dcb0]
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.14007d880
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.140082810
mov rdx, rax
lea rcx, [rsp + 0x290]
call fcn.140082960
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14007dc60
mov qword [rsp + 0xe0], rax
lea rdx, [0x14007dcb0]
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.14006d160
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x44]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.140082810
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x178]
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 + 0x1e8]
call fcn.140082810
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x180]
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 + 0x228]
call fcn.140083680
nop
lea rcx, [rsp + 0x228]
call fcn.14007b050
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 0x140082392
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x1c8], 0x400
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1c8]
lea r8, [rsp + 0x790]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140082382
mov qword [rsp + 0x1c0], 0
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x790]
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140082368
mov dword [rsp + 0x1e0], 0x400
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14008235a
lea rax, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400820a6
add rax, 2
test dx, dx
jne 0x140082090
xor eax, eax
jmp 0x1400820ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14008235a
lea rdx, [rsp + 0x208]
mov rcx, qword [rsp + 0xfb0]
call fcn.1400814a0
nop
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x268]
call fcn.14006ce70
nop
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x208]
call fcn.14006cbe0
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x98], rax
mov byte [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_45
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x208]
call fcn.14006cbe0
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x208]
call fcn.14006cc50
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x1a0]
call fcn.140083750
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x208]
call fcn.140082bb0
lea rcx, [rsp + 0x4a]
call fcn.14006d160
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x208]
call fcn.14006cbe0
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x208]
call fcn.14006cc50
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x138], rax
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x248]
call fcn.140083680
nop
lea rcx, [rsp + 0x248]
call fcn.14007b050
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x140082270
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 + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140082331
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.14007d880
lea rdx, [rsp + 0x268]
mov rcx, rax
call fcn.14007dc60
mov qword [rsp + 0x148], rax
lea rdx, [0x14007dcb0]
mov rcx, qword [rsp + 0x148]
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 + 0xfb0]
call fcn.140082470
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, qword [rsp + 0xfb0]
call fcn.140082470
nop
lea rcx, [rsp + 0x248]
call fcn.14007b270
nop
lea rcx, [rsp + 0x268]
call fcn.14006cce0
nop
lea rcx, [rsp + 0x208]
call fcn.14006cce0
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x1c8], 0x400
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x140081faa
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400823ee
lea rdx, str.____Cannot_Access_Registry...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14007d880
mov qword [rsp + 0x150], rax
lea rdx, [0x14007dcb0]
mov rcx, qword [rsp + 0x150]
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 + 0x228]
call fcn.14007b270
nop
lea rcx, [rsp + 0x290]
call fcn.140081b90
nop
lea rcx, [rsp + 0x1e8]
call fcn.14006c810
jmp 0x14008244c
lea rdx, [0x1400fa9a3]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007d880
mov qword [rsp + 0x158], rax
lea rdx, [0x14007dcb0]
mov rcx, qword [rsp + 0x158]
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 + 0x228]
call fcn.14007b270
jmp 0x140081d26
lea rcx, [rsp + 0x290]
call fcn.140081b90
nop
lea rcx, [rsp + 0x1e8]
call fcn.14006c810
mov rcx, qword [rsp + 0xf90]
xor rcx, rsp
call fcn.1400e6550
add rsp, 0xfa8
ret