Function at 0x41423b
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x433028]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x34
mov eax, 0x4192d8
call fcn.0041805c
xor edi, edi
mov dword [ebp - 0x3c], 0x3b
mov dword [ebp - 0x38], 6
mov dword [ebp - 0x34], 0x13
mov dword [ebp - 0x30], 0x1b
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x10], edi
push 0x208
lea eax, [ebp]
push edi
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
push dword [ebp + eax*4 - 0x3c]
lea eax, [ebp]
push eax
call fcn.00413c2d
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4142af
sub eax, edx
sar eax, 1
je 0x414354
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call dword [0x424498]
lea ecx, [ebp - 0x14]
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_____::MakeLower]
xor esi, esi
cmp dword [ebx + 0xb4], edi
jle 0x41431a
cmp esi, edi
jl 0x41456b
cmp esi, dword [ebx + 0xb4]
jge 0x41456b
mov eax, dword [ebx + 0xb0]
push edi
push dword [ebp - 0x14]
lea ecx, [eax + esi*4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
test eax, eax
jge 0x414347
inc esi
cmp esi, dword [ebx + 0xb4]
jl 0x4142e6
lea eax, [ebp - 0x18]
push 0x2a
push eax
lea esi, [ebp - 0x14]
call fcn.00403573
pop ecx
pop ecx
lea ecx, [ebx + 0xac]
mov byte [ebp - 4], 1
mov edx, dword [ecx + 8]
push eax
push edx
call sub.mfc90u.dll_CStringArray::SetAtGrow
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jb 0x414287
cmp byte [0x4349bb], 0
jne 0x414378
mov eax, dword [sym.imp.pcoshelper.dll_Ordinal_1261]
cmp byte [eax], 0
je 0x414548
mov dword [ebp - 0x28], 0x26
mov dword [ebp - 0x24], 0x25
mov dword [ebp - 0x14], edi
push 0x208
lea eax, [ebp]
push edi
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0xc
push dword [ebp + eax*4 - 0x28]
lea eax, [ebp]
push eax
call fcn.00413c2d
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4143b1
sub eax, edx
sar eax, 1
je 0x4144e2
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4144e2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call dword [0x424498]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
xor esi, esi
cmp dword [ebx + 0xc8], edi
jle 0x414433
lea edi, [ebx + 0xc0]
test esi, esi
jl 0x41456b
cmp esi, dword [edi + 8]
jge 0x41456b
mov eax, dword [edi + 4]
push 0
push dword [ebp - 0x10]
lea ecx, [eax + esi*4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
test eax, eax
jge 0x414466
inc esi
cmp esi, dword [ebx + 0xc8]
jl 0x414404
lea eax, [ebp - 0x20]
push 0x2a
push eax
lea esi, [ebp - 0x10]
call fcn.00403573
pop ecx
pop ecx
lea edi, [ebx + 0xc0]
mov byte [ebp - 4], 3
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call sub.mfc90u.dll_CStringArray::SetAtGrow
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp dword [ebp - 0x14], 0
jne 0x4144d3
call dword [sym.imp.pcoshelper.dll_Ordinal_1175]
test al, al
je 0x4144d3
push 0
push 0x28
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
test eax, eax
jle 0x4144d3
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
lea ecx, [ebp - 0x18]
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_____::Trim]
lea eax, [ebp - 0x1c]
push 0x2a
push eax
lea esi, [ebp - 0x18]
call fcn.00403573
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call sub.mfc90u.dll_CStringArray::SetAtGrow
lea ecx, [ebp - 0x1c]
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, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
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 edi, edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jb 0x414389
call dword [sym.imp.pcoshelper.dll_Ordinal_1175]
test al, al
je 0x414548
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.pcoshelper.dll_Ordinal_1034]
pop ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeLower]
lea eax, [ebp - 0x1c]
push 0x2a
push eax
lea esi, [ebp - 0x18]
call fcn.00403573
pop ecx
pop ecx
lea ecx, [ebx + 0xc0]
push eax
mov byte [ebp - 4], 7
push dword [ecx + 8]
call sub.mfc90u.dll_CStringArray::SetAtGrow
lea ecx, [ebp - 0x1c]
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, esi
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 + 0x208]
xor ecx, ebp
call fcn.004179ba
add ebp, 0x20c
leave
ret
call fcn.004174a2
int3