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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov r14, rcx
lea rsi, [rbp - 0x30]
mov rcx, rsi
call section..text
mov r15, qword [rsi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, r15
cmp rax, 0x21
jbe 0x1400140ff
mov r13, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x18]
mov qword [rbp - 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
lea r12, [r15 + 0x22]
cmp r12, 8
jb 0x140013b03
mov rax, r12
or rax, 7
movabs rbx, 0x7ffffffffffffffe
mov rcx, 0xfffffffffffffffe
cmp rax, rbx
ja 0x140013afc
cmp rax, 0xa
mov ebx, 0xa
cmova rbx, rax
lea rcx, [rbx + rbx]
add rcx, 2
cmp rbx, 0x7ff
jb 0x140013b0e
mov rbx, rax
call fcn.140008be5
jmp 0x140013b13
lea rsi, [rbp - 0x10]
mov ebx, 7
jmp 0x140013b1a
call fcn.14001570c
mov rsi, rax
mov qword [rbp - 0x10], rax
cmp rdi, 7
lea rax, [rbp - 0x30]
cmovbe r13, rax
lea rdi, [rsi + 0x44]
mov qword [rbp], r12
mov qword [rbp + 8], rbx
lea rdx, str.SYSTEMCurrentControlSetServices_
mov r8d, 0x44
mov rcx, rsi
call fcn.14001b150
lea r8, [r15 + r15]
mov rcx, rdi
mov rdx, r13
call fcn.14001b150
mov word [rsi + r15*2 + 0x44], 0
mov rdi, qword [r14 + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdi
cmp rax, 3
jbe 0x140014104
mov r13, qword [r14]
mov rbx, qword [r14 + 0x18]
mov qword [rbp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
lea r12, [rdi + 4]
cmp r12, 8
jb 0x140013bdf
mov rax, r12
or rax, 7
movabs r15, 0x7ffffffffffffffe
mov rcx, 0xfffffffffffffffe
cmp rax, r15
ja 0x140013bd8
cmp rax, 0xa
mov r15d, 0xa
cmova r15, rax
lea rcx, [r15 + r15]
add rcx, 2
cmp r15, 0x7ff
jb 0x140013bef
mov r15, rax
call fcn.140008be5
jmp 0x140013bf4
lea rsi, [rbp + 0x30]
lea rcx, [rbp + 0x38]
mov r15d, 7
jmp 0x140013c02
call fcn.14001570c
mov rsi, rax
mov qword [rbp + 0x30], rax
mov rcx, rax
add rcx, 8
cmp rbx, 7
cmova r14, r13
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r15
movabs rax, 0x5c003f003f005c
mov qword [rsi], rax
lea r8, [rdi + rdi]
mov rdx, r14
call fcn.14001b150
mov word [rsi + rdi*2 + 8], 0
cmp qword [rbp + 8], 7
jbe 0x140013c3f
mov rdx, qword [rbp - 0x10]
jmp 0x140013c43
lea rdx, [rbp - 0x10]
lea r8, [rbp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x140013c78
lea rcx, [0x140063d60]
lea rdx, str.____Cant_create_service_key
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
jmp 0x140013d33
mov eax, dword [rbp + 0x40]
add eax, eax
cmp qword [rbp + 0x48], 7
jbe 0x140013c8a
mov rdx, qword [rbp + 0x30]
jmp 0x140013c8e
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea r8, str.ImagePath
xor edx, edx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x50]
test eax, eax
je 0x140013cdb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x140063d60]
lea rdx, str.____Cant_create_ImagePath_registry_value
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
jmp 0x140013d33
lea rax, [0x140047968]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
lea r8, str.Type
xor edx, edx
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x140013e1d
lea rcx, [0x140063d60]
lea rdx, str.____Cant_create_Type_registry_value
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
xor esi, esi
mov rax, qword [rbp + 0x48]
cmp rax, 8
jb 0x140013d7b
mov rcx, qword [rbp + 0x30]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140013d76
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140014109
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.140015750
mov rax, qword [rbp + 8]
cmp rax, 8
jb 0x140013dc1
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140013dbc
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140014109
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.140015750
mov rax, qword [rbp - 0x18]
cmp rax, 8
jb 0x140013e07
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140013e02
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140014109
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.140015750
mov eax, esi
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140052a1f]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140013d33
mov rsi, rax
lea rdx, str.RtlAdjustPrivilege
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rbx
mov rdi, rax
lea rdx, str.NtLoadDriver
mov rcx, rsi
call rbx
mov rsi, rax
lea r9, [rbp + 0x5f]
mov ecx, 0xa
mov dl, 1
xor r8d, r8d
call rdi
movabs rdi, 0x7ffffffffffffffe
test eax, eax
js 0x140013ef6
mov r15, qword [rbp - 0x20]
mov rax, rdi
sub rax, r15
cmp rax, 0x33
jbe 0x14001410e
mov r14, qword [rbp - 0x30]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
lea r13, [rbp + 0x10]
mov qword [r13], 0
xorps xmm0, xmm0
movups xmmword [r13 + 0x10], xmm0
lea r12, [r15 + 0x34]
cmp r12, 8
mov qword [rbp - 0x40], rsi
jb 0x140013f16
mov rax, r12
or rax, 7
mov rcx, 0xfffffffffffffffe
cmp rax, rdi
ja 0x140013eef
cmp rax, 0xa
mov edi, 0xa
cmova rdi, rax
lea rcx, [rdi + rdi]
add rcx, 2
cmp rdi, 0x7ff
jb 0x140013f24
mov rdi, rax
call fcn.140008be5
jmp 0x140013f29
lea rcx, [0x140063d60]
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
jmp 0x140013d33
lea rsi, [rbp + 0x78]
mov eax, 7
mov rbx, r13
jmp 0x140013f3a
call fcn.14001570c
mov rbx, rax
mov qword [rbp + 0x10], rax
mov rsi, rax
add rsi, 0x68
mov rax, rdi
cmp qword [rbp - 0x38], 7
lea rdi, [rbp - 0x30]
cmova rdi, r14
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], rax
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
mov r8d, 0x68
mov rcx, rbx
call fcn.14001b150
lea r8, [r15 + r15]
mov rcx, rsi
mov rdx, rdi
call fcn.14001b150
mov word [rbx + r15*2 + 0x68], 0
cmp qword [rbp + 0x28], 7
jbe 0x140013f86
mov r13, qword [rbp + 0x10]
lea rsi, [rbp - 0x50]
mov rcx, rsi
mov rdx, r13
call sub.ntdll.dll_RtlInitUnicodeString
mov rcx, rsi
call qword [rbp - 0x40]
mov esi, eax
lea rcx, [0x140063d60]
lea rdx, str.___NtLoadDriver_Status_0x
call fcn.14000170f
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov edx, 0xfffff1ff
and edx, dword [rax + rcx + 0x18]
or edx, 0x800
mov dword [rax + rcx + 0x18], edx
mov rcx, rax
mov edx, esi
call fcn.140011cb4
mov rcx, rax
call fcn.1400019b7
cmp esi, 0xc000010d
jg 0x140014048
cmp esi, 0xc0000022
je 0x140013ff8
cmp esi, 0xc000009a
jne 0x1400140a9
lea rcx, [0x140063d60]
lea rdx, str.____Access_Denied_or_Insufficient_Resources__0x
call fcn.14000170f
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov edx, 0xfffff1ff
and edx, dword [rax + rcx + 0x18]
or edx, 0x800
mov dword [rax + rcx + 0x18], edx
mov rcx, rax
mov edx, esi
call fcn.140011cb4
lea rdx, str.___Probably_some_anticheat_or_antivirus_running_blocking_the_load_of_vulnerable_driver
mov rcx, rax
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
jmp 0x1400140a9
cmp esi, 0xc000010e
je 0x1400140b1
cmp esi, 0xc0000603
jne 0x1400140a9
lea rcx, [0x140063d60]
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
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
lea rcx, [0x140063d60]
lea rdx, str.____Registry_path_to_disable_vulnerable_driver_list:_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCIConfig
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
lea rcx, [0x140063d60]
lea rdx, str.____Set_VulnerableDriverBlocklistEnable_as_dword_to_0
call fcn.14000170f
mov rcx, rax
call fcn.1400019b7
test esi, esi
setns sil
jmp 0x1400140b4
mov sil, 1
mov rax, qword [rbp + 0x28]
cmp rax, 8
jb 0x140013d35
mov rcx, qword [rbp + 0x10]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400140f5
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140014109
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.140015750
jmp 0x140013d35
call fcn.140008bd4
call fcn.140008bd4
call fcn.1400215e4
call fcn.140008bd4
int3