Function at 0x1400bcc00
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 [0x14039bc30]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov byte [rsp + 0x20], dl
mov rbx, rcx
test rcx, rcx
je 0x1400bd07d
xor esi, esi
cmp si, word [rcx]
je 0x1400bd07d
cmp word [rcx], 0x2e
jne 0x1400bcc7a
cmp word [rcx + 2], si
je 0x1400bd07d
cmp word [rcx], 0x2e
jne 0x1400bcc7a
cmp word [rcx + 2], 0x2e
jne 0x1400bcc7a
cmp word [rcx + 4], si
je 0x1400bd07d
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 0x1400bcca0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140032810
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 0x1400bd040
lea r10, [r11 - 1]
mov rax, 0xffffffffffffffff
cmp r10, rax
cmovb rax, r10
lea r8, [rdx + rax*2]
cmp word [r8], 0x5c
je 0x1400bcd14
nop
cmp r8, rdx
je 0x1400bd040
sub r8, 2
cmp word [r8], 0x5c
jne 0x1400bcd00
sub r8, rdx
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x1400bd040
cmp r8, r10
je 0x1400bd040
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.140032810
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x60]
call fcn.14013d7a0
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 0x1400bcd96
xor r15b, r15b
jmp 0x1400bcfe6
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 0x1400bcdd0
cmp rcx, rbx
jb 0x1400bd0c7
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 0x1400bce7f
mov rdi, r14
or rdi, 7
cmp rdi, r8
jbe 0x1400bce36
mov rdi, r8
mov rcx, 0xfffffffffffffffe
call fcn.140026910
mov rsi, rax
mov rax, qword [rbp - 0x70]
jmp 0x1400bce7a
cmp rdi, 0xa
cmovb rdi, r9
lea rcx, [rdi + 1]
cmp rcx, r10
ja 0x1400bd0b5
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400bce65
call fcn.140026910
mov rsi, rax
mov rax, qword [rbp - 0x70]
jmp 0x1400bce7a
test rcx, rcx
je 0x1400bce78
call fcn.14013afa8
mov rsi, rax
mov rax, qword [rbp - 0x70]
jmp 0x1400bce7a
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.14013d0f0
lea rcx, [rsi + rdi]
lea r8, [rbx + rbx]
lea rdx, [rbp - 0x34]
call fcn.14013d0f0
xor eax, eax
mov word [rsi + r14*2], ax
test byte [rbp - 0x60], 0x10
je 0x1400bcf83
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, 0x2e
jne 0x1400bcee1
test ax, ax
je 0x1400bcf0d
cmp cx, cx
jne 0x1400bcee1
cmp ax, cx
jne 0x1400bcee1
cmp word [rbp - 0x30], 0
je 0x1400bcf0d
cmp byte [rsp + 0x20], 0
je 0x1400bcf0d
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call fcn.1400bda70
movzx eax, al
test r15b, r15b
je 0x1400bcf7e
test eax, eax
je 0x1400bcf7e
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 0x1400bcf62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bcf5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bd0bb
call fcn.14013afa0
test ebx, ebx
je 0x1400bcfe1
mov rax, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x28]
movabs r8, 0x7ffffffffffffffe
jmp 0x1400bcdb2
xor r15b, r15b
jmp 0x1400bcf0d
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 0x1400bcf0f
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400bcff5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x1400bd034
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400bd02c
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bd0c1
mov rcx, r13
call fcn.14013afa0
mov r9, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
jmp 0x1400bd043
xor r15b, r15b
cmp r9, 8
jb 0x1400bd077
lea rdx, [r9*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bd072
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bd0af
call fcn.14013afa0
movzx eax, r15b
jmp 0x1400bd07f
xor al, al
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14013af80
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.1401421d8
nop
call fcn.1400268f0
nop
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.140026750
int3