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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x54a0b9
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.00404690
mov eax, dword [ebp + 0x10]
call fcn.00404690
xor eax, eax
push ebp
push 0x54a486
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.0040863c
mov eax, dword [ebp - 0x154]
push eax
lea edx, [ebp - 0x158]
mov eax, 0x54a4a0
call fcn.0040863c
mov eax, dword [ebp - 0x158]
pop edx
call fcn.004047e4
test eax, eax
jle 0x54a15d
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 8]
call fcn.0040863c
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x160]
mov eax, 0x54a4c0
call fcn.0040863c
mov eax, dword [ebp - 0x160]
pop edx
call fcn.004047e4
test eax, eax
jg 0x54a450
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 8]
call fcn.0040863c
mov eax, dword [ebp - 0x164]
push eax
lea edx, [ebp - 0x168]
mov eax, 0x54a4a0
call fcn.0040863c
mov eax, dword [ebp - 0x168]
pop edx
call fcn.004047e4
test eax, eax
jle 0x54a1cb
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 8]
call fcn.0040863c
mov eax, dword [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, 0x54a4e4
call fcn.0040863c
mov eax, dword [ebp - 0x170]
pop edx
call fcn.004047e4
test eax, eax
jg 0x54a450
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 8]
call fcn.0040863c
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x178]
mov eax, 0x54a4a0
call fcn.0040863c
mov eax, dword [ebp - 0x178]
pop edx
call fcn.004047e4
test eax, eax
jle 0x54a239
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 8]
call fcn.0040863c
mov eax, dword [ebp - 0x17c]
push eax
lea edx, [ebp - 0x180]
mov eax, 0x54a4f4
call fcn.0040863c
mov eax, dword [ebp - 0x180]
pop edx
call fcn.004047e4
test eax, eax
jg 0x54a450
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x184]
mov ecx, 0x54a508
mov edx, dword [ebp - 8]
call fcn.004044ec
mov eax, dword [ebp - 0x184]
call fcn.004046a0
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
setne al
jmp 0x54a442
mov eax, dword [0x559340]
cmp byte [eax], 2
je 0x54a44a
mov eax, dword [0x559800]
mov eax, dword [eax]
call fcn.00490fec
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404450
push dword [ebp - 8]
push 0x54a518
push dword [ebp - 0x10]
lea eax, [ebp - 0x18c]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
call fcn.0040877c
mov eax, dword [ebp - 0x188]
push eax
lea edx, [ebp - 0x190]
mov eax, 0x54a524
call fcn.0040877c
mov eax, dword [ebp - 0x190]
pop edx
call fcn.004047e4
test eax, eax
jg 0x54a450
mov eax, dword [ebp - 0x150]
cmp eax, 0x10
je 0x54a32b
cmp eax, 2
je 0x54a32b
cmp eax, 4
je 0x54a32b
cmp eax, 0x80
je 0x54a32b
cmp eax, 0x100
je 0x54a32b
test eax, eax
jbe 0x54a42f
cmp eax, 0x270f
jae 0x54a42f
push dword [ebp - 8]
push 0x54a518
push dword [ebp - 0x10]
lea eax, [ebp - 0x194]
mov edx, 3
call fcn.00404560
mov edx, dword [ebp - 0x194]
mov eax, esi
call fcn.004711a8
mov eax, dword [ebp - 0x10]
mov edx, 0x54a534
call fcn.004045ec
je 0x54a3d2
mov eax, dword [ebp - 0x10]
mov edx, 0x54a540
call fcn.004045ec
je 0x54a3d2
push dword [ebp - 8]
push 0x54a518
push dword [ebp - 0x10]
lea eax, [ebp - 0x198]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 0x198]
call fcn.004a70ec
test al, al
je 0x54a3d2
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
push dword [ebp - 8]
push 0x54a518
push dword [ebp - 0x10]
lea eax, [ebp - 0x19c]
mov edx, 3
call fcn.00404560
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [0xbce4ec]
call fcn.0054a0b0
push dword [ebp - 8]
push 0x54a518
push dword [ebp - 0x10]
lea eax, [ebp - 0x1a0]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 0x1a0]
call fcn.00409288
test al, al
je 0x54a42f
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp - 8]
push 0x54a518
push dword [ebp - 0x10]
lea eax, [ebp - 0x1a4]
mov edx, 3
call fcn.00404560
mov ecx, dword [ebp - 0x1a4]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0054d47c
lea eax, [ebp - 0x150]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x54a271
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a48d
lea eax, [ebp - 0x1a4]
mov edx, 0x15
call fcn.00404204
lea eax, [ebp - 0x10]
call fcn.004041e0
lea eax, [ebp - 8]
call fcn.004041e0
lea eax, [ebp + 0x10]
call fcn.004041e0
ret