Function at 0x1400448ba
Capabilities:
Delete file

Disassembly:
jmp 0x14005ca80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4c8]
mov rax, qword [0x1400f1040]
xor rax, rbp
mov qword [rbp + 0x460], rax
lea rcx, [0x140101108]
call fcn.140044aa9
nop
lea rdx, str.____Unloading_vulnerable_driver
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140043d9d
mov qword [rbp + 0x448], rax
lea rdx, [0x140043cf3]
mov rcx, qword [rbp + 0x448]
call qword [sym.imp.MSVCP140D.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
cmp qword [rbp + 0x490], 0
je 0x14005cb1b
cmp qword [rbp + 0x490], 0xffffffffffffffff
je 0x14005cb1b
mov rcx, qword [rbp + 0x490]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor edx, edx
lea rcx, [0x1400f19b8]
call fcn.140044833
nop
lea rcx, [rbp + 0x378]
call fcn.140044185
mov qword [rbp + 0x448], rax
mov rax, qword [rbp + 0x448]
mov qword [rbp + 0x450], rax
mov rcx, qword [rbp + 0x450]
call fcn.140044054
movzx eax, al
test eax, eax
jne 0x14005cb6a
mov dword [rbp + 0x458], 1
jmp 0x14005cb74
mov dword [rbp + 0x458], 0
movzx eax, byte [rbp + 0x458]
mov byte [rbp + 0x354], al
lea rcx, [rbp + 0x378]
call fcn.140044680
movzx eax, byte [rbp + 0x354]
test eax, eax
je 0x14005cb9f
xor al, al
jmp 0x14005ce33
lea rcx, [rbp + 8]
call fcn.140043578
nop
mov edx, 0x108
lea rcx, [rbp + 0x50]
call fcn.140043a7d
lea rcx, [rbp + 8]
call fcn.140043910
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x22
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140043a50
nop
lea rcx, [rbp + 0x50]
call fcn.14004422a
movzx eax, al
test eax, eax
jne 0x14005cc20
lea rdx, str.____Failed_to_open_file_for_writing
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140043d9d
mov qword [rbp + 0x448], rax
lea rdx, [0x140043cf3]
mov rcx, qword [rbp + 0x448]
call qword [sym.imp.MSVCP140D.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
call qword [sym.imp.ucrtbased.dll_rand]
cdqe
mov qword [rbp + 0x448], rax
call qword [sym.imp.ucrtbased.dll_rand]
cdqe
mov rcx, qword [rbp + 0x448]
imul rcx, rax
mov rax, rcx
cqo
mov ecx, 0x1e8480
idiv rcx
mov rax, rdx
add rax, 0x3ab0
mov dword [rbp + 0x174], eax
movsxd rax, dword [rbp + 0x174]
mov rcx, rax
call fcn.140043b86
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x3b8]
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1b8], 0
jmp 0x14005cca0
mov rax, qword [rbp + 0x1b8]
inc rax
mov qword [rbp + 0x1b8], rax
movsxd rax, dword [rbp + 0x174]
cmp qword [rbp + 0x1b8], rax
jae 0x14005ccd8
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, edx
mov rcx, qword [rbp + 0x1b8]
mov rdx, qword [rbp + 0x198]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x14005cc8f
movsxd rax, dword [rbp + 0x174]
mov r8, rax
mov rdx, qword [rbp + 0x198]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rbp + 0x3d8], rax
mov rax, qword [rbp + 0x3d8]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x3d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14005cd56
lea rdx, str.____Error_dumping_shit_inside_the_disk
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140043d9d
mov qword [rbp + 0x448], rax
lea rdx, [0x140043cf3]
mov rcx, qword [rbp + 0x448]
call qword [sym.imp.MSVCP140D.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
jmp 0x14005cd85
lea rdx, str.___Vul_driver_data_destroyed_before_unlink
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140043d9d
mov qword [rbp + 0x448], rax
lea rdx, [0x140043cf3]
mov rcx, qword [rbp + 0x448]
call qword [sym.imp.MSVCP140D.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 + 0x50]
call fcn.140043d93
nop
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x3f8], rax
mov rcx, qword [rbp + 0x3f8]
call fcn.140043cc6
cmp qword [rbp + 0x3f8], 0
jne 0x14005cdc0
mov qword [rbp + 0x448], 0
jmp 0x14005cdd9
mov qword [rbp + 0x198], 0x8123
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x448], rax
lea rcx, [rbp + 8]
call fcn.140043910
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wremove]
test eax, eax
je 0x14005ce12
mov byte [rbp + 0x414], 0
lea rcx, [rbp + 0x50]
call fcn.1400436ea
nop
lea rcx, [rbp + 8]
call fcn.140044680
movzx eax, byte [rbp + 0x414]
jmp 0x14005ce33
mov byte [rbp + 0x434], 1
lea rcx, [rbp + 0x50]
call fcn.1400436ea
nop
lea rcx, [rbp + 8]
call fcn.140044680
movzx eax, byte [rbp + 0x434]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400d7ca0]
call fcn.1400445d6
mov rax, rdi
mov rcx, qword [rbp + 0x460]
xor rcx, rbp
call fcn.140043cda
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret