Function at 0x140093bb0
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.140091d40
nop
movabs rcx, 0x7ffffffffffffffe
mov r12, rcx
mov r13, qword [rbp - 0x11]
sub r12, r13
cmp r12, 0x22
jb 0x140094248
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 0x140093cbf
mov rdi, rax
or rdi, rsi
cmp rdi, rcx
jbe 0x140093c8e
mov rdi, rcx
lea rcx, [r8 + r8]
cmp rcx, 0x1000
jb 0x140093cab
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140094254
mov rcx, rax
call fcn.14007ef08
test rax, rax
je 0x1400941c1
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140093cb3
cmp rdi, r9
cmovb rdi, r9
lea rcx, [rdi + 1]
cmp rcx, r8
ja 0x140094254
add rcx, rcx
jne 0x140093c59
xor ebx, ebx
jmp 0x140093cbb
call fcn.14007ef08
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 [0x14030ee50]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x14030ee60]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x14030ee70]
movups xmmword [rbx + 0x30], xmm1
mov eax, dword [0x14030ee80]
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 0x14009424e
cmp qword [r14 + 0x18], 7
jbe 0x140093d40
mov r14, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 4
lea r9, [0x14030eea8]
lea rcx, [rbp - 0x49]
call fcn.140015a40
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 [0x1403125d0]
test eax, eax
je 0x140093d98
lea rdx, str.____Cant_create_service_key
jmp 0x140093de2
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 0x140093e50
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.14000ccd0
lea rdx, [0x14000cc90]
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 0x140094181
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140094174
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, [0x14030f204]
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 0x140093e93
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_Type_registry_value
jmp 0x140093de2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x14030bbc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x140093dfe
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 0x140093ef9
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
jmp 0x140093de2
cmp r12, 0x34
jb 0x14009425a
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 0x140093fcc
mov rsi, r13
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x140093f92
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140093fbf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140094242
mov rcx, rax
call fcn.14007ef08
test rax, rax
je 0x14009414d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140093fc7
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140094242
add rcx, rcx
jne 0x140093f5d
xor eax, eax
jmp 0x140093fc4
call fcn.14007ef08
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 [0x14030ef70]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x14030ef80]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x14030ef90]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x14030efa0]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x14030efb0]
movups xmmword [rbx + 0x50], xmm1
movsd xmm0, qword [0x14030efc0]
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.14000ccd0
lea rdx, [0x140002de0]
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, [0x14000cc90]
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 0x140094154
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.14000ccd0
lea rdx, [0x14000cc90]
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.14000ccd0
lea rdx, [0x14000cc90]
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.14000ccd0
lea rdx, [0x14000cc90]
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 0x140094165
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094160
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140094160
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ebx, 0xc000010e
jne 0x14009410f
mov bl, 1
jmp 0x140094115
call fcn.14007f184
movdqu xmmword [rbp - 0x79], xmm6
mov word [rsp + 0x40], si
jmp 0x140093e06
call fcn.14007f184
movdqa xmm6, xmmword [0x1403125d0]
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], si
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x1400941d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400941c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400941c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f184
movdqa xmm6, xmmword [0x1403125d0]
movdqu xmmword [rbp - 0x59], xmm6
mov word [rbp - 0x69], si
cmp rdi, 7
jbe 0x14009421c
lea rdx, [rdi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140094214
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140094214
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14007f184
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.140002b60
nop
call fcn.140002c00
nop
call fcn.140002c00
nop
call fcn.140002b60
nop
call fcn.140002c00
int3