Function at 0x1400812b0
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.14007f440
nop
movabs rcx, 0x7ffffffffffffffe
mov r12, rcx
mov r13, qword [rbp - 0x11]
sub r12, r13
cmp r12, 0x22
jb 0x140081948
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 0x1400813bf
mov rdi, rax
or rdi, rsi
cmp rdi, rcx
jbe 0x14008138e
mov rdi, rcx
lea rcx, [r8 + r8]
cmp rcx, 0x1000
jb 0x1400813ab
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140081954
mov rcx, rax
call fcn.14006eea4
test rax, rax
je 0x1400818c1
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400813b3
cmp rdi, r9
cmovb rdi, r9
lea rcx, [rdi + 1]
cmp rcx, r8
ja 0x140081954
add rcx, rcx
jne 0x140081359
xor ebx, ebx
jmp 0x1400813bb
call fcn.14006eea4
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 [0x1402fa250]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x1402fa260]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x1402fa270]
movups xmmword [rbx + 0x30], xmm1
mov eax, dword [0x1402fa280]
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 0x14008194e
cmp qword [r14 + 0x18], 7
jbe 0x140081440
mov r14, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 4
lea r9, [0x1402fa288]
lea rcx, [rbp - 0x49]
call fcn.140014de0
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 [0x1402fd9a0]
test eax, eax
je 0x140081498
lea rdx, str.____Cant_create_service_key
jmp 0x1400814e2
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 0x140081550
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.140004060
lea rdx, [0x140004020]
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 0x140081881
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081874
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081874
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, [0x1402fa5fc]
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 0x140081593
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_Type_registry_value
jmp 0x1400814e2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1400fc2d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x1400814fe
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 0x1400815f9
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
jmp 0x1400814e2
cmp r12, 0x34
jb 0x14008195a
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 0x1400816cc
mov rsi, r13
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x140081692
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400816bf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140081942
mov rcx, rax
call fcn.14006eea4
test rax, rax
je 0x14008184d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400816c7
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140081942
add rcx, rcx
jne 0x14008165d
xor eax, eax
jmp 0x1400816c4
call fcn.14006eea4
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 [0x1402fa3e0]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x1402fa3f0]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x1402fa400]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x1402fa410]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x1402fa420]
movups xmmword [rbx + 0x50], xmm1
movsd xmm0, qword [0x1402fa430]
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.140004060
lea rdx, [0x140005110]
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, [0x140004020]
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 0x140081854
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.140004060
lea rdx, [0x140004020]
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.140004060
lea rdx, [0x140004020]
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.140004060
lea rdx, [0x140004020]
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 0x140081865
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081860
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ebx, 0xc000010e
jne 0x14008180f
mov bl, 1
jmp 0x140081815
call fcn.14006ee9c
movdqu xmmword [rbp - 0x79], xmm6
mov word [rsp + 0x40], si
jmp 0x140081506
call fcn.14006ee9c
movdqa xmm6, xmmword [0x1402fd9a0]
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], si
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x1400818d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400818c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400818c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ee9c
movdqa xmm6, xmmword [0x1402fd9a0]
movdqu xmmword [rbp - 0x59], xmm6
mov word [rbp - 0x69], si
cmp rdi, 7
jbe 0x14008191c
lea rdx, [rdi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140081914
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081914
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14006ee9c
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