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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x6a0
mov rax, qword [0x1406b82c0]
xor rax, rsp
mov qword [rsp + 0x690], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [r11 - 0x620], r12
mov qword [r11 - 0x618], 0xf
mov byte [r11 - 0x630], r12b
lea rcx, [r11 - 0x5c8]
call fcn.1400759c0
nop
lea rdx, [rsp + 0x368]
cmp qword [rsp + 0x380], 0xf
cmova rdx, qword [rsp + 0x368]
mov r8, qword [rsp + 0x378]
lea rcx, [rsp + 0x88]
call fcn.140015c20
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x98]
sub rax, rcx
cmp rax, 0x1a
jb 0x14006bd9b
lea rax, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_26
lea r9, str.SYSTEMControlSet001Enum_
lea r8, [rsp + 0x88]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0xc8]
call fcn.140017f20
nop
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 0xf
cmova rdx, qword [rsp + 0xc8]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14006ba4f
lea rdx, str.Unable_to_open_registry_key.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140015cf0
lea rdx, [0x1400162f0]
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
lea rcx, [rsp + 0xc8]
call fcn.1400155f0
nop
lea rcx, [rsp + 0xf0]
call fcn.14006b790
nop
lea rcx, [rsp + 0x88]
call fcn.1400155f0
jmp 0x14006bd6d
mov dword [rsp + 0x7c], 0x200
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.Driver
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006bd15
cmp dword [rsp + 0x80], 1
jne 0x14006bd15
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x490]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14006bad0
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x48]
call fcn.14001f170
nop
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
sub rax, r8
cmp rax, 0x23
jb 0x14006bba2
lea rax, [r8 + 0x23]
mov qword [rsp + 0x58], rax
lea r14, [rsp + 0x48]
cmp rcx, 7
cmova r14, qword [rsp + 0x48]
lea rax, [0x140503656]
lea r15, str.SystemControlSet001ControlClass_
cmp rax, r14
jbe 0x14006bb56
lea rax, [r14 + r8*2]
cmp r15, rax
ja 0x14006bb56
mov edi, reloc.WLDAP32.dll_Ordinal_35
cmp r14, r15
ja 0x14006bb4b
mov rsi, r12
jmp 0x14006bb5d
mov rsi, r14
sub rsi, r15
sar rsi, 1
jmp 0x14006bb5d
mov edi, reloc.WLDAP32.dll_Ordinal_35
mov esi, edi
lea rcx, [r14 + 0x46]
lea r8, [r8*2 + 2]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsi + 0x23]
lea rdx, [r15 + rdx*2]
lea rcx, [rbx + r14]
sub rdi, rsi
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
jmp 0x14006bbb8
mov edi, reloc.WLDAP32.dll_Ordinal_35
mov qword [rsp + 0x28], rdi
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140075af0
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xb8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rcx, [rsp + 0x48]
call fcn.140015580
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 7
cmova rdx, qword [rsp + 0xa8]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14006bc9e
lea rdx, str.Unable_to_open_driver_registry_key.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140015cf0
lea rdx, [0x1400162f0]
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
lea rcx, [rsp + 0xa8]
call fcn.140015580
nop
lea rcx, [rsp + 0xc8]
call fcn.1400155f0
nop
lea rcx, [rsp + 0xf0]
call fcn.14006b790
nop
lea rcx, [rsp + 0x88]
call fcn.1400155f0
jmp 0x14006bd6d
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.RMHdcpKeyglobZero
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14006bcfa
lea rdx, str.Failed_to_set_registry_value.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140015cf0
lea rdx, [0x1400162f0]
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 rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xa8]
call fcn.140015580
jmp 0x14006bd44
lea rdx, str.Failed_to_query_Driver_GUID.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140015cf0
lea rdx, [0x1400162f0]
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 rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xc8]
call fcn.1400155f0
nop
lea rcx, [rsp + 0xf0]
call fcn.14006b790
nop
lea rcx, [rsp + 0x88]
call fcn.1400155f0
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.14028f2f0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call fcn.140001840
nop
int3