Function at 0x40c014
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431da6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push str..app
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1e0]
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 - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x240]
push ecx
lea edx, [ebp - 0x170]
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 - 0x1e0]
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 - 0x170]
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 0x40c0ce
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
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 0x40c48a
lea ecx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00410890
mov byte [ebp - 4], 3
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1f4]
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 - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x248]
push ecx
lea edx, [ebp - 0x184]
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], 6
lea ecx, [ebp - 0x1f4]
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 - 0x1cc]
push eax
lea ecx, [ebp - 0x184]
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.MSVCRT.dll__stat]
add esp, 8
push 0x68
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1fc], 0
je 0x40c18b
mov ecx, dword [ebp - 0x1fc]
call fcn.0041a8f0
mov dword [ebp - 0x24c], eax
jmp 0x40c195
mov dword [ebp - 0x24c], 0
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x188], edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x184]
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 - 0x20c]
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], 8
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x188]
add ecx, 0x24
call fcn.004104e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20c]
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 - 0x184]
push edx
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__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 9
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 0x5c
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char__unsigned_int_const]
mov dword [ebp - 0x1d0], eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ebp - 0x1d0]
cmp eax, dword [edx]
je 0x40c29c
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x1d0]
add eax, 1
push eax
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP60.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP60.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x220]
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 ecx, [ebp - 0x1a8]
push ecx
mov ecx, dword [ebp - 0x188]
add ecx, 0x58
call dword [sym.imp.MSVCP60.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 0x2e
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char__unsigned_int_const]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ebp - 0x1d0]
cmp edx, dword [ecx]
je 0x40c334
mov eax, dword [ebp - 0x1d0]
push eax
push 0
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP60.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP60.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
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 ecx, [ebp - 0x1a8]
push ecx
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__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x1a8]
push edx
mov ecx, dword [ebp - 0x188]
call fcn.004104a0
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x188]
call fcn.004104c0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x188]
add ecx, 0x48
call dword [sym.imp.MSVCP60.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [ebp - 0x188]
push edx
lea ecx, [ebp - 0x160]
call fcn.004109a0
mov byte [ebp - 4], 9
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_]
mov byte [ebp - 4], 6
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_]
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 eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c0e4
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x234]
push eax
lea ecx, [ebp - 0x160]
call fcn.00418c80
push eax
lea ecx, [ebp - 0x160]
call fcn.004190c0
push eax
call fcn.00411400
add esp, 0xc
lea ecx, [ebp - 0x160]
call fcn.004190c0
mov dword [ebp - 0x174], eax
jmp 0x40c436
mov ecx, dword [ebp - 0x174]
add ecx, 4
mov dword [ebp - 0x174], ecx
lea ecx, [ebp - 0x160]
call fcn.00418c80
cmp dword [ebp - 0x174], eax
je 0x40c468
mov edx, dword [ebp - 0x174]
mov eax, dword [edx]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00410760
jmp 0x40c427
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call fcn.00420270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
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