Function at 0x1400024a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea r13, [rbp + 0xe8]
movabs r15, 0xff0f0ff0f0ff00f
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r13
mov rsi, qword [r13]
xor rsi, r15
mov qword [rsp + 0x60], rsi
xor r12d, r12d
mov qword [r13], r12
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rdi, [rbp + 0xe8]
mov rbx, qword [rdi]
mov qword [rdi], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str..Nal
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400025a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbx
lea rdx, str.____DeviceNal_is_already_in_use.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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 rdi, [r12 - 1]
jmp 0x140002cc0
mov qword [rdi], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400ff680], xmm0
movups xmmword [0x1400ff690], xmm0
movups xmmword [0x1400ff6a0], xmm0
movups xmmword [0x1400ff6b0], xmm0
movups xmmword [0x1400ff6c0], xmm0
movups xmmword [0x1400ff6d0], xmm0
mov dword [0x1400ff6e0], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rdi, r8d
test r8d, r8d
jle 0x14000265a
mov rbx, r12
movabs r13, 0x4ec4ec4ec4ec4ec5
lea r14, [0x140000000]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r13
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r14 + 0xea158]
mov byte [rbx + r14 + 0xff680], al
inc rbx
cmp rbx, rdi
jl 0x140002620
lea r13, [rbp + 0xe8]
lea rdx, str.____Loading_vulnerable_driver__Name:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140001eb0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140002689
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000b130
lea rdx, [0x140008410]
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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400026ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc0a0
lea rcx, [rsp + 0x78]
call fcn.140002130
nop
cmp qword [rbp - 0x78], 0
jne 0x140002724
lea rdx, str.____Cant_find_TEMP_folder
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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]
jmp 0x140002c74
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdi, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [rdi], r12
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.140007ac0
nop
mov r8d, 0x8708
lea rdx, [0x1400e1a50]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rbp - 0x58]
test al, al
je 0x140002880
call fcn.140007f60
test rax, rax
jne 0x1400027e9
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.140007a50
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdi, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], rdi
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [rdi], r12
lea rdx, str.____Failed_to_create_vulnerable_driver_file
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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]
nop
mov qword [rdi], rbx
jmp 0x140002c74
call fcn.140007f60
test rax, rax
jne 0x1400028a7
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.140007a50
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov qword [rdi], rbx
lea rcx, [rsp + 0x78]
call fcn.140066100
test al, al
jne 0x140002968
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdi, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [rdi], r12
lea rdx, str.____Failed_to_register_and_start_service_for_the_vulnerable_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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 rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop
mov qword [rdi], rbx
jmp 0x140002c74
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..Nal
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
cmp rax, 0xfffffffffffffffd
ja 0x140002c23
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, ntohs
lea rdx, [0x1400dfc30]
lea rcx, [rsp + 0x40]
call fcn.14000aa40
nop
lea rcx, [rsp + 0x40]
call fcn.140066bc0
mov qword [0x1400ff6e8], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002a26
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc0a0
mov rax, qword [0x1400ff6e8]
test rax, rax
jne 0x140002a86
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea r14, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [r14], r12
lea rdx, str.____Failed_to_get_ntoskrnl.exe
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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]
mov rcx, rdi
call fcn.1400035f0
nop
jmp 0x140002c71
mov rcx, rdi
call fcn.140005930
test al, al
jne 0x140002aed
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea r14, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [r14], r12
lea rdx, str.____Failed_to_ClearPiDDBCacheTable
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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]
mov rcx, rdi
call fcn.1400035f0
nop
jmp 0x140002c71
mov rcx, rdi
call fcn.140006450
test al, al
jne 0x140002b54
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea r14, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [r14], r12
lea rdx, str.____Failed_to_ClearKernelHashBucketList
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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]
mov rcx, rdi
call fcn.1400035f0
nop
jmp 0x140002c71
mov rcx, rdi
call fcn.140004e20
test al, al
jne 0x140002bbb
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea r14, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [r14], r12
lea rdx, str.____Failed_to_ClearMmUnloadedDrivers
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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]
mov rcx, rdi
call fcn.1400035f0
nop
jmp 0x140002c71
mov rcx, rdi
call fcn.140002d00
test al, al
jne 0x140002c7b
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea r14, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [r14], r12
lea rdx, str.____Failed_to_ClearWdFilterDriverList
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008470
lea rdx, [0x140008410]
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]
mov rcx, rdi
call fcn.1400035f0
nop
jmp 0x140002c71
lea r14, [rbp + 0xe8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rsp + 0x40], rax
mov qword [r14], r12
lea rdx, str.____Failed_to_load_driver_iqvw64e.sys
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008230
lea rdx, [0x140008410]
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]
mov rcx, rdi
call fcn.1400035f0
nop
mov qword [r14], rbx
mov rdi, 0xffffffffffffffff
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140002cc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc0a0
nop
xor rsi, r15
mov qword [r13], rsi
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400cc080
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret