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

Disassembly:
push 0xffffffffffffffff
push 0x4e4574
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 0x517348
lea ecx, [esp + 0x14]
mov dword [esp + 0x384], 0
call fcn.004d38eb
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 0x490e35
test byte [esp + 0x30], 0x10
je 0x490cff
cmp byte [esp + 0x5c], 0x2e
je 0x490e0b
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, 0x50857c
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.004d35f2
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00490b70
mov esi, dword [esp + 0x20]
jmp 0x490e0b
push ebp
lea ecx, [esp + 0x14]
call fcn.004d3a06
lea edx, [esp + 0x10]
push 0x50857c
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004d3b12
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 2
call fcn.004d39b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x380], 1
call fcn.004d387d
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004d3b12
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 3
call fcn.004d39b6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x380], 1
call fcn.004d387d
push str..lnk
lea ecx, [esp + 0x18]
call fcn.004d393d
lea ecx, [esp + 0x10]
mov byte [esp + 0x380], 4
call fcn.004d3d7f
lea ecx, [esp + 0x14]
call fcn.004d3d7f
lea ecx, [esp + 0x28]
push 4
push ecx
lea ecx, [esp + 0x18]
call fcn.004d2476
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.004adbb0
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.004d387d
test bl, bl
je 0x490dfa
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.004d3cad
mov ecx, dword [esp + 0x18]
push eax
call fcn.00490f70
push 0x517348
lea ecx, [esp + 0x14]
call fcn.004d3a06
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 1
call fcn.004d387d
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x490e28
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x490c36
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.004d387d
lea ecx, [esp + 0x38c]
mov dword [esp + 0x380], 0xffffffff
call fcn.004d387d
mov ecx, dword [esp + 0x378]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x374
ret 8