Function at 0x140013b90
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.140007d80
sub rsp, rax
mov rdi, rcx
lea rcx, [rbp + 0x592]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x590], si
call fcn.1400033f0
lea rcx, [rbp + 0x382]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x380], si
call fcn.1400033f0
lea r9, [rbp + 0xfc0]
lea r8, [rbp + 0x590]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140013e2a
mov rdx, qword [rbp + 0xfc0]
lea rcx, [rbp + 0x380]
mov qword [rsp + 0x10b0], rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rbp + 0xfc0]
lea rdx, [0x14001d7a8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x590]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140013d7d
lea rsi, [0x140000000]
nop dword [rax]
xor r8d, r8d
mov ecx, r8d
movzx edx, word [rsp + rcx + 0x4c]
test dx, dx
je 0x140013ca1
movzx eax, word [rcx + rsi + 0x1d7b0]
test ax, ax
je 0x140013ca1
cmp dx, ax
jne 0x140013ca1
add rcx, 2
cmp rcx, 2
jb 0x140013c76
jmp 0x140013d65
mov rax, r8
movzx ecx, word [rsp + rax + 0x4c]
test cx, cx
je 0x140013ccf
movzx edx, word [rax + rsi + 0x1d7b4]
test dx, dx
je 0x140013ccf
cmp cx, dx
jne 0x140013ccf
add rax, 2
cmp rax, 4
jb 0x140013ca4
jmp 0x140013d65
test byte [rsp + 0x20], 0x10
je 0x140013d65
mov word [rbp + 0x170], r8w
lea rcx, [rbp + 0x172]
xor edx, edx
mov r8d, 0x206
call fcn.1400033f0
lea r9, [rbp + 0xfc0]
lea r8, [rbp + 0x170]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140013e3f
mov rcx, qword [rbp + 0xfc0]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001d67c]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x170]
mov edx, 1
call fcn.140013b90
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013c70
xor esi, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140013e1d
test byte [rsp + 0x20], 0x10
jne 0x140013e02
lea rcx, [rbp + 0x7a2]
xor edx, edx
mov r8d, 0x7fe
mov word [rbp + 0x7a0], si
call fcn.1400033f0
lea r9, [rbp + 0xfc0]
lea r8, [rbp + 0x7a0]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140013e3f
mov rcx, qword [rbp + 0xfc0]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013da1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rbx, qword [rsp + 0x10b0]
lea r11, [rsp + 0x10a0]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor eax, eax
jmp 0x140013e22