Function at 0x1400a79a0
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov byte [rsp + 0x20], dl
mov rbx, rcx
test rcx, rcx
je 0x1400a7e1d
xor esi, esi
cmp si, word [rcx]
je 0x1400a7e1d
cmp word [rcx], 0x2e
jne 0x1400a7a1a
cmp word [rcx + 2], si
je 0x1400a7e1d
cmp word [rcx], 0x2e
jne 0x1400a7a1a
cmp word [rcx + 2], 0x2e
jne 0x1400a7a1a
cmp word [rcx + 4], si
je 0x1400a7e1d
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x1400a7a40
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140025e70
nop
lea rdx, [rsp + 0x60]
mov r9, qword [rsp + 0x78]
cmp r9, 8
setae dil
mov rcx, qword [rsp + 0x60]
cmovae rdx, rcx
mov r11, qword [rsp + 0x70]
test r11, r11
je 0x1400a7de0
lea r10, [r11 - 1]
mov rax, 0xffffffffffffffff
cmp r10, rax
cmovb rax, r10
lea r8, [rdx + rax*2]
cmp word [r8], 0x5c
je 0x1400a7ab4
nop
cmp r8, rdx
je 0x1400a7de0
sub r8, 2
cmp word [r8], 0x5c
jne 0x1400a7aa0
sub r8, rdx
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x1400a7de0
cmp r8, r10
je 0x1400a7de0
inc r8
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
cmp r11, r8
cmovb r8, r11
lea rdx, [rsp + 0x60]
test dil, dil
cmovne rdx, rcx
lea rcx, [rbp - 0x80]
call fcn.140025e70
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x60]
call fcn.14026c200
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
mov r13, qword [rbp - 0x80]
cmp rax, 0xffffffffffffffff
jne 0x1400a7b36
xor r15b, r15b
jmp 0x1400a7d86
mov r15b, 1
movabs r8, 0x7ffffffffffffffe
mov rcx, r8
mov rax, qword [rbp - 0x70]
sub rcx, rax
mov qword [rsp + 0x28], rcx
movabs r10, 0x7fffffffffffffff
mov r9d, 0xa
lea rdx, [rbp - 0x34]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400a7b70
cmp rcx, rbx
jb 0x1400a7e67
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r12, r13
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea r14, [rax + rbx]
mov edi, 7
lea rsi, [rsp + 0x40]
cmp r14, rdi
jbe 0x1400a7c1f
mov rdi, r14
or rdi, 7
cmp rdi, r8
jbe 0x1400a7bd6
mov rdi, r8
mov rcx, 0xfffffffffffffffe
call fcn.1400262a0
mov rsi, rax
mov rax, qword [rbp - 0x70]
jmp 0x1400a7c1a
cmp rdi, 0xa
cmovb rdi, r9
lea rcx, [rdi + 1]
cmp rcx, r10
ja 0x1400a7e55
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400a7c05
call fcn.1400262a0
mov rsi, rax
mov rax, qword [rbp - 0x70]
jmp 0x1400a7c1a
test rcx, rcx
je 0x1400a7c18
call fcn.1402695b8
mov rsi, rax
mov rax, qword [rbp - 0x70]
jmp 0x1400a7c1a
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rdi
lea rdi, [rax + rax]
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call fcn.14026bb50
lea rcx, [rsi + rdi]
lea r8, [rbx + rbx]
lea rdx, [rbp - 0x34]
call fcn.14026bb50
xor eax, eax
mov word [rsi + r14*2], ax
test byte [rbp - 0x60], 0x10
je 0x1400a7d23
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, 0x2e
jne 0x1400a7c81
test ax, ax
je 0x1400a7cad
cmp cx, cx
jne 0x1400a7c81
cmp ax, cx
jne 0x1400a7c81
cmp word [rbp - 0x30], 0
je 0x1400a7cad
cmp byte [rsp + 0x20], 0
je 0x1400a7cad
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call fcn.1400a8780
movzx eax, al
test r15b, r15b
je 0x1400a7d1e
test eax, eax
je 0x1400a7d1e
mov r15b, 1
xor esi, esi
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400a7d02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a7cfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7e5b
call fcn.140269844
test ebx, ebx
je 0x1400a7d81
mov rax, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x28]
movabs r8, 0x7ffffffffffffffe
jmp 0x1400a7b52
xor r15b, r15b
jmp 0x1400a7cad
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx r15d, r15b
test eax, eax
mov esi, 0
cmove r15d, esi
jmp 0x1400a7caf
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400a7d95
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x1400a7dd4
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400a7dcc
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7e61
mov rcx, r13
call fcn.140269844
mov r9, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
jmp 0x1400a7de3
xor r15b, r15b
cmp r9, 8
jb 0x1400a7e17
lea rdx, [r9*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a7e12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7e4f
call fcn.140269844
movzx eax, r15b
jmp 0x1400a7e1f
xor al, al
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140269300
lea r11, [rsp + 0x300]
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.140277ff8
nop
call fcn.140025510
nop
call fcn.140277ff8
nop
call fcn.140277ff8
nop
call fcn.1400255b0
int3