Function at 0x140017e80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1400c9080]
xor rax, rsp
mov qword [rbp + 0x340], rax
xor edi, edi
mov r12d, edi
mov dword [rbp - 0x10], edi
lea rdx, str.e_38_2_139_0_0m
lea rcx, [0x1400cac40]
call fcn.14000bd60
mov rcx, rax
lea rdx, str._n_MAC_SPOOFING__n
call fcn.14000bd60
mov rcx, rax
lea rdx, str.e_0m
call fcn.14000bd60
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xc0]
call fcn.140017950
nop
lea rcx, [rbp + 0xe0]
call fcn.140017d00
nop
cmp qword [rbp + 0xf8], rdi
jne 0x140017fbe
lea rdx, str.Failed_to_locate_Network_Adapter_Class_GUID.
lea rcx, [0x1400cadc0]
call fcn.14000bd60
mov rcx, rax
call fcn.14000c010
nop
lea rcx, [rbp + 0xe0]
call fcn.14000a220
mov rcx, qword [rbp + 0xe0]
mov qword [rbp + 0xe0], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0xc0]
call fcn.140008370
mov rcx, qword [rbp + 0xc0]
mov qword [rbp + 0xc0], rdi
mov edx, 0x10
call fcn.14000d2e0
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140034bd0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r15, qword [rbp + 0xc8]
mov r13, qword [rbp + 0xd0]
cmp r15, r13
je 0x140017f45
lea r14, [r15 + 8]
movabs rbx, 0x7ffffffffffffffe
mov rdx, r15
lea rcx, [rbp + 0x48]
call fcn.14002bb00
nop
lea rcx, [rbp + 0x70]
call fcn.140016cd0
nop
mov rax, rbx
mov rcx, qword [rbp + 0xf8]
sub rax, rcx
cmp rax, 0x27
jb 0x140018794
lea rax, [rbp + 0xe8]
cmp qword [rbp + 0x100], 7
cmova rax, qword [rbp + 0xe8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x27
lea r9, str.SYSTEMCurrentControlSetControlClass_
lea rcx, [rbp + 0x98]
call fcn.1400167f0
or r12d, 0x10
xor edx, edx
lea rcx, [rbp + 0x48]
call fcn.140017190
test al, al
jne 0x1400180e9
lea rdx, str.Failed_to_disable_network_adapter:
lea rcx, [0x1400cadc0]
call fcn.14000bd60
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140018085
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14000e500
mov rcx, rax
call fcn.14000c010
nop
lea rcx, [rbp + 0x98]
call fcn.14000a220
mov rcx, qword [rbp + 0x98]
mov qword [rbp + 0x98], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0x70]
call fcn.14000a300
mov rcx, qword [rbp + 0x70]
mov qword [rbp + 0x70], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0x48]
call fcn.14000a220
jmp 0x140018766
mov esi, edi
nop dword [rax + rax]
lea r9, [rbp + 0x132]
test esi, esi
jns 0x140018140
mov ecx, esi
neg ecx
nop
sub r9, 2
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8w
shl ax, 2
lea edx, [rax + r8]
add dx, dx
sub cx, dx
add cx, 0x30
mov word [r9], cx
mov ecx, r8d
test r8d, r8d
jne 0x140018100
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x140018180
mov r8d, esi
nop dword [rax]
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140018150
lea r8, [rbp + 0x132]
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.140018dc0
nop
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
sub rax, rcx
cmp rax, 1
jb 0x14001878e
lea r9, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 7
cmova r9, qword [rbp + 0xa0]
mov qword [rsp + 0x30], 1
lea rax, [0x1400bba74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
call fcn.1400167f0
nop
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0x20]
call fcn.140018b20
or r12d, 0xf
lea rcx, [rsp + 0x68]
call fcn.14000a220
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp - 0x70]
call fcn.14000a220
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x70], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
mov qword [rbp - 8], rdi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov ecx, 0x10
call fcn.140034c10
mov qword [rax + 8], rdi
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
mov qword [rax], rcx
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 7
cmova rdx, qword [rbp + 0x28]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018439
mov dword [rbp - 0x10], 0x200
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001830b
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400182f0
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 8]
call fcn.1400089e0
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rcx, qword [rbp]
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r8, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x60]
cmp rdx, qword [rbp + 0x10]
jne 0x140018439
test rdx, rdx
je 0x140018368
sub r8, rcx
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140018439
add rcx, 2
sub rdx, 1
jne 0x140018350
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.14002bb00
mov rbx, rax
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, 0xe
lea rdx, str.NetworkAddress
lea rcx, [rsp + 0x40]
call fcn.14000c830
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 7
cmova rdx, qword [rbp + 0x28]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018530
mov eax, dword [rbx + 0x18]
lea ecx, [rax*2 + 2]
lea rax, [rbx + 8]
cmp qword [rbx + 0x20], 7
jbe 0x1400183f3
mov rax, qword [rax]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
test eax, eax
jne 0x14001852a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x140018532
lea rcx, [rbp - 8]
call fcn.140003160
mov rax, qword [rbp + 0x18]
cmp rax, 7
jbe 0x1400184d9
mov rdi, qword [rbp]
lea rbx, [rax + 1]
test rdi, rdi
jne 0x1400184c1
test rbx, rbx
je 0x1400184c1
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x1400b9fdc]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x1400b9fe0]
mov ecx, 2
call fcn.1400407b0
cmp eax, 1
jne 0x14001849a
int3
xor eax, eax
mov qword [rsp + 0x20], rax
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x1400ba114]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.140041260
lea rdx, [rbx + rbx]
mov rcx, rdi
call fcn.14000d2e0
xor edi, edi
movabs rbx, 0x7ffffffffffffffe
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
mov rcx, qword [rbp - 8]
mov qword [rbp - 8], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0x20]
call fcn.14000a220
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x20], rdi
mov edx, 0x10
call fcn.14000d2e0
inc esi
cmp esi, 0x3e8
jl 0x1400180f0
jmp 0x14001865c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.14000a220
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp - 0x48]
call fcn.14000a220
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x48], rdi
mov edx, 0x10
call fcn.14000d2e0
test bl, bl
je 0x14001858c
lea rdx, str.Failed_to_set_MAC_address_in_registry.
lea rcx, [0x1400cadc0]
call fcn.14000bd60
mov rcx, rax
call fcn.14000c010
nop
lea rcx, [rbp - 8]
call fcn.140003160
mov rax, qword [rbp + 0x18]
cmp rax, 7
jbe 0x14001861e
mov rdi, qword [rbp]
lea rbx, [rax + 1]
test rdi, rdi
jne 0x140018610
test rbx, rbx
je 0x140018610
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x1400b9fdc]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x1400b9fe0]
mov ecx, 2
call fcn.1400407b0
cmp eax, 1
jne 0x1400185e9
int3
xor eax, eax
mov qword [rsp + 0x20], rax
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x1400ba114]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.140041260
lea rdx, [rbx + rbx]
mov rcx, rdi
call fcn.14000d2e0
xor edi, edi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
mov rcx, qword [rbp - 8]
mov qword [rbp - 8], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0x20]
call fcn.14000a220
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x20], rdi
mov edx, 0x10
call fcn.14000d2e0
mov dl, 1
lea rcx, [rbp + 0x48]
call fcn.140017190
test al, al
jne 0x14001869f
lea rdx, str.Failed_to_re_enable_network_adapter:
lea rcx, [0x1400cadc0]
call fcn.14000bd60
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14001868b
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14000e500
mov rcx, rax
call fcn.14000c010
lea rdx, str.Spoofed___
lea rcx, [0x1400cac40]
call fcn.14000bd60
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400186bf
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14000e500
lea rdx, str.___New_MAC_::__
mov rcx, rax
call fcn.14000bd60
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0xf
cmova rdx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x88]
mov rcx, rax
call fcn.14000e500
lea rdx, [0x1400bb4b0]
mov rcx, rax
call fcn.14000bd60
mov rcx, rax
call fcn.14000c010
nop
lea rcx, [rbp + 0x98]
call fcn.14000a220
mov rcx, qword [rbp + 0x98]
mov qword [rbp + 0x98], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0x70]
call fcn.14000a300
mov rcx, qword [rbp + 0x70]
mov qword [rbp + 0x70], rdi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0x48]
call fcn.14000a220
movabs rbx, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0x48], rdi
mov edx, 0x10
call fcn.14000d2e0
add r15, 0x28
add r14, 0x28
cmp r15, r13
jne 0x140017fe3
jmp 0x140017f45
call fcn.140003250
nop
call fcn.140003250
int3