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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov r14, rcx
lea rcx, [rbp - 0x21]
call fcn.140081110
nop
movabs rcx, 0x7ffffffffffffffe
mov r12, rcx
mov r13, qword [rbp - 0x11]
sub r12, r13
cmp r12, 0x22
jb 0x140083618
lea rdx, [rbp - 0x21]
mov r15, qword [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rdx, r15
mov qword [rbp + 0x7f], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
lea rax, [r13 + 0x22]
mov esi, 7
mov edi, esi
lea rbx, [rbp - 0x69]
movabs r8, 0x7fffffffffffffff
mov r9d, 0xa
cmp rax, rsi
jbe 0x14008308f
mov rdi, rax
or rdi, rsi
cmp rdi, rcx
jbe 0x14008305e
mov rdi, rcx
lea rcx, [r8 + r8]
cmp rcx, 0x1000
jb 0x14008307b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140083624
mov rcx, rax
call fcn.14006ec54
test rax, rax
je 0x140083591
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140083083
cmp rdi, r9
cmovb rdi, r9
lea rcx, [rdi + 1]
cmp rcx, r8
ja 0x140083624
add rcx, rcx
jne 0x140083029
xor ebx, ebx
jmp 0x14008308b
call fcn.14006ec54
mov rbx, rax
mov rdx, qword [rbp + 0x7f]
lea rax, [r13 + 0x22]
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rdi
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetServices_]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x1402fc2c0]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x1402fc2d0]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x1402fc2e0]
movups xmmword [rbx + 0x30], xmm1
mov eax, dword [0x1402fc2f0]
mov dword [rbx + 0x40], eax
lea rcx, [rbx + 0x44]
lea rax, [r13*2]
mov qword [rbp + 0x7f], rax
mov r8, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + r13*2 + 0x44], ax
mov rcx, qword [r14 + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 4
jb 0x14008361e
cmp qword [r14 + 0x18], 7
jbe 0x140083110
mov r14, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 4
lea r9, [0x1402fc2f8]
lea rcx, [rbp - 0x49]
call fcn.140014b40
nop
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova rdx, qword [rbp - 0x69]
lea r8, [rbp + 0x77]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
movdqa xmm6, xmmword [0x1402ffa40]
test eax, eax
je 0x140083168
lea rdx, str.____Cant_create_service_key
jmp 0x1400831b2
mov eax, dword [rbp - 0x39]
add eax, eax
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x77]
test eax, eax
je 0x140083220
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.140003f50
lea rdx, [0x140003f10]
mov rcx, rax
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]
xor bl, bl
mov rdi, qword [rbp - 9]
xor esi, esi
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140083551
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083544
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083544
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x28], 4
lea rax, [0x1402fc66c]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x77]
test eax, eax
je 0x140083263
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_Type_registry_value
jmp 0x1400831b2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1400fe2f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x1400831ce
lea rdx, str.RtlAdjustPrivilege
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.NtLoadDriver
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x29], rax
lea r9, [rbp + 0x6f]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rbx
test eax, eax
jns 0x1400832c9
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
jmp 0x1400831b2
cmp r12, 0x34
jb 0x14008362a
lea r14, [rbp - 0x21]
mov rdi, qword [rbp - 9]
cmp rdi, 7
cmova r14, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
add r13, 0x34
lea rbx, [rsp + 0x40]
cmp r13, 7
jbe 0x14008339c
mov rsi, r13
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x140083362
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14008338f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140083612
mov rcx, rax
call fcn.14006ec54
test rax, rax
je 0x14008351d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140083397
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140083612
add rcx, rcx
jne 0x14008332d
xor eax, eax
jmp 0x140083394
call fcn.14006ec54
mov rbx, rax
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], rsi
movaps xmm0, xmmword [str.RegistryMachineSystemCurrentControlSetServices_]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x1402fc450]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x1402fc460]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x1402fc470]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x1402fc480]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x1402fc490]
movups xmmword [rbx + 0x50], xmm1
movsd xmm0, qword [0x1402fc4a0]
movsd qword [rbx + 0x60], xmm0
lea rcx, [rbx + 0x68]
mov r8, qword [rbp + 0x7f]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
mov word [rbx + r13*2], si
lea rdx, [rsp + 0x40]
cmp qword [rbp - 0x71], 7
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp - 1]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 1]
call qword [rbp - 0x29]
mov ebx, 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.140003f50
lea rdx, [0x140004ce0]
mov rcx, rax
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 edx, ebx
mov rcx, rax
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]
lea rdx, [0x140003f10]
mov rcx, rax
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 ebx, 0xc0000603
jne 0x140083524
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.140003f50
lea rdx, [0x140003f10]
mov rcx, rax
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.140003f50
lea rdx, [0x140003f10]
mov rcx, rax
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.140003f50
lea rdx, [0x140003f10]
mov rcx, rax
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]
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp - 0x71]
cmp rdx, 7
jbe 0x140083535
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083530
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ebx, 0xc000010e
jne 0x1400834df
mov bl, 1
jmp 0x1400834e5
call fcn.14006ec4c
movdqu xmmword [rbp - 0x79], xmm6
mov word [rsp + 0x40], si
jmp 0x1400831d6
call fcn.14006ec4c
movdqa xmm6, xmmword [0x1402ffa40]
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], si
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x1400835a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083598
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083598
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ec4c
movdqa xmm6, xmmword [0x1402ffa40]
movdqu xmmword [rbp - 0x59], xmm6
mov word [rbp - 0x69], si
cmp rdi, 7
jbe 0x1400835ec
lea rdx, [rdi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400835e4
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400835e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14006ec4c
movzx eax, bl
mov rbx, qword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400028c0
nop
call fcn.140002960
nop
call fcn.140002960
nop
call fcn.1400028c0
nop
call fcn.140002960
int3