Function at 0x180067810
Capabilities:
Delete file
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x18006784e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18006785f
mov al, 1
jmp 0x180067b03
cmp qword [rbx + 0x18], 8
jb 0x18006786b
mov rdx, qword [rbx]
jmp 0x18006786e
mov rdx, rbx
xor r15d, r15d
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
or rdi, 0xffffffffffffffff
cmp word [rdx], r15w
jne 0x180067899
mov r8d, r15d
jmp 0x1800678aa
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1800678a0
lea rcx, [rbp - 0x48]
call fcn.180005920
nop
lea rcx, [rbp - 0x48]
call fcn.180066f10
mov r14d, eax
cmp qword [rbp - 0x30], 8
jb 0x1800678d0
mov rcx, qword [rbp - 0x48]
call fcn.180139b7c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
cmp r14d, 0xffffffff
jne 0x1800678ee
xor al, al
jmp 0x180067b03
cmp qword [rbx + 0x18], 8
jb 0x1800678fa
mov rdx, qword [rbx]
jmp 0x1800678fd
mov rdx, rbx
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
cmp word [rdx], 0
jne 0x180067921
mov r8, r15
jmp 0x18006792f
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x180067924
lea rcx, [rbp - 0x48]
call fcn.180005920
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x180067957
mov al, 1
jmp 0x1800679d2
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r15
mov word [rbp - 0x28], r15w
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.180068900
test al, al
je 0x1800679af
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1800679af
cmp qword [rbp - 0x10], 8
jb 0x1800679ab
mov rcx, qword [rbp - 0x28]
call fcn.180139b7c
mov al, 1
jmp 0x1800679c1
cmp qword [rbp - 0x10], 8
jb 0x1800679bf
mov rcx, qword [rbp - 0x28]
call fcn.180139b7c
xor al, al
mov word [rbp - 0x28], r15w
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
test al, al
sete sil
cmp qword [rbp - 0x30], 8
jb 0x1800679e8
mov rcx, qword [rbp - 0x48]
call fcn.180139b7c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
test sil, sil
jne 0x1800678e7
cmp qword [rbx + 0x18], 8
jb 0x180067a0e
mov rcx, qword [rbx]
jmp 0x180067a11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180067858
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.180068900
test al, al
je 0x180067a67
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180067a67
mov bl, 1
jmp 0x180067adf
cmp qword [rbx + 0x18], 8
jb 0x180067a71
mov rbx, qword [rbx]
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r15
mov word [rbp - 0x28], r15w
cmp word [rbx], 0
jne 0x180067a95
mov rdi, r15
jmp 0x180067a9f
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x180067a95
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.180005920
nop
mov edx, r14d
lea rcx, [rbp - 0x28]
call fcn.180066e20
nop
cmp qword [rbp - 0x10], 8
jb 0x180067acc
mov rcx, qword [rbp - 0x28]
call fcn.180139b7c
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r15
mov word [rbp - 0x28], r15w
xor bl, bl
cmp qword [rbp - 0x30], 8
jb 0x180067aef
mov rcx, qword [rbp - 0x48]
call fcn.180139b7c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret