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

Disassembly:
push 0xffffffffffffffff
push 0x55cea1
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x586220]
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 0x4203b0
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c8], 1
push ebp
push eax
call fcn.00486700
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x60]
cmp eax, esi
je 0x489875
cmp dword [esp + 0x74], 0x10
jb 0x489856
push dword [esp + 0x60]
call fcn.00534995
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.00440170
cmp dword [esp + 0x2c], 0x10
jb 0x489888
push dword [esp + 0x18]
call fcn.00534995
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 [0x57e15c]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
je 0x489a99
mov ebx, dword [esp + 0x1d4]
mov esi, eax
lea ebx, [ebx]
cmp byte [esp + 0xa4], 0x2e
je 0x489a57
test edi, edi
je 0x48990d
test ebx, ebx
jne 0x48990d
lea eax, [esp + 0xa4]
mov ecx, edi
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x489900
test dl, dl
je 0x4898fc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x489900
add ecx, 2
add eax, 2
test dl, dl
jne 0x4898e0
xor eax, eax
jmp 0x489905
sbb eax, eax
or eax, 1
test eax, eax
je 0x489a57
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
mov dword [esp + 0x58], 0
cmovae eax, dword [esp + 0x48]
push 0x41fab0
push ebp
mov byte [eax], 0
lea eax, [esp + 0x38]
push eax
call fcn.00486700
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1d0], 2
push ecx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00486660
mov esi, eax
add esp, 0x18
lea eax, [esp + 0x48]
cmp eax, esi
je 0x4899ce
cmp dword [esp + 0x5c], 0x10
jb 0x489971
push dword [esp + 0x48]
call fcn.00534995
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
cmp dword [esi + 0x14], 0x10
jae 0x4899a3
mov eax, dword [esi + 0x10]
inc eax
je 0x4899af
push eax
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00534b20
add esp, 0xc
jmp 0x4899af
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 0x4899e1
push dword [esp + 0x18]
call fcn.00534995
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 0x489a11
push dword [esp + 0x30]
call fcn.00534995
add esp, 4
test byte [esp + 0x78], 0x10
je 0x489a3c
lea eax, [ebx + 1]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.004897a0
add esp, 0xc
test al, al
jne 0x489a53
push dword [esp + 0x14]
call dword [0x57e07c]
xor bl, bl
jmp 0x489a9b
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
call fcn.0048c350
add esp, 4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
push esi
call dword [0x57e078]
test eax, eax
jne 0x4898c0
push esi
call dword [0x57e07c]
call dword [0x57e230]
cmp eax, 0x12
jne 0x489a95
test ebx, ebx
je 0x489a99
cmp dword [ebp + 0x14], 0x10
jb 0x489a8a
mov ebp, dword [ebp]
push ebp
call dword [0x57e0b4]
test eax, eax
jne 0x489a99
xor bl, bl
jmp 0x489a9b
mov bl, 1
cmp dword [esp + 0x74], 0x10
jb 0x489aae
push dword [esp + 0x60]
call fcn.00534995
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x489ad6
push dword [esp + 0x48]
call fcn.00534995
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.00535482
add esp, 0x1b4
ret