Function at 0x14013f780
Capabilities:
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 - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r12, rcx
xor r13d, r13d
call fcn.140004ce0
mov r14, rax
mov r15d, dword [rax + 0x14]
mov ebx, r13d
lea rdi, [0x140379908]
mov esi, 0xffffffff
test r15d, r15d
jle 0x14013f99e
test ebx, ebx
js 0x14013f809
cmp ebx, dword [r14 + 0x14]
jge 0x14013f809
lea rcx, [r14 + 8]
mov r8d, ebx
lea rdx, [rsp + 0x28]
call fcn.14000cb10
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
jmp 0x14013f81a
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rdi
cmp eax, 2
jne 0x14013f947
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1402a2d50
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140015780
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.1400e754c
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, r13
nop
movzx eax, byte [rcx]
inc rcx
test al, al
jns 0x14013f884
movzx eax, byte [rcx]
and al, 0xc0
cmp al, 0x80
jne 0x14013f888
inc rcx
movzx eax, byte [rcx]
and al, 0xc0
cmp al, 0x80
je 0x14013f873
inc rdx
jmp 0x14013f860
test eax, eax
je 0x14013f88d
inc rdx
jmp 0x14013f860
lea eax, [rdx + 1]
cmp eax, 0x104
jge 0x14013f8f9
mov rax, rdi
mov rdx, r13
nop dword [rax]
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x14013f8d3
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x14013f8d7
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x14013f8c0
inc rdx
jmp 0x14013f8a0
test ecx, ecx
je 0x14013f8dc
inc rdx
jmp 0x14013f8a0
movsxd rax, edx
lea rax, [rax*2 + 2]
cmp rax, 0x208
jae 0x14013fa4f
mov word [rbp + rax - 0x70], r13w
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], 3
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea rax, [0x1402d5f08]
mov qword [rsp + 0x60], rax
mov eax, 0x414
mov word [rsp + 0x68], ax
mov dword [rsp + 0x6c], r13d
mov qword [rsp + 0x70], r13
lea rax, [0x1402d5f0c]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
lea rcx, [rdi - 0x10]
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013f967
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013f967
call fcn.1400da0f0
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013f98c
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013f98c
call fcn.1400da0f0
inc ebx
lea rdi, [0x140379908]
cmp ebx, r15d
jl 0x14013f7e2
mov rcx, r12
call fcn.14013c350
xor edx, edx
mov rcx, r12
call fcn.140141070
lea rax, [rsp + 0x28]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rdi
lea rdx, str.Presets_are_restored_to_factory_defaults
lea rcx, [rsp + 0x40]
call fcn.140019df0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14017f4e0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013fa08
lock xadd dword [rcx], esi
dec esi
cmp esi, 0xffffffff
jne 0x14013fa08
call fcn.1400da0f0
call fcn.140004ce0
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call fcn.14000ad90
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400d9d70
lea r11, [rsp + 0x2b0]
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.1400da3a8
nop
int3