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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152716
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], ecx
push 0x101676e8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.1000aef0
add esp, 0xc
mov dword [ebp - 0x2ac], eax
lea edx, [ebp - 0x290]
push edx
mov ecx, dword [ebp - 0x2ac]
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x2c4]
call fcn.10002d10
cmp dword [ebp - 0x294], 0xffffffff
jne 0x100479c6
push 0x10048240
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Invalid_handle_value._Error:
mov eax, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
push eax
call fcn.1001fd10
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
jmp 0x10047b41
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10002c60
mov dword [ebp - 4], 0
push 0x1016772c
lea edx, [ebp - 0x28]
push edx
call fcn.1001b730
add esp, 8
movzx eax, al
test eax, eax
jne 0x10047a0c
push 0x10167730
lea ecx, [ebp - 0x28]
push ecx
call fcn.1001b730
add esp, 8
movzx edx, al
test edx, edx
je 0x10047a20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002d10
jmp 0x10047b18
push 0x10167738
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2f4]
push ecx
call fcn.1000aef0
add esp, 0xc
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10048280
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2f4]
call fcn.10002d10
mov eax, dword [ebp - 0x290]
and eax, 0x10
je 0x10047a94
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x298]
call fcn.10047910
jmp 0x10047afd
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.10002460
add eax, 1
push eax
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x40]
call fcn.10018580
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10001960
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.10001960
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.10129f10
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2dc]
call fcn.10002d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002d10
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100479c6
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 8