Function at 0x417250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f9bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4c2c40]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2c40]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x44], esi
mov edi, ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x1a4], 7
mov dword [esp + 0x1a0], esi
mov word [esp + 0x190], si
mov dword [esp + 0x1b8], esi
mov ecx, dword [0x4c8544]
cmp ecx, esi
jne 0x4172ea
push 4
call fcn.0045a845
add esp, 4
cmp eax, esi
je 0x4172e0
mov dword [eax], vtable.CWinAUSystemUtil.0
jmp 0x4172e2
xor eax, eax
mov ecx, eax
mov dword [0x4c8544], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 0x3e8
call edx
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 8]
add eax, 4
cmp esi, dword [eax + 8]
mov dword [esp + 0x44], 1
mov dword [esp + 0x34], eax
jbe 0x417315
call fcn.00478a25
mov dword [esp + 0x40], esi
jmp 0x417327
mov edi, dword [esp + 0x84]
mov esi, dword [edi + 0x2c]
mov ebx, dword [esi + 0xc]
add esi, 4
cmp dword [esi + 4], ebx
jbe 0x41733a
call fcn.00478a25
cmp dword [esp + 0x34], esi
je 0x417345
call fcn.00478a25
cmp dword [esp + 0x40], ebx
je 0x4187d4
lea eax, [edi + 0xc]
push eax
mov ebx, 0x4a9c18
lea esi, [esp + 0x1c]
mov dword [esp + 0x6c], eax
call fcn.00403760
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x1b8], 1
cmp eax, dword [ecx + 8]
jb 0x417384
call fcn.00478a25
mov edi, dword [esp + 0x40]
mov eax, dword [edi + 4]
cmp dword [eax + 0x18], 8
jb 0x417396
mov eax, dword [eax + 4]
jmp 0x417399
add eax, 4
push esi
mov ebx, eax
lea esi, [esp + 0x13c]
call fcn.00403760
add esp, 4
mov esi, 8
mov byte [esp + 0x1b8], 3
cmp dword [esp + 0x30], esi
jb 0x4173cb
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045a870
add esp, 4
mov eax, dword [esp + 0x34]
xor ebx, ebx
cmp edi, dword [eax + 8]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x4173ec
call fcn.00478a25
mov eax, dword [edi + 4]
cmp dword [eax + 0x18], esi
jb 0x4173f9
mov edx, dword [eax + 4]
jmp 0x4173fc
lea edx, [eax + 4]
mov eax, edx
mov dword [esp + 0x118], 7
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
lea esi, [eax + 2]
jmp 0x417420
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417420
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x108]
call fcn.00401c20
mov eax, 4
mov byte [esp + 0x1b8], al
mov dword [esp + 0x88], 0x5f
mov dword [esp + 0x38], eax
jmp 0x417460
or ecx, 0xffffffff
lea edi, [esp + 0x88]
lea ebx, [esp + 0x100]
call fcn.0040e6b0
push eax
mov ecx, ebx
push ecx
xor ecx, ecx
lea esi, [esp + 0xb4]
call fcn.0040e010
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov byte [esp + 0x1c0], 5
call fcn.00401b70
mov byte [esp + 0x1b8], 4
cmp dword [esp + 0xc4], 8
jb 0x4174bd
mov edx, dword [esp + 0xb0]
push edx
call fcn.0045a870
add esp, 4
sub dword [esp + 0x38], 1
jne 0x417460
mov eax, dword [esp + 0x68]
push eax
mov ebx, 0x4a9c18
lea esi, [esp + 0xb0]
call fcn.00403760
add esp, 4
lea ecx, [esp + 0x100]
push ecx
push eax
lea edi, [esp + 0x124]
mov byte [esp + 0x1c0], 6
call fcn.00403f90
add esp, 8
mov byte [esp + 0x1b8], 8
cmp dword [esp + 0xc4], 8
jb 0x41751f
mov edx, dword [esp + 0xb0]
push edx
call fcn.0045a870
add esp, 4
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 0x88]
xor ebx, ebx
cmp byte [eax], 1
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
je 0x4180c8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
cmp edx, dword [ecx + 8]
jb 0x417563
call fcn.00478a25
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [edi + 0x38]
add eax, 0x38
push ebx
mov dword [esp + 0x90], ecx
call fcn.00401b70
mov ecx, dword [esp + 0x44]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], esp
mov dword [edi + 0x54], ecx
push 0x26
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push str.Canon.IC.AutoUpdate.StartUpdateChecker
mov word [esi + 4], bx
call fcn.00401c20
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x4175b7
xor esi, esi
jmp 0x4175bf
mov esi, dword [ecx + 0xc]
sub esi, eax
sar esi, 3
mov edx, dword [edi + 0x5c]
mov eax, dword [edi + 0x58]
push edx
push eax
push ecx
call fcn.00419360
mov ecx, dword [edi + 0x54]
add esp, 4
push edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0xbc]
push esi
push 1
call fcn.0043c7f0
mov esi, dword [esp + 0x178]
add esp, 0x3c
cmp dword [esp + 0x150], 8
mov dword [esp + 0x80], ebx
jae 0x417608
lea esi, [esp + 0x13c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417623
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, dword [esp + 0x40]
jmp 0x417aa5
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov byte [esp + 0x17], bl
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
cmp esi, dword [ecx + 8]
jb 0x41764b
call fcn.00478a25
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
push edi
push 0x418c10
push ebx
add edx, 0x1c
push eax
mov ecx, 0x418c20
lea ebx, [esp + 0x148]
call fcn.00403930
xor ebx, ebx
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x68], eax
jne 0x41767f
mov ecx, eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x68]
cmp eax, 3
jne 0x417987
mov edx, dword [edi + 0x2c]
push edx
lea ecx, [esp + 0x13c]
call fcn.004011e0
mov esi, dword [esp + 0x124]
add esp, 4
cmp dword [esp + 0x134], 8
mov byte [esp + 0x17], al
jae 0x4176bb
lea esi, [esp + 0x120]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4176cf
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x417717
lea eax, [esp + 0x11c]
push ebx
push eax
call fcn.00433390
mov eax, dword [0x4c8540]
add esp, 8
cmp eax, ebx
jne 0x417706
push 4
call fcn.0045a845
add esp, 4
cmp eax, ebx
je 0x4176ff
mov dword [eax], vtable.CWinAUFileUtil.0
jmp 0x417701
xor eax, eax
mov dword [0x4c8540], eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x11c]
push ecx
mov ecx, eax
call edx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x1b8], 0x12
push 1
push 0x4a9464
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00401c20
mov eax, esi
push eax
lea esi, [esp + 0x90]
mov byte [esp + 0x1bc], 0x13
call fcn.00401650
mov byte [esp + 0x1b8], 0x12
cmp dword [esp + 0x60], 8
jb 0x417788
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0045a870
add esp, 4
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
cmp esi, dword [edx + 8]
jb 0x41779a
call fcn.00478a25
mov eax, dword [esi + 4]
push eax
lea esi, [esp + 0x90]
call fcn.00401650
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1bc], 0x14
call fcn.00431350
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xec]
mov byte [esp + 0x1c0], 0x15
call fcn.00401b70
mov byte [esp + 0x1b8], 0x14
cmp dword [esp + 0x30], 8
jb 0x41780e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045a870
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea esi, [esp + 0x18]
jne 0x417868
push 0xd
push str.CMP_UNCORRECT
call fcn.00401c20
mov byte [esp + 0x1b8], 0x16
push 2
push 0x4a947c
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00401c20
mov byte [esp + 0x1b8], 0x17
jmp 0x4178a5
push 0xb
push str.CMP_CORRECT
call fcn.00401c20
mov byte [esp + 0x1b8], 0x18
push 2
push 0x4a947c
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00401c20
mov byte [esp + 0x1b8], 0x19
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x4c]
call fcn.004323e0
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x4178d1
mov eax, dword [esp + 0x4c]
push eax
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x30], 8
mov word [esp + 0x4c], bx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 7
jb 0x4178f6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0xfc], 8
jb 0x417910
mov edx, dword [esp + 0xe8]
push edx
call fcn.0045a870
add esp, 4
mov byte [esp + 0x1b8], 8
mov eax, dword [esp + 0x90]
cmp eax, ebx
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
je 0x417968
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x94]
push ecx
call fcn.00402640
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.0045a870
mov edi, dword [esp + 0x88]
add esp, 4
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
jmp 0x417990
cmp eax, ebx
je 0x417996
cmp eax, 1
je 0x417996
cmp byte [esp + 0x17], bl
jne 0x4179f9
cmp dword [esp + 0x38], 2
jge 0x417a37
mov ecx, dword [edi + 0x88]
cmp byte [ecx], 1
je 0x417a4f
cmp dword [esp + 0x150], 8
mov eax, dword [esp + 0x13c]
jae 0x4179c8
lea eax, [esp + 0x13c]
push eax
call fcn.00478f9d
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [edi + 0x5c], eax
add esp, 4
xor eax, eax
mov dword [edi + 0x58], edx
call fcn.00418b90
add dword [esp + 0x38], 1
mov edi, dword [esp + 0x84]
xor ebx, ebx
jmp 0x417639
mov ecx, dword [esp + 0x34]
cmp esi, dword [ecx + 8]
jb 0x417a07
call fcn.00478a25
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
add ecx, 0x54
push ebx
lea eax, [esp + 0x124]
call fcn.00401b70
mov edx, dword [esp + 0x34]
cmp esi, dword [edx + 8]
jb 0x417a2a
call fcn.00478a25
mov eax, dword [esi + 4]
mov byte [eax + 0x70], 1
mov eax, dword [esp + 0x68]
jmp 0x417a4f
mov ecx, dword [esp + 0x34]
cmp esi, dword [ecx + 8]
jb 0x417a49
call fcn.00478a25
mov eax, dword [esp + 0x68]
mov edx, dword [esi + 4]
mov byte [edx + 0x70], bl
cmp eax, 3
je 0x417a8d
mov eax, dword [esp + 0x64]
sub eax, ebx
je 0x417a80
sub eax, 1
je 0x417a73
sub eax, 1
jne 0x417a8d
mov dword [esp + 0x80], 0x1f8
jmp 0x417a9e
mov dword [esp + 0x80], 0x1f4
jmp 0x417a9e
mov dword [esp + 0x80], 0x194
jmp 0x417a9e
cmp byte [esp + 0x17], bl
jne 0x417a9e
mov dword [esp + 0x80], 0xd
add dword [esp + 0x44], 1
xor ebx, ebx
mov eax, dword [edi + 0x88]
cmp byte [eax], 1
je 0x418475
mov ecx, dword [esp + 0x34]
cmp esi, dword [ecx + 8]
jb 0x417ac2
call fcn.00478a25
mov edx, dword [esi + 4]
cmp byte [edx + 0x70], bl
je 0x417b6e
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 8]
jb 0x417adc
call fcn.00478a25
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
add eax, 0x54
push eax
lea esi, [esp + 0x13c]
call fcn.00445400
add esp, 4
test al, al
jne 0x417b05
mov dword [esp + 0x80], 2
cmp dword [esp + 0x150], 8
mov eax, dword [esp + 0x13c]
jae 0x417b1d
lea eax, [esp + 0x13c]
push eax
call fcn.00478f9d
add esp, 4
cmp dword [esp + 0x80], ebx
jne 0x417b6e
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
cmp esi, dword [edx + 8]
jb 0x417b41
call fcn.00478a25
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
add esi, 0x54
cmp ecx, dword [eax + 8]
jb 0x417b59
call fcn.00478a25
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 4]
mov eax, dword [edi + 0x68]
push esi
add ecx, 0x38
push ecx
push eax
call fcn.00434e90
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x1b8], 0x23
push 1
push 0x4a9464
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov edx, esi
push edx
lea esi, [esp + 0xa0]
mov byte [esp + 0x1bc], 0x24
call fcn.00401650
mov byte [esp + 0x1b8], 0x23
cmp dword [esp + 0x30], 8
jb 0x417bdf
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045a870
add esp, 4
push 2
push 0x4a9eec
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov ecx, esi
push ecx
lea esi, [esp + 0xa0]
mov byte [esp + 0x1bc], 0x25
call fcn.00401650
mov byte [esp + 0x1b8], 0x23
cmp dword [esp + 0x30], 8
jb 0x417c33
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045a870
add esp, 4
push 8
push str.DOWNLOAD
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov eax, esi
push eax
lea esi, [esp + 0xa0]
mov byte [esp + 0x1bc], 0x26
call fcn.00401650
mov byte [esp + 0x1b8], 0x23
cmp dword [esp + 0x30], 8
jb 0x417c87
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045a870
add esp, 4
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
cmp edx, dword [eax + 8]
jb 0x417c99
call fcn.00478a25
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
add edx, 0x38
push edx
lea esi, [esp + 0xa0]
call fcn.00401650
mov dword [esp + 0x188], 7
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], bx
mov byte [esp + 0x1b8], 0x27
mov edi, dword [edi + 0x2c]
mov eax, dword [edi + 8]
add edi, 4
cmp eax, ebx
jne 0x417ce3
xor ecx, ecx
jmp 0x417ceb
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
lea edx, [esp + 0xc8]
call fcn.00440350
mov dword [esp + 0x38], eax
mov byte [esp + 0x1b8], 0x28
mov ecx, dword [esp + 0x44]
add ecx, 0xffffffff
lea edx, [esp + 0xe4]
call fcn.00440350
push eax
lea eax, [esp + 0x174]
push eax
lea edi, [esp + 0x50]
mov byte [esp + 0x1c0], 0x29
call fcn.00403f90
push eax
mov ebx, 0x4a9c18
lea esi, [esp + 0x24]
mov byte [esp + 0x1c4], 0x2a
call fcn.00403760
add esp, 0xc
mov ecx, dword [esp + 0x38]
push ecx
push eax
lea edi, [esp + 0xb4]
mov byte [esp + 0x1c0], 0x2b
call fcn.00403f90
add esp, 8
push eax
lea esi, [esp + 0xa0]
mov byte [esp + 0x1bc], 0x2c
call fcn.00401650
mov edi, 8
cmp dword [esp + 0xc4], edi
jb 0x417d9a
mov edx, dword [esp + 0xb0]
push edx
call fcn.0045a870
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x30], edi
mov esi, 7
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
jb 0x417dca
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x417dea
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0xfc], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x417e10
mov edx, dword [esp + 0xe8]
push edx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0xe0], edi
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
jb 0x417e3f
mov eax, dword [esp + 0xcc]
push eax
call fcn.0045a870
add esp, 4
mov dword [esp + 0x16c], esi
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], bx
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1bc], 0x2d
call fcn.00431350
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x15c]
mov byte [esp + 0x1c0], 0x2e
call fcn.00401b70
mov byte [esp + 0x1b8], 0x2d
cmp dword [esp + 0xe0], edi
jb 0x417eac
mov edx, dword [esp + 0xcc]
push edx
call fcn.0045a870
add esp, 4
push 9
mov dword [esp + 0x34], esi
push str.THROW_MSG
lea esi, [esp + 0x20]
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov byte [esp + 0x1b8], 0x2f
push 2
push 0x4a947c
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00401c20
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x158]
mov edx, esi
mov byte [esp + 0x1bc], 0x30
call fcn.004323e0
add esp, 4
cmp dword [esp + 0x60], edi
jb 0x417f23
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0045a870
add esp, 4
mov byte [esp + 0x1b8], 0x2d
cmp dword [esp + 0x30], edi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x417f4f
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045a870
add esp, 4
sub esp, 0x1c
mov edx, str.Canon.IC.AutoUpdate.StartUpdateChecker
mov eax, esp
mov dword [esp + 0x54], esp
call fcn.004015e0
mov edx, dword [esp + 0xa0]
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x417f77
xor esi, esi
jmp 0x417f7f
mov esi, dword [ecx + 0xc]
sub esi, eax
sar esi, 3
mov eax, dword [edx + 0x5c]
mov edx, dword [edx + 0x58]
push eax
push edx
push ecx
call fcn.00419360
mov ecx, dword [esp + 0xac]
add esp, 4
push edx
mov edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0xac]
push eax
push edx
push esi
push 1
call fcn.0043c7f0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
add esp, 0x3c
cmp ecx, dword [eax + 8]
jb 0x417fc9
call fcn.00478a25
add dword [esp + 0x40], edi
cmp dword [esp + 0x16c], edi
jb 0x417fe6
mov edx, dword [esp + 0x158]
push edx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x188], edi
mov esi, 7
mov dword [esp + 0x16c], esi
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], bx
jb 0x41801a
mov eax, dword [esp + 0x174]
push eax
call fcn.0045a870
add esp, 4
mov dword [esp + 0x188], esi
lea esi, [esp + 0x9c]
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], bx
call fcn.004019a0
cmp dword [esp + 0x134], edi
jb 0x418055
mov ecx, dword [esp + 0x120]
push ecx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x118], edi
mov esi, 7
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x418089
mov edx, dword [esp + 0x104]
push edx
call fcn.0045a870
add esp, 4
mov byte [esp + 0x1b8], bl
cmp dword [esp + 0x150], edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x417320
mov eax, dword [esp + 0x13c]
push eax
call fcn.0045a870
add esp, 4
jmp 0x417320
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x1b8], 9
push 1
push 0x4a9464
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov ecx, esi
push ecx
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0xa
call fcn.00401650
mov byte [esp + 0x1b8], 9
cmp dword [esp + 0x30], 8
jb 0x41812d
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045a870
add esp, 4
push 2
push 0x4a9eec
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov eax, esi
push eax
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0xb
call fcn.00401650
mov byte [esp + 0x1b8], 9
cmp dword [esp + 0x30], 8
jb 0x41817e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045a870
add esp, 4
push 5
push str.ERROR
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov edx, esi
push edx
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0xc
call fcn.00401650
mov byte [esp + 0x1b8], 9
cmp dword [esp + 0x30], 8
jb 0x4181cf
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045a870
add esp, 4
xor ecx, ecx
lea edx, [esp + 0xc8]
call fcn.00440350
push eax
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0xd
call fcn.00401650
cmp dword [esp + 0xe0], 8
jb 0x418209
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0045a870
add esp, 4
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1bc], 0xe
call fcn.00431350
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xec]
mov byte [esp + 0x1c0], 0xf
call fcn.00401b70
mov byte [esp + 0x1b8], 0xe
cmp dword [esp + 0xe0], 8
jb 0x418278
mov eax, dword [esp + 0xcc]
push eax
call fcn.0045a870
add esp, 4
push 9
push str.THROW_MSG
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov byte [esp + 0x1b8], 0x10
push 2
push 0x4a947c
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00401c20
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xe8]
mov edx, esi
mov byte [esp + 0x1bc], 0x11
call fcn.004323e0
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x4182f4
mov edx, dword [esp + 0x4c]
push edx
call fcn.0045a870
add esp, 4
mov byte [esp + 0x1b8], 0xe
cmp dword [esp + 0x30], 8
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x418321
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045a870
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x80], esp
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4a9c14
mov word [esi + 4], bx
call fcn.00401c20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [edi + 0x38]
push ebx
call fcn.0043c7f0
add esp, 0x3c
cmp dword [esp + 0xfc], 8
mov dword [edi + 0x30], 1
jb 0x41837a
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0045a870
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
je 0x4183dc
mov edi, dword [esp + 0x74]
cmp eax, edi
je 0x4183d3
lea esi, [eax + 0x18]
cmp dword [esi], 8
jb 0x4183b8
mov edx, dword [esi - 0x14]
push edx
call fcn.0045a870
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x4183a7
mov eax, dword [esp + 0x70]
push eax
call fcn.0045a870
add esp, 4
mov esi, 8
cmp dword [esp + 0x134], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
jb 0x418406
mov ecx, dword [esp + 0x120]
push ecx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x118], esi
mov dword [esp + 0x134], 7
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x418439
mov edx, dword [esp + 0x104]
push edx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x150], esi
mov dword [esp + 0x118], 7
mov word [esp + 0x104], bx
mov dword [esp + 0x114], ebx
jb 0x418a34
mov eax, dword [esp + 0x13c]
push eax
call fcn.0045a870
add esp, 4
jmp 0x418a34
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x1b8], 0x1a
push 1
push 0x4a9464
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov ecx, esi
push ecx
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0x1b
call fcn.00401650
mov byte [esp + 0x1b8], 0x1a
cmp dword [esp + 0x30], 8
jb 0x4184da
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045a870
add esp, 4
push 2
push 0x4a9eec
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov eax, esi
push eax
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0x1c
call fcn.00401650
mov byte [esp + 0x1b8], 0x1a
cmp dword [esp + 0x30], 8
jb 0x41852b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045a870
add esp, 4
push 5
push str.ERROR
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov edx, esi
push edx
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0x1d
call fcn.00401650
mov byte [esp + 0x1b8], 0x1a
cmp dword [esp + 0x30], 8
jb 0x41857c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045a870
add esp, 4
xor ecx, ecx
lea edx, [esp + 0xc8]
call fcn.00440350
push eax
lea esi, [esp + 0x70]
mov byte [esp + 0x1bc], 0x1e
call fcn.00401650
cmp dword [esp + 0xe0], 8
jb 0x4185b6
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0045a870
add esp, 4
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1bc], 0x1f
call fcn.00431350
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xec]
mov byte [esp + 0x1c0], 0x20
call fcn.00401b70
mov byte [esp + 0x1b8], 0x1f
cmp dword [esp + 0xe0], 8
jb 0x418625
mov eax, dword [esp + 0xcc]
push eax
call fcn.0045a870
add esp, 4
push 9
push str.THROW_MSG
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00401c20
mov byte [esp + 0x1b8], 0x21
push 2
push 0x4a947c
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00401c20
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xe8]
mov edx, esi
mov byte [esp + 0x1bc], 0x22
call fcn.004323e0
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x4186a1
mov edx, dword [esp + 0x4c]
push edx
call fcn.0045a870
add esp, 4
mov byte [esp + 0x1b8], 0x1f
cmp dword [esp + 0x30], 8
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x4186ce
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045a870
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x80], esp
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4a9c14
mov word [esi + 4], bx
call fcn.00401c20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [edi + 0x38]
push ebx
call fcn.0043c7f0
add esp, 0x3c
cmp dword [esp + 0xfc], 8
mov dword [edi + 0x30], 1
jb 0x418727
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0045a870
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov esi, 7
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
je 0x418768
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x74]
push edx
call fcn.00402640
mov eax, dword [esp + 0x74]
add esp, 4
push eax
call fcn.0045a870
add esp, 4
mov edi, 8
cmp dword [esp + 0x134], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
jb 0x418792
mov ecx, dword [esp + 0x120]
push ecx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x118], edi
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x4187c1
mov edx, dword [esp + 0x104]
push edx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x150], edi
mov dword [esp + 0x118], esi
jmp 0x41844b
cmp dword [edi + 0x84], 8
jb 0x4187e2
mov ebx, dword [edi + 0x70]
jmp 0x4187e5
lea ebx, [edi + 0x70]
mov eax, dword [edi + 0x68]
push eax
call fcn.00434390
mov esi, eax
call fcn.004532b0
mov edx, dword [eax]
push ebx
mov ecx, eax
mov eax, dword [edx + 0xc]
push esi
call eax
test esi, esi
je 0x41880e
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, str.DELETE
lea eax, [esp + 0xac]
call fcn.004015e0
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xa0]
mov byte [esp + 0x1bc], 0x31
mov eax, dword [edi + 0x68]
push edx
push eax
call fcn.004350d0
mov edx, dword [eax + 4]
test edx, edx
jne 0x41884b
xor eax, eax
jmp 0x418863
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
lea esi, [esp + 0x9c]
sete bl
call fcn.004019a0
mov byte [esp + 0x1b8], 0
cmp dword [esp + 0xc4], 8
jb 0x418896
mov eax, dword [esp + 0xb0]
push eax
call fcn.0045a870
add esp, 4
test bl, bl
je 0x418a34
mov edx, 0x4ac370
lea eax, [esp + 0xac]
call fcn.004015e0
lea ecx, [esp + 0xac]
mov byte [esp + 0x1b8], 0x32
mov edx, dword [edi + 0x68]
push ecx
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x4c], 1
call fcn.00435240
mov dword [esp + 0x1b8], 0x33
mov edx, dword [eax + 4]
test edx, edx
mov ebx, 3
mov dword [esp + 0x44], ebx
je 0x41890c
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x41896f
mov edx, str.UPDATE
lea eax, [esp + 0x18]
call fcn.004015e0
lea eax, [esp + 0x18]
mov dword [esp + 0x1b8], 0x34
mov edx, dword [edi + 0x68]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0x4c], 7
call fcn.00435240
mov edx, dword [eax + 4]
test edx, edx
mov ebx, 0xf
je 0x418968
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x41896f
mov byte [esp + 0x17], 1
jmp 0x418974
mov byte [esp + 0x17], 0
test bl, 8
je 0x418988
lea esi, [esp + 0x9c]
and ebx, 0xfffffff7
call fcn.004019a0
test bl, 4
je 0x4189b7
and ebx, 0xfffffffb
cmp dword [esp + 0x30], 8
jb 0x4189a4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045a870
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
test bl, 2
je 0x4189cb
lea esi, [esp + 0x8c]
and ebx, 0xfffffffd
call fcn.004019a0
test bl, 1
mov dword [esp + 0x1b8], 0
je 0x4189f5
cmp dword [esp + 0xc4], 8
jb 0x4189f5
mov edx, dword [esp + 0xb0]
push edx
call fcn.0045a870
add esp, 4
cmp byte [esp + 0x17], 0
je 0x418a34
sub esp, 0x1c
mov edx, 0x4a9c14
mov eax, esp
mov dword [esp + 0x80], esp
call fcn.004015e0
push 0
push 0
push 0
push 0
push 0xe
push 0
push 0
lea ecx, [edi + 0x38]
push 0
call fcn.0043c7f0
add esp, 0x3c
mov dword [edi + 0x30], 1
push 0
push 0
push 0x80c8
push 0
push str.Canon.IC.AutoUpdate.StartUpdateChecker
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1a4], 8
jb 0x418a6b
mov eax, dword [esp + 0x190]
push eax
call fcn.0045a870
add esp, 4
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00478599
mov esp, ebp
pop ebp
ret