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

Disassembly:
push 0xffffffffffffffff
push 0x4e55c4
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 0x5188e8
lea ecx, [esp + 0x14]
mov dword [esp + 0x384], 0
call fcn.004d489b
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 0x491975
test byte [esp + 0x30], 0x10
je 0x49183f
cmp byte [esp + 0x5c], 0x2e
je 0x49194b
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.004d45a2
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004916b0
mov esi, dword [esp + 0x20]
jmp 0x49194b
push ebp
lea ecx, [esp + 0x14]
call fcn.004d49b6
lea edx, [esp + 0x10]
push 0x5095a0
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004d4ac2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 2
call fcn.004d4966
lea ecx, [esp + 0x24]
mov byte [esp + 0x380], 1
call fcn.004d482d
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004d4ac2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 3
call fcn.004d4966
lea ecx, [esp + 0x1c]
mov byte [esp + 0x380], 1
call fcn.004d482d
push str..lnk
lea ecx, [esp + 0x18]
call fcn.004d48ed
lea ecx, [esp + 0x10]
mov byte [esp + 0x380], 4
call fcn.004d4d2f
lea ecx, [esp + 0x14]
call fcn.004d4d2f
lea ecx, [esp + 0x28]
push 4
push ecx
lea ecx, [esp + 0x18]
call fcn.004d3426
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.004aea96
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.004d482d
test bl, bl
je 0x49193a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.004d4c5d
mov ecx, dword [esp + 0x18]
push eax
call fcn.00491ab0
push 0x5188e8
lea ecx, [esp + 0x14]
call fcn.004d49b6
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 1
call fcn.004d482d
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x491968
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x491776
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.004d482d
lea ecx, [esp + 0x38c]
mov dword [esp + 0x380], 0xffffffff
call fcn.004d482d
mov ecx, dword [esp + 0x378]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x374
ret 8