Function at 0x457d10
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x463138
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
mov ebx, dword [esp + 0x18c]
push esi
xor esi, esi
cmp ebx, esi
push edi
je 0x457f41
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x457f41
mov al, byte [esp + 0xf]
push ebp
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], esi
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x194], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x28]
mov byte [esp + 0x190], 1
push edx
push esi
call fcn.00457390
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 8
test eax, eax
je 0x457e3b
lea eax, [esp + 0x28]
push 0x476510
lea ecx, [esp + 0x3c]
push eax
push ecx
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__
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, esi
jne 0x457dd0
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x48]
push edx
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x457dff
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x457df6
cmp al, 0xff
je 0x457df6
dec al
mov byte [ecx], al
jmp 0x457dff
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp esi, 0xffffffff
je 0x457e3b
lea eax, [esp + 0x74]
push ebx
push eax
call ebp
test eax, eax
jne 0x457e2c
lea ecx, [esp + 0x48]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x457e34
lea edx, [esp + 0x74]
push ebx
push edx
call ebp
test eax, eax
je 0x457e10
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x18]
push eax
push 0x19
call fcn.00457390
add esp, 8
test eax, eax
je 0x457ee0
lea ecx, [esp + 0x18]
push 0x476510
lea edx, [esp + 0x3c]
push ecx
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__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x457e75
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x48]
push ecx
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x457ea4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x457e9b
cmp al, 0xff
je 0x457e9b
dec al
mov byte [ecx], al
jmp 0x457ea4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp esi, 0xffffffff
je 0x457ee0
lea edx, [esp + 0x74]
push ebx
push edx
call ebp
test eax, eax
jne 0x457ed1
lea eax, [esp + 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x457ed9
lea ecx, [esp + 0x74]
push ebx
push ecx
call ebp
test eax, eax
je 0x457eb5
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp ecx, esi
pop ebp
je 0x457f07
mov al, byte [ecx - 1]
test al, al
je 0x457efd
cmp al, 0xff
je 0x457efd
dec al
mov byte [ecx - 1], al
jmp 0x457f07
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x457f3b
mov al, byte [ecx - 1]
test al, al
je 0x457f31
cmp al, 0xff
je 0x457f31
dec al
mov byte [ecx - 1], al
mov eax, dword [esp + 0x10]
jmp 0x457f43
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x10]
jmp 0x457f43
xor eax, eax
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x184
ret