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

Disassembly:
push 0xffffffffffffffff
push 0x4e5724
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
push 0x518908
lea ecx, [esp + 0x14]
mov dword [esp + 0x384], 0
call fcn.004d49fb
mov ebp, dword [esp + 0x388]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x274]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x274]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x380], 1
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x38c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x30]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x4918b5
test byte [esp + 0x30], 0x10
je 0x49177f
cmp byte [esp + 0x5c], 0x2e
je 0x49188b
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
lea edx, [esp + 0x170]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5095a0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x170]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x38c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004d4702
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004915f0
mov esi, dword [esp + 0x20]
jmp 0x49188b
push ebp
lea ecx, [esp + 0x14]
call fcn.004d4b16
lea edx, [esp + 0x10]
push 0x5095a0
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004d4c22
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 2
call fcn.004d4ac6
lea ecx, [esp + 0x24]
mov byte [esp + 0x380], 1
call fcn.004d498d
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004d4c22
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 3
call fcn.004d4ac6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x380], 1
call fcn.004d498d
push str..lnk
lea ecx, [esp + 0x18]
call fcn.004d4a4d
lea ecx, [esp + 0x10]
mov byte [esp + 0x380], 4
call fcn.004d4e8f
lea ecx, [esp + 0x14]
call fcn.004d4e8f
lea ecx, [esp + 0x28]
push 4
push ecx
lea ecx, [esp + 0x18]
call fcn.004d3586
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.004aebf6
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.004d498d
test bl, bl
je 0x49187a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.004d4dbd
mov ecx, dword [esp + 0x18]
push eax
call fcn.004919f0
push 0x518908
lea ecx, [esp + 0x14]
call fcn.004d4b16
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 1
call fcn.004d498d
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4918a8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4916b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x380], 0
call fcn.004d498d
lea ecx, [esp + 0x38c]
mov dword [esp + 0x380], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x378]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x374
ret 8