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

Disassembly:
mov eax, 0x548943
call fcn.0054565c
sub esp, 0x274
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 5
ja 0x49c245
pop ss
ljmp 0x366f
mov ecx, dword [ebp + 8]
call fcn.00477631
test al, al
je 0x49c2fb
push 0x250
lea eax, [ebp - 0x280]
push edi
push eax
call fcn.0041b930
add esp, 0xc
push 0x5c
pop eax
push eax
push dword [ebp + 8]
call fcn.0041c62c
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x49c286
or ecx, 0xffffffff
jmp 0x49c28a
sub ecx, eax
sar ecx, 1
mov ebx, dword [eax - 0xc]
lea eax, [ebx - 1]
cmp ecx, eax
je 0x49c2b3
lea esi, [ebx + 1]
push esi
lea ecx, [ebp + 8]
call fcn.00402558
push 0x5c
pop ecx
mov word [eax + ebx*2], cx
push esi
lea ecx, [ebp + 8]
call fcn.00402bc0
mov esi, dword [ebp - 0x14]
push 0x55a688
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401d86
pop ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
test ebx, ebx
je 0x49c2ed
cmp ebx, 0xffffffff
jne 0x49c45c
push 2
pop edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004013c0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004013c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
lea eax, [ebp - 0x254]
push 0x558280
push eax
call fcn.0041c1ec
pop ecx
pop ecx
test eax, eax
je 0x49c45c
lea eax, [ebp - 0x254]
push 0x5590cc
push eax
call fcn.0041c1ec
pop ecx
pop ecx
test eax, eax
je 0x49c45c
test byte [ebp - 0x280], 0x10
lea eax, [ebp - 0x254]
push eax
je 0x49c3c6
lea ecx, [ebp - 0x24]
call fcn.00401a3b
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401d27
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004013c0
push ecx
mov ecx, dword [ebp - 0x10]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.00402beb
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0049c1e0
mov edi, eax
pop ecx
test edi, edi
je 0x49c3b2
cmp esi, 0xd
jne 0x49c499
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004013c0
jmp 0x49c45c
lea edx, [ebp + 8]
cmp esi, 0xa
jne 0x49c3f7
lea ecx, [ebp - 0x1c]
call fcn.00401d86
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [eax]
call fcn.004762c6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.004013c0
test edi, edi
jmp 0x49c456
lea ecx, [ebp - 0x28]
call fcn.00401d86
pop ecx
mov ecx, dword [eax]
call fcn.004771b8
mov ecx, dword [ebp - 0x28]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.004013c0
test edi, edi
je 0x49c45c
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.00401d86
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [eax]
call fcn.004762c6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.004013c0
test edi, edi
je 0x49c45c
cmp edi, 0x80070005
je 0x49c45c
cmp esi, 0xd
jne 0x49c2f0
lea eax, [ebp - 0x280]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49c317
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x49c2f0
mov ecx, dword [ebp + 8]
call fcn.004762c6
mov edi, eax
jmp 0x49c2f0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004013c0
jmp 0x49c2f0