Function at 0x1401fe364
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r8
mov r13, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rbp + 0x70], ebx
mov rax, qword [rcx]
call qword [rax + 0x30]
lea rcx, [rsi - 8]
test al, al
jne 0x1401fe3b4
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x1401fea8a
mov rdx, r13
call fcn.14020efc0
test al, al
jne 0x1401fea8a
mov r14b, bl
lea r12, [rdi + 0x2c]
lea rdx, str..txt
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401fe50f
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov r8d, 5
mov rdx, r13
lea rcx, [rsp + 0x78]
call fcn.1402e47b0
mov r12, qword [rbp - 0x80]
mov rax, r12
mov rdi, qword [rsp + 0x78]
sub rax, rdi
sar rax, 3
or rbx, 0xffffffffffffffff
cmp rax, 3
jb 0x1401fe4db
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.14000cb18
nop
lea edi, [rbx + 2]
mov dword [rbp + 0x70], edi
lea rdx, [rsp + 0x48]
lea rcx, [rsi - 8]
call fcn.1401f5e24
test al, al
je 0x1401fe478
mov rdx, qword [rsp + 0x78]
add rdx, 0x10
lea rcx, [rbp - 0x40]
call fcn.1401f1a24
nop
lea edi, [rbx + 4]
mov dword [rbp + 0x70], edi
lea rdx, [rsi + 0x70]
mov rcx, rax
call fcn.1401f1564
test al, al
jne 0x1401fe478
mov r12b, 1
jmp 0x1401fe47b
xor r12b, r12b
test dil, 2
je 0x1401fe4a8
and edi, 0xfffffffd
mov dword [rbp + 0x70], edi
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe4a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rbp + 0x70]
test dil, 1
je 0x1401fe4cd
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe4cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x78]
test r12b, r12b
mov r12, qword [rbp - 0x80]
je 0x1401fe4de
mov r14b, 1
test rdi, rdi
je 0x1401fe996
cmp rdi, r12
je 0x1401fe502
mov rcx, rdi
call fcn.140082b80
add rdi, 8
cmp rdi, r12
jne 0x1401fe4ec
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call fcn.1400be0f4
jmp 0x1401fe996
lea rdx, str..xml
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401fe799
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.14000cb18
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsi - 8]
call fcn.1401f5e24
mov dil, al
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
xor r14d, r14d
test ecx, ecx
jg 0x1401fe56c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1401fea8a
cmp qword [rsi + 0x80], r14
je 0x1401fe9a2
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x1401fea8a
mov r8, r12
lea rdx, [rbp + 0x88]
call fcn.1401ca544
nop
mov rax, qword [rbp + 0x88]
cmp dword [rax - 0x10], r14d
jne 0x1401fe747
cmp qword [rsi + 0xc0], r14
jne 0x1401fe62a
mov ecx, 0x30
call fcn.1400be454
test rax, rax
je 0x1401fe5ee
lea rcx, vtable.Piriform::CIECache.0
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x28], 1
mov byte [rax + 0x2c], 1
jmp 0x1401fe5f1
mov rax, r14
mov rdx, rax
lea rcx, [rsi + 0xc0]
call fcn.14007a400
lea r8, [0x140368888]
xor edx, edx
mov rcx, qword [rsi + 0xc0]
call fcn.1401c90f4
lea r8, [0x1403688a0]
xor edx, edx
mov rcx, qword [rsi + 0xc0]
call fcn.1401c90f4
mov r8, r13
lea rdx, [rsp + 0x28]
mov rcx, qword [rsi + 0xc0]
call fcn.1401c9d74
nop
lea rdx, str.UserData:
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401fe67a
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x48]
call fcn.1401ca284
nop
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x48]
jmp 0x1401fe69d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x38]
call fcn.1401f1a24
nop
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe6b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp + 0x88]
cmp dword [rax - 0x10], r14d
jne 0x1401fe728
lea rdx, str.LocalLow
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x1401fe6ec
lea rdx, str.windows_ie_ac_001AC
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401fe728
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.1401c9fa4
nop
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe728
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe747
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp + 0x88]
cmp dword [rax - 0x10], r14d
je 0x1401fe76c
lea rdx, [rsi + 0x70]
lea rcx, [rbp + 0x88]
call fcn.1401f1564
test al, al
sete r14b
jmp 0x1401fe76f
mov r14b, 1
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe996
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401fe996
lea rdx, str.index.dat
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401fea8a
mov rax, qword [rsi + 0x18]
cmp byte [rax + 1], bl
jne 0x1401fea8a
cmp qword [rsi + 0x80], rbx
jne 0x1401fe7dd
mov rcx, r13
call fcn.1401bd3b4
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1401fea8a
lea rcx, [rbp - 0x20]
call fcn.1401bd224
nop
mov rdx, r13
lea rcx, [rbp - 0x20]
call fcn.1401bdcf4
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x58]
call fcn.140082298
mov rdi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
cmp rdi, rax
je 0x1401fe949
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rax, qword [rdi]
lea rdx, str.UserData:
mov rcx, qword [rax + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401fe887
mov rax, qword [rdi]
mov rdx, qword [rax + 0x20]
lea rcx, [rbp - 0x58]
call fcn.1401ca284
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x58]
jmp 0x1401fe8aa
mov rdx, qword [rdi]
add rdx, 0x20
lea rcx, [rbp - 0x50]
call fcn.1401f1a24
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe8c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x20]
cmp dword [rdi - 0x10], 0
je 0x1401fe8f5
lea rdx, [rsi + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401f1564
test al, al
jne 0x1401fe8f5
mov rdx, qword [rsp + 0x30]
cmp qword [rdx], 0
je 0x1401fe8f5
mov rcx, qword [rbp + 0x28]
call fcn.1401bd514
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x1401fe92e
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe91c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x30]
add rdi, 0x10
mov rax, qword [rbp - 0x60]
jmp 0x1401fe822
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1401fe949
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1401fe97b
mov r12, qword [rsp + 0x60]
cmp rdi, r12
je 0x1401fe973
mov rcx, rdi
call fcn.140058134
add rdi, 0x10
cmp rdi, r12
jne 0x1401fe95d
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400be0f4
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
lea rcx, [rbp - 0x20]
call fcn.1401bd2f4
test r14b, r14b
je 0x1401fea8a
xor r14d, r14d
mov ecx, 0x88
call fcn.1400be454
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1401fe9c3
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.14006de38
jmp 0x1401fe9c6
mov rax, r14
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400186f8
nop
mov r9, qword [rsp + 0x38]
test r13, r13
jne 0x1401fe9e3
mov ecx, r14d
jmp 0x1401fe9f4
xor eax, eax
mov rcx, rbx
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r13
lea rcx, [r9 + 0x20]
call fcn.14000c9f8
mov rcx, qword [rbp + 0x80]
mov edx, dword [rcx + 0x1c]
shl rdx, 0x20
mov eax, dword [rcx + 0x20]
or rdx, rax
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x28], rdx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x30], 1
mov rax, qword [rsi]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [rax + 0x68]
mov rdx, qword [rsi + 0x18]
mov rcx, rsi
mov rax, qword [rsi]
cmp byte [rdx + 1], r14b
lea rdx, [rsp + 0x38]
je 0x1401fea54
call qword [rax + 0x60]
jmp 0x1401fea58
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x1401fea8a
mov eax, ebx
lock xadd dword [rdi + 8], eax
add eax, ebx
jne 0x1401fea8a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
add eax, ebx
jne 0x1401fea8a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x178]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret