Function at 0x1400050d0
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 [0x14001d010]
xor rax, rsp
mov qword [rbp + 0x900], rax
xorps xmm0, xmm0
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], 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.140004890
nop
mov rdi, qword [rbp + 8]
mov rbx, qword [rdi]
mov rcx, qword [rsp + 0x60]
cmp rbx, rdi
je 0x140005190
nop word [rax + rax]
lea r8, [rbx + 0x10]
cmp rcx, qword [rsp + 0x68]
je 0x140005173
mov rdx, r8
call fcn.140006210
mov rcx, qword [rsp + 0x60]
add rcx, 0x20
mov qword [rsp + 0x60], rcx
jmp 0x140005185
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140006820
mov rcx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140005150
mov rbx, qword [rsp + 0x58]
cmp rbx, rcx
je 0x1400051fc
mov edi, 1
nop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006660
mov edx, edi
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400172e8]
call fcn.140003060
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400051d3
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400070c0
lea rdx, [0x140003230]
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]
inc edi
add rbx, 0x20
cmp rbx, qword [rsp + 0x60]
jne 0x1400051a0
lea rdx, str._n_____Adapter_is_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003060
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x140005962
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140005237
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400070c0
lea rdx, [0x140003230]
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 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.140003060
mov r12, rax
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
sub rcx, rdi
sar rcx, 5
test rcx, rcx
je 0x140005962
mov rsi, qword [rdi + 0x10]
mov r8, rdi
mov r14, qword [rdi + 0x18]
cmp r14, 0x10
jb 0x140005293
mov r8, qword [rdi]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x1400052c4
movabs r9, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x1400052b0
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 0x14000594e
mov r15, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140005302
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0x10
jb 0x14000530e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14000531f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000532e
cmp rbx, r15
je 0x14000594e
mov rbx, qword [rbx + 8]
jmp 0x1400052f0
test rbx, rbx
je 0x14000594e
lea rdx, [rbx + 0x30]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140005349
mov rdx, qword [rdx]
mov rcx, r12
call fcn.1400070c0
lea rdx, [0x140003230]
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]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x140005962
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14000538e
mov rdx, qword [rcx]
add r8, rdx
jmp 0x140005394
add r8, rcx
mov rdx, rcx
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov eax, 0xf
mov qword [rbp - 0x10], rax
mov byte [rbp - 0x28], r14b
cmp rdx, r8
je 0x1400053c1
sub r8, rdx
lea rcx, [rbp - 0x28]
call fcn.140002e50
mov rax, qword [rbp - 0x10]
lea r13, [rbp - 0x28]
cmp rax, 0x10
cmovae r13, qword [rbp - 0x28]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x40]
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 0x140005824
mov r12d, r14d
xor edx, edx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x50], 0x400
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x40]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14000581d
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400057fd
mov dword [rbp - 0x50], 0x400
lea rax, [rbp - 0x50]
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 + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400057f2
mov rdx, r13
lea rcx, [rbp + 0x440]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
jne 0x1400057f2
lea rdx, [rsp + 0x70]
call fcn.1400044f0
nop
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov rbx, qword [rbp - 0x80]
lea rsi, [rsp + 0x70]
mov rdi, qword [rsp + 0x70]
mov r15, qword [rbp - 0x78]
cmp r15, 0x10
cmovae rsi, rdi
cmp rbx, 0x10
jae 0x140005511
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
jmp 0x14000559c
mov rdi, rbx
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140005565
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000595c
mov rcx, rax
call fcn.14000c9e8
mov rcx, rax
test rax, rax
je 0x14000580f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005574
test rcx, rcx
je 0x140005571
call fcn.14000c9e8
jmp 0x140005574
mov rax, r14
mov qword [rbp - 0x70], rax
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
mov r15, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x70]
lea rax, [rsp + 0x70]
cmp r15, 0x10
jb 0x1400055b4
mov rcx, rdi
lea r14, [rdi + rbx]
lea rsi, [rdi + rbx]
jmp 0x1400055c5
lea rsi, [rax + rbx]
lea r14, [rsp + 0x70]
add r14, rbx
lea rcx, [rsp + 0x70]
mov r8, r14
sub r8, rcx
mov edx, 0x2d
call sub.VCRUNTIME140.dll_memchr
mov rcx, r14
test rax, rax
cmovne rcx, rax
mov rdx, rcx
cmp rcx, r14
je 0x140005611
inc rcx
cmp rcx, r14
je 0x140005611
nop
movzx eax, byte [rcx]
cmp al, 0x2d
je 0x1400055fc
mov byte [rdx], al
inc rdx
inc rcx
cmp rcx, r14
jne 0x1400055f0
mov r15, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x70]
lea rax, [rsp + 0x70]
sub rsi, rdx
cmp r15, 0x10
jb 0x140005624
sub rdx, rdi
jmp 0x14000562c
sub rdx, rax
lea rdi, [rsp + 0x70]
mov rax, rbx
sub rax, rdx
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rdi + rdx]
sub rbx, rsi
mov qword [rbp - 0x80], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
lea rcx, [rsp + 0x70]
mov r8, qword [rbp - 0x80]
cmp qword [rbp - 0x78], 0x10
jb 0x14000566e
mov rdx, qword [rsp + 0x70]
add r8, rdx
jmp 0x140005676
add r8, rcx
lea rdx, [rsp + 0x70]
xor r14d, r14d
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov eax, 0xf
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x48], r14b
cmp rdx, r8
je 0x1400056a3
sub r8, rdx
lea rcx, [rbp - 0x48]
call fcn.140002e50
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x48]
cmp rax, 0x10
cmovae rcx, qword [rbp - 0x48]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400056b7
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 + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140005728
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.140003060
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rax
call fcn.1400070c0
lea rdx, [0x140003230]
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 - 0x30]
cmp rdx, 0x10
jb 0x140005763
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000575e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005808
call fcn.14000cc74
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400057aa
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000580f
call fcn.14000cc74
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400057f2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005816
call fcn.14000cc74
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r12d
mov edx, r12d
jmp 0x140005407
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
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140005862
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000585d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000585d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
mov qword [rbp + 0x18], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 8]
call fcn.140005bf0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000591e
mov rdx, qword [rsp + 0x60]
call fcn.140006d30
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
mov rcx, qword [rbp + 0x900]
xor rcx, rsp
call fcn.14000c8d0
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
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.140001140
nop
call fcn.1400063f0
int3