Function at 0x425190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc114
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2610
call fcn.004b4e80
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x144], ebx
mov edi, ecx
mov dword [ebp - 0x13c], edi
xor ecx, ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 4], 1
cmp dword [ebx + 0x14], 8
jb 0x425207
mov edx, dword [ebx]
jmp 0x425209
mov edx, ebx
lea ecx, [ebp - 0x150]
call fcn.00438a61
mov esi, dword [ebp - 0x150]
test al, al
je 0x425e32
cmp esi, dword [ebp - 0x14c]
je 0x425e32
lea eax, [ebp - 0x13d]
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 0x13d], 0
call fcn.0040bb50
and dword [ebp - 0x38], 0xfffffe00
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 4
push 8
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
call fcn.004a2b5d
add esp, 4
test eax, eax
jne 0x4252d1
call fcn.004a1650
mov dword [ebp - 0xc8], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
mov dword [eax], ecx
mov byte [ebp - 4], 5
push 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
call fcn.004a2b5d
add esp, 4
test eax, eax
jne 0x42533b
call fcn.004a1650
mov dword [ebp - 0xb4], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb4]
mov dword [eax], ecx
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov word [ebp - 0x5c], 1
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x150]
push esi
lea ecx, [ebp - 0x58]
call fcn.00404a40
push ecx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 7
call fcn.004400a4
test al, al
sete bl
cmp dword [ebp - 0x44], 0x10
jb 0x4253d0
push dword [ebp - 0x58]
call fcn.004a295f
add esp, 4
test bl, bl
je 0x425470
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425447
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x18], al
push 0x14
push str.Couldnt_parse_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.00404c90
push 0xffffffffffffffff
push 0
push dword [ebp - 0x144]
lea ecx, [ebp - 0x30]
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x5b
push str.Products::CSilentUpdater::LoadFromFile
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x1c], 8
jb 0x425447
push dword [ebp - 0x30]
call fcn.004a295f
add esp, 4
lea ecx, [ebp - 0xc8]
mov byte [edi], 0
mov dword [ebp - 0x134], 1
call fcn.00425ed0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0043ed2b
jmp 0x425e9f
mov eax, dword [ebp - 0x38]
test al, al
je 0x425d92
cmp al, 7
jne 0x425d92
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov edi, ecx
mov eax, dword [ecx + 4]
mov esi, eax
mov dword [ebp - 0x154], eax
cmp byte [esi + 0xd], 0
jne 0x4254fb
jmp 0x4254a0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4254e1
mov edx, str.appId
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4254d5
test bl, bl
je 0x4254cc
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4254d5
add eax, 2
add edx, 2
test bl, bl
jne 0x4254b0
xor eax, eax
test eax, eax
sets al
jmp 0x4254e8
sbb eax, eax
or eax, 1
test eax, eax
sets al
jmp 0x4254e8
cmp dword [esi + 0x14], 0
setl al
test al, al
je 0x4254f1
mov esi, dword [esi + 8]
jmp 0x4254f5
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x4254a0
cmp edi, ecx
je 0x42553b
mov edx, dword [edi + 0x10]
mov eax, str.appId
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x425527
test bl, bl
je 0x425523
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x425527
add eax, 2
add edx, 2
test bl, bl
jne 0x425507
xor eax, eax
jmp 0x42552c
sbb eax, eax
or eax, 1
test eax, eax
sets al
mov dword [ebp - 0x138], edi
test al, al
je 0x425541
mov dword [ebp - 0x138], ecx
lea eax, [ebp - 0x138]
mov eax, dword [eax]
cmp eax, ecx
je 0x425d8c
add eax, 0x18
cmp eax, 0x516298
je 0x425d8c
mov esi, dword [ecx + 4]
mov edi, ecx
cmp byte [esi + 0xd], 0
jne 0x4255cb
lea ebx, [ebx]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4255b1
mov edx, str.updateUrl
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4255a5
test bl, bl
je 0x42559c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4255a5
add eax, 2
add edx, 2
test bl, bl
jne 0x425580
xor eax, eax
test eax, eax
sets al
jmp 0x4255b8
sbb eax, eax
or eax, 1
test eax, eax
sets al
jmp 0x4255b8
cmp dword [esi + 0x14], 0
setl al
test al, al
je 0x4255c1
mov esi, dword [esi + 8]
jmp 0x4255c5
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x425570
cmp edi, ecx
je 0x42560b
mov edx, dword [edi + 0x10]
mov eax, str.updateUrl
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4255f7
test bl, bl
je 0x4255f3
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4255f7
add eax, 2
add edx, 2
test bl, bl
jne 0x4255d7
xor eax, eax
jmp 0x4255fc
sbb eax, eax
or eax, 1
test eax, eax
sets al
mov dword [ebp - 0x138], edi
test al, al
je 0x425611
mov dword [ebp - 0x138], ecx
lea eax, [ebp - 0x138]
mov eax, dword [eax]
cmp eax, ecx
je 0x425d8c
add eax, 0x18
cmp eax, 0x516298
je 0x425d8c
mov esi, dword [ecx + 4]
mov edi, ecx
cmp byte [esi + 0xd], 0
jne 0x42569b
lea ebx, [ebx]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x425681
mov edx, str.version
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x425675
test bl, bl
je 0x42566c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x425675
add eax, 2
add edx, 2
test bl, bl
jne 0x425650
xor eax, eax
test eax, eax
sets al
jmp 0x425688
sbb eax, eax
or eax, 1
test eax, eax
sets al
jmp 0x425688
cmp dword [esi + 0x14], 0
setl al
test al, al
je 0x425691
mov esi, dword [esi + 8]
jmp 0x425695
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x425640
cmp edi, ecx
je 0x4256db
mov edx, dword [edi + 0x10]
mov eax, str.version
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4256c7
test bl, bl
je 0x4256c3
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4256c7
add eax, 2
add edx, 2
test bl, bl
jne 0x4256a7
xor eax, eax
jmp 0x4256cc
sbb eax, eax
or eax, 1
test eax, eax
sets al
mov dword [ebp - 0x138], edi
test al, al
je 0x4256e1
mov dword [ebp - 0x138], ecx
lea eax, [ebp - 0x138]
mov eax, dword [eax]
cmp eax, ecx
je 0x425d8c
add eax, 0x18
cmp eax, 0x516298
je 0x425d8c
mov edx, dword [ecx + 4]
mov esi, ecx
cmp byte [edx + 0xd], 0
jne 0x42577d
lea ebx, [ebx]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x42575d
mov edx, str.location
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x42574b
test bl, bl
je 0x42573c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x42574b
add eax, 2
add edx, 2
test bl, bl
jne 0x425720
mov edx, dword [ebp - 0x154]
xor eax, eax
test eax, eax
sets al
jmp 0x425764
mov edx, dword [ebp - 0x154]
sbb eax, eax
or eax, 1
test eax, eax
sets al
jmp 0x425764
cmp dword [edx + 0x14], 0
setl al
test al, al
je 0x42576d
mov edx, dword [edx + 8]
jmp 0x425771
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
mov dword [ebp - 0x154], edx
je 0x425710
cmp esi, ecx
je 0x4257c4
mov edx, dword [esi + 0x10]
mov eax, str.location
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4257b0
test bl, bl
je 0x4257ac
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4257b0
add eax, 2
add edx, 2
test bl, bl
jne 0x425790
xor eax, eax
jmp 0x4257b5
sbb eax, eax
or eax, 1
test eax, eax
sets al
mov dword [ebp - 0x138], esi
test al, al
je 0x4257ca
mov dword [ebp - 0x138], ecx
lea eax, [ebp - 0x138]
mov eax, dword [eax]
cmp eax, ecx
je 0x425d8c
add eax, 0x18
cmp eax, 0x516298
je 0x425d8c
lea ecx, [ebp - 0x130]
call fcn.00424d10
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x58]
call fcn.0042f2be
push 1
mov byte [ebp - 4], 0x10
call fcn.004a1849
mov dword [ebp - 0x144], eax
push str.appId
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
call fcn.0043f33c
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0043ee18
mov edx, eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x12
call fcn.00428ea3
lea ecx, [ebp - 0x144]
push ecx
mov edx, eax
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x13
call fcn.00426b50
add esp, 4
lea ecx, [ebp - 0x130]
push eax
call fcn.0041a9c0
lea ecx, [ebp - 0x18c]
call fcn.00403170
lea ecx, [ebp - 0x170]
call fcn.00403170
lea ecx, [ebp - 0x2c]
call fcn.00404b40
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x10
call fcn.00401630
cmp dword [ebp - 0x120], 0
je 0x4258cb
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x2c]
call fcn.0042f289
mov ecx, 2
mov dword [ebp - 0x134], ecx
mov edx, eax
lea ecx, [ebp - 0x130]
call fcn.00426b90
test al, al
jne 0x4258cb
xor bl, bl
jmp 0x4258cd
mov bl, 1
mov eax, dword [ebp - 0x134]
test al, 2
je 0x4258e8
and eax, 0xfffffffd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x134], eax
call fcn.00403170
test bl, bl
je 0x425996
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425942
lea ecx, [ebp - 0x30]
call fcn.00404e10
push str.Invalid_application_ID_in_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x66
push str.Products::CSilentUpdater::LoadFromFile
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00403170
mov ecx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x13c]
or ecx, 1
mov dword [ebp - 0x134], ecx
lea ecx, [ebp - 0x58]
mov byte [esi], 0
call fcn.00403170
lea ecx, [ebp - 0x130]
call fcn.00415870
lea ecx, [ebp - 0xc8]
call fcn.00425ed0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0043ed2b
lea ecx, [ebp - 0x150]
call fcn.00406a20
mov eax, esi
jmp 0x425eae
push ecx
push str.updateUrl
lea ecx, [ebp - 0x40]
call fcn.0043f33c
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.0043ee18
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
call fcn.00428ea3
push eax
lea ecx, [ebp - 0x118]
call fcn.0041a9c0
lea ecx, [ebp - 0x2c]
call fcn.00403170
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x10
call fcn.00404b40
cmp dword [ebp - 0x104], 8
lea eax, [ebp - 0x118]
cmovae eax, dword [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x2600]
call fcn.004122f0
mov ecx, eax
call fcn.00412310
test eax, eax
sete al
test al, al
je 0x425a58
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425942
lea ecx, [ebp - 0x30]
call fcn.00404e10
push str.Couldnt_parse_update_URL_in_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x16
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x69
jmp 0x42592b
push ecx
push str.version
lea ecx, [ebp - 0x40]
call fcn.0043f33c
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.0043ee18
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.00428ea3
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x18
call fcn.0041c0d0
test al, al
lea ecx, [ebp - 0x2c]
sete bl
call fcn.00403170
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x10
call fcn.00404b40
test bl, bl
je 0x425af6
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425942
lea ecx, [ebp - 0x30]
call fcn.00404e10
push str.Couldnt_parse_version_in_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x19
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x6b
jmp 0x42592b
push ecx
push str.location
lea ecx, [ebp - 0x40]
call fcn.0043f33c
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.0043ee18
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00428ea3
push eax
lea ecx, [ebp - 0xec]
call fcn.0041a9c0
lea ecx, [ebp - 0x2c]
call fcn.00403170
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x10
call fcn.00404b40
cmp dword [ebp - 0xd8], 8
lea eax, [ebp - 0xec]
cmovae eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425ba6
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425942
lea ecx, [ebp - 0x30]
call fcn.00404e10
push str.Invalid_location_in_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1b
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x6e
jmp 0x42592b
push str.badVersions
lea ecx, [ebp - 0x40]
call fcn.0043f496
test al, al
je 0x425c79
push ecx
push str.badVersions
lea ecx, [ebp - 0x40]
call fcn.0043f33c
mov edi, eax
mov ecx, edi
call fcn.0043f558
test al, al
jne 0x425c1a
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425942
lea ecx, [ebp - 0x30]
call fcn.00404e10
push str.Invalid_bad_versions_format_in_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1c
call fcn.00404c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x74
jmp 0x42592b
xor esi, esi
lea esp, [esp]
mov ecx, edi
call fcn.0043f18b
cmp esi, eax
jae 0x425c79
push esi
mov ecx, edi
call fcn.0043f1cf
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.0043ee18
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
call fcn.00428ea3
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x1e
call fcn.00410ba0
lea ecx, [ebp - 0x2c]
call fcn.00403170
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x10
call fcn.00404b40
inc esi
jmp 0x425c20
lea ecx, [ebp - 0x58]
call fcn.00403170
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x13c]
push eax
call fcn.0041b0a0
mov ecx, dword [ebp - 0x134]
or ecx, 1
mov dword [ebp - 0x134], ecx
lea ecx, [ebp - 0x130]
call fcn.00415870
lea ecx, [ebp - 0xc8]
call fcn.00425ed0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0043ed2b
lea ecx, [ebp - 0x150]
call fcn.00406a20
mov eax, dword [ebp - 0x13c]
jmp 0x425eae
mov edi, dword [ebp - 0x13c]
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425e01
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x18], al
push 0x14
push str.Invalid_format_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.00404c90
push 0xffffffffffffffff
push 0
push dword [ebp - 0x144]
lea ecx, [ebp - 0x30]
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x5e
push str.Products::CSilentUpdater::LoadFromFile
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x1c], 8
jb 0x425e01
push dword [ebp - 0x30]
call fcn.004a295f
add esp, 4
lea ecx, [ebp - 0xc8]
mov byte [edi], 0
mov dword [ebp - 0x134], 1
call fcn.00425ed0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0043ed2b
lea ecx, [ebp - 0x150]
call fcn.00406a20
jmp 0x425eac
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425e9c
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 0x18], al
push 0x13
push str.Couldnt_load_file
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00404c90
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.00402a00
lea eax, [ebp - 0x30]
push eax
push eax
push 0x4c
push str.Products::CSilentUpdater::LoadFromFile
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x1c], 8
jb 0x425e9c
push dword [ebp - 0x30]
call fcn.004a295f
add esp, 4
mov byte [edi], 0
test esi, esi
je 0x425eac
push esi
call fcn.004a295f
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a2964
mov esp, ebp
pop ebp
ret