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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431e47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
mov dword [ebp - 0x1f8], 0
push 0x440c54
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x200]
push ecx
lea edx, [ebp - 0x160]
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
jne 0x40c55c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x40c8d5
lea ecx, [ebp - 0x1ac]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00410890
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14c]
and edx, 0x10
test edx, edx
jne 0x40c584
jmp 0x40c64b
mov eax, dword [ebp - 0x14c]
and eax, 2
test eax, eax
je 0x40c596
jmp 0x40c64b
mov ecx, dword [ebp - 0x14c]
and ecx, 0x1000
test ecx, ecx
je 0x40c5ab
jmp 0x40c64b
mov edx, dword [ebp - 0x14c]
and edx, 4
test edx, edx
je 0x40c5bd
jmp 0x40c64b
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov byte [ebp - 4], 4
push 0x440c58
lea edx, [ebp - 0x184]
push edx
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
and eax, 0xff
test eax, eax
jne 0x40c617
push 0x440c5c
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
and eax, 0xff
test eax, eax
je 0x40c629
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x40c64b
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00410930
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c572
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x174]
call fcn.00418c80
push eax
lea ecx, [ebp - 0x174]
call fcn.004190c0
push eax
call fcn.00411430
add esp, 8
lea ecx, [ebp - 0x174]
call fcn.004190c0
mov dword [ebp - 0x164], eax
jmp 0x40c6b6
mov edx, dword [ebp - 0x164]
add edx, 0x10
mov dword [ebp - 0x164], edx
lea ecx, [ebp - 0x174]
call fcn.00418c80
cmp dword [ebp - 0x164], eax
je 0x40c8b3
push 0x34
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1b8], 0
je 0x40c777
lea eax, [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x164]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x1c8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, dword [ebp - 0x1f8]
or ecx, 1
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x1e0]
push edx
mov ecx, dword [ebp - 0x164]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x1dc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov eax, dword [ebp - 0x1f8]
or al, 2
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
push ecx
lea edx, [ebp - 0x1dc]
push edx
mov ecx, dword [ebp - 0x1b8]
call fcn.0041a7a0
mov dword [ebp - 0x204], eax
jmp 0x40c781
mov dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x1f8]
and edx, 2
test edx, edx
je 0x40c7c7
and dword [ebp - 0x1f8], 0xfffffffd
lea ecx, [ebp - 0x1dc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1f8]
and eax, 1
test eax, eax
je 0x40c7ee
and dword [ebp - 0x1f8], 0xfffffffe
lea ecx, [ebp - 0x1c8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x440c60
mov ecx, dword [ebp - 0x164]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1f0]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x20c]
push edx
lea eax, [ebp - 0x198]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1f0]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0x188]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040c498
add esp, 0xc
mov ecx, dword [ebp - 0x188]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040c014
add esp, 0xc
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x1f4], ecx
lea edx, [ebp - 0x1f4]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00410760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x40c6a7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.004108d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret