Function at 0x140002240
Capabilities:
Encode data using xor
Hash data using fnv
Query or enumerate registry key
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 - 0x910]
sub rsp, 0xa10
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x900], rax
xorps xmm0, xmm0
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
lea rdx, [rbp]
call fcn.140001aa0
nop
mov rdi, qword [rbp + 8]
mov rbx, qword [rdi]
mov rcx, qword [rsp + 0x68]
cmp rbx, rdi
je 0x1400022fd
nop word [rax + rax]
lea r8, [rbx + 0x10]
cmp rcx, qword [rsp + 0x70]
je 0x1400022e3
mov rdx, r8
call fcn.140003200
mov rcx, qword [rsp + 0x68]
add rcx, 0x20
mov qword [rsp + 0x68], rcx
jmp 0x1400022f5
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140004530
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400022c0
xor edx, edx
mov rax, qword [rsp + 0x60]
cmp rax, rcx
je 0x14000231b
nop dword [rax]
inc edx
add rax, 0x20
cmp rax, rcx
jne 0x140002310
mov dword [rsp + 0x40], 1
lea eax, [rdx + 1]
mov dword [rsp + 0x44], eax
cmp eax, 1
jle 0x1400029f5
mov r13d, 1
movabs r14, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
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.1400039a0
mov r12, rax
lea rdi, [r13 - 1]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub rcx, rdx
sar rcx, 5
cmp rcx, rdi
jbe 0x140002aab
shl rdi, 5
add rdi, rdx
mov rsi, qword [rdi + 0x10]
mov r8, rdi
mov r15, qword [rdi + 0x18]
cmp r15, 0xf
jbe 0x14000239c
mov r8, qword [rdi]
mov rdx, r14
xor ecx, ecx
test rsi, rsi
je 0x1400023c4
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, rsi
jb 0x1400023b0
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [rbp + 8]
je 0x140002a68
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140002402
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x14000240e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14000241f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000242e
cmp rbx, r14
je 0x140002a68
mov rbx, qword [rbx + 8]
jmp 0x1400023f0
test rbx, rbx
je 0x140002a68
lea rdx, [rbx + 0x30]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140002449
mov rdx, qword [rdx]
mov rcx, r12
call fcn.140004370
lea rdx, [0x140003b80]
mov rcx, rax
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, [r13 - 1]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub rax, rdx
sar rax, 5
cmp rax, rcx
jbe 0x140002aab
shl rcx, 5
add rdx, rcx
cmp qword [rdx + 0x18], 0xf
jbe 0x140002499
mov r8, qword [rdx]
mov r9, r8
add r8, qword [rdx + 0x10]
jmp 0x1400024a3
mov r8, qword [rdx + 0x10]
add r8, rdx
mov r9, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor r12d, r12d
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
cmp r9, r8
jne 0x1400024cd
mov qword [rbp - 0x10], r12
mov eax, 0xf
mov qword [rbp - 8], rax
mov byte [rbp - 0x20], r12b
jmp 0x1400024e0
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x20]
call fcn.140003f00
mov rax, qword [rbp - 8]
lea r15, [rbp - 0x20]
cmp rax, 0xf
cmova r15, qword [rbp - 0x20]
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x48]
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_RegOpenKeyExA]
test eax, eax
jne 0x1400029a7
mov r14d, r12d
mov dword [rsp + 0x58], 0x400
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000299c
nop
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000295e
mov dword [rbp - 0x48], 0x400
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x440]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140002953
mov rdx, r15
lea rcx, [rbp + 0x440]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
jne 0x140002953
lea rdx, [rsp + 0x78]
call fcn.140001480
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov rdi, qword [rbp - 0x78]
lea rsi, [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x70]
cmp r8, 0xf
cmova rsi, rdx
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140002ab7
cmp rdi, 0xf
ja 0x140002648
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0xf
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x68], xmm0
jmp 0x1400026e7
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x140002667
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140002698
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140002682
mov rax, r12
jmp 0x1400026bf
cmp rcx, 0x1000
jb 0x1400026ba
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002ab1
mov rcx, rax
call fcn.14001bc70
mov rcx, rax
test rax, rax
je 0x140002a53
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400026bf
call fcn.14001bc70
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x78]
lea rsi, [rsp + 0x78]
cmp r8, 0xf
cmova rsi, rdx
add rsi, rdi
lea rbx, [rsp + 0x78]
cmp r8, 0xf
cmova rbx, rdx
add rbx, rdi
lea rcx, [rsp + 0x78]
cmp r8, 0xf
cmova rcx, rdx
mov r8b, 0x2d
mov rdx, rbx
call fcn.14001bbc0
mov r8, rax
cmp rax, rbx
je 0x140002745
lea rcx, [rax + 1]
cmp rcx, rbx
je 0x140002745
movzx eax, byte [rcx]
cmp al, 0x2d
je 0x14000273d
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rbx
jne 0x140002730
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rax, qword [rsp + 0x78]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rbx, qword [rbp - 0x78]
mov rax, rbx
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rcx, qword [rsp + 0x78]
add rcx, r9
sub rbx, rsi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x78], rbx
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova r8, qword [rsp + 0x78]
add r8, rbx
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rcx, qword [rsp + 0x78]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
cmp rcx, r8
jne 0x1400027e5
mov qword [rbp - 0x30], r12
mov eax, 0xf
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x40], 0
jmp 0x1400027f8
sub r8, rcx
mov rdx, rcx
lea rcx, [rbp - 0x40]
call fcn.140003f00
mov rax, qword [rbp - 0x28]
lea rcx, [rbp - 0x40]
cmp rax, 0xf
cmova rcx, qword [rbp - 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140002810
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.NetworkAddress
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140002881
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.1400039a0
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.140004370
lea rdx, [0x140003b80]
mov rcx, rax
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
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400028bc
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a4c
call fcn.14001bcac
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140002907
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002902
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a53
call fcn.14001bcac
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140002953
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000294e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a5a
call fcn.14001bcac
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x58], 0x400
inc r14d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x40]
mov edx, r14d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140002560
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x40]
inc ebx
mov dword [rsp + 0x40], ebx
inc r13
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400029eb
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a61
call fcn.14001bcac
cmp ebx, dword [rsp + 0x44]
jl 0x140002339
lea rcx, [rbp]
call fcn.140002180
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002a7b
mov rdx, qword [rsp + 0x68]
call fcn.140004000
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
call fcn.14001bcac
mov rcx, qword [rbp + 0x900]
xor rcx, rsp
call fcn.14001bc50
lea r11, [rsp + 0xa10]
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
call fcn.140003470
nop
call fcn.1400013a0
int3
call fcn.140001440
int3