Function at 0x414170
Capabilities:
Accept command line arguments
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e8e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x610
push ebx
push esi
push edi
lea edi, [ebp - 0x61c]
mov ecx, 0x184
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5d8], 0
cmp dword [ebp + 0xc], 0
je 0x4141c4
cmp dword [ebp + 0xc], 0xffffffff
je 0x4141c4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x604], eax
jmp 0x4141db
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.0041b0ac
mov dword [ebp - 0x604], eax
mov ecx, dword [ebp - 0x604]
mov dword [ebp + 0xc], ecx
mov word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, esp
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.0041b0ac
test eax, eax
jne 0x41424a
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp esi, esp
call fcn.0041b0ac
mov eax, dword [ebp - 0x5d8]
or eax, 1
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp + 8]
jmp 0x414568
mov esi, esp
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp esi, esp
call fcn.0041b0ac
test eax, eax
jne 0x41428d
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp esi, esp
call fcn.0041b0ac
mov eax, dword [ebp - 0x5d8]
or eax, 1
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp + 8]
jmp 0x414568
mov esi, esp
push str..dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
cmp esi, esp
call fcn.0041b0ac
mov esi, esp
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.0041b0ac
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0xffffffff
jne 0x414300
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp esi, esp
call fcn.0041b0ac
mov eax, dword [ebp - 0x5d8]
or eax, 1
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp + 8]
jmp 0x414568
mov esi, esp
push 1
push 3
lea ecx, [ebp - 0x50c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
cmp esi, esp
call fcn.0041b0ac
mov dword [ebp - 4], 1
lea eax, [ebp - 0x50c]
test eax, eax
je 0x414338
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x604], ecx
jmp 0x414342
mov dword [ebp - 0x604], 0
mov esi, esp
push str.__DLL_list::
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp edi, esp
call fcn.0041b0ac
mov edi, esp
push eax
mov ebx, esp
push 0x4220e4
mov edx, dword [ebp - 0x604]
push edx
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
cmp ebx, esp
call fcn.0041b0ac
push eax
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
cmp edi, esp
call fcn.0041b0ac
push eax
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
cmp esi, esp
call fcn.0041b0ac
mov eax, dword [ebp - 0x470]
and eax, 0x10
jne 0x4144e9
lea eax, [ebp - 0x50c]
test eax, eax
je 0x4143c2
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x604], ecx
jmp 0x4143cc
mov dword [ebp - 0x604], 0
lea edx, [ebp - 0x45c]
push edx
lea eax, [ebp - 0x5fc]
push eax
call fcn.00413ec0
add esp, 8
mov dword [ebp - 0x608], eax
mov ecx, dword [ebp - 0x608]
mov dword [ebp - 0x60c], ecx
mov byte [ebp - 4], 2
mov esi, esp
push 0x422048
mov edi, esp
push 0x4220e0
mov ebx, esp
mov edx, dword [ebp - 0x450]
push edx
mov eax, esp
push 0x4220dc
mov ecx, dword [ebp - 0x60c]
push ecx
mov ecx, esp
push 0x4220d8
mov edx, esp
mov dword [ebp - 0x610], esi
lea esi, [ebp - 0x444]
push esi
mov esi, dword [ebp - 0x604]
push esi
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x618], ecx
mov dword [ebp - 0x61c], edx
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
mov esi, dword [ebp - 0x61c]
cmp esi, esp
call fcn.0041b0ac
push eax
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
mov esi, dword [ebp - 0x618]
cmp esi, esp
call fcn.0041b0ac
push eax
call fcn.00401735
add esp, 8
push eax
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
mov esi, dword [ebp - 0x614]
cmp esi, esp
call fcn.0041b0ac
mov ecx, eax
call dword [sym.imp.MSVCP71.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_]
cmp ebx, esp
call fcn.0041b0ac
push eax
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
cmp edi, esp
call fcn.0041b0ac
push eax
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____wchar_t_const__]
add esp, 8
mov esi, dword [ebp - 0x610]
cmp esi, esp
call fcn.0041b0ac
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x5fc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041b0ac
mov esi, esp
lea eax, [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.0041b0ac
test eax, eax
jne 0x41439b
mov esi, esp
mov eax, dword [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.0041b0ac
mov esi, esp
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x50c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
cmp esi, esp
call fcn.0041b0ac
mov ecx, dword [ebp - 0x5d8]
or ecx, 1
mov dword [ebp - 0x5d8], ecx
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x50c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
cmp esi, esp
call fcn.0041b0ac
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x414598]
call fcn.0041b0cf
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x61c
cmp ebp, esp
call fcn.0041b0ac
mov esp, ebp
pop ebp
ret