Function at 0x4f1050
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x6a8
mov eax, dword [ecx + 0x14]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x14], ecx
je 0x4f1075
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x6a8
ret
mov ebx, dword [ecx + 0xc]
lea ebp, [ecx + 4]
mov eax, ebx
mov edx, dword [ebp + 4]
cmp eax, ebx
je 0x4f10a2
mov esi, eax
mov edi, edx
add eax, 0x20c
mov ecx, 0x83
add edx, 0x20c
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x4f1084
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp + 8], edx
mov dword [esp + 0x10], eax
call fcn.004f0fb0
mov esi, eax
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x4f10cc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6a8
ret
mov cx, word [0x52a480]
xor eax, eax
mov word [esp + 0x2a4], cx
mov ecx, 0x81
lea edi, [esp + 0x2a6]
push 0x51169c
rep stosd dword es:[edi], eax
push esi
push 0x50f5ec
lea edx, [esp + 0x2b0]
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [esp + 0x54]
lea ecx, [esp + 0x2a4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4f1137
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6a8
ret
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea edx, [esp + 0x80]
push 0x511698
push edx
call edi
add esp, 8
test eax, eax
je 0x4f129d
lea eax, [esp + 0x80]
push 0x511690
push eax
call edi
add esp, 8
test eax, eax
je 0x4f129d
test byte [esp + 0x54], 0x10
jne 0x4f129d
mov ecx, 0x83
xor eax, eax
lea edi, [esp + 0x4ac]
lea edx, [esp + 0x4ac]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x80]
push ecx
push esi
push 0x50f5ec
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [esp + 0x80]
push eax
call ebx
test eax, eax
je 0x4f129d
push str..dat
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4f129d
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4f1281
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4f1281
mov eax, dword [esp + 0x18]
cmp ax, 0x76c
jae 0x4f1216
xor eax, eax
jmp 0x4f1281
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x22]
and edx, 0xffff
and ecx, 0xffff
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
and edx, 0xffff
and eax, 0xffff
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1a]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1e]
sub eax, 0x76c
and edx, 0xffff
mov dword [esp + 0x44], eax
and ecx, 0xffff
lea eax, [esp + 0x30]
dec edx
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCRT.dll_mktime]
add esp, 4
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x4ac]
push ecx
push 1
push edx
mov ecx, ebp
mov dword [esp + 0x6c0], eax
call fcn.004e0bb0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4f113d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [ecx + 0x14], eax
pop ebx
add esp, 0x6a8
ret