Function at 0x1401e6a90
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x1b0
mov rax, qword [0x140284028]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rcx
mov rsi, qword [rcx + 0x10]
mov rdi, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x1401e6ace
mov rdi, qword [rcx]
call fcn.1402401c0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1401bbd40
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x60]
call fcn.1402402fc
test eax, eax
jne 0x1401e6d79
lea rcx, [rsp + 0x40]
call fcn.140219830
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401e6b41
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x90]
call fcn.140241de8
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401e6b69
mov rdx, qword [rbx]
mov r8d, 0x20
lea rcx, [rsp + 0x90]
call fcn.140214bc0
mov rax, qword [rsp + 0x90]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x90], r14
mov rax, qword [rsp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x8c], edx
cmp qword [rsp + 0x118], 0
je 0x1401e6c0c
mov r8d, 0x8200
lea rdx, [0x140284180]
lea rcx, [rsp + 0x90]
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]
lea rcx, [rsp + 0x98]
call fcn.140218fb0
test rax, rax
jne 0x1401e6c0c
mov rax, qword [rsp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x90]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401e6c19
mov rcx, qword [rbx]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rsi, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401e6c35
mov rdi, qword [rbx]
call fcn.1402401c0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1401bbd40
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.14024067c
test eax, eax
jne 0x1401e6d86
lea rcx, [rsp + 0x40]
call fcn.140219830
mov rdi, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1401e6c91
mov rbx, qword [rbx]
call fcn.1402401c0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1401bbd40
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x60]
call fcn.1402402fc
test eax, eax
jne 0x1401e6d93
lea rcx, [rsp + 0x40]
call fcn.140219830
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
nop
mov rax, qword [rsp + 0x90]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x90], r14
mov rax, qword [rsp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x8c], edx
lea rcx, [rsp + 0x98]
call fcn.140215860
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140240c60
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea r8, [rsp + 0x40]
mov edx, eax
call fcn.1401bc2b0
nop
lea r8, [rsp + 0x40]
mov edx, eax
call fcn.1401bc2b0
nop
lea r8, [rsp + 0x40]
mov edx, eax
call fcn.1401bc2b0
int3