Function at 0x14012de80
Capabilities:
Delete directory
Enumerate files on windows

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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
xor esi, esi
mov dword [rsp + 0x20], esi
mov dword [0x14030c210], 1
lea rdi, [rcx + 0xe0]
mov rbx, qword [rdi]
lea r12, [rsi - 1]
test rbx, rbx
je 0x14012df68
nop
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
sub rcx, 0x18
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140025c80
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012df5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
test rbx, rbx
jne 0x14012dee0
mov rcx, rdi
call fcn.140029d60
nop
mov dword [0x14030c210], esi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x58]
call fcn.1400d0c90
nop
mov rax, qword [rsp + 0x58]
cmp dword [rax - 0x10], 0
je 0x14012e241
mov qword [rsp + 0x68], rsi
lea r8, str.BNZ.
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.1400179b0
nop
mov qword [rsp + 0x60], rsi
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x14012e2ac
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14012e1f8
test byte [rsp + 0x70], 0x10
je 0x14012e1d8
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14012e033
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038ca6.0]
mov rcx, rax
test rax, rax
jne 0x14012e057
call fcn.140019590
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038ca6.0]
mov rcx, rax
test rax, rax
je 0x14012e2a1
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
or dword [rsp + 0x20], 1
lea rcx, [rbp - 0x64]
mov rsi, r12
nop dword [rax]
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x14012e080
mov r13, qword [rsp + 0x58]
movsxd r15, dword [r13 - 0x10]
lea r14d, [r15 + rsi]
test r14d, r14d
js 0x14012e296
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, r14d
or eax, ecx
jge 0x14012e0c4
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.140018ea0
mov rbx, qword [rsp + 0x30]
add r15, r15
je 0x14012e0fa
test rbx, rbx
je 0x14012e0ea
mov r8, r15
mov rcx, rbx
test r13, r13
je 0x14012e0e3
mov rdx, r13
call fcn.14022e460
jmp 0x14012e0fa
xor edx, edx
call fcn.14022eb00
call fcn.1401fed34
mov dword [rax], 0x16
call fcn.1401feb94
movsxd r8, esi
add r8, r8
lea rcx, [r15 + rbx]
je 0x14012e126
test rcx, rcx
jne 0x14012e11d
call fcn.1401fed34
mov dword [rax], 0x16
call fcn.1401feb94
jmp 0x14012e126
lea rdx, [rbp - 0x64]
call fcn.14022e460
cmp r14d, dword [rbx - 0xc]
jg 0x14012e296
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor ecx, ecx
mov word [rbx + rax*2], cx
lea rsi, [rbx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rsi, rdi
je 0x14012e19e
cmp dword [rdi + 0x10], ecx
jl 0x14012e18d
mov rax, qword [rdi]
cmp qword [rsi], rax
jne 0x14012e18d
mov rcx, rsi
call fcn.140019180
mov rbx, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14012e182
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [case.0x140038ca6.0]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x14012e19e
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140018f50
and dword [rsp + 0x20], 0xfffffffe
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x14012e1c3
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rbx, qword [rsp + 0x40]
xor esi, esi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14012e000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012e21a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012e241
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x14012e266
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1401f74b0
lea r11, [rsp + 0x2d0]
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
mov ecx, 0x80070057
call fcn.140019300
int3
mov ecx, 0x80004005
call fcn.140019300
nop
mov ecx, 0x80004005
call fcn.140019300
int3