Function at 0x140210650
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 [0x1402af028]
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 0x14021068e
mov rdi, qword [rcx]
call fcn.14026a9c0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1401e5c90
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.14026aafc
test eax, eax
jne 0x14021093d
lea rcx, [rsp + 0x40]
call fcn.140243eb0
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 0x140210701
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.14026c5b8
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140210729
mov rdx, qword [rbx]
mov r8d, 0x20
lea rcx, [rsp + 0x90]
call fcn.14023f240
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 0x1402107d0
mov r8, qword [0x1402b23d0]
mov rdx, qword [0x1402b23c8]
sub r8, rdx
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.140243630
test rax, rax
jne 0x1402107d0
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 0x1402107dd
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 0x1402107f9
mov rdi, qword [rbx]
call fcn.14026a9c0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1401e5c90
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.14026ae7c
test eax, eax
jne 0x14021094a
lea rcx, [rsp + 0x40]
call fcn.140243eb0
mov rdi, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140210855
mov rbx, qword [rbx]
call fcn.14026a9c0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1401e5c90
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.14026aafc
test eax, eax
jne 0x140210957
lea rcx, [rsp + 0x40]
call fcn.140243eb0
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.14023fee0
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.14026b460
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.1401e6200
nop
lea r8, [rsp + 0x40]
mov edx, eax
call fcn.1401e6200
nop
lea r8, [rsp + 0x40]
mov edx, eax
call fcn.1401e6200
int3