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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14005d080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
xor r14d, r14d
lea rcx, [rbp - 0x69]
call fcn.1400027e0
nop
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
mov rcx, qword [rbp - 0x59]
sub rax, rcx
cmp rax, 0x22
jb 0x140013369
lea rax, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova rax, qword [rbp - 0x69]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 9]
call fcn.14000da50
nop
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 4
jb 0x14001336f
cmp qword [rbx + 0x18], 7
jbe 0x140012f2a
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 4
lea r9, str.___
lea rcx, [rbp - 0x49]
call fcn.14000da50
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rdx, qword [rbp - 9]
lea r8, [rbp - 0x79]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
movdqa xmm6, xmmword [0x140055040]
test eax, eax
je 0x140012f85
lea rdx, str.____Cant_create_service_key
jmp 0x140013013
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 - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp - 0x79]
test eax, eax
je 0x140012fd1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_ImagePath_registry_value
jmp 0x140013013
mov dword [rsp + 0x28], 4
lea rax, [0x140054fdc]
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 - 0x79]
test eax, eax
je 0x14001313e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_Type_registry_value
lea rbx, [0x14005e7c0]
mov rcx, rbx
call fcn.14000a2d0
mov rcx, rax
call fcn.14000a240
xor dil, dil
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140013075
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013068
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013375
call fcn.1400178e0
movdqa xmm6, xmmword [0x140055040]
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], r14w
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1400130c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400130ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013387
call fcn.1400178e0
movdqa xmm6, xmmword [0x140055040]
movdqu xmmword [rbp + 7], xmm6
mov word [rbp - 9], r14w
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x140013111
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001310c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013363
call fcn.1400178e0
movzx eax, dil
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400178c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [0x140049890]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x14001302a
lea rdx, str.RtlAdjustPrivilege
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.NtLoadDriver
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea r9, [rbp - 0x71]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rbx
test eax, eax
jns 0x1400131ab
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
lea rcx, [0x14005e7c0]
jmp 0x14001301d
mov rcx, qword [rbp - 0x59]
sub rdi, rcx
cmp rdi, 0x34
jb 0x14001337b
lea rax, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova rax, qword [rbp - 0x69]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x29]
call fcn.14000da50
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rdx, qword [rbp - 0x29]
lea rcx, [rbp + 0x17]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x17]
call rsi
mov edi, eax
lea rdx, str.___NtLoadDriver_Status_0x
lea rbx, [0x14005e7c0]
mov rcx, rbx
call fcn.14000a2d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.140011020
mov rcx, rax
call fcn.14000a240
cmp edi, 0xc0000603
jne 0x1400132f6
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, rbx
call fcn.14000a2d0
mov rcx, rax
call fcn.14000a240
lea rdx, str.____Registry_path_to_disable_vulnerable_driver_list:_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCIConfig
mov rcx, rbx
call fcn.14000a2d0
mov rcx, rax
call fcn.14000a240
lea rdx, str.____Set_VulnerableDriverBlocklistEnable_as_dword_to_0
mov rcx, rbx
call fcn.14000a2d0
mov rcx, rax
call fcn.14000a240
shr edi, 0x1f
xor dil, 1
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x1400132e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400132e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013381
call fcn.1400178e0
movdqu xmmword [rbp - 0x19], xmm6
mov word [rbp - 0x29], r14w
jmp 0x14001302d
cmp edi, 0xc0000022
je 0x140013306
cmp edi, 0xc000009a
jne 0x14001334f
lea rdx, str.____Access_Denied:__0x
mov rcx, rbx
call fcn.14000a2d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.140011020
mov rcx, rax
lea rdx, str.___Probably_some_anticheat_or_antivirus_running_blocking_the_load_of_vulnerable_driver
call fcn.14000a2d0
mov rcx, rax
call fcn.14000a240
cmp edi, 0xc000010e
jne 0x1400132a0
mov dil, 1
jmp 0x1400132a7
call fcn.140021e8c
nop
call fcn.1400014f0
nop
call fcn.1400014f0
int3
call fcn.140021e8c
nop
call fcn.1400014f0
int3
call fcn.140021e8c
nop
call fcn.140021e8c
int3