Function at 0x414c80
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x427500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, byte [esp + 0x40]
xor ebx, ebx
mov byte [esp + 0x20], al
xor esi, esi
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x38], 1
cmp dword [ecx - 8], ebx
jne 0x414d27
lea ecx, [esp + 0x14]
push ecx
call fcn.004145b0
add esp, 4
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp dword [ecx - 8], ebx
jne 0x414d27
cmp esi, eax
mov byte [esp + 0x38], bl
mov edi, eax
je 0x414efa
push ebx
mov ecx, esi
call fcn.0041aea0
add esi, 4
cmp esi, edi
jne 0x414d13
jmp 0x414ef6
push ecx
call dword [0x4285d0]
test eax, eax
jne 0x414d5a
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x38], bl
je 0x414efa
push ebx
mov ecx, esi
call fcn.0041aea0
add esi, 4
cmp esi, edi
jne 0x414d46
jmp 0x414ef6
mov edx, dword [esp + 0x40]
push edx
push ebx
push 0x42f064
push 0x42f064
call dword [0x428068]
cmp eax, 1
je 0x414d9d
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x38], bl
je 0x414efa
push ebx
mov ecx, esi
call fcn.0041aea0
add esi, 4
cmp esi, edi
jne 0x414d89
jmp 0x414ef6
push ebx
push ebx
push ebx
push 0x4148e0
push ebx
push ebx
call dword [0x42806c]
push eax
call dword [0x4280d0]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push str.filelist
push ecx
call fcn.00414620
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x2c]
push edx
push str.pathlist
push eax
call fcn.00414620
add esp, 0x18
xor ebp, ebp
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x414ecf
mov ecx, dword [esp + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x414ecf
lea edx, [eax + ebp*4]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x40], 3
call sub.MFC42u.DLL_CString::CString_3
mov ecx, edi
call fcn.00417de0
cmp eax, ebx
jne 0x414ebb
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::ReverseFind
mov esi, eax
cmp esi, 0xffffffff
je 0x414ebb
lea ecx, [esi + 1]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Mid
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
lea esi, [edi + 0x1e8]
push ecx
push ebx
push 1
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push 1
push eax
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call sub.MFC42u.DLL_CString::CString
inc ebp
jmp 0x414de1
mov ecx, edi
call fcn.00418ac0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, eax
mov byte [esp + 0x38], bl
mov edi, eax
je 0x414efa
mov ecx, esi
call sub.MFC42u.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x414ee8
mov esi, dword [esp + 0x24]
push esi
call fcn.0041eb90
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4