Function at 0x1400bd250
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x560
xor ecx, ecx
call fcn.1400c04a0
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.1400bd1d0
movzx eax, al
test eax, eax
je 0x1400bd2f4
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.1400b87f0
mov rcx, rax
call fcn.1400befc0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400b4840
mov qword [rsp + 0x80], rax
lea rdx, [0x1400b8be0]
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 0x1400bda3a
lea rax, [0x1401cebd0]
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 0x1400bd332
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x1400bd36d
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, [0x1401cebd0]
movzx eax, byte [rcx + rax]
mov byte [rdi + rdx], al
jmp 0x1400bd328
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.1400b8880
mov rcx, rax
call fcn.1400bf020
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400b4840
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x200]
call fcn.1400bcb90
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.1400b4c50
mov qword [rsp + 0xb8], rax
lea rdx, [0x1400b8be0]
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.14001f250
lea rcx, [rsp + 0x50]
call fcn.1400bcc70
nop
lea rcx, [rsp + 0x50]
call fcn.1400c02a0
movzx eax, al
test eax, eax
je 0x1400bd4da
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.1400b8670
mov rcx, rax
call fcn.1400beec0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400b4840
mov qword [rsp + 0xd0], rax
lea rdx, [0x1400b8be0]
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.14001f250
mov rax, qword [rsp + 0xd8]
jmp 0x1400bda3a
lea rcx, [rsp + 0x50]
call fcn.14001f200
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x14016ea40]
lea rcx, [rsp + 0x50]
call fcn.1400cc370
movzx eax, al
test eax, eax
jne 0x1400bd597
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.1400b8970
mov rcx, rax
call fcn.1400bf0c0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call fcn.1400b4840
mov qword [rsp + 0xf0], rax
lea rdx, [0x1400b8be0]
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.14001f250
mov rax, qword [rsp + 0xf8]
jmp 0x1400bda3a
lea rcx, [rsp + 0x50]
call fcn.1400cb370
movzx eax, al
test eax, eax
jne 0x1400bd647
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.1400b8b50
mov rcx, rax
call fcn.1400bf200
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.1400b4840
mov qword [rsp + 0x110], rax
lea rdx, [0x1400b8be0]
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.14001f200
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.14001f250
mov rax, qword [rsp + 0x118]
jmp 0x1400bda3a
lea rdx, str..Nal
lea rcx, [rsp + 0x220]
call fcn.1400b8520
mov rcx, rax
call fcn.1400bee40
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 0x1400bd6a9
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1400bd73b
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.1400b8880
mov rcx, rax
call fcn.1400bf020
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.1400b4840
mov qword [rsp + 0x130], rax
lea rdx, [0x1400b8be0]
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.1400be6e0
mov qword [rsp + 0x138], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.14001f250
mov rax, qword [rsp + 0x138]
jmp 0x1400bda3a
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x1f0]
call fcn.1400b8bb0
mov rcx, rax
call fcn.1400bee20
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.14001f6d0
nop
lea rcx, [rsp + 0x1d0]
call fcn.1400cc7b0
mov qword [0x1401cec38], rax
lea rcx, [rsp + 0x1d0]
call fcn.14001f640
cmp qword [0x1401cec38], 0
jne 0x1400bd829
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.1400b8730
mov rcx, rax
call fcn.1400bef40
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call fcn.1400b4840
mov qword [rsp + 0x150], rax
lea rdx, [0x1400b8be0]
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.1400be6e0
mov qword [rsp + 0x158], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.14001f250
mov rax, qword [rsp + 0x158]
jmp 0x1400bda3a
mov rcx, qword [rsp + 0x40]
call fcn.1400bb870
movzx eax, al
test eax, eax
jne 0x1400bd8d0
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.1400b87f0
mov rcx, rax
call fcn.1400befc0
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
call fcn.1400b4840
mov qword [rsp + 0x170], rax
lea rdx, [0x1400b8be0]
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.1400be6e0
mov qword [rsp + 0x178], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.14001f250
mov rax, qword [rsp + 0x178]
jmp 0x1400bda3a
mov rcx, qword [rsp + 0x40]
call fcn.1400b9e40
movzx eax, al
test eax, eax
jne 0x1400bd977
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.1400b88e0
mov rcx, rax
call fcn.1400bf060
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.1400b4840
mov qword [rsp + 0x190], rax
lea rdx, [0x1400b8be0]
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.1400be6e0
mov qword [rsp + 0x198], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.14001f250
mov rax, qword [rsp + 0x198]
jmp 0x1400bda3a
mov rcx, qword [rsp + 0x40]
call fcn.1400bb210
movzx eax, al
test eax, eax
jne 0x1400bda1b
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.1400b8850
mov rcx, rax
call fcn.1400bf000
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400b4840
mov qword [rsp + 0x1b0], rax
lea rdx, [0x1400b8be0]
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.1400be6e0
mov qword [rsp + 0x1b8], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.14001f250
mov rax, qword [rsp + 0x1b8]
jmp 0x1400bda3a
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x1c0], rax
lea rcx, [rsp + 0x50]
call fcn.14001f250
mov rax, qword [rsp + 0x1c0]
add rsp, 0x560
pop rdi
ret