Function at 0x4273d0
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452663
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x7c], edi
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0x54]
mov ebx, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xac], esi
call fcn.00425c30
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], eax
mov edx, str.SoftwareCanonIJPLMInstalledDevice
lea eax, [ebp - 0x70]
push eax
push str.NEW_DATE
call fcn.0042c060
cmp eax, 1
jne 0x427c82
xor eax, eax
mov dword [ebp - 0xc4], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xd8], ax
lea ecx, [ebp - 0xd8]
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc8], 0
push eax
call fcn.0040cc40
lea eax, [edi + 0x88]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
cmp eax, ecx
je 0x4274a7
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0040cc40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xc4]
cmp eax, 8
jb 0x4274c9
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.0040d960
push str.NEW_SEND_INFO_AGREE
mov edx, str.SoftwareCanonIJPLMInstalledDevice
mov byte [ebp - 0x71], 1
call fcn.004014b0
mov dword [edi + 0x84], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x20]
je 0x427a32
mov eax, dword [edi + 0x48]
cmp eax, dword [edi + 0x4c]
je 0x427a32
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0x4625c4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402640
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.00429a80
push eax
call fcn.00429db0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x71], al
mov byte [ebp - 4], 2
call fcn.0040da30
cmp byte [ebp - 0x71], 0
je 0x427a2e
mov ebx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa0], ecx
cmp ebx, ecx
je 0x427a28
mov esi, dword [ebp - 0x7c]
nop word [eax + eax]
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
sub eax, dword [edx + 0x54]
cmp eax, 8
jb 0x427a0e
mov edi, dword [esi + 0x54]
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x90], edi
mov dword [ebp - 0xbc], eax
cmp edi, eax
je 0x427a0e
nop dword [eax + eax]
mov esi, dword [ebx]
mov eax, dword [edi]
add eax, 0x18
push eax
lea ecx, [esi + 0x18]
call fcn.0041bab0
test eax, eax
jne 0x4279f0
mov ebx, dword [esi + 0x54]
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0xb8], eax
cmp ebx, eax
je 0x4279ea
nop
mov eax, dword [edi]
mov esi, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0xb4], eax
cmp esi, eax
je 0x4279d8
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.00425ac0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
mov ecx, dword [ebx]
push eax
call fcn.00425ac0
mov edx, dword [ebp - 0x84]
mov ecx, eax
cmp dword [edx + 0x14], 8
lea edi, [edx + 0x10]
mov dword [ebp - 0x8c], edi
jb 0x42761f
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
lea eax, [ecx + 0x10]
jb 0x42762a
mov ecx, dword [ecx]
mov eax, dword [eax]
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
mov eax, dword [edi]
mov edi, dword [ebp - 0x88]
cmp edi, dword [ebx]
cmovb eax, edi
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x427670
xor eax, eax
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x427699
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov eax, dword [edx]
cmp eax, ecx
jbe 0x427692
mov dword [ebp - 0x78], 0xffffffff
jmp 0x427699
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x427684
add ecx, 2
add edx, 2
sub dword [ebp - 0x78], 1
jmp 0x42764a
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x42764e
sbb eax, eax
neg eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x80]
cmp eax, 8
jb 0x4276b7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040d960
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4276e4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
cmp dword [ebp - 0x78], 0
jne 0x4279c9
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.00425b00
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
mov ecx, dword [ebx]
push eax
call fcn.00425b00
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x14], 8
lea edi, [edx + 0x10]
mov dword [ebp - 0x8c], edi
jb 0x427725
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
lea ecx, [eax + 0x10]
jb 0x427730
mov eax, dword [eax]
mov ecx, dword [ecx]
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], ecx
mov ecx, dword [edi]
mov edi, dword [ebp - 0x84]
cmp edi, dword [ebx]
cmovb ecx, edi
mov dword [ebp - 0x88], ecx
test ecx, ecx
jne 0x427780
xor eax, eax
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x4277a6
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx]
cmp eax, ecx
jbe 0x42779f
mov dword [ebp - 0x78], 0xffffffff
jmp 0x4277a6
mov cx, word [eax]
cmp cx, word [edx]
jne 0x427797
add eax, 2
add edx, 2
sub dword [ebp - 0x88], 1
jmp 0x427753
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x427757
sbb eax, eax
neg eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x80]
cmp eax, 8
jb 0x4277c4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040d960
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4277f1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
cmp dword [ebp - 0x78], 0
jle 0x4279bb
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 6
mov ecx, dword [ebx]
push eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
call fcn.00425ac0
mov eax, dword [ebp - 0x94]
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 4], 7
mov edx, dword [eax]
add edx, 0x18
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x427859
mov eax, dword [ecx]
jmp 0x42785b
mov eax, ecx
push 0xffffffffffffffff
xor edi, edi
push edi
push edx
mov word [eax], di
call fcn.0040cc40
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.00428520
mov edi, dword [ebp - 0x90]
test al, al
jne 0x4278b9
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x4278b0
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4278b0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4278b0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
jmp 0x4279c9
push dword [ebp - 0x9c]
lea eax, [ebp - 0xb0]
push eax
push ebx
lea eax, [ebp - 0xa8]
push eax
call fcn.00427cc0
push esi
push edi
test al, al
jne 0x4278ea
mov eax, dword [ebp - 0x7c]
add eax, 0x60
push eax
call fcn.00427e20
jmp 0x427978
mov eax, dword [ebp - 0xb0]
sub eax, 0
je 0x427920
sub eax, 2
je 0x427908
mov eax, dword [ebp - 0x7c]
add eax, 0x6c
push eax
call fcn.00427e20
jmp 0x427978
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esi]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x78
push eax
call fcn.00427e20
jmp 0x427978
mov eax, dword [ebp - 0x7c]
add eax, 0x60
push eax
call fcn.00427e20
lea eax, [ebp - 0xf0]
push eax
call fcn.0042b0a0
mov ecx, dword [esi]
add ecx, 0x20
mov byte [ebp - 4], 9
lea eax, [ebp - 0xf0]
cmp ecx, eax
je 0x427955
push 0xffffffffffffffff
push 0
push eax
call fcn.0040cc40
mov eax, dword [ebp - 0xdc]
cmp eax, 8
jb 0x427973
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.0040d960
mov eax, dword [esi]
mov byte [eax], 1
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x4278b0
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4278b0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4278b0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
jmp 0x4279c9
mov eax, dword [ebp - 0x7c]
push esi
push edi
add eax, 0x60
push eax
call fcn.00427e20
add esi, 8
cmp esi, dword [ebp - 0xb4]
jne 0x4275e6
add ebx, 8
mov dword [ebp - 0x80], ebx
cmp ebx, dword [ebp - 0xb8]
jne 0x4275d0
mov ebx, dword [ebp - 0x94]
add edi, 8
mov dword [ebp - 0x90], edi
cmp edi, dword [ebp - 0xbc]
jne 0x4275a0
mov ecx, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x7c]
add ebx, 8
mov dword [ebp - 0x94], ebx
cmp ebx, ecx
jne 0x427570
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0xac]
mov ebx, dword [ebp - 0x9c]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00425cc0
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x427a55
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
test esi, esi
je 0x427a69
mov eax, dword [edi + 0x70]
sub eax, dword [edi + 0x6c]
sar eax, 3
test eax, eax
setne al
jmp 0x427a6b
mov al, 1
mov dword [ebp - 0x98], 0
test al, al
je 0x427c0b
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x70]
mov byte [ebp - 0x84], 0
cmp eax, ecx
je 0x427aa8
nop
mov edx, dword [eax]
cmp dword [edx + 0x50], 1
je 0x427aa1
add eax, 8
cmp eax, ecx
jne 0x427a90
jmp 0x427aa8
mov byte [ebp - 0x84], 1
mov eax, dword [ebx]
lea ecx, [ebp - 0x98]
push ecx
push dword [ebp - 0x84]
mov ecx, ebx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x427bfc
mov eax, dword [ebp - 0x98]
cmp eax, 1
je 0x427ad9
test eax, eax
jne 0x427c02
mov dword [edi + 0x84], eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042b0a0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x88]
cmp ecx, eax
je 0x427b09
push 0xffffffffffffffff
push 0
push eax
call fcn.0040cc40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf4]
cmp eax, 8
jb 0x427b2b
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.0040d960
mov eax, dword [edi + 0x84]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x80]
push eax
push 0x20006
push 0
push str.SoftwareCanonIJPLMInstalledDevice
push 0x80000002
mov dword [ebp - 0x80], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x427b85
push 4
lea eax, [ebp - 0xa0]
push eax
push 4
push 0
push str.NEW_SEND_INFO_AGREE
push dword [ebp - 0x80]
call edi
push dword [ebp - 0x80]
call ebx
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x28]
push eax
call fcn.00425cc0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x427b9e
mov esi, dword [esi]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0
push eax
push 0x20006
push 0
push str.SoftwareCanonIJPLMInstalledDevice
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427be7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.NEW_DATE
push dword [ebp - 0x80]
call edi
push dword [ebp - 0x80]
call ebx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x427bfc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
mov eax, dword [ebp - 0x98]
cmp eax, 1
je 0x427c0b
test eax, eax
jne 0x427c66
push dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x7c]
mov ecx, ebx
call fcn.00428050
push 0x24
xor eax, eax
mov dword [ebp - 0x44], 7
push str.SoftwareCanonIJPLMInstalledDevice
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.0040cd60
lea eax, [ebx + 0x54]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042af00
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x427c69
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040d960
jmp 0x427c69
mov ebx, dword [ebp - 0x7c]
cmp byte [ebp - 0x71], 0
je 0x427c7d
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebx + 0x84]
mov dword [ecx], eax
mov bl, byte [ebp - 0x71]
jmp 0x427c84
xor bl, bl
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x427c99
inc ecx
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call fcn.0040d960
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004330a2
mov esp, ebp
pop ebp
ret 8