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

Disassembly:
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x43c09c
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.004016e0
mov eax, dword [0x437348]
mov ecx, 0x43babc
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x41a3e6
mov edx, ecx
shr edx, 0x10
jne 0x41a3ae
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00409ea0
jmp 0x41a3e6
push 0x43babc
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, edi
je 0x41a3e6
push esi
lea ecx, [esp + 0x14]
call fcn.004023a0
test eax, eax
je 0x41a3e6
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
mov esi, 0x43babc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x24]
call fcn.004017d0
mov esi, eax
push str.VReport.txt
lea eax, [ebx + 0x38]
push 0x43c316
push str._s_s
push eax
call fcn.004025c0
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
test esi, esi
je 0x41a4a7
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41a4a7
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00409be0
test eax, eax
jge 0x41a488
mov eax, dword [ebx + 0x28]
push 0
push 0
push 0x18b
push eax
call ebp
mov ecx, dword [ebx + 0x28]
push esi
push eax
push 0x181
push ecx
call ebp
test esi, esi
jne 0x41a45d
xor eax, eax
jmp 0x41a464
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404520
mov eax, dword [ebx + 0x38]
push eax
push esi
call fcn.0042abcf
add esp, 8
test eax, eax
jne 0x41a488
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004017d0
mov esi, eax
test esi, esi
jne 0x41a41c
lea ecx, [esp + 0x20]
call fcn.004018f0
mov edx, dword [ebx + 0x28]
push 0
push 0
push 0x18b
push edx
mov edi, 0x147
call ebp
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jle 0x41a52d
mov eax, dword [ebx + 0x28]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
mov eax, dword [esp + 0x1c]
mov edi, 0xad
test eax, eax
je 0x41a52d
push str.Program_Manager
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x41a52d
mov eax, dword [ebx + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41a52d
mov ecx, dword [ebx + 4]
push 0x407
push ecx
call esi
push 5
push eax
call ebp
mov edx, dword [ebx + 4]
push 0x407
push edx
call esi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push edi
push eax
call fcn.004249d0
mov ecx, dword [ebx + 4]
add esp, 0xc
push 0x42b
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x14]
mov edx, dword [0x43734c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41a585
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41a585
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x43734c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41a5b0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41a5b0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00401790
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret