Function at 0x4eae54
Capabilities:
Enumerate files on windows
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd40
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404e78
xor eax, eax
push ebp
push 0x4eb11d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2b4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e88
push eax
call sub.KERNEL32.DLL_FindFirstFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4eb0ea
xor eax, eax
push ebp
push 0x4eb0e3
push dword fs:[eax]
mov dword fs:[eax], esp
test dword [ebp - 0x2b4], 0x10
ja 0x4eb0b4
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x288]
mov ecx, 0x104
call fcn.00404c38
lea eax, [ebp - 0x174]
xor ecx, ecx
mov edx, 0x160
call fcn.00403230
push 0x4700
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404e88
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x298]
mov eax, ebx
neg ebx
add ebx, dword [ebp - 0x294]
cmp ebx, 0x400
jge 0x4eaf3f
test ebx, ebx
jle 0x4eaf3f
mov ebx, 0x400
test ebx, ebx
jns 0x4eaf49
add ebx, 0x3ff
sar ebx, 0xa
push 0x4eb134
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4eb148
lea edx, [ebp - 0x2a0]
mov eax, esi
call fcn.004ec250
mov eax, dword [ebp - 0x10]
mov edx, 0x4eb15c
call fcn.00404dd4
je 0x4eb0b4
mov eax, dword [ebp - 0x10]
mov edx, 0x4eb168
call fcn.00404dd4
je 0x4eb0b4
mov eax, dword [esi + 0x328]
mov eax, dword [eax + 0x22c]
call fcn.0044ec30
mov edi, eax
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.0044e6d0
mov ecx, dword [ebp - 0x170]
xor edx, edx
mov eax, edi
call fcn.0044e888
lea edx, [ebp - 0x2b8]
mov eax, ebx
call fcn.004096c0
lea eax, [ebp - 0x2b8]
mov edx, 0x4eb174
call fcn.00404c90
mov edx, dword [ebp - 0x2b8]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2bc]
lea edx, [ebp - 0x64]
mov ecx, 0x50
call fcn.00404c38
mov edx, dword [ebp - 0x2bc]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xc]
mov edx, dword [esi + 0x320]
mov edx, dword [edx + 0x338]
call fcn.00404a60
mov eax, dword [ebp - 0xc]
call fcn.00404c88
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x4eb043
lea eax, [ebp - 0xc]
mov edx, 0x4eb180
call fcn.00404c90
mov eax, dword [esi + 0x320]
call fcn.0044950c
cmp dword [eax + 0x20], 2
jne 0x4eb05f
mov dl, 1
mov eax, edi
call fcn.0044e668
jmp 0x4eb0b4
mov eax, dword [esi + 0x320]
call fcn.0044950c
cmp dword [eax + 0x20], 3
jne 0x4eb0ab
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x2c0]
mov edx, dword [ebp - 0xc]
call fcn.00404cd4
mov edx, dword [ebp - 0x2c0]
mov eax, dword [esi + 0x32c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x4eb0a0
mov dl, 1
mov eax, edi
call fcn.0044e668
jmp 0x4eb0b4
xor edx, edx
mov eax, edi
call fcn.0044e668
jmp 0x4eb0b4
xor edx, edx
mov eax, edi
call fcn.0044e668
lea eax, [ebp - 0x2b4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4eaec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb0ea
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb124
lea eax, [ebp - 0x2c0]
mov edx, 3
call fcn.004049ec
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004049ec
lea eax, [ebp - 4]
call fcn.004049c8
ret