Function at 0x1400a88a0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x4c8]
sub rsp, 0x5b0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, str.CBaseInfoAddIn::DeleteAddInFiles
lea rcx, [rsp + 0x78]
call fcn.1400075a0
nop
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x60], r13
mov ecx, Ordinal_203
call fcn.1401026a0
test rax, rax
je 0x1400a8d33
mov qword [rsp + 0x58], rax
mov qword [rax], rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x10], rax
mov rax, qword [rsp + 0x58]
mov byte [rax + 0xc0], 1
mov rax, qword [rsp + 0x58]
mov byte [rax + 0xc1], 1
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov r10, qword [rax]
lea r9, [rbp + 0x80]
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call qword [r10 + 0x118]
mov r12d, eax
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test r12d, r12d
jne 0x1400a8c8a
mov r8, qword [rbx]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [r8 + 0x40]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
cmp rdi, rsi
je 0x1400a89e7
mov rbx, rdi
cmp qword [rbx + 0x18], 8
jb 0x1400a89c1
mov rcx, qword [rbx]
call fcn.1401026ec
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
add rbx, 0x28
cmp rbx, rsi
jne 0x1400a89b2
mov rsi, rdi
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400a8bde
nop dword [rax + rax]
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r13
mov word [rbp - 0x30], r13w
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r13
mov word [rbp - 8], r13w
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r13
mov word [rbp + 0x28], r13w
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r13
mov word [rbp + 0x50], r13w
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r13
mov word [rbp - 0x58], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140001e00
lea rdx, [rbx + 0x68]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 8]
call fcn.140001e00
mov r11d, dword [rbx + 0x90]
mov dword [rbp + 0x20], r11d
mov eax, dword [rbx + 0x94]
mov dword [rbp + 0x24], eax
lea rdx, [rbx + 0x98]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x28]
call fcn.140001e00
mov edi, dword [rbp + 0x20]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x58]
call fcn.140001e00
cmp edi, 1
jne 0x1400a8aec
mov rcx, qword [0x1403b9768]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea r9d, [rdi + 0x2b]
lea r8, [rsp + 0x30]
call qword [rax + 0x148]
nop
cmp qword [rbp - 0x40], 8
jb 0x1400a8afc
mov rcx, qword [rbp - 0x58]
call fcn.1401026ec
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r13
mov word [rbp - 0x58], r13w
cmp qword [rbp + 0x40], 8
jb 0x1400a8b1d
mov rcx, qword [rbp + 0x28]
call fcn.1401026ec
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r13
mov word [rbp + 0x28], r13w
cmp qword [rbp + 0x10], 8
jb 0x1400a8b3e
mov rcx, qword [rbp - 8]
call fcn.1401026ec
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r13
mov word [rbp - 8], r13w
cmp qword [rbp - 0x18], 8
jb 0x1400a8b5f
mov rcx, qword [rbp - 0x30]
call fcn.1401026ec
cmp byte [rbx + 0xc1], 0
jne 0x1400a8bc9
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0xc1], 0
jne 0x1400a8ba1
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0xc1], 0
jne 0x1400a8bc9
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0xc1], 0
je 0x1400a8b90
jmp 0x1400a8bc9
mov rax, qword [rbx + 8]
cmp byte [rax + 0xc1], 0
jne 0x1400a8bc6
nop
cmp rbx, qword [rax + 0x10]
jne 0x1400a8bc6
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0xc1], 0
je 0x1400a8bb0
mov rbx, rax
cmp rbx, qword [rsp + 0x58]
jne 0x1400a8a00
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov eax, 7
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], r13
mov word [rbp - 0x58], r13w
cmp rdi, rsi
je 0x1400a8c7b
nop dword [rax]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140001e00
lea r11, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r11, qword [rbp - 0x58]
mov qword [rsp + 0x28], r11
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x1402e3978]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.14024679c
lea rcx, [rbp + 0x290]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400a8c6c
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rdi, 0x28
cmp rdi, qword [rsp + 0x38]
jne 0x1400a8c00
mov rax, qword [rbp - 0x40]
cmp rax, 8
jb 0x1400a8c8a
mov rcx, qword [rbp - 0x58]
call fcn.1401026ec
mov r9d, r12d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x78]
call fcn.140007780
nop
mov r8, qword [rsp + 0x58]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400ac360
nop
mov rcx, qword [rsp + 0x58]
call fcn.1401026ec
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400a8d15
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x1400a8d0d
nop
cmp qword [rbx + 0x18], 8
jb 0x1400a8cef
mov rcx, qword [rbx]
call fcn.1401026ec
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
add rbx, 0x28
cmp rbx, rdi
jne 0x1400a8ce0
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1401026ec
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x78]
call fcn.140007730
mov eax, r12d
jmp 0x1400a8d62
mov qword [rsp + 0x70], r13
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.140246874
lea r11, vtable.std::bad_alloc.0
mov qword [rbp - 0x78], r11
lea rdx, [0x14038c720]
lea rcx, [rbp - 0x78]
call fcn.14024b7b0
nop
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret