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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5025cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
push ebx
push esi
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2fc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x300], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x84]
mov byte [esp + 0x2fc], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x5231f8
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x70]
mov bl, 3
push edx
mov byte [esp + 0x308], bl
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x300], 4
call dword [0x5096b8]
lea ecx, [esp + 0x68]
mov byte [esp + 0x2fc], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x4f4502
lea eax, [esp + 0x50]
lea ecx, [esp + 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x4f4690
mov ebx, dword [ebp + 0x10]
jmp 0x4f4530
mov esi, dword [sym.imp.MSVCR80.dll_wcsncmp]
push 1
lea edx, [esp + 0xd0]
push 0x523200
push edx
call esi
add esp, 0xc
test eax, eax
je 0x4f4672
push 2
lea eax, [esp + 0xd0]
push 0x523204
push eax
call esi
add esp, 0xc
test eax, eax
je 0x4f4672
test byte [esp + 0xa0], 0x10
je 0x4f4604
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [esp + 0x18]
call dword [0x5096b8]
push 0x5231c0
lea ecx, [esp + 0x18]
call dword [0x509758]
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x18]
call dword [0x509758]
push 0x523240
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebx + 0x14], 0
jbe 0x4f45da
push ebx
lea ecx, [esp + 0x34]
call dword [0x5096b8]
push 0x5231c0
lea ecx, [esp + 0x34]
call dword [0x509758]
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x34]
call dword [0x509758]
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004f4440
add esp, 0xc
jmp 0x4f4672
push 0x523240
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebx + 0x14], 0
jbe 0x4f4633
push ebx
lea ecx, [esp + 0x18]
call dword [0x5096b8]
push 0x5231c0
lea ecx, [esp + 0x18]
call dword [0x509758]
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x18]
call dword [0x509758]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
push esi
call fcn.00401220
mov ecx, dword [ebp + 0xc]
push 1
mov edi, eax
call fcn.004012c0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4f4530
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 8]
lea ecx, [esp + 0x84]
mov byte [esp + 0x2fc], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2fc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x2fc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2fc], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x2f4]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret