Function at 0x457540
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x495199
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x2ac], eax
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x2c4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2d4]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 0x34]
xor edi, edi
push eax
mov dword [esp + 0x2d0], edi
call fcn.004550a0
mov byte [esp + 0x2cc], 1
mov ecx, dword [ebx + 0xb0]
mov edx, dword [ecx + 4]
lea esi, [ebx + 0x98]
push edx
mov ecx, esi
call fcn.00458a40
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
cmp ebp, edi
je 0x45774d
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4575e0
sub eax, edx
sar eax, 1
je 0x45774d
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x2c]
dec eax
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x457625
push 0x4984d4
lea ecx, [esp + 0x1c]
call dword [0x497354]
push 0x4a0008
lea ecx, [esp + 0x1c]
call dword [0x497354]
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x457643
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x457660
lea edx, [esp + 0x34]
push edx
jmp 0x457752
mov edi, dword [sym.imp.MSVCR90.dll__wcsicmp]
lea eax, [esp + 0x98]
push 0x4a1e8c
push eax
call edi
add esp, 8
test eax, eax
je 0x45772b
lea ecx, [esp + 0x98]
push 0x4a3e44
push ecx
call edi
add esp, 8
test eax, eax
je 0x45772b
test byte [esp + 0x6c], 0x10
je 0x45772b
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov edx, dword [esp + 0x2c]
dec edx
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x4576d5
push 0x4984d4
lea ecx, [esp + 0x1c]
call dword [0x497354]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x1c]
call dword [0x497354]
push str._skin.ini
lea ecx, [esp + 0x1c]
call dword [0x497354]
cmp dword [esp + 0x30], 8
mov ecx, dword [esp + 0x1c]
jae 0x457705
lea ecx, [esp + 0x1c]
lea edi, [esp + 0x34]
call fcn.004577b0
test eax, eax
je 0x45772b
sub esp, 0x38
mov ecx, esp
mov dword [esp + 0x4c], esp
push ecx
mov ecx, edi
call fcn.00455b90
push 1
push ebx
call fcn.00457a30
lea edx, [esp + 0x6c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457660
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x34]
push eax
jmp 0x457752
lea ecx, [esp + 0x34]
push ecx
mov esi, dword [ebx + 0xb4]
mov byte [esp + 0x2d0], 0
call fcn.004567a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2cc], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x2c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2ac]
xor ecx, esp
call fcn.0048a3f6
add esp, 0x2c0
ret 4