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

Disassembly:
push 0xffffffffffffffff
push 0x10012b8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x46c
push ebp
push esi
mov esi, dword [esp + 0x484]
mov dword [esp + 8], ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x270]
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.kernel32.dll_lstrlen]
cmp byte [eax + esi - 1], 0x5c
je 0x10004942
mov edi, 0x10016314
mov dword [esp + 0x14], edi
jmp 0x1000494e
mov dword [esp + 0x14], 0x10018420
mov edi, dword [esp + 0x14]
mov ebp, dword [sym.imp.user32.dll_wsprintfA]
push edi
push esi
lea eax, [esp + 0x278]
push str._s_s.
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x270]
push ecx
push edx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x1000498b
xor al, al
jmp 0x10004b01
push ebx
xor ebx, ebx
cmp byte [esp + 0x5c], 0x2e
je 0x10004adb
test byte [esp + 0x30], 0x10
lea eax, [esp + 0x5c]
push eax
push edi
push esi
push str._s_s_s
je 0x100049cf
lea ecx, [esp + 0x388]
push ecx
call ebp
mov ecx, dword [esp + 0x24]
add esp, 0x14
lea edx, [esp + 0x378]
push edx
call fcn.100048f0
jmp 0x10004adb
lea ecx, [esp + 0x180]
push ecx
call ebp
lea edi, [esp + 0x184]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x17]
push 1
not ecx
dec ecx
mov byte [esp + 0x20], dl
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.msvcp60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10004a3a
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x170]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [ecx + ebp], bl
mov edx, dword [esp + 0x10]
push 0x18
mov dword [esp + 0x488], ebx
mov esi, dword [edx + 0x14]
mov edi, dword [esi + 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x10004a5d
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebx
mov ecx, edi
jne 0x10004a67
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x1c]
add eax, 8
push ecx
push eax
call fcn.10004f80
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x484], 0xffffffff
mov edx, dword [eax + 0x18]
inc edx
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10004abe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10004ab5
cmp al, 0xff
je 0x10004ab5
dec al
mov byte [ecx], al
jmp 0x10004abe
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x48c]
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.user32.dll_wsprintfA]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x1000498e
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.kernel32.dll_FindClose]
mov al, 1
pop ebx
mov ecx, dword [esp + 0x478]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x478
ret 4