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

Disassembly:
push 0x230
mov eax, 0x475223
call fcn.0045bedd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
push str.ProcessFileCondition...
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], eax
call fcn.004020a6
xor esi, esi
push esi
lea eax, [ebp - 0x220]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push 0x4c4854
lea ecx, [ebp - 0x234]
mov dword [0x4c10f0], 0x270
call fcn.004020ea
push dword [ebp - 0x238]
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.004020ea
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.00431e82
lea ecx, [ebp - 0x220]
mov dword [esp], 0x48415c
call fcn.0040af5f
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x220]
call fcn.00401ec7
push str.File:
lea ecx, [ebp - 0x21c]
call fcn.004020a6
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.00414e01
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x4307ea
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
jne 0x4307ea
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
cmp eax, esi
mov eax, str.File_found
jne 0x430794
mov eax, str.File_not_found
push eax
lea ecx, [ebp - 0x21c]
call fcn.004020a6
push esi
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.004152d1
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
call fcn.0045bf60
ret 0xc
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00459cf0
add esp, 0xc
push esi
push esi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x23c], 0x104
call sub.msi.dll_MsiMessageBoxW
mov dword [ebp - 0x22c], eax
cmp eax, esi
je 0x43089f
mov eax, dword [ebp - 0x228]
push 0x483438
lea ecx, [ebp - 0x228]
mov dword [eax], esi
call fcn.004020a6
push str.MsiGetFileVersion_failed
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
call fcn.004020a6
mov esi, dword [ebp - 0x22c]
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.00414e01
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x228]
jmp 0x4307bc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004020a6
push str.File_version:
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.004020a6
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 2
mov byte [ebp - 4], 8
call fcn.00414e01
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [ebp - 0x21c]
push edi
push eax
call main
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x21c]
push eax
push ebx
call main
add esp, 0x10
cmp dword [ebp - 0x224], esi
je 0x430926
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], esi
je 0x43093d
cmp eax, esi
je 0x430931
mov ecx, dword [edi]
cmp dword [ecx - 0xc], esi
je 0x43093d
cmp dword [ebp - 0x224], esi
je 0x430950
cmp eax, esi
je 0x430950
mov eax, dword [ebp - 0x228]
mov dword [eax], 1
mov eax, 0x4a53bc
jmp 0x43095d
mov eax, dword [ebp - 0x228]
mov dword [eax], esi
mov eax, str.not_met
push eax
lea ecx, [ebp - 0x230]
call fcn.004020a6
push str.Condition
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 9
call fcn.004020a6
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x224]
push eax
push 2
mov byte [ebp - 4], 0xa
call fcn.00414e01
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x4307b6