Function at 0x42a46b
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443dfc
mov eax, dword fs:[0]
push eax
mov eax, 0x10d8
call fcn.0043d080
mov eax, dword [0x4a3028]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10d0], ebx
xor edi, edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x42a8d7
lea eax, [ebp + 8]
push eax
call dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_DoesPathExists_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
pop ecx
test eax, eax
je 0x42a8d7
lea ecx, [ebp - 0x10ac]
call dword [0x474bb4]
lea ecx, [ebp - 0x10bc]
call dword [0x474bb4]
push 0x250
lea eax, [ebp - 0x264]
push edi
push eax
mov byte [ebp - 4], 2
call sub.MSVCR90.dll_memset
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x10bc]
push 0x478af4
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x10bc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10cc], eax
cmp eax, 0xffffffff
je 0x42a8bf
push 0xffffffffffffffff
add ebx, 0xab4
push edi
mov ecx, ebx
call sub.mfc90u.dll_CStringArray::SetSize
call fcn.0042b3cd
mov dword [ebp - 0x10c4], eax
mov dword [ebp - 0x10c0], edi
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.MSVCR90.dll_wcscmp]
lea eax, [ebp - 0x238]
push 0x478b00
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x42a854
lea eax, [ebp - 0x238]
push 0x478b04
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x42a854
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x10a8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x10a8]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
push dword [ebp - 0x10a8]
lea eax, [ebp - 0x10a4]
push eax
call fcn.00401051
lea eax, [ebp - 0x87e]
push eax
lea ecx, [ebp - 0x10b4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x10b4]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10b0]
call dword [0x474b9c]
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x10b0]
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x10b0]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
lea eax, [ebp - 0x10b0]
push eax
lea ecx, [ebp - 0x10ac]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
test byte [ebp - 0x264], 0x10
je 0x42a680
push ecx
lea eax, [ebp - 0x10ac]
mov ecx, esp
mov dword [ebp - 0x10dc], esp
push eax
call dword [0x474b9c]
mov ecx, dword [ebp - 0x10d0]
call fcn.0042a46b
push 0x478fa8
lea ecx, [ebp - 0x10b4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x42a82c
push edi
push 0x478fa4
lea ecx, [ebp - 0x10a8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
mov esi, eax
cmp esi, edi
jge 0x42a767
lea ecx, [ebp - 0x10b8]
call dword [0x474bb4]
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10a8]
mov ecx, esp
mov dword [ebp - 0x10dc], esp
push eax
call dword [0x474b9c]
push ecx
lea eax, [ebp - 0x10ac]
mov ecx, esp
mov dword [ebp - 0x10e0], esp
push eax
mov byte [ebp - 4], 8
call dword [0x474b9c]
lea eax, [ebp - 0x10d4]
push eax
mov byte [ebp - 4], 7
call fcn.0042a8fc
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x10d4]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10b8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov eax, dword [ebp - 0x10b8]
cmp dword [eax - 0xc], edi
je 0x42a756
lea eax, [ebp - 0x10b8]
push eax
push dword [ebp - 0x10c4]
lea eax, [ebp - 0x10c8]
push eax
call fcn.0042b229
lea ecx, [ebp - 0x10b8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x42a82c
push esi
push 0x481b6c
lea ecx, [ebp - 0x10a8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
sub eax, esi
dec eax
push eax
inc esi
push esi
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [ebp - 0x10a8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
lea ecx, [ebp - 0x10a8]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x10d8]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10a8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov eax, dword [ebp - 0x10a8]
cmp dword [eax - 0xc], edi
je 0x42a82c
test byte [ebp - 0x264], 1
je 0x42a7ec
and dword [ebp - 0x264], 0xfffffffe
push dword [ebp - 0x264]
push dword [ebp - 0x10ac]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x10ac]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a82c
cmp eax, 0x10
je 0x42a82c
push eax
push dword [ebp - 0x10ac]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42a82c
lea eax, [ebp - 0x10a8]
push eax
push dword [ebp - 0x10c4]
lea eax, [ebp - 0x10c8]
push eax
call fcn.0042b229
lea ecx, [ebp - 0x10b0]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10b4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10a8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x10cc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a57f
push dword [ebp - 0x10cc]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x10c8]
call fcn.0042af06
lea eax, [ebp - 0x10c8]
call fcn.0042aec3
mov edi, dword [ebp - 0x10c4]
mov esi, dword [edi]
jmp 0x42a8ac
mov ecx, dword [ebx + 8]
lea eax, [esi + 8]
push eax
push ecx
mov ecx, ebx
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
mov esi, dword [esi]
cmp esi, edi
jne 0x42a89b
lea ecx, [ebp - 0x10c8]
mov byte [ebp - 4], 2
call fcn.0042aeac
lea ecx, [ebp - 0x10bc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10ac]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043c4b0
leave
ret 4