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

Disassembly:
sub rsp, 0x6a8
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x690], rax
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x88], al
lea rcx, [rsp + 0xf0]
call fcn.14008f4c0
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.1400226f0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x98]
sub rax, rcx
cmp rax, 0x1a
jb 0x1400834a7
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 + 0xa8]
call fcn.140006740
nop
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rdx, qword [rsp + 0xa8]
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 0x14008325c
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.1400063d0
lea rdx, [0x1400065a0]
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.1400062c0
nop
lea rcx, [rsp + 0xf0]
call fcn.140082fb0
nop
lea rcx, [rsp + 0x88]
call fcn.1400062c0
jmp 0x14008348f
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 0x140083437
cmp dword [rsp + 0x80], 1
jne 0x140083437
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 0x1400832e0
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x48]
call fcn.140023500
nop
lea r8, [rsp + 0x48]
lea rdx, str.SystemControlSet001ControlClass_
lea rcx, [rsp + 0xc8]
call fcn.14008f5f0
nop
lea rcx, [rsp + 0x48]
call fcn.140021ea0
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 7
cmova rdx, qword [rsp + 0xc8]
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 0x1400833c0
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.1400063d0
lea rdx, [0x1400065a0]
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.140021ea0
nop
lea rcx, [rsp + 0xa8]
call fcn.1400062c0
nop
lea rcx, [rsp + 0xf0]
call fcn.140082fb0
nop
lea rcx, [rsp + 0x88]
call fcn.1400062c0
jmp 0x14008348f
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 0x14008341c
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.1400063d0
lea rdx, [0x1400065a0]
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.140021ea0
jmp 0x140083466
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.1400063d0
lea rdx, [0x1400065a0]
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.1400062c0
nop
lea rcx, [rsp + 0xf0]
call fcn.140082fb0
nop
lea rcx, [rsp + 0x88]
call fcn.1400062c0
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1402cbf10
add rsp, 0x6a8
ret
call fcn.140005690
nop
int3