Function at 0x1400be0a0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x560
xor ecx, ecx
call fcn.1400c12f0
mov qword [rsp + 0x1c8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x1c8]
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.1400be020
movzx eax, al
test eax, eax
je 0x1400be144
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x78], rax
lea rdx, str.____DeviceNal_is_already_in_use.
lea rcx, [rsp + 0x2aa]
call fcn.1400b9640
mov rcx, rax
call fcn.1400bfe10
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400b5690
mov qword [rsp + 0x80], rax
lea rdx, [0x1400b9a30]
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]
mov rax, 0xffffffffffffffff
jmp 0x1400be88a
lea rax, [0x1401d6bb0]
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 0x1400be182
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x1400be1bd
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, [0x1401d6bb0]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x1400be178
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x90], rax
lea rdx, str.____Loading_vulnerable_driver__Name:
lea rcx, [rsp + 0x386]
call fcn.1400b96d0
mov rcx, rax
call fcn.1400bfe70
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400b5690
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x200]
call fcn.1400bd9e0
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.1400b5aa0
mov qword [rsp + 0xb8], rax
lea rdx, [0x1400b9a30]
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 + 0x200]
call fcn.1400201d0
lea rcx, [rsp + 0x50]
call fcn.1400bdac0
nop
lea rcx, [rsp + 0x50]
call fcn.1400c10f0
movzx eax, al
test eax, eax
je 0x1400be32a
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0xc8], rax
lea rdx, str.____Cant_find_TEMP_folder
lea rcx, [rsp + 0x232]
call fcn.1400b94c0
mov rcx, rax
call fcn.1400bfd10
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400b5690
mov qword [rsp + 0xd0], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0xd0]
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 + 0xd8], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0xd8]
jmp 0x1400be88a
lea rcx, [rsp + 0x50]
call fcn.140020180
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x140175a30]
lea rcx, [rsp + 0x50]
call fcn.1400cd1c0
movzx eax, al
test eax, eax
jne 0x1400be3e7
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0xe8], rax
lea rdx, str.____Failed_to_create_vulnerable_driver_file
lea rcx, [rsp + 0x474]
call fcn.1400b97c0
mov rcx, rax
call fcn.1400bff10
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call fcn.1400b5690
mov qword [rsp + 0xf0], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0xf0]
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 + 0xf8], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0xf8]
jmp 0x1400be88a
lea rcx, [rsp + 0x50]
call fcn.1400cc1c0
movzx eax, al
test eax, eax
jne 0x1400be497
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x108], rax
lea rdx, str.____Failed_to_register_and_start_service_for_the_vulnerable_driver
lea rcx, [rsp + 0x4ce]
call fcn.1400b99a0
mov rcx, rax
call fcn.1400c0050
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.1400b5690
mov qword [rsp + 0x110], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x110]
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.140020180
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov qword [rsp + 0x118], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0x118]
jmp 0x1400be88a
lea rdx, str..Nal
lea rcx, [rsp + 0x220]
call fcn.1400b9370
mov rcx, rax
call fcn.1400bfc90
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400be4f9
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1400be58b
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x128], rax
lea rdx, str.____Failed_to_load_driver_iqvw64e.sys
lea rcx, [rsp + 0x3d4]
call fcn.1400b96d0
mov rcx, rax
call fcn.1400bfe70
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.1400b5690
mov qword [rsp + 0x130], rax
lea rdx, [0x1400b9a30]
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 + 0x40]
call fcn.1400bf530
mov qword [rsp + 0x138], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0x138]
jmp 0x1400be88a
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x1f0]
call fcn.1400b9a00
mov rcx, rax
call fcn.1400bfc70
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.140020650
nop
lea rcx, [rsp + 0x1d0]
call fcn.1400cd600
mov qword [0x1401d6c18], rax
lea rcx, [rsp + 0x1d0]
call fcn.1400205c0
cmp qword [0x1401d6c18], 0
jne 0x1400be679
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x148], rax
lea rdx, str.____Failed_to_get_ntoskrnl.exe
lea rcx, [rsp + 0x26a]
call fcn.1400b9580
mov rcx, rax
call fcn.1400bfd90
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call fcn.1400b5690
mov qword [rsp + 0x150], rax
lea rdx, [0x1400b9a30]
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 + 0x40]
call fcn.1400bf530
mov qword [rsp + 0x158], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0x158]
jmp 0x1400be88a
mov rcx, qword [rsp + 0x40]
call fcn.1400bc6c0
movzx eax, al
test eax, eax
jne 0x1400be720
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x168], rax
lea rdx, str.____Failed_to_ClearPiDDBCacheTable
lea rcx, [rsp + 0x2f2]
call fcn.1400b9640
mov rcx, rax
call fcn.1400bfe10
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
call fcn.1400b5690
mov qword [rsp + 0x170], rax
lea rdx, [0x1400b9a30]
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 + 0x40]
call fcn.1400bf530
mov qword [rsp + 0x178], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0x178]
jmp 0x1400be88a
mov rcx, qword [rsp + 0x40]
call fcn.1400bac90
movzx eax, al
test eax, eax
jne 0x1400be7c7
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x188], rax
lea rdx, str.____Failed_to_ClearKernelHashBucketList
lea rcx, [rsp + 0x422]
call fcn.1400b9730
mov rcx, rax
call fcn.1400bfeb0
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.1400b5690
mov qword [rsp + 0x190], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x190]
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.1400bf530
mov qword [rsp + 0x198], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0x198]
jmp 0x1400be88a
mov rcx, qword [rsp + 0x40]
call fcn.1400bc060
movzx eax, al
test eax, eax
jne 0x1400be86b
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rsp + 0x1a8], rax
lea rdx, str.____Failed_to_ClearMmUnloadedDrivers
lea rcx, [rsp + 0x33a]
call fcn.1400b96a0
mov rcx, rax
call fcn.1400bfe50
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400b5690
mov qword [rsp + 0x1b0], rax
lea rdx, [0x1400b9a30]
mov rcx, qword [rsp + 0x1b0]
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.1400bf530
mov qword [rsp + 0x1b8], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0x1b8]
jmp 0x1400be88a
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x1c0], rax
lea rcx, [rsp + 0x50]
call fcn.1400201d0
mov rax, qword [rsp + 0x1c0]
add rsp, 0x560
pop rdi
ret