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

Disassembly:
push 0xffffffffffffffff
push 0x572291
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x1bc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1cc]
mov edi, dword [esp + 0x1d0]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
push 0x445318
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c8], 1
push ebp
push eax
call fcn.004a8f70
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x60]
cmp eax, esi
je 0x4ac535
cmp dword [esp + 0x74], 0x10
jb 0x4ac516
push dword [esp + 0x60]
call fcn.00549eaf
add esp, 4
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.00463a40
cmp dword [esp + 0x2c], 0x10
jb 0x4ac548
push dword [esp + 0x18]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x74], 0x10
lea ecx, [esp + 0x78]
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
je 0x4ac759
mov ebx, dword [esp + 0x1d4]
mov esi, eax
lea ebx, [ebx]
cmp byte [esp + 0xa4], 0x2e
je 0x4ac717
test edi, edi
je 0x4ac5cd
test ebx, ebx
jne 0x4ac5cd
lea eax, [esp + 0xa4]
mov ecx, edi
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4ac5c0
test dl, dl
je 0x4ac5bc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4ac5c0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4ac5a0
xor eax, eax
jmp 0x4ac5c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4ac717
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
mov dword [esp + 0x58], 0
cmovae eax, dword [esp + 0x48]
push 0x444a18
push ebp
mov byte [eax], 0
lea eax, [esp + 0x38]
push eax
call fcn.004a8f70
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1d0], 2
push ecx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004a8ed0
mov esi, eax
add esp, 0x18
lea eax, [esp + 0x48]
cmp eax, esi
je 0x4ac68e
cmp dword [esp + 0x5c], 0x10
jb 0x4ac631
push dword [esp + 0x48]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
cmp dword [esi + 0x14], 0x10
jae 0x4ac663
mov eax, dword [esi + 0x10]
inc eax
je 0x4ac66f
push eax
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.0054a030
add esp, 0xc
jmp 0x4ac66f
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x2c], 0x10
jb 0x4ac6a1
push dword [esp + 0x18]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x1c4], 1
jb 0x4ac6d1
push dword [esp + 0x30]
call fcn.00549eaf
add esp, 4
test byte [esp + 0x78], 0x10
je 0x4ac6fc
lea eax, [ebx + 1]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.004ac460
add esp, 0xc
test al, al
jne 0x4ac713
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
jmp 0x4ac75b
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
call fcn.004af030
add esp, 4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4ac580
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4ac755
test ebx, ebx
je 0x4ac759
cmp dword [ebp + 0x14], 0x10
jb 0x4ac74a
mov ebp, dword [ebp]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4ac759
xor bl, bl
jmp 0x4ac75b
mov bl, 1
cmp dword [esp + 0x74], 0x10
jb 0x4ac76e
push dword [esp + 0x60]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x4ac796
push dword [esp + 0x48]
call fcn.00549eaf
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.0054a992
add esp, 0x1b4
ret