Function at 0x1400f0e70
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movzx r14d, dl
mov rbx, rcx
test rcx, rcx
je 0x1400f114f
xor r15d, r15d
cmp r15w, word [rcx]
je 0x1400f114f
cmp word [rcx], 0x2e
jne 0x1400f0eea
cmp word [rcx + 2], r15w
je 0x1400f114f
cmp word [rcx], 0x2e
jne 0x1400f0eea
cmp word [rcx + 2], 0x2e
jne 0x1400f0eea
cmp word [rcx + 4], r15w
je 0x1400f114f
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], r15w
jne 0x1400f0f10
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14002b640
nop
lea rax, [rsp + 0x50]
mov r9, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp rcx, 8
cmovae rax, r9
mov r10, qword [rsp + 0x60]
test r10, r10
je 0x1400f1132
lea rdx, [r10 - 1]
cmp rdx, 0xffffffffffffffff
cmovb rdi, rdx
lea r8, [rax + rdi*2]
cmp word [r8], 0x5c
je 0x1400f0f78
cmp r8, rax
je 0x1400f1132
sub r8, 2
cmp word [r8], 0x5c
jne 0x1400f0f64
sub r8, rax
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x1400f1132
cmp r8, rdx
je 0x1400f1132
inc r8
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
cmp r10, r8
cmovb r8, r10
lea rdx, [rsp + 0x50]
cmp rcx, 8
cmovae rdx, r9
lea rcx, [rsp + 0x70]
call fcn.14002b640
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x70]
call fcn.1402b60e0
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x1400f0ff8
xor bl, bl
jmp 0x1400f10fb
mov bl, 1
nop word [rax + rax]
lea r8, [rbp - 0x44]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140030c30
nop
test byte [rbp - 0x70], 0x10
je 0x1400f1074
movzx ecx, word [rbp - 0x44]
movzx eax, word [rbp - 0x42]
cmp cx, 0x2e
jne 0x1400f1046
test ax, ax
je 0x1400f10c7
cmp cx, cx
jne 0x1400f1046
cmp ax, cx
jne 0x1400f1046
cmp word [rbp - 0x40], 0
je 0x1400f10c7
test r14b, r14b
je 0x1400f10c7
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call fcn.1400f19a0
movzx eax, al
test bl, bl
je 0x1400f1070
test eax, eax
je 0x1400f1070
mov bl, 1
jmp 0x1400f10c7
xor bl, bl
jmp 0x1400f10c7
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx ebx, bl
test eax, eax
cmove ebx, r15d
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400f10f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
call fcn.14002cde0
test edi, edi
jne 0x1400f1000
test rsi, rsi
je 0x1400f110a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400f1126
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.14002cde0
mov rcx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x50]
jmp 0x1400f1134
xor bl, bl
cmp rcx, 8
jb 0x1400f114a
lea rdx, [rcx*2 + 2]
mov rcx, r9
call fcn.14002cde0
movzx eax, bl
jmp 0x1400f1151
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140296f70
lea r11, [rsp + 0x2f0]
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