Function at 0x14006d760
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
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rbx, rcx
lea rcx, [rbp - 0x49]
call fcn.140062d20
nop
lea rcx, str.SYSTEMCurrentControlSetServices_
call fcn.140061ea0
mov rdi, rax
mov rsi, qword [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.140061c10
sub rax, rsi
cmp rax, rdi
jb 0x14006dab0
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, str.SYSTEMCurrentControlSetServices_
lea r8, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.14006b150
nop
lea rcx, [0x1401fcef8]
call fcn.140061ea0
mov rdi, rax
mov rsi, qword [rbx + 0x10]
mov rcx, rbx
call fcn.140061c10
sub rax, rsi
cmp rax, rdi
jb 0x14006dab6
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14006d80f
mov rax, qword [rbx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [0x1401fcef8]
mov r8, rbx
lea rcx, [rbp - 0x29]
call fcn.14006b150
nop
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x77]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x14006d89e
lea rdx, str.____Cant_create_service_key
call fcn.140068c00
mov rcx, rax
call fcn.140068b60
xor bl, bl
lea rcx, [rbp - 0x29]
call fcn.140061ca0
nop
lea rcx, [rbp + 0x17]
call fcn.140061ca0
nop
lea rcx, [rbp - 0x49]
call fcn.140061ca0
movzx eax, bl
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rbp - 0x19]
add eax, eax
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rcx, qword [rbp - 0x29]
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 0x14006d8ed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_ImagePath_registry_value
jmp 0x14006d85c
mov dword [rsp + 0x28], 4
lea rax, [0x1401fd26c]
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 0x14006d930
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_Type_registry_value
jmp 0x14006d85c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1401e9c98]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x14006d869
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 rsi, rax
lea r9, [rbp + 0x6f]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rbx
test eax, eax
jns 0x14006d995
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
jmp 0x14006d85c
lea rcx, str.RegistryMachineSystemCurrentControlSetServices_
call fcn.140061ea0
mov rbx, rax
mov rdi, qword [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.140061c10
sub rax, rdi
cmp rax, rbx
jb 0x14006daaa
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea r8, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.14006b150
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rdx, qword [rbp - 9]
lea rcx, [rbp + 0x37]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x37]
call rsi
mov ebx, eax
lea rdx, str.___NtLoadDriver_Status_0x
call fcn.140068c00
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, ebx
mov rcx, rax
call fcn.14006c160
mov rcx, rax
call fcn.140068b60
cmp ebx, 0xc0000603
jne 0x14006da9e
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.140068c00
mov rcx, rax
call fcn.140068b60
lea rdx, str.____Registry_path_to_disable_vulnerable_driver_list:_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCIConfig
call fcn.140068c00
mov rcx, rax
call fcn.140068b60
lea rdx, str.____Set_VulnerableDriverBlocklistEnable_as_dword_to_0
call fcn.140068c00
mov rcx, rax
call fcn.140068b60
shr ebx, 0x1f
xor bl, 1
lea rcx, [rbp - 9]
call fcn.140061ca0
jmp 0x14006d86b
cmp ebx, 0xc000010e
jne 0x14006da8a
mov bl, 1
jmp 0x14006da90
call fcn.1400053f0
nop
call fcn.1400053f0
nop
call fcn.1400053f0
int3