Function at 0x42523c
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd0
push ebx
push esi
mov ebx, ecx
push edi
lea eax, [ebx + 0x98]
xor edi, edi
push eax
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x68], edi
call fcn.0042f130
push str.config.xml
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0042f9d0
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x42527d
mov eax, dword [eax]
push 0x473600
push eax
call fcn.00450908
pop ecx
pop ecx
lea ecx, [ebp + 0x30]
mov esi, eax
call fcn.0042f1e0
lea ecx, [ebp + 0x70]
call fcn.0042f1e0
cmp esi, edi
jne 0x4252ce
push str.actionerrorvaluelocal_xml_missing
lea ecx, [ebp + 0x70]
call fcn.0042f200
push edi
lea eax, [ebp + 0x70]
push eax
mov ecx, ebx
call fcn.004118f7
lea ecx, [ebp + 0x70]
call fcn.0042f1e0
mov eax, 0x80004005
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
push 2
push edi
push esi
call fcn.00454472
push esi
call fcn.0045437a
push edi
push edi
push esi
mov dword [ebx + 0x7c], eax
call fcn.00454472
mov eax, dword [ebx + 0x7c]
inc eax
push eax
call fcn.0044e966
add esp, 0x20
mov dword [ebx + 0x78], eax
cmp eax, edi
je 0x4252c1
mov ecx, dword [ebx + 0x7c]
inc ecx
push ecx
push edi
push eax
call fcn.0044f280
push esi
push 1
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
call fcn.00453efc
push esi
call fcn.004506ac
add esp, 0x20
push edi
lea eax, [ebp + 0x28]
push eax
mov ecx, ebx
mov dword [ebp + 0x28], edi
call fcn.0041af76
test eax, eax
jge 0x42533c
push str.actionerrorvaluexml_invalid
jmp 0x4252a5
push 1
mov ecx, ebx
call fcn.0041b21e
test eax, eax
jge 0x425353
push str.actionerrorvaluemd5_invalid
jmp 0x4252a5
push edi
mov ecx, ebx
call fcn.0042059e
test eax, eax
jl 0x4252c1
lea ecx, [ebp + 0x50]
call fcn.0042ef80
push edi
lea eax, [ebp + 0x50]
push eax
push str.InstallTime
push edi
call fcn.004056dc
add esp, 0x10
test eax, eax
je 0x425439
lea ecx, [ebp + 0x50]
call fcn.00401005
test al, al
jne 0x425439
lea eax, [ebp + 0x48]
push eax
call fcn.004032f5
cmp byte [ebp + 0x57], 0xff
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x70], ecx
lea eax, [ebp + 0x50]
jne 0x4253b6
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x64], eax
lea eax, [ebx + 0x120]
cmp byte [eax + 7], 0xff
jne 0x4253c7
mov eax, dword [eax]
push eax
call fcn.004500c6
pop ecx
push edi
push 0x15180
push edx
push eax
call fcn.00453bc0
push dword [ebp + 0x64]
mov edi, eax
mov esi, edx
call fcn.004500c6
add eax, edi
adc edx, esi
cmp dword [ebp + 0x74], edx
pop ecx
jl 0x425439
jg 0x4253f8
cmp dword [ebp + 0x70], eax
jbe 0x425439
push str.actionpromptstopvalueexpired
lea ecx, [ebp + 0x40]
call fcn.0042f200
push str.expire
lea ecx, [ebp + 0x70]
call fcn.0042f200
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x70]
push eax
mov ecx, ebx
call fcn.00424472
lea ecx, [ebp + 0x70]
call fcn.0042f1e0
lea ecx, [ebp + 0x40]
call fcn.0042f1e0
lea ecx, [ebp + 0x50]
jmp 0x4252bc
lea eax, [ebp - 0x25]
lea ecx, [ebx + 0x320]
push eax
call fcn.00411785
mov esi, eax
lea edi, [ebp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4256f2
lea ecx, [ebp + 0x18]
call fcn.0040ff21
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x64], eax
call fcn.0040ff21
and dword [ebp + 0x60], 0
mov esi, eax
add esi, 8
lea edi, [esi + 0x44]
push 0x2c
mov ecx, edi
call fcn.0042efc0
xor ecx, ecx
inc ecx
cmp eax, ecx
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x5c], ecx
jl 0x4256ea
cmp dword [ebp + 0x60], 0
jne 0x42552b
push dword [ebp + 0x5c]
lea eax, [ebp + 8]
push 0x2c
push eax
mov ecx, edi
call fcn.0042fac0
lea ecx, [ebx + 0x170]
push 0x2c
call fcn.0042efc0
xor ecx, ecx
inc ecx
cmp eax, ecx
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x58], ecx
jl 0x42550a
cmp dword [ebp + 0x60], 0
jne 0x42550a
push dword [ebp + 0x58]
lea eax, [ebp + 0x10]
push 0x2c
push eax
lea ecx, [ebx + 0x170]
call fcn.0042fac0
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040d40d
pop ecx
pop ecx
test al, al
je 0x4254f7
mov dword [ebp + 0x60], 1
lea ecx, [ebp + 0x10]
call fcn.0042f1e0
inc dword [ebp + 0x58]
mov eax, dword [ebp + 0x58]
cmp eax, dword [ebp + 0x2c]
jle 0x4254c3
lea ecx, [ebp + 8]
call fcn.0042f1e0
inc dword [ebp + 0x5c]
mov eax, dword [ebp + 0x5c]
cmp eax, dword [ebp + 0x44]
jle 0x42548f
cmp dword [ebp + 0x60], 0
je 0x4256ea
push 0x4727a6
lea ecx, [ebp + 0x70]
call fcn.0042f200
push dword [ebp + 0x64]
lea eax, [ebp]
push str.Packages_
push eax
call fcn.0042fa40
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x425554
mov eax, dword [eax]
xor edi, edi
push edi
lea ecx, [ebp + 0x70]
push ecx
push eax
push edi
call fcn.004056dc
add esp, 0x10
lea ecx, [ebp]
mov dword [ebp + 0x44], eax
call fcn.0042f1e0
cmp dword [ebp + 0x44], edi
je 0x425774
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00437f60
lea eax, [ebp - 0x18]
inc edi
or dword [ebp + 0x68], edi
push eax
lea ecx, [ebp - 0x58]
call fcn.00437ef0
cmp byte [eax + 7], 0xff
jne 0x42559d
mov eax, dword [eax]
push 0x47300c
push eax
call fcn.0044ebc0
pop ecx
pop ecx
test eax, eax
je 0x4255db
or dword [ebp + 0x68], 2
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00437ef0
cmp byte [eax + 7], 0xff
jne 0x4255c6
mov eax, dword [eax]
push 0x473038
push eax
call fcn.0044ebc0
pop ecx
pop ecx
mov byte [ebp + 0x6f], 0
test eax, eax
jne 0x4255df
mov byte [ebp + 0x6f], 1
test byte [ebp + 0x68], 2
je 0x4255f1
and dword [ebp + 0x68], 0xfffffffd
lea ecx, [ebp - 8]
call fcn.0042f1e0
test byte [ebp + 0x68], 1
je 0x425603
and dword [ebp + 0x68], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.0042f1e0
cmp byte [ebp + 0x6f], 0
je 0x425615
lea eax, [esi + 0x6c]
push eax
lea ecx, [ebp + 0x70]
call fcn.0042f220
lea eax, [ebx + 0x98]
push eax
lea ecx, [ebp + 0x30]
mov dword [esi + 8], edi
call fcn.0042f130
lea eax, [ebp + 0x70]
push eax
push 0x4726c4
push dword [ebp + 0x64]
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x48]
push eax
lea edi, [esi + 0x74]
call fcn.0042f950
add esp, 0xc
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042f950
add esp, 0xc
push eax
mov ecx, edi
call fcn.0042f220
lea ecx, [ebp - 0x10]
call fcn.0042f1e0
lea ecx, [ebp + 0x38]
call fcn.0042f1e0
lea ecx, [ebp + 0x48]
call fcn.0042f1e0
lea ecx, [ebp + 0x30]
call fcn.0042f1e0
cmp byte [edi + 7], 0xff
mov eax, edi
jne 0x425692
mov eax, dword [edi]
push 0
push eax
call fcn.00401bf8
mov dword [esi + 0x24], eax
add esi, 0x54
cmp byte [esi + 7], 0xff
pop ecx
pop ecx
jne 0x4256aa
mov esi, dword [esi]
push 0x47490c
push esi
call fcn.0044ebc0
pop ecx
pop ecx
test eax, eax
jne 0x4256da
push edi
lea ecx, [ebx + 0xa0]
call fcn.0042f220
cmp byte [edi + 7], 0xff
jne 0x4256cf
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x425724
lea ecx, [ebp - 0x58]
call fcn.00437fa0
lea ecx, [ebp + 0x70]
call fcn.0042f1e0
lea ecx, [ebp + 0x18]
call fcn.0040fdf1
lea eax, [ebp - 0x25]
push eax
lea ecx, [ebx + 0x320]
call fcn.004117b5
push eax
lea ecx, [ebp + 0x18]
call fcn.0040fe23
test al, al
je 0x425456
lea ecx, [ebx + 0x22c]
call fcn.0040b0fe
xor esi, esi
jmp 0x4257c0
push 0
push str._invalid
push dword [ebp + 0x64]
lea eax, [ebp + 0x38]
push str.actionerrorvalue
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
mov ecx, ebx
call fcn.004118f7
lea ecx, [ebp + 0x48]
call fcn.0042f1e0
lea ecx, [ebp + 0x38]
call fcn.0042f1e0
lea ecx, [ebp - 0x58]
call fcn.00437fa0
lea ecx, [ebp + 0x70]
jmp 0x42542c
push edi
push str._invalid
push dword [ebp + 0x64]
lea eax, [ebp + 0x38]
push str.actionerrorvalue
push eax
call fcn.0042fa40
add esp, 0xc
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0042f9d0
add esp, 0xc
push eax
mov ecx, ebx
call fcn.004118f7
lea ecx, [ebp + 0x48]
call fcn.0042f1e0
lea ecx, [ebp + 0x38]
call fcn.0042f1e0
lea ecx, [ebp + 0x70]
call fcn.0042f1e0
mov esi, 0x80004005
lea ecx, [ebp + 0x50]
call fcn.0042f1e0
mov eax, esi
jmp 0x4252c6