Function at 0x140039cd0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x190
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rsp + 0x180], rax
xor ecx, ecx
call fcn.14003dfc0
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x50]
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.140039c70
movzx eax, al
test eax, eax
je 0x140039d51
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.140030e60
mov qword [rsp + 0x58], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x58]
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 0x14003a2f0
lea rax, [0x14018e5e0]
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, 0x14
idiv ecx
mov eax, edx
add eax, 0xa
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], 0
jmp 0x140039d8f
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x140039dca
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, [0x14018e5e0]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x140039d85
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.140030e60
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x140]
call fcn.1400395c0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140031250
mov qword [rsp + 0x80], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x80]
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 + 0x140]
call fcn.1400365b0
lea rcx, [rsp + 0x160]
call fcn.1400396a0
nop
lea rcx, [rsp + 0x160]
call fcn.14003c990
movzx eax, al
test eax, eax
je 0x140039eba
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.140030e60
mov qword [rsp + 0x88], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x88]
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 + 0x90], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0x90]
jmp 0x14003a2f0
lea rcx, [rsp + 0x160]
call fcn.14003c780
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x140164f50]
lea rcx, [rsp + 0x160]
call fcn.140043750
movzx eax, al
test eax, eax
jne 0x140039f47
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.140030e60
mov qword [rsp + 0x98], rax
lea rdx, [0x140035500]
mov rcx, qword [rsp + 0x98]
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 + 0xa0], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0xa0]
jmp 0x14003a2f0
lea rcx, [rsp + 0x160]
call fcn.140042ed0
movzx eax, al
test eax, eax
jne 0x140039fc7
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.140030e60
mov qword [rsp + 0xa8], rax
lea rdx, [0x140035500]
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]
lea rcx, [rsp + 0x160]
call fcn.14003c780
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov qword [rsp + 0xb0], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0xb0]
jmp 0x14003a2f0
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 0x14003a00d
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14003a06d
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.140030e60
mov qword [rsp + 0xb8], rax
lea rdx, [0x140035500]
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 rcx, qword [rsp + 0x40]
call fcn.14003b410
mov qword [rsp + 0xc0], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0xc0]
jmp 0x14003a2f0
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x120]
call fcn.14002dc80
nop
lea rcx, [rsp + 0x120]
call fcn.140043c00
mov qword [0x14018e648], rax
lea rcx, [rsp + 0x120]
call fcn.14002df80
cmp qword [0x14018e648], 0
jne 0x14003a10d
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.140030e60
mov qword [rsp + 0xc8], rax
lea rdx, [0x140035500]
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]
mov rcx, qword [rsp + 0x40]
call fcn.14003b410
mov qword [rsp + 0xd0], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0xd0]
jmp 0x14003a2f0
mov rcx, qword [rsp + 0x40]
call fcn.140037eb0
movzx eax, al
test eax, eax
jne 0x14003a17e
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.140030e60
mov qword [rsp + 0xd8], rax
lea rdx, [0x140035500]
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.14003b410
mov qword [rsp + 0xe0], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0xe0]
jmp 0x14003a2f0
mov rcx, qword [rsp + 0x40]
call fcn.140036b60
movzx eax, al
test eax, eax
jne 0x14003a1ef
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.140030e60
mov qword [rsp + 0xe8], rax
lea rdx, [0x140035500]
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.14003b410
mov qword [rsp + 0xf0], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0xf0]
jmp 0x14003a2f0
mov rcx, qword [rsp + 0x40]
call fcn.140037970
movzx eax, al
test eax, eax
jne 0x14003a260
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.140030e60
mov qword [rsp + 0xf8], rax
lea rdx, [0x140035500]
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.14003b410
mov qword [rsp + 0x100], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0x100]
jmp 0x14003a2f0
mov rcx, qword [rsp + 0x40]
call fcn.140038690
movzx eax, al
test eax, eax
jne 0x14003a2ce
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.140030950
mov qword [rsp + 0x108], rax
lea rdx, [0x140035500]
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.14003b410
mov qword [rsp + 0x110], 0xffffffffffffffff
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0x110]
jmp 0x14003a2f0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x160]
call fcn.1400365b0
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14015a6e0
add rsp, 0x190
pop rdi
ret