Function at 0x140042ed0
Capabilities:
Disable system features via registry on windows
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x108]
call fcn.1400395c0
nop
lea r8, [rsp + 0x108]
lea rdx, [0x14016f7a0]
lea rcx, [rsp + 0x128]
call fcn.140042e00
nop
mov r8, qword [rsp + 0x190]
lea rdx, str.___
lea rcx, [rsp + 0xe8]
call fcn.140042e00
nop
lea rcx, [rsp + 0x128]
call fcn.14003c780
lea r8, [rsp + 0xd8]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x140042fc8
lea rdx, str.____Cant_create_service_key
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0x68], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0xe8]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x128]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x108]
call fcn.1400365b0
movzx eax, byte [rsp + 0x30]
jmp 0x140043492
lea rcx, [rsp + 0xe8]
call fcn.14003ccf0
shl rax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xe8]
call fcn.14003c780
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1400430a8
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_ImagePath_registry_value
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0x80], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0xe8]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x128]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x108]
call fcn.1400365b0
movzx eax, byte [rsp + 0x31]
jmp 0x140043492
mov dword [rsp + 0x28], 4
lea rax, [0x14016fc34]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14004315a
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_Type_registry_value
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0x88], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0xe8]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x128]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x108]
call fcn.1400365b0
movzx eax, byte [rsp + 0x32]
jmp 0x140043492
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x14016f898]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400431ba
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0xe8]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x128]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x108]
call fcn.1400365b0
movzx eax, byte [rsp + 0x33]
jmp 0x140043492
lea rdx, str.RtlAdjustPrivilege
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.NtLoadDriver
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x54], 0xa
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
lea r9, [rsp + 0xe0]
xor r8d, r8d
mov dl, 1
mov ecx, dword [rsp + 0x54]
call qword [rsp + 0x98]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x140043291
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0xa0], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0xe8]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x128]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x108]
call fcn.1400365b0
movzx eax, byte [rsp + 0x34]
jmp 0x140043492
lea r8, [rsp + 0x108]
lea rdx, [0x14016f940]
lea rcx, [rsp + 0x158]
call fcn.140042e00
nop
lea rcx, [rsp + 0x158]
call fcn.14003c780
mov rdx, rax
lea rcx, [rsp + 0x148]
call sub.ntdll.dll_RtlInitUnicodeString
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x148]
call qword [rsp + 0xb0]
mov dword [rsp + 0x38], eax
lea rdx, str.___NtLoadDriver_Status_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0xb8], rax
lea rdx, [0x14003cc50]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0xc0], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov qword [rsp + 0xc8], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
cmp dword [rsp + 0x38], 0xc0000603
jne 0x1400433e7
lea rdx, str.____Your_vulnerable_driver_list_is_enabled_and_have_blocked_the_driver_loading__you_must_disable_vulnerable_driver_list_to_use_kdmapper_with_intel_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0xd0], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.____Registry_path_to_disable_vulnerable_driver_list:_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCIConfig
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0x58], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, str.____Set_VulnerableDriverBlocklistEnable_as_dword_to_0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140030950
mov qword [rsp + 0x60], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
cmp dword [rsp + 0x38], 0xc000010e
jne 0x140043434
mov byte [rsp + 0x35], 1
lea rcx, [rsp + 0x158]
call fcn.1400365b0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x128]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x108]
call fcn.1400365b0
movzx eax, byte [rsp + 0x35]
jmp 0x140043492
cmp dword [rsp + 0x38], 0
jl 0x140043445
mov dword [rsp + 0x40], 1
jmp 0x14004344d
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x36], al
lea rcx, [rsp + 0x158]
call fcn.1400365b0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x128]
call fcn.1400365b0
nop
lea rcx, [rsp + 0x108]
call fcn.1400365b0
movzx eax, byte [rsp + 0x36]
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14015a6e0
add rsp, 0x188
ret