Function at 0x1401da4e0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rdx
mov r12, rcx
xor ebx, ebx
cmp qword [rdx], rbx
jne 0x1401da52d
mov ebx, 6
jmp 0x1401da9d2
call fcn.140243a84
cmp dword [rax], 0x3e8
ja 0x1401da636
mov rax, qword [rdx]
mov rdx, qword [rax + 0x20]
lea rax, [rbp + 0xa8]
mov qword [rbp + 0xa0], rax
mov edi, 3
mov r8d, edi
lea rcx, [rbp + 0xa0]
call fcn.140008c4c
nop
mov rax, qword [rsi]
mov rdx, qword [rax + 0x28]
lea rax, [rbp + 0x138]
mov qword [rbp + 0x130], rax
mov r8d, edi
lea rcx, [rbp + 0x130]
call fcn.140008c4c
nop
call fcn.140243bb4
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.14000b014
nop
lea rcx, [rax + 8]
lea rdx, str._DEBUG_
call fcn.14000b410
mov rcx, rax
lea rdx, str.Startup___Delete_item
call fcn.14000b410
mov rcx, rax
lea rdx, [0x14035f1a4]
call fcn.14000b410
mov rcx, rax
mov rdx, qword [rbp + 0x130]
call fcn.14000b410
mov rcx, rax
lea rdx, [0x14035f1a4]
call fcn.14000b410
mov rcx, rax
mov rdx, qword [rbp + 0xa0]
call fcn.14000b410
nop
lea rcx, [rbp - 0x58]
call fcn.14000aec4
nop
lea rax, [rbp + 0x138]
mov rcx, qword [rbp + 0x130]
cmp rcx, rax
je 0x1401da61e
call fcn.1400be914
nop
lea rax, [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
cmp rcx, rax
je 0x1401da636
call fcn.1400be914
mov rcx, qword [rsi]
mov eax, dword [rcx + 4]
mov edi, 8
test dil, al
je 0x1401da69d
lea ecx, [rdi + 0x18]
call fcn.1400be454
test rax, rax
je 0x1401da66c
lea rcx, vtable.Piriform::CContextMenuStartUpManager.0
mov qword [rax], rcx
and qword [rax + 8], 0
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14007446c
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401da691
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x18]
mov ebx, eax
jmp 0x1401da693
mov ebx, edi
mov r12, qword [rsp + 0x78]
jmp 0x1401da737
test al, 0x10
je 0x1401da6e9
mov ecx, 0xb0
call fcn.1400be454
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1401da6be
mov rcx, rax
call fcn.1402dca78
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14007e17c
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401da6e1
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x18]
mov ebx, eax
jmp 0x1401da6e3
mov ebx, edi
mov r12, qword [rbp - 0x78]
jmp 0x1401da737
test al, 0x20
je 0x1401da77e
mov ecx, 0xb0
call fcn.1400be454
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1401da70e
mov rcx, rax
call fcn.1402dc7dc
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14007e218
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401da731
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x18]
mov ebx, eax
jmp 0x1401da733
mov ebx, edi
mov r12, qword [rbp - 0x68]
test r12, r12
je 0x1401da9cc
or edi, 0xffffffff
mov eax, edi
lock xadd dword [r12 + 8], eax
add eax, edi
jne 0x1401da9cc
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
lock xadd dword [r12 + 0xc], eax
add eax, edi
jne 0x1401da9cc
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
jmp 0x1401da9cc
bt eax, 0xa
jb 0x1401da979
bt eax, 0xb
jb 0x1401da979
mov edi, 0x2000
test edi, eax
je 0x1401da92b
and qword [rsp + 0x38], 0
and dword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
lea rax, vtable.Piriform::Registry::CRegKeyEx.0
mov qword [rsp + 0x30], rax
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
and dword [rsp + 0x58], 0
mov ebx, dword [rcx + 0x40]
or ebx, 0xf003f
mov edx, dword [rcx + 4]
lea rcx, [rsp + 0x20]
call fcn.14021ef2c
nop
lea r8, [0x140352420]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001c3e0
nop
mov r8, qword [rsi]
add r8, 0x50
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140004278
mov r8, qword [rax]
mov rax, qword [rsi]
mov ecx, dword [rax + 4]
call fcn.14021eb6c
mov rdx, rax
mov r9d, ebx
lea rcx, [rsp + 0x38]
call fcn.1400114d4
mov ebx, eax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401da84f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401da86f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401da88e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x1401da91c
lea r9, [0x140330de8]
lea r8, str.backup
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140224ba8
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401da8cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401da8e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x38], 0
and dword [rsp + 0x40], 0
test ebx, ebx
je 0x1401da8ef
cmp ebx, 2
jne 0x1401da8fc
mov rdx, rsi
mov rcx, r12
call fcn.1401d5630
mov ebx, eax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1401da91c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x30]
call fcn.140224148
jmp 0x1401da9cc
test al, 4
je 0x1401da93c
mov rcx, rsi
call fcn.1401d4300
jmp 0x1401da9ca
mov rdx, rsi
mov rcx, r12
call fcn.1401d5630
mov ebx, eax
test eax, eax
je 0x1401da952
cmp eax, 2
jne 0x1401da9cc
call fcn.14023dfbc
test al, al
je 0x1401da9cc
mov rax, qword [rsi]
mov ecx, dword [rax + 4]
bt ecx, 0xc
jb 0x1401da9a4
test edi, ecx
jne 0x1401da9a4
bt ecx, 9
jb 0x1401da9a4
bt ecx, 8
jae 0x1401da9cc
jmp 0x1401da9a4
call fcn.14023dfbc
test al, al
mov rax, qword [rsi]
je 0x1401da9b6
mov rcx, qword [rax + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401da9a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1401da9a4
cmp eax, 2
jne 0x1401da9cc
lea rdx, [r12 + 0x98]
mov rcx, rsi
call fcn.1401d6d10
jmp 0x1401da9cc
mov rcx, qword [rax + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401da9cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
mov dword [rax + 0x44], ebx
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret