Function at 0x1000a960
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030fee
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x10046070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.10009050
push 1
push 0x100419f0
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call fcn.10009180
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push str._s.
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.1000a190
add esp, 0x10
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x56c], edi
cmp edi, 0xffffffff
je 0x1000ac16
nop dword [eax]
test byte [ebp - 0x568], 0x10
lea eax, [ebp - 0x53c]
je 0x1000ab04
push 0x10041a00
push eax
call fcn.1001b634
add esp, 8
test eax, eax
je 0x1000abe7
lea eax, [ebp - 0x53c]
push 0x10041a04
push eax
call fcn.1001b634
add esp, 8
test eax, eax
je 0x1000abe7
lea eax, [ebp - 0x53c]
push eax
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x584]
call fcn.1000eaf0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x1000aa9e
mov esi, dword [esi]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1000aabb
mov eax, dword [edx]
jmp 0x1000aabd
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x1000aac9
xor ecx, ecx
jmp 0x1000aadf
mov ecx, esi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000aad0
sub ecx, edi
mov edi, dword [ebp - 0x56c]
push ecx
push esi
mov ecx, edx
call fcn.10008f50
call fcn.1000a960
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x584]
call fcn.10008940
jmp 0x1000abe7
push eax
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x584]
call fcn.1000eaf0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x1000ab21
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov eax, dword [ebp - 0x570]
sete bl
cmp eax, 0x10
jb 0x1000ab79
mov ecx, dword [ebp - 0x584]
inc eax
cmp eax, 0x1000
jb 0x1000ab70
test cl, 0x1f
jne 0x1000ac39
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000ac39
sub ecx, eax
cmp ecx, 4
jb 0x1000ac39
cmp ecx, 0x23
ja 0x1000ac39
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
test bl, bl
je 0x1000abe7
lea eax, [ebp - 0x53c]
push eax
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x584]
call fcn.1000eaf0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x1000aba0
mov eax, dword [eax]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov eax, dword [ebp - 0x570]
cmp eax, 0x10
jb 0x1000abe7
mov ecx, dword [ebp - 0x584]
inc eax
cmp eax, 0x1000
jb 0x1000abde
test cl, 0x1f
jne 0x1000ac39
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000ac39
sub ecx, eax
cmp ecx, 4
jb 0x1000ac39
cmp ecx, 0x23
ja 0x1000ac39
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
lea eax, [ebp - 0x568]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000aa30
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x428]
call fcn.10008940
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x1000ac6b
mov ecx, dword [ebp + 8]
inc eax
cmp eax, 0x1000
jb 0x1000ac62
test cl, 0x1f
je 0x1000ac3e
call fcn.10017f81
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000ac4a
call fcn.10017f81
sub ecx, eax
cmp ecx, 4
jae 0x1000ac56
call fcn.10017f81
cmp ecx, 0x23
jbe 0x1000ac60
call fcn.10017f81
mov ecx, eax
push ecx
call fcn.10012c24
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001266f
mov esp, ebp
pop ebp
ret