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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x54ae96
mov dword [ebp - 0x18], 1
jmp 0x54ae9d
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x54af02
mov eax, dword [ebp - 0x164]
and eax, 0x10
jne 0x54aeec
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0054add0
mov ecx, dword [ebp + 0x18]
add ecx, 1
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x10], eax
jmp 0x54aea3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
jne 0x54af1a
mov eax, dword [ebp - 0xc]
jmp 0x54b091
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.0067f450
add esp, 8
mov dword [ebp - 8], eax
push str..
mov ecx, dword [ebp - 8]
push ecx
call fcn.006b6b40
add esp, 8
lea edx, [ebp - 0x164]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x54af5f
mov dword [ebp - 0x1c], 1
jmp 0x54af66
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x54b084
mov edx, dword [ebp - 0x164]
and edx, 0x10
je 0x54b06b
lea eax, [ebp - 0x138]
push eax
call fcn.006b6c40
add esp, 4
movsx ecx, byte [ebp + eax - 0x139]
cmp ecx, 0x2e
je 0x54b06b
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x268]
push eax
call fcn.006b6b40
add esp, 8
push 0x5c
lea ecx, [ebp - 0x268]
push ecx
call fcn.0067f450
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x36c]
push eax
call fcn.006b6b40
add esp, 8
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.006b6b40
add esp, 8
lea ecx, [ebp - 0x36c]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.006b6b50
add esp, 8
mov eax, dword [ebp + 0x20]
push eax
push 0xffffffffffffffff
movzx ecx, byte [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0054add0
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
movzx ecx, byte [ebp + 0x14]
add ecx, 1
push ecx
push 0
push 1
lea edx, [ebp - 0x268]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0054ae60
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 0x20]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x164]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x10], eax
jmp 0x54af6c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x1c