Function at 0x5516f8
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 0x551701
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 0x551ace
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.00408624
mov eax, dword [ebp - 0x154]
push eax
lea edx, [ebp - 0x158]
mov eax, 0x551ae8
call fcn.00408624
mov eax, dword [ebp - 0x158]
pop edx
call fcn.004047e4
test eax, eax
jle 0x5517a5
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 8]
call fcn.00408624
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x160]
mov eax, 0x551b08
call fcn.00408624
mov eax, dword [ebp - 0x160]
pop edx
call fcn.004047e4
test eax, eax
jg 0x551a98
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 8]
call fcn.00408624
mov eax, dword [ebp - 0x164]
push eax
lea edx, [ebp - 0x168]
mov eax, 0x551ae8
call fcn.00408624
mov eax, dword [ebp - 0x168]
pop edx
call fcn.004047e4
test eax, eax
jle 0x551813
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 8]
call fcn.00408624
mov eax, dword [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, 0x551b2c
call fcn.00408624
mov eax, dword [ebp - 0x170]
pop edx
call fcn.004047e4
test eax, eax
jg 0x551a98
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 8]
call fcn.00408624
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x178]
mov eax, 0x551ae8
call fcn.00408624
mov eax, dword [ebp - 0x178]
pop edx
call fcn.004047e4
test eax, eax
jle 0x551881
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 8]
call fcn.00408624
mov eax, dword [ebp - 0x17c]
push eax
lea edx, [ebp - 0x180]
mov eax, 0x551b3c
call fcn.00408624
mov eax, dword [ebp - 0x180]
pop edx
call fcn.004047e4
test eax, eax
jg 0x551a98
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x184]
mov ecx, 0x551b50
mov edx, dword [ebp - 8]
call main
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 0x551a8a
mov eax, dword [0x55e354]
cmp byte [eax], 2
je 0x551a92
mov eax, dword [0x55e810]
mov eax, dword [eax]
call fcn.0048fe70
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404450
push dword [ebp - 8]
push 0x551b60
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.00408764
mov eax, dword [ebp - 0x188]
push eax
lea edx, [ebp - 0x190]
mov eax, 0x551b6c
call fcn.00408764
mov eax, dword [ebp - 0x190]
pop edx
call fcn.004047e4
test eax, eax
jg 0x551a98
mov eax, dword [ebp - 0x150]
cmp eax, 0x10
je 0x551973
cmp eax, 2
je 0x551973
cmp eax, 4
je 0x551973
cmp eax, 0x80
je 0x551973
cmp eax, 0x100
je 0x551973
test eax, eax
jbe 0x551a77
cmp eax, 0x270f
jae 0x551a77
push dword [ebp - 8]
push 0x551b60
push dword [ebp - 0x10]
lea eax, [ebp - 0x194]
mov edx, 3
call fcn.00404560
mov edx, dword [ebp - 0x194]
mov eax, esi
call fcn.0047002c
mov eax, dword [ebp - 0x10]
mov edx, 0x551b7c
call fcn.004045ec
je 0x551a1a
mov eax, dword [ebp - 0x10]
mov edx, 0x551b88
call fcn.004045ec
je 0x551a1a
push dword [ebp - 8]
push 0x551b60
push dword [ebp - 0x10]
lea eax, [ebp - 0x198]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 0x198]
call fcn.004a7694
test al, al
je 0x551a1a
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
push dword [ebp - 8]
push 0x551b60
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 [0xbd3564]
call fcn.005516f8
push dword [ebp - 8]
push 0x551b60
push dword [ebp - 0x10]
lea eax, [ebp - 0x1a0]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 0x1a0]
call fcn.00409270
test al, al
je 0x551a77
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp - 8]
push 0x551b60
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.005546b4
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 0x5518b9
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551ad5
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