Function at 0x140001cd0
Capabilities:
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x390
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x380], rax
lea rdx, str.____Unloading_vulnerable_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0x78], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0x78]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp qword [rsp + 0x3a0], 0
je 0x140001d49
cmp qword [rsp + 0x3a0], 0xffffffffffffffff
je 0x140001d49
mov rcx, qword [rsp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x14002db90]
lea rcx, [rsp + 0xd8]
call fcn.140005580
nop
lea rcx, [rsp + 0xd8]
call fcn.140015e60
nop
lea rcx, [rsp + 0xd8]
call fcn.1400054c0
lea rax, [rsp + 0x270]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rdx, [rsp + 0x270]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x270]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x140001dbd
mov rax, qword [rsp + 0x40]
movsx eax, byte [rsp + rax + 0x26f]
cmp eax, 0x5c
jne 0x140001e44
lea rax, [rsp + 0x270]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x140001e00
mov rax, qword [rsp + 0x48]
dec rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x104
jae 0x140001e32
jmp 0x140001e37
call fcn.14001868c
mov rax, qword [rsp + 0x58]
mov byte [rsp + rax + 0x270], 0
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x118]
call fcn.140005580
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
lea r8, [0x14001bab4]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xf8]
call fcn.140008b60
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea r8, [0x14002db90]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x138]
call fcn.140008b60
nop
lea rcx, [rsp + 0xf8]
call fcn.1400054c0
nop
lea rcx, [rsp + 0x118]
call fcn.1400054c0
mov edx, 0x108
lea rcx, [rsp + 0x160]
call fcn.140002130
lea rcx, [rsp + 0x138]
call fcn.140005370
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x22
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140005700
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
cqo
mov ecx, 0x23d6df
idiv rcx
mov rax, rdx
add rax, 0x1649d
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.140018b10
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], 0
jmp 0x140001f7a
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x30]
cmp qword [rsp + 0x50], rax
jae 0x140001faa
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, edx
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x140001f6d
movsxd rax, dword [rsp + 0x30]
mov r8, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x160]
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 qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140002023
lea rdx, str.____Error_dumping_shit_inside_the_disk
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0xb8], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0xb8]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140002053
lea rdx, str.___Vul_driver_data_destroyed_before_unlink
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400086c0
mov qword [rsp + 0xc0], rax
lea rdx, [0x140008b00]
mov rcx, qword [rsp + 0xc0]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0x160]
call fcn.140005610
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140018234
cmp qword [rsp + 0x68], 0
jne 0x14000208a
mov qword [rsp + 0xc8], 0
jmp 0x1400020a0
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x138]
call fcn.140005370
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rcx, [rsp + 0x160]
call fcn.1400020f0
nop
lea rcx, [rsp + 0x138]
call fcn.1400054c0
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140018210
add rsp, 0x390
pop rdi
ret