Function at 0x140011ac4
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140176810]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140011b0f
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor r15d, r15d
test eax, eax
je 0x140011d1f
lea r13d, [r15 + 7]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
lea rcx, [0x140137a60]
call fcn.1400ded00
mov r8, rax
lea rdx, [0x140137a60]
lea rcx, [rsp + 0x48]
call fcn.140010250
nop
lea r8, [rsp + 0x48]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140011e64
nop
cmp qword [rsp + 0x60], 8
jb 0x140011b7a
mov rcx, qword [rsp + 0x48]
call fcn.1400400f0
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov ecx, r15d
cmp rax, 0xffffffffffffffff
setne cl
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
test ecx, ecx
je 0x140011cdc
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
cmp word [rbp - 0x24], r15w
jne 0x140011bd5
mov rax, r15
jmp 0x140011bde
lea rcx, [rbp - 0x24]
call fcn.1400ded00
mov r8, rax
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x48]
call fcn.140010250
nop
lea r8, [rsp + 0x48]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140011e64
mov r14, rax
lea rax, [rsp + 0x28]
cmp rax, r14
je 0x140011c3d
cmp qword [rsp + 0x40], 8
jb 0x140011c20
mov rcx, qword [rsp + 0x28]
call fcn.1400400f0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.140010474
cmp qword [rbp - 0x60], 8
jb 0x140011c4d
mov rcx, qword [rbp - 0x78]
call fcn.1400400f0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x68], r15
mov word [rbp - 0x78], r15w
cmp qword [rsp + 0x60], 8
jb 0x140011c6c
mov rcx, qword [rsp + 0x48]
call fcn.1400400f0
test byte [rbp - 0x50], 4
jne 0x140011cc7
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140011cc7
cmp qword [rdi + 0x18], 8
jb 0x140011c99
mov rdx, qword [rdi]
jmp 0x140011c9c
mov rdx, rdi
mov r9, qword [rdi + 0x10]
lea rcx, [rsp + 0x28]
call fcn.140014724
cmp rax, 0xffffffffffffffff
je 0x140011cc7
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140011bb9
cmp rsi, 0xffffffffffffffff
je 0x140011cec
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x40], 8
jb 0x140011cfe
mov rcx, qword [rsp + 0x28]
call fcn.1400400f0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
cmp qword [rbp - 0x80], 8
jb 0x140011d1f
mov rcx, qword [rsp + 0x68]
call fcn.1400400f0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400dc400
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret