Function at 0x14001fa60
Capabilities:
Delete file

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x1401970c0]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x88]
imul ecx, eax
mov eax, ecx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.14001fa00
movzx eax, al
test eax, eax
je 0x14001faeb
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.140015a80
mov qword [rsp + 0x90], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0x90]
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 rax, 0xffffffffffffffff
jmp 0x1400201be
mov r8d, 0x64
xor edx, edx
lea rcx, [0x140197770]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, reloc.WS2_32.dll_sendto
idiv ecx
mov eax, edx
add eax, 0xa
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x50], 0
jmp 0x14001fb2a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x50], eax
jge 0x14001fb66
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
mov ecx, 0x34
div rcx
mov rax, rdx
lea rcx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
movsxd rdx, dword [rsp + 0x50]
lea r8, [0x140197770]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
jmp 0x14001fb20
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.140015a80
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x1a8]
call fcn.14001f200
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140015f00
mov qword [rsp + 0xb8], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0xb8]
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
lea rcx, [rsp + 0x1a8]
call fcn.140022740
lea rcx, [rsp + 0x1c8]
call fcn.14001f2e0
nop
cmp qword [rsp + 0x1d8], 0
jne 0x14001fc19
mov dword [rsp + 0x54], 1
jmp 0x14001fc21
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14001fc89
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.140015a80
mov qword [rsp + 0xc0], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0xc0]
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 qword [rsp + 0xc8], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0xc8]
jmp 0x1400201be
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 7
jbe 0x14001fcb6
mov dword [rsp + 0x58], 1
jmp 0x14001fcbe
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14001fced
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x14016d1f0]
lea rcx, [rsp + 0x1c8]
call fcn.140058250
movzx eax, al
test eax, eax
jne 0x14001fd8f
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.140015a80
mov qword [rsp + 0xe8], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0xe8]
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 qword [rsp + 0xf0], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0xf0]
jmp 0x1400201be
lea rcx, [rsp + 0x1c8]
call fcn.14002aca0
movzx eax, al
test eax, eax
jne 0x14001fe95
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.140015a80
mov qword [rsp + 0xf8], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0xf8]
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 rax, [rsp + 0x1c8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 7
jbe 0x14001fe07
mov dword [rsp + 0x5c], 1
jmp 0x14001fe0f
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x14001fe41
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov qword [rsp + 0x118], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x118]
jmp 0x1400201be
mov qword [rsp + 0x30], 0
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 qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14001fedb
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14001ff3b
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.140015a80
mov qword [rsp + 0x120], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0x120]
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, qword [rsp + 0x48]
call fcn.1400212b0
mov qword [rsp + 0x128], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x128]
jmp 0x1400201be
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x188]
call fcn.14001af20
nop
lea rcx, [rsp + 0x188]
call fcn.1400586f0
mov qword [0x1401977d8], rax
lea rcx, [rsp + 0x188]
call fcn.140022630
cmp qword [0x1401977d8], 0
jne 0x14001ffdb
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.140015a80
mov qword [rsp + 0x130], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0x130]
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, qword [rsp + 0x48]
call fcn.1400212b0
mov qword [rsp + 0x138], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x138]
jmp 0x1400201be
mov rcx, qword [rsp + 0x48]
call fcn.14001d940
movzx eax, al
test eax, eax
jne 0x14002004c
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.140015a80
mov qword [rsp + 0x140], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0x140]
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, qword [rsp + 0x48]
call fcn.1400212b0
mov qword [rsp + 0x148], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x148]
jmp 0x1400201be
mov rcx, qword [rsp + 0x48]
call fcn.14001c5b0
movzx eax, al
test eax, eax
jne 0x1400200bd
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.140015a80
mov qword [rsp + 0x150], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0x150]
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, qword [rsp + 0x48]
call fcn.1400212b0
mov qword [rsp + 0x158], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x158]
jmp 0x1400201be
mov rcx, qword [rsp + 0x48]
call fcn.14001d400
movzx eax, al
test eax, eax
jne 0x14002012e
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.140015a80
mov qword [rsp + 0x160], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0x160]
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, qword [rsp + 0x48]
call fcn.1400212b0
mov qword [rsp + 0x168], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x168]
jmp 0x1400201be
mov rcx, qword [rsp + 0x48]
call fcn.14001e1a0
movzx eax, al
test eax, eax
jne 0x14002019c
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.140015510
mov qword [rsp + 0x170], rax
lea rdx, [0x14001a850]
mov rcx, qword [rsp + 0x170]
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, qword [rsp + 0x48]
call fcn.1400212b0
mov qword [rsp + 0x178], 0xffffffffffffffff
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x178]
jmp 0x1400201be
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x1c8]
call fcn.140022740
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140163a00
add rsp, 0x1f8
ret