Function at 0x1401c54a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1404e42b0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
lea rdx, str.____Unloading_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.1401c60c0
mov rcx, rax
lea rdx, [0x1401c62d0]
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 rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1401c54fd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x30]
call fcn.1401c4d20
nop
mov rcx, rax
call fcn.1401c8fd0
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.14000e670
test bl, bl
jne 0x1401c5528
xor al, al
jmp 0x1401c5662
lea rcx, [rsp + 0x50]
call fcn.1401c4e60
nop
mov edx, 0x108
lea rcx, [rsp + 0x70]
call fcn.14000a8c0
lea rcx, [rsp + 0x50]
call fcn.140072ae0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1401c5f00
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
movabs rax, 0x1c926b9d39431d5f
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x23d6df
sub rcx, rax
add ecx, 0x1649d
movsxd rsi, ecx
mov rcx, rsi
call fcn.140257848
mov rdi, rax
xor ebx, ebx
test rsi, rsi
je 0x1401c55d6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, eax
mov eax, 0x80808081
imul r9d
add edx, r9d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r9d, ecx
mov byte [rbx + rdi], r9b
inc rbx
cmp rbx, rsi
jb 0x1401c55a3
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.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 rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test byte [r8 + rax + 0x10], 6
lea rdx, str.____Error_dumping_shit_inside_the_disk
jne 0x1401c560b
lea rdx, str.___Vul_driver_data_destroyed_before_unlink
call fcn.1401c60c0
lea rdx, [0x1401c62d0]
mov rcx, rax
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 + 0x70]
call fcn.140131d30
mov rcx, rdi
call fcn.140257424
lea rcx, [rsp + 0x50]
call fcn.140072ae0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
sete bl
lea rcx, [rsp + 0x70]
call fcn.14012e170
nop
lea rcx, [rsp + 0x50]
call fcn.14000e670
movzx eax, bl
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140256ee0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret