Function at 0x1090ee90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b229
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.10905db0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090ef80
lea eax, [ebp - 0x278]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x1090f084
mov edi, dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
push 0x1093370c
lea eax, [ebp - 0x24c]
push eax
call edi
add esp, 8
test eax, eax
je 0x1090ef69
push 0x109361b0
lea eax, [ebp - 0x24c]
push eax
call edi
add esp, 8
test eax, eax
je 0x1090ef69
test byte [ebp - 0x278], 0x10
mov eax, dword [ebp + 0x10]
cmovne eax, dword [ebp + 0x14]
test eax, eax
je 0x1090ef69
mov edx, ebx
call fcn.109064c0
test eax, eax
je 0x1090ef69
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_FString::constructor_wchar_t_const__]
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1090ef13
jmp 0x1090f07d
mov esi, dword [ebp + 0xc]
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call edi
add esp, 4
test eax, eax
jne 0x1090ef98
mov dword [ebp + 0xc], eax
jmp 0x1090efaf
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924d50
mov dword [ebp - 0x10], esp
mov dword [ebp + 0xc], esp
lea eax, [ebp - 0x3b8]
push eax
push esi
call edi
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x1090f084
mov edi, dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
lea eax, [ebp - 0x38c]
push eax
call dword [sym.imp.Core.dll_int___cdecl_winGetSizeUNICODE_char_const__]
cmp eax, 0x104
mov ecx, 0x104
cmovge eax, ecx
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.Core.dll_wchar_t____cdecl_winToUNICODE_wchar_t___char_const___int_]
push 0x1093370c
lea eax, [ebp - 0x230]
push eax
call edi
add esp, 0x18
test eax, eax
je 0x1090f067
push 0x109361b0
lea eax, [ebp - 0x230]
push eax
call edi
add esp, 8
test eax, eax
je 0x1090f067
test byte [ebp - 0x3b8], 0x10
mov eax, dword [ebp + 0x10]
cmovne eax, dword [ebp + 0x14]
test eax, eax
je 0x1090f067
mov edx, ebx
call fcn.109064c0
test eax, eax
je 0x1090f067
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call dword [sym.imp.Core.dll_public:_void___thiscall_FString::constructor_wchar_t_const__]
lea eax, [ebp - 0x3b8]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x1090efe2
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, ebx
lea esp, [ebp - 0x3c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10