Function at 0x4b4331
Capabilities:
Enumerate files on windows

Disassembly:
push 0x290
mov eax, 0x591e73
call fcn.00584fd1
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x5a3f7c
push str..FS_FindFileWithWildcard
push str.Util::FS::FindFileWithWildcard
push 2
push 0x18b
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x29c]
push str.....SourceCommonFileSystemUtilFS.cpp
push eax
call fcn.004b1d3b
add esp, 0x1c
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x4b45a6
cmp word [esi], bx
je 0x4b45a6
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
cmp word [esi + eax*2 - 2], 0x5c
pop ecx
jne 0x4b45a6
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
push esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
call fcn.004b42ab
lea ecx, [ebp - 0x264]
jmp 0x4b4583
call fcn.004b4121
push eax
lea ecx, [ebp - 0x268]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.004b4086
push 0x250
lea eax, [ebp - 0x260]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push 0x5b0408
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b456e
test byte [ebp - 0x260], 0x10
je 0x4b4501
cmp dword [ebp + 0x14], ebx
je 0x4b4551
cmp word [ebp - 0x234], 0x2e
jne 0x4b44af
cmp word [ebp - 0x232], bx
je 0x4b4551
cmp word [ebp - 0x232], 0x2e
jne 0x4b44af
cmp word [ebp - 0x230], bx
je 0x4b4551
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x26c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
push 0x5d13ac
lea ecx, [ebp - 0x26c]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x280]
call fcn.004b42ab
lea ecx, [ebp - 0x26c]
jmp 0x4b4548
push dword [ebp - 0x284]
lea eax, [ebp - 0x234]
push eax
call sym.txupd.exe_int___cdecl_Util::FS::MatchWildcard_wchar_t_const___wchar_t_const__
test eax, eax
pop ecx
pop ecx
je 0x4b4551
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x288]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004a6f6d
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b446b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp dword [ebp - 0x270], ebx
lea ecx, [ebp - 0x280]
jne 0x4b43ec
mov byte [ebp - 4], bl
call fcn.004b413d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.004b1dba
call fcn.00585054
ret