Function at 0x527e43
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x7b088c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x528058
xor eax, eax
cmp word [esi], ax
je 0x528058
push esi
call fcn.006a37ec
pop ecx
cmp word [esi + eax*2 - 2], 0x5c
jne 0x528058
lea ecx, [ebp - 0x278]
call fcn.00527d01
push esi
lea ecx, [ebp - 0x258]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x278]
call fcn.0052961e
lea ecx, [ebp - 0x258]
jmp 0x52803b
call fcn.00529595
push eax
lea ecx, [ebp - 0x25c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x278]
call fcn.005295e9
push 0x250
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00689b00
add esp, 0xc
lea eax, [ebp - 0x25c]
lea ecx, [ebp - 0x258]
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push 0x7002dc
lea ecx, [ebp - 0x258]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x258]
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 0x52802a
test byte [ebp - 0x254], 0x10
je 0x527fca
cmp dword [ebp + 0x14], 0
je 0x52800d
push 0x2e
pop eax
cmp word [ebp - 0x228], ax
jne 0x527f7c
cmp word [ebp - 0x226], 0
je 0x52800d
cmp word [ebp - 0x226], ax
jne 0x527f7c
cmp word [ebp - 0x224], 0
je 0x52800d
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x260]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x260]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
push 0x6fdc28
lea ecx, [ebp - 0x260]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x278]
call fcn.005296a3
lea ecx, [ebp - 0x260]
jmp 0x528008
lea eax, [ebp - 0x228]
push edi
push eax
call sym.txupd.exe_int___cdecl_Util::FS::MatchWildcard_wchar_t_const___wchar_t_const__
pop ecx
pop ecx
test eax, eax
je 0x52800d
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
mov ecx, ebx
push eax
call fcn.005014fb
lea ecx, [ebp - 0x264]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x527f34
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x258]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x25c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp dword [ebp - 0x268], 0
lea ecx, [ebp - 0x278]
jne 0x527ebc
call fcn.00527de6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00682c16
mov esp, ebp
pop ebp
ret