Function at 0x140144f40
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1450]
mov eax, 0x1550
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x1440], rax
mov rdi, rcx
lea rdx, str.CBaseInfoProperty::BackupPropertyData
lea rcx, [rbp + 0x1f0]
call fcn.14001abe0
nop
lea r13, [0x1402a8360]
lea r14, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140144fdd
test byte [rcx + 0x1c], 1
je 0x140144fdd
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x1a
lea r8, [0x1402634c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor r12d, r12d
mov r15d, r12d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x240]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x440]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xc40]
call fcn.1401e7e40
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r12
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r12w
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r12
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r12w
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x50]
call fcn.140140aa0
nop
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
call qword [case.0x1400136d6.0]
test eax, eax
je 0x140145480
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x58]
call qword [case.0x1400136d6.0]
lea rcx, [rdi + 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401450dc
lea edx, [r12 + 0x20]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1401409a0
cmp qword [rbp - 0x28], 0
jne 0x140145106
mov r15d, 0x80010005
mov dword [0x1402bbd98], 5
jmp 0x140145480
mov r8d, 4
lea rdx, [0x1402465e0]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
mov r8d, 4
lea rdx, [0x140246448]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
lea rcx, [rsp + 0x38]
call fcn.14009ffa0
nop
lea r8, [rbp + 0x240]
mov edx, 0x100
lea rcx, [rsp + 0x38]
call fcn.1400a25d0
mov r8d, 0x200
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x34], eax
mov r8d, 4
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
mov rax, qword [rdi + 8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140145369
mov r8d, 4
lea rdx, [0x1402462a4]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x440]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xc40]
call fcn.1401e7e40
lea r8, [rbx + 0x20]
lea rax, [rbp + 0x1d0]
cmp rax, r8
je 0x140145236
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140145226
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x1d0]
call fcn.140004b70
lea r8, [rbx + 0x40]
lea rax, [rbp + 0x1b0]
cmp rax, r8
je 0x140145263
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140145253
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x1b0]
call fcn.140004b70
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae rdx, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 8
cmovae rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0xc40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov r8d, 0x800
lea rdx, [rbp + 0x440]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
mov r8d, 0x800
lea rdx, [rbp + 0xc40]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
mov r8d, 4
lea rdx, [0x140246418]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14014533a
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140145335
cmp rbx, qword [rax + 0x10]
jne 0x140145335
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140145322
mov rbx, rax
jmp 0x14014535f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14014535f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140145350
cmp rbx, qword [rdi + 8]
jne 0x1401451c0
mov r8d, 4
lea rdx, [0x14024644c]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x50]
call fcn.140043160
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14011aa90
lea rcx, [rsp + 0x58]
call fcn.140042d50
mov ebx, 2
test rax, rax
jne 0x1401453e1
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx - 0x68], 0
cmovne eax, ebx
or eax, dword [rsp + rcx + 0x60]
and eax, 0x17
mov dword [rsp + rcx + 0x60], eax
mov edx, dword [rsp + rcx + 0x64]
and edx, eax
jne 0x1401456b1
lea rcx, [rsp + 0x40]
call fcn.140091e00
nop
xor r8d, r8d
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x40]
call fcn.140098d70
mov dword [rsp + 0x30], eax
lea rcx, [rbp + 0x90]
call fcn.1400992d0
nop
mov r8d, 0x23
lea rdx, [rdi + 0x18]
lea rcx, [rbp + 0x90]
call fcn.1400991e0
mov r8d, ebx
mov rdx, 0xfffffffffffffffc
lea rcx, [rbp + 0xa0]
call fcn.140099550
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xa0]
call fcn.14011aa90
lea rcx, [rbp + 0x90]
call fcn.140099140
nop
lea rcx, [rbp + 0x90]
call fcn.140099040
nop
lea rcx, [rsp + 0x40]
call fcn.140091f70
nop
lea rcx, [rsp + 0x38]
call fcn.1400a0110
mov byte [rbp + 0x1f8], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x1401454c7
test byte [rcx + 0x1c], 1
je 0x1401454c7
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x1b
mov dword [rsp + 0x20], r15d
lea r8, [0x1402634c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140041fc0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1401e465c
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 8
jb 0x140145579
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140145574
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140145702
call fcn.1400079c0
mov qword [rbp + 0x1c0], r12
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r12w
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x1401455d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401455d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401456ab
call fcn.1400079c0
mov qword [rbp + 0x1e0], r12
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r12w
lea rax, vtable.WppTrace.0
mov qword [rbp + 0x1f0], rax
cmp byte [rbp + 0x1f8], 0
jne 0x140145660
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140145660
test byte [rcx + 0x1c], 1
je 0x140145660
lea r8, [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae r8, qword [rbp + 0x200]
cmp qword [0x1402bbdc8], 8
cmovae r14, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, r14
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0x220]
call fcn.1400048a0
lea rcx, [rbp + 0x200]
call fcn.1400048a0
mov eax, r15d
mov rcx, qword [rbp + 0x1440]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x1550]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401ec41c
nop
test dl, 4
je 0x1401456bf
lea rbx, str.ios_base::badbit_set
jmp 0x1401456d3
test bl, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140009c40
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.14000aa90
lea rdx, [0x1402a33e0]
lea rcx, [rbp + 0x60]
call fcn.1401e83cc
nop
call fcn.1401ec41c
int3