Function at 0x48fb10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x48fb30
xor eax, eax
jmp 0x48fdd5
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00405520
lea ecx, [ebp - 0x26c]
call fcn.00405620
movzx ecx, al
test ecx, ecx
je 0x48fb71
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x26c]
call fcn.00406190
mov eax, dword [ebp - 0x274]
jmp 0x48fdd5
lea ecx, [ebp - 0x26c]
call fcn.00406180
sub eax, 1
push eax
lea ecx, [ebp - 0x26c]
call fcn.00402a10
movzx edx, ax
cmp edx, 0x5c
je 0x48fba0
push 0x5c
lea ecx, [ebp - 0x26c]
call fcn.00448aa0
lea ecx, [ebp - 0x26c]
call fcn.00406180
cmp eax, 3
jg 0x48fbd0
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x26c]
call fcn.00406190
mov eax, dword [ebp - 0x278]
jmp 0x48fdd5
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00405e60
push 0x54d83c
lea ecx, [ebp - 0x25c]
call fcn.00405a70
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
jne 0x48fc45
mov dword [ebp - 0x27c], 0
lea ecx, [ebp - 0x25c]
call fcn.00406190
lea ecx, [ebp - 0x26c]
call fcn.00406190
mov eax, dword [ebp - 0x27c]
jmp 0x48fdd5
mov dword [ebp - 0x264], 1
cmp dword [ebp - 0x264], 0
je 0x48fd53
movzx edx, word [ebp - 0x22c]
cmp edx, 0x2e
jne 0x48fca6
movzx eax, word [ebp - 0x22a]
test eax, eax
je 0x48fc8a
movzx ecx, word [ebp - 0x22a]
cmp ecx, 0x2e
jne 0x48fca6
movzx edx, word [ebp - 0x228]
test edx, edx
jne 0x48fca6
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x264], eax
jmp 0x48fc4f
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x270]
call fcn.00405e60
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00405a70
mov ecx, dword [ebp - 0x258]
and ecx, 0x10
je 0x48fceb
lea ecx, [ebp - 0x270]
call fcn.00406010
push eax
call fcn.0048fb10
add esp, 4
jmp 0x48fd29
push 0x80
lea ecx, [ebp - 0x270]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x270]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x48fd29
lea ecx, [ebp - 0x270]
call fcn.00406010
push eax
call fcn.00497700
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x270]
call fcn.00406190
jmp 0x48fc4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x260], 0x12
je 0x48fd9d
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x25c]
call fcn.00406190
lea ecx, [ebp - 0x26c]
call fcn.00406190
mov eax, dword [ebp - 0x280]
jmp 0x48fdd5
lea ecx, [ebp - 0x26c]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x284], 1
lea ecx, [ebp - 0x25c]
call fcn.00406190
lea ecx, [ebp - 0x26c]
call fcn.00406190
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret