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

Disassembly:
push 0xffffffffffffffff
push 0x408d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x40e018]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40e018]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2e0]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x1b1]
push ebx
mov dword [esp + 0x2c4], ebx
push eax
mov byte [esp + 0x1b8], bl
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x2d4]
add esp, 0xc
cmp dword [esp + 0x2dc], 0x10
jae 0x405440
lea eax, [esp + 0x2c8]
push eax
push str._s
lea ecx, [esp + 0x1b4]
push 0x104
push ecx
call dword [sym.imp.MSVCR90.dll__snprintf]
push 0x13c
lea edx, [esp + 0x84]
push ebx
push edx
mov dword [esp + 0x88], ebx
call sub.MSVCR90.dll_memset
add esp, 0x1c
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1b0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40559c
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
lea ebx, [ebx]
cmp byte [esp + 0x98], 0x2e
je 0x405581
test byte [esp + 0x6c], 0x10
je 0x405526
push 0x40ac14
lea edx, [esp + 0x2c8]
push edx
lea eax, [esp + 0x20]
push eax
call esi
lea ecx, [esp + 0xa4]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x2d4], 1
call esi
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
sub esp, 0x1c
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.004053c0
add esp, 0x20
lea ecx, [esp + 0x50]
mov byte [esp + 0x2bc], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x405581
lea ecx, [esp + 0x2c4]
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x40ac14
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c0], 4
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea eax, [esp + 0x34]
push eax
mov ebx, edi
call fcn.00406e50
lea ecx, [esp + 0x34]
mov byte [esp + 0x2bc], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor ebx, ebx
lea ecx, [esp + 0x6c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4054a0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x2c4]
mov dword [esp + 0x2bc], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00407ec8
add esp, 0x2ac
ret