Function at 0x140013120
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140031008]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov esi, edx
mov r15, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.140015400
mov rdx, r15
lea rcx, [rbp + 0x180]
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rdi, [rbp + 0x180]
lea rdx, [0x14002c5c8]
lea rdi, [rdi + rcx*2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor r12d, r12d
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14001332d
nop dword [rax + rax]
lea rdx, [0x14002c134]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001330e
lea rdx, [0x14002c138]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001330e
test byte [rsp + 0x30], 0x10
je 0x14001323c
lea rdx, [rsp + 0x5c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14002c088]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, esi
lea rcx, [rbp + 0x180]
call fcn.140013120
jmp 0x14001330e
cmp dword [0x14003b698], r12d
jne 0x1400132fb
test esi, esi
jne 0x1400132fb
lea rdx, [rsp + 0x5c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [0x140033138]
lea r8, [rbp + 0x390]
mov rcx, qword [0x140033570]
test rax, rax
mov r9d, 0x208
mov edx, 0x399
cmovne rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [0x140033138]
lea r9, [0x1400135c0]
mov rcx, qword [0x140033570]
test rax, rax
mov r8, qword [0x14003aa28]
mov edx, 0x388
cmovne rcx, rax
lea rax, [rbp + 0x390]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 2
je 0x1400133c5
cmp eax, 0x7ec
jne 0x1400132f6
mov dword [0x14003b698], 1
jmp 0x1400132fb
cmp eax, 6
jne 0x14001330e
lea rdx, [rsp + 0x5c]
mov rcx, r15
call fcn.140012f30
test eax, eax
cmove ebx, r12d
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400131d0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x30]
mov word [rdi - 2], r12w
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140013418
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140013418
mov rax, qword [0x140033138]
lea r8, [rbp + 0x390]
mov rcx, qword [0x140033570]
test rax, rax
mov r9d, 0x208
mov edx, 0x396
cmovne rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rbx, qword [0x140033590]
test rbx, rbx
je 0x1400133c9
mov rdx, qword [0x1400330c8]
mov rcx, rbx
jmp 0x1400133ed
xor eax, eax
jmp 0x140013420
mov rcx, qword [0x1400330c8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov rdx, qword [0x1400330c8]
mov rcx, r12
mov rbx, qword [0x140033590]
test eax, eax
cmovne rcx, rdx
mov qword [0x140033590], rdx
lea r8, [0x140029ee8]
lea rdx, [rbp + 0x390]
mov r9d, 0x10
call qword [sym.imp.USER32.dll_MessageBoxW]
mov qword [0x140033590], rbx
mov ebx, r12d
mov word [rdi - 2], 0x5c
mov eax, ebx
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140013ba0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret