Function at 0x14006bcc0
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 [0x1406b92c0]
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.140075dc0
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.140015fd0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x98]
sub rax, rcx
cmp rax, 0x1a
jb 0x14006c19b
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.1400182e0
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 0x14006be4f
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.1400160a0
lea rdx, [0x1400166a0]
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.1400159a0
nop
lea rcx, [rsp + 0xf0]
call fcn.14006bb90
nop
lea rcx, [rsp + 0x88]
call fcn.1400159a0
jmp 0x14006c16d
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 0x14006c115
cmp dword [rsp + 0x80], 1
jne 0x14006c115
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 0x14006bed0
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x48]
call fcn.14001f570
nop
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
sub rax, r8
cmp rax, 0x23
jb 0x14006bfa2
lea rax, [r8 + 0x23]
mov qword [rsp + 0x58], rax
lea r14, [rsp + 0x48]
cmp rcx, 7
cmova r14, qword [rsp + 0x48]
lea rax, [0x140504656]
lea r15, str.SystemControlSet001ControlClass_
cmp rax, r14
jbe 0x14006bf56
lea rax, [r14 + r8*2]
cmp r15, rax
ja 0x14006bf56
mov edi, reloc.WLDAP32.dll_Ordinal_35
cmp r14, r15
ja 0x14006bf4b
mov rsi, r12
jmp 0x14006bf5d
mov rsi, r14
sub rsi, r15
sar rsi, 1
jmp 0x14006bf5d
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 0x14006bfb8
mov edi, reloc.WLDAP32.dll_Ordinal_35
mov qword [rsp + 0x28], rdi
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140075ef0
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.140015930
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 0x14006c09e
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.1400160a0
lea rdx, [0x1400166a0]
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.140015930
nop
lea rcx, [rsp + 0xc8]
call fcn.1400159a0
nop
lea rcx, [rsp + 0xf0]
call fcn.14006bb90
nop
lea rcx, [rsp + 0x88]
call fcn.1400159a0
jmp 0x14006c16d
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 0x14006c0fa
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.1400160a0
lea rdx, [0x1400166a0]
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.140015930
jmp 0x14006c144
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.1400160a0
lea rdx, [0x1400166a0]
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.1400159a0
nop
lea rcx, [rsp + 0xf0]
call fcn.14006bb90
nop
lea rcx, [rsp + 0x88]
call fcn.1400159a0
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.14028f750
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