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

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 - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rbx, rcx
lea rdx, str.CBaseInfoAddIn::DeleteAddInFiles
lea rcx, [rbp + 0x40]
call fcn.14001abe0
nop
lea rsi, [0x1402a8360]
lea r13, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140118234
test byte [rcx + 0x1c], 1
je 0x140118234
mov r9, r13
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x81
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor r12d, r12d
mov qword [rsp + 0x60], r12
movdqu xmmword [rsp + 0x38], xmm0
lfence
mov ecx, 0xa8
call fcn.1401baa78
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.1401e7e40
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x1400136d6.0]
lea r9, [rbp + 0x90]
xor edx, edx
call fcn.14013ebf0
mov edi, eax
mov dword [rsp + 0x30], eax
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test edi, edi
jne 0x1401182d0
mov rdx, qword [rbx]
mov rax, qword [rdx + 0x40]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [case.0x1400136d6.0]
lea rcx, [rsp + 0x48]
call fcn.14009ffa0
nop
test edi, edi
jne 0x1401187e5
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401186d5
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
xor eax, eax
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 8], xmm0
mov rdi, r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r12w
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov r14d, 7
mov qword [rbp - 0x80], r14
mov word [rsp + 0x68], r12w
lea rsi, [rbx + 0x40]
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x14011839d
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140118388
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140004b70
mov rdi, qword [rbp + 8]
mov r14, qword [rbp - 0x80]
lea r8, [rsi + 0x20]
lea rax, [rbp - 0x30]
cmp rax, r8
je 0x1401183cc
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1401183b7
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140004b70
mov rdi, qword [rbp + 8]
mov r14, qword [rbp - 0x80]
mov eax, dword [rsi + 0x40]
mov dword [rbp - 0x10], eax
mov eax, dword [rsi + 0x44]
mov dword [rbp - 0xc], eax
lea r8, [rsi + 0x48]
lea rax, [rbp - 8]
cmp rax, r8
je 0x140118407
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1401183f2
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp - 8]
call fcn.140004b70
mov rdi, qword [rbp + 8]
mov r14, qword [rbp - 0x80]
lea r15, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r15, qword [rbp - 8]
cmp rdi, r14
ja 0x14011844e
lea rsi, [rsp + 0x68]
cmp r14, 8
cmovae rsi, qword [rsp + 0x68]
mov qword [rsp + 0x78], rdi
add rdi, rdi
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call fcn.1401e7770
mov word [rdi + rsi], r12w
mov rsi, qword [rsp + 0x68]
jmp 0x140118532
movabs rdx, 0x7ffffffffffffffe
cmp rdi, rdx
ja 0x1401189dc
or rdi, 7
cmp rdi, rdx
jbe 0x140118479
mov rdi, rdx
movabs rcx, 0x7fffffffffffffff
jmp 0x1401184bb
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x140118499
mov rdi, rdx
movabs rcx, 0x7fffffffffffffff
jmp 0x1401184bb
lea rax, [rcx + r14]
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1401189d6
lfence
add rcx, rcx
call fcn.140006010
mov rsi, rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rdi
lea rdi, [rax + rax]
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call fcn.1401e7770
mov word [rdi + rsi], r12w
cmp r14, 8
jb 0x14011852d
lea rdx, [r14*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118525
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401189c4
lfence
call fcn.1400079c0
mov qword [rsp + 0x68], rsi
cmp dword [rbp - 0x10], 1
jne 0x140118560
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, rsi
mov r9d, 0x2c
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.1400a1ec0
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011859f
lea rdx, [rdx*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140118597
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401189ca
mov rcx, rsi
call fcn.1400079c0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1401185f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401185ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401189d0
call fcn.1400079c0
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140118632
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011862d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401189d0
call fcn.1400079c0
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140118672
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011866d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401189d0
call fcn.1400079c0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14011869e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140118699
cmp rbx, qword [rax + 0x10]
jne 0x140118699
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140118686
mov rbx, rax
jmp 0x1401186bf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1401186bf
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1401186b0
cmp rbx, qword [rsp + 0x38]
jne 0x1401182f4
mov edi, dword [rsp + 0x30]
lea rsi, [0x1402a8360]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1401e7e40
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
mov r12, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
cmp r12, r15
je 0x1401187a3
mov rbx, r12
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x14011873a
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14011872d
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140004b70
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x1402528f8]
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x2a0]
call fcn.140051530
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140118796
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rbx, 0x20
cmp rbx, r15
jne 0x140118717
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1401187ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401187de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401189be
call fcn.1400079c0
jmp 0x1401187ef
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov byte [rbp + 0x48], 1
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140118832
test byte [rcx + 0x1c], 1
je 0x140118832
mov r9, r13
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x82
mov dword [rsp + 0x20], edi
lea r8, [0x1402608d8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x48]
call fcn.1400a0110
nop
mov rcx, qword [rsp + 0x38]
mov r14, qword [rcx + 8]
cmp byte [r14 + 0x19], 0
jne 0x1401188b0
nop dword [rax]
mov r8, qword [r14 + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400f7100
mov rsi, r14
mov r14, qword [r14]
lea rcx, [rsi + 0x88]
call fcn.1400048a0
lea rcx, [rsi + 0x60]
call fcn.1400048a0
lea rcx, [rsi + 0x40]
call fcn.1400048a0
lea rcx, [rsi + 0x20]
call fcn.1400048a0
mov edx, 0xa8
mov rcx, rsi
call fcn.1400079c0
cmp byte [r14 + 0x19], 0
je 0x140118850
mov rcx, qword [rsp + 0x38]
lea rsi, [0x1402a8360]
mov edx, 0xa8
call fcn.1400079c0
nop
test r12, r12
je 0x140118914
mov rbx, r12
cmp r12, r15
je 0x1401188d9
mov rcx, rbx
call fcn.1400048a0
add rbx, 0x20
cmp rbx, r15
jne 0x1401188c8
mov rdx, qword [rsp + 0x60]
sub rdx, r12
and rdx, 0xffffffffffffffe0
mov rax, r12
cmp rdx, 0x1000
jb 0x14011890b
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401189b8
mov rcx, r12
call fcn.1400079c0
nop
lea rax, vtable.WppTrace.0
mov qword [rbp + 0x40], rax
cmp byte [rbp + 0x48], 0
jne 0x140118972
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140118972
test byte [rcx + 0x1c], 1
je 0x140118972
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rax, qword [rbp + 0x50]
cmp qword [0x1402bbdc8], 8
cmovae r13, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0x70]
call fcn.1400048a0
lea rcx, [rbp + 0x50]
call fcn.1400048a0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x5c0]
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
call fcn.1401ec41c
nop
call fcn.1401ec41c
nop
call fcn.1401ec41c
nop
call fcn.1401ec41c
nop
call fcn.1400019f0
int3
call fcn.140001a90
int3