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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x4de377
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x4de32e
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b14
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404d6c
mov eax, dword [ebp - 0x154]
mov edx, 0x4de390
call fcn.00404c58
jne 0x4de18a
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b14
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404d6c
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jg 0x4de1bc
lea eax, [ebp - 0x158]
mov ecx, 0x4de39c
mov edx, dword [ebp - 4]
call fcn.00404b60
mov edx, dword [ebp - 0x158]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jle 0x4de1c5
mov byte [ebp - 5], 1
jmp 0x4de32e
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x15c]
mov ecx, 0x4de39c
mov edx, dword [ebp - 4]
call fcn.00404b60
mov eax, dword [ebp - 0x15c]
call fcn.00404d0c
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4de32e
xor edx, edx
push ebp
push 0x4de327
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404ac4
mov eax, dword [ebp - 0x160]
mov edx, 0x4de3a8
call fcn.00404c58
je 0x4de2f8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404ac4
mov eax, dword [ebp - 0x164]
mov edx, 0x4de3b4
call fcn.00404c58
je 0x4de2f8
push dword [ebp - 4]
push 0x4de390
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404ac4
push dword [ebp - 0x168]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404bd4
mov eax, dword [ebp - 0x150]
and eax, 0x10
cmp eax, 0x10
sete al
test al, al
je 0x4de2e2
lea eax, [ebp - 0x16c]
mov ecx, 0x4de39c
mov edx, dword [ebp - 0x10]
call fcn.00404b60
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x4de2f2
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004de0dc
mov byte [ebp - 5], al
jmp 0x4de2f2
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x4de310
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4de20b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de32e
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de37e
lea eax, [ebp - 0x16c]
call fcn.0040485c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404880
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404880
lea eax, [ebp - 0x10]
call fcn.0040485c
lea eax, [ebp - 4]
call fcn.0040485c
ret