Function at 0x414ba6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc98
push ebx
push esi
lea eax, [ebp - 0xc98]
call fcn.0040653c
lea eax, [ebp - 0xa80]
call fcn.0040653c
lea eax, [ebp - 0x868]
call fcn.0040653c
lea eax, [ebp - 0x438]
call fcn.0040653c
lea eax, [ebp - 0x220]
call fcn.0040653c
mov eax, dword [edi + 0xac8]
mov ecx, dword [edi + 0xac0]
push eax
mov eax, dword [edi + 0x54]
push ecx
add eax, 0x624
push eax
call fcn.0040d92c
test eax, eax
je 0x414e0f
lea esi, [edi + 0xabc]
call fcn.004064fd
mov dword [ebp - 4], 1
mov ebx, 0x214
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push str.link_name__u
call fcn.004017c3
pop ecx
pop ecx
push dword [ebp - 0x434]
lea eax, [ebp - 0x220]
push dword [edi + 0x58]
call fcn.0041b788
test al, al
je 0x414e0b
push dword [ebp - 0x21c]
mov eax, str.PROGRAM
call fcn.004014e1
pop ecx
test eax, eax
jne 0x414c94
push str.company_program_brief
push dword [edi + 0x58]
lea eax, [ebp - 0x220]
call fcn.0041b788
test al, al
je 0x414e0b
push str..lnk
lea esi, [ebp - 0x220]
call fcn.004164ab
push dword [ebp - 0x21c]
mov esi, str._s_s
push dword [edi + 0xac0]
lea eax, [ebp - 0xc98]
push esi
call fcn.004017c3
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push str.file_name__u
call fcn.004017c3
pop ecx
pop ecx
push dword [ebp - 0x434]
lea eax, [ebp - 0x220]
push dword [edi + 0x58]
call fcn.0041b788
test al, al
je 0x414e0b
mov eax, dword [ebp - 0x21c]
cmp word [eax], 0x23
jne 0x414d09
mov ecx, dword [edi + 0x54]
push eax
lea eax, [ebp - 0x220]
call fcn.00415ca8
pop ecx
test al, al
je 0x414e0b
push dword [ebp - 0x21c]
mov eax, dword [edi + 0x54]
add eax, ebx
push eax
push esi
lea eax, [ebp - 0x868]
call fcn.004017c3
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push str.icon_file__u
call fcn.004017c3
pop ecx
pop ecx
push dword [ebp - 0x434]
lea eax, [ebp - 0x220]
push dword [edi + 0x58]
call fcn.0041b788
test al, al
je 0x414e0b
mov eax, dword [ebp - 0x21c]
cmp word [eax], 0x23
jne 0x414d79
mov ecx, dword [edi + 0x54]
push eax
lea eax, [ebp - 0x220]
call fcn.00415ca8
pop ecx
test al, al
je 0x414e0b
push dword [ebp - 0x21c]
mov eax, dword [edi + 0x54]
add eax, ebx
push eax
push esi
lea eax, [ebp - 0xa80]
call fcn.004017c3
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push str.icon_index__u
call fcn.004017c3
pop ecx
pop ecx
push dword [ebp - 0x434]
lea eax, [ebp - 0x220]
push dword [edi + 0x58]
call fcn.0041b788
test al, al
je 0x414e0b
push dword [ebp - 0x21c]
call fcn.00422b7c
pop ecx
push dword [ebp - 0x864]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414dfe
mov eax, dword [edi + 0x54]
push esi
push dword [ebp - 0xa7c]
add eax, ebx
push dword [ebp - 0xc94]
push dword [ebp - 0x864]
push eax
call fcn.0040dbc8
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x40
jb 0x414c23
mov al, 1
jmp 0x414e52
lea eax, [ebp - 0x650]
call fcn.0040653c
push dword [ebp - 0x644]
mov eax, dword [ebp - 0x64c]
push 0x19
call fcn.0040b558
lea esi, [ebp - 0x650]
call fcn.004064fd
mov eax, dword [edi + 0x54]
push 0x30
add eax, 0xc
push eax
push dword [ebp - 0x64c]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop esi
pop ebx
leave
ret