Function at 0x413c6d
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push 0x26c
mov eax, 0x419366
call fcn.004180c5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
and dword [ebp - 4], 0
push 0x250
lea eax, [ebp - 0x264]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
call fcn.00413e97
lea ecx, [ebp - 0x26c]
call dword [0x424328]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
or esi, 0xffffffff
push esi
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x270]
call dword [0x42433c]
push 0x428d5c
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call dword [0x424498]
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.pcoshelper.dll_Ordinal_1048]
pop ecx
pop ecx
lea ecx, [ebp - 0x268]
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 - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp eax, esi
je 0x413e2f
mov ecx, 0x42ab74
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413d86
test dx, dx
je 0x413d82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413d86
add eax, 4
add ecx, 4
test dx, dx
jne 0x413d60
xor eax, eax
jmp 0x413d8a
sbb eax, eax
sbb eax, esi
test eax, eax
je 0x413e08
mov ecx, 0x42ab78
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413dbf
test dx, dx
je 0x413dbb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413dbf
add eax, 4
add ecx, 4
test dx, dx
jne 0x413d99
xor eax, eax
jmp 0x413dc3
sbb eax, eax
sbb eax, esi
test eax, eax
je 0x413e08
test byte [ebp - 0x264], 0x10
je 0x413e08
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x274]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
mov ecx, dword [ebp - 0x278]
test eax, eax
lea eax, [ebp - 0x238]
jne 0x413dff
push 1
push eax
push 0
call sub.mfc90u.dll_CStringArray::InsertAt
jmp 0x413e08
push eax
push dword [ecx + 8]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x413d55
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x270]
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 - 0x26c]
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 - 0x274]
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]
xor eax, eax
inc eax
call fcn.0041810f
ret 8