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

Disassembly:
push 0x230
mov eax, 0x4559f2
call fcn.0043ddcc
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.0040215a
xor esi, esi
push esi
lea eax, [ebp - 0x220]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.0040ece1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push 0x48e96c
lea ecx, [ebp - 0x234]
call fcn.0040219e
push dword [ebp - 0x238]
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.0040219e
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0041eb33
lea ecx, [ebp - 0x220]
mov dword [esp], 0x45fe80
call fcn.00408e0c
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x220]
call fcn.00401f30
push str.File:
lea ecx, [ebp - 0x21c]
call fcn.0040215a
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.0040e85b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x41dc01
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
jne 0x41dc01
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 0x41dbab
mov eax, str.File_not_found
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040215a
push esi
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.0040ece1
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043de4f
ret 0xc
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.0043c330
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 0x41dcb6
mov eax, dword [ebp - 0x228]
push 0x460030
lea ecx, [ebp - 0x228]
mov dword [eax], esi
call fcn.0040215a
push str.MsiGetFileVersion_failed
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
call fcn.0040215a
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.0040e85b
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x228]
jmp 0x41dbd3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040215a
push str.File_version:
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.0040215a
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 2
mov byte [ebp - 4], 8
call fcn.0040e85b
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.004265f2
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.004265f2
add esp, 0x10
cmp dword [ebp - 0x224], esi
je 0x41dd3d
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], esi
je 0x41dd54
cmp eax, esi
je 0x41dd48
mov ecx, dword [edi]
cmp dword [ecx - 0xc], esi
je 0x41dd54
cmp dword [ebp - 0x224], esi
je 0x41dd67
cmp eax, esi
je 0x41dd67
mov eax, dword [ebp - 0x228]
mov dword [eax], 1
mov eax, 0x477488
jmp 0x41dd74
mov eax, dword [ebp - 0x228]
mov dword [eax], esi
mov eax, str.not_met
push eax
lea ecx, [ebp - 0x230]
call fcn.0040215a
push str.Condition
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 9
call fcn.0040215a
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x224]
push eax
push 2
mov byte [ebp - 4], 0xa
call fcn.0040e85b
mov ecx, dword [ebp - 0x224]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x41dbcd