Function at 0x14005a730
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 - 0xd10]
sub rsp, 0xe10
mov rax, qword [0x14035f240]
xor rax, rsp
mov qword [rbp + 0xd00], rax
xorps xmm0, xmm0
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rbp - 0x78], rax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
lea rdx, [rbp - 0x20]
call fcn.14005a100
nop
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rdi]
mov rcx, qword [rbp - 0x80]
cmp rbx, rdi
je 0x14005a7e1
lea r8, [rbx + 0x10]
cmp rcx, qword [rbp - 0x78]
je 0x14005a7c4
mov rdx, r8
call fcn.1400058b0
mov rcx, qword [rbp - 0x80]
add rcx, 0x20
mov qword [rbp - 0x80], rcx
jmp 0x14005a7d5
mov rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.14005b8f0
mov rcx, qword [rbp - 0x80]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14005a7a4
mov rdi, qword [rbp - 0x18]
xor ebx, ebx
mov edx, ebx
mov rsi, qword [rsp + 0x78]
mov rax, rsi
cmp rsi, rcx
je 0x14005a7fd
inc edx
add rax, 0x20
cmp rax, rcx
jne 0x14005a7f2
lea eax, [rdx + 1]
cmp eax, 1
jle 0x14005ae5c
movabs r9, 0x100000001b3
movabs rdx, 0xcbf29ce484222325
sub rcx, rsi
sar rcx, 5
test rcx, rcx
je 0x14005aea0
mov r14, qword [rsi + 0x10]
mov r8, rsi
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x14005a841
mov r8, qword [rsi]
mov rcx, rbx
test r14, r14
je 0x14005a864
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, r14
jb 0x14005a850
mov rcx, qword [rbp + 0x10]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp - 8]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, rdi
je 0x14005ae4e
mov rdi, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14005a8a2
mov rdx, qword [rdx]
mov rcx, rsi
cmp r15, 0xf
jbe 0x14005a8ae
mov rcx, qword [rsi]
cmp r14, rax
jne 0x14005a8bf
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14005a8ce
cmp rbx, rdi
je 0x14005ae4e
mov rbx, qword [rbx + 8]
jmp 0x14005a890
test rbx, rbx
je 0x14005ae4e
lea rdx, [rbx + 0x30]
cmp qword [rdx + 0x18], 0xf
jbe 0x14005a8e5
mov rdx, qword [rdx]
lea rcx, str.___Old_MAC:__s_n
call fcn.140059b40
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14005aea0
cmp qword [rdx + 0x18], 0xf
jbe 0x14005a91d
mov r8, qword [rdx]
mov r9, r8
add r8, qword [rdx + 0x10]
jmp 0x14005a927
mov r8, qword [rdx + 0x10]
add r8, rdx
mov r9, rdx
mov rdx, r9
lea rcx, [rbp + 0x20]
call fcn.14005b190
nop
lea r15, [rbp + 0x20]
mov r12, qword [rbp + 0x20]
mov r13, qword [rbp + 0x38]
cmp r13, 7
cmova r15, r12
xor ebx, ebx
mov qword [rsp + 0x40], rbx
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_RegOpenKeyExW]
test eax, eax
jne 0x14005ade8
mov r14d, ebx
mov dword [rsp + 0x50], 0x400
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x500]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14005addc
nop
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x500]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005ad9b
mov dword [rbp - 0x50], 0x400
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
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_RegQueryValueExW]
test eax, eax
jne 0x14005ad90
lea rax, [rbp + 0x40]
mov r8, r15
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14005aa54
add rax, 2
test ecx, ecx
jne 0x14005aa40
test edx, edx
jne 0x14005ad90
lea rdx, [rsp + 0x58]
call fcn.140059bc0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0x58]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
cmp r8, 0xf
cmova rsi, rdx
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14005aeac
cmp rdi, 0xf
ja 0x14005aac3
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x70], xmm0
jmp 0x14005ab63
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x14005aae2
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14005ab12
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14005aafc
xor eax, eax
jmp 0x14005ab39
cmp rcx, 0x1000
jb 0x14005ab34
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005aea6
mov rcx, rax
call fcn.140122620
mov rcx, rax
test rax, rax
je 0x14005ae39
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14005ab39
call fcn.140122620
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
lea rsi, [rsp + 0x58]
cmp r8, 0xf
cmova rsi, rdx
add rsi, rdi
lea rbx, [rsp + 0x58]
cmp r8, 0xf
cmova rbx, rdx
add rbx, rdi
lea rcx, [rsp + 0x58]
cmp r8, 0xf
cmova rcx, rdx
mov r8b, reloc.WLDAP32.dll_Ordinal_45
mov rdx, rbx
call fcn.140122070
mov r8, rax
cmp rax, rbx
je 0x14005abc5
lea rcx, [rax + 1]
cmp rcx, rbx
je 0x14005abc5
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x2d
je 0x14005abbd
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rbx
jne 0x14005abb0
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rax, qword [rsp + 0x58]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rbx, qword [rsp + 0x68]
mov rax, rbx
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
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 [rsp + 0x68], rbx
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova r8, qword [rsp + 0x58]
add r8, rbx
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.14005b190
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14005ac62
lea eax, [rax*2 + 2]
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_RegSetValueExW]
test eax, eax
jne 0x14005acb6
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea rcx, str.___New_MAC:__s_n
call fcn.140059b40
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14005acf6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005acf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae32
call fcn.1401228a4
xor ebx, ebx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], bx
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14005ad43
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ad3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae39
call fcn.1401228a4
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14005ad90
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ad8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae40
call fcn.1401228a4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x50], 0x400
inc r14d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x500]
mov edx, r14d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14005a9c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp r13, 7
jbe 0x14005ae20
lea rdx, [r13*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x14005ae18
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae47
mov rcx, r12
call fcn.1401228a4
mov rcx, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x18]
jmp 0x14005a809
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
lea rcx, [rbp - 0x20]
call fcn.14005a6c0
nop
lea rcx, [rsp + 0x78]
call fcn.140023220
mov rcx, qword [rbp + 0xd00]
xor rcx, rsp
call fcn.1401224e0
lea r11, [rsp + 0xe10]
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.14005b030
nop
call fcn.140002fe0
int3
call fcn.140003080
int3