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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452653
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.00425c10
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.0042c050
cmp eax, 1
jne 0x427c72
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 0x427497
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 0x4274b9
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 0x427a22
mov eax, dword [edi + 0x48]
cmp eax, dword [edi + 0x4c]
je 0x427a22
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.00429a70
push eax
call fcn.00429da0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x71], al
mov byte [ebp - 4], 2
call fcn.0040da30
cmp byte [ebp - 0x71], 0
je 0x427a1e
mov ebx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa0], ecx
cmp ebx, ecx
je 0x427a18
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 0x4279fe
mov edi, dword [esi + 0x54]
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x90], edi
mov dword [ebp - 0xbc], eax
cmp edi, eax
je 0x4279fe
nop dword [eax + eax]
mov esi, dword [ebx]
mov eax, dword [edi]
add eax, 0x18
push eax
lea ecx, [esi + 0x18]
call fcn.0041ba90
test eax, eax
jne 0x4279e0
mov ebx, dword [esi + 0x54]
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0xb8], eax
cmp ebx, eax
je 0x4279da
nop
mov eax, dword [edi]
mov esi, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0xb4], eax
cmp esi, eax
je 0x4279c8
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.00425aa0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
mov ecx, dword [ebx]
push eax
call fcn.00425aa0
mov edx, dword [ebp - 0x84]
mov ecx, eax
cmp dword [edx + 0x14], 8
lea edi, [edx + 0x10]
mov dword [ebp - 0x8c], edi
jb 0x42760f
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
lea eax, [ecx + 0x10]
jb 0x42761a
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 0x427660
xor eax, eax
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x427689
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov eax, dword [edx]
cmp eax, ecx
jbe 0x427682
mov dword [ebp - 0x78], 0xffffffff
jmp 0x427689
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x427674
add ecx, 2
add edx, 2
sub dword [ebp - 0x78], 1
jmp 0x42763a
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x42763e
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 0x4276a7
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 0x4276d4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
cmp dword [ebp - 0x78], 0
jne 0x4279b9
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.00425ae0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
mov ecx, dword [ebx]
push eax
call fcn.00425ae0
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x14], 8
lea edi, [edx + 0x10]
mov dword [ebp - 0x8c], edi
jb 0x427715
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
lea ecx, [eax + 0x10]
jb 0x427720
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 0x427770
xor eax, eax
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x427796
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx]
cmp eax, ecx
jbe 0x42778f
mov dword [ebp - 0x78], 0xffffffff
jmp 0x427796
mov cx, word [eax]
cmp cx, word [edx]
jne 0x427787
add eax, 2
add edx, 2
sub dword [ebp - 0x88], 1
jmp 0x427743
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x427747
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 0x4277b4
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 0x4277e1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
cmp dword [ebp - 0x78], 0
jle 0x4279ab
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.00425aa0
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 0x427849
mov eax, dword [ecx]
jmp 0x42784b
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.00428510
mov edi, dword [ebp - 0x90]
test al, al
jne 0x4278a9
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x4278a0
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4278a0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4278a0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
jmp 0x4279b9
push dword [ebp - 0x9c]
lea eax, [ebp - 0xb0]
push eax
push ebx
lea eax, [ebp - 0xa8]
push eax
call fcn.00427cb0
push esi
push edi
test al, al
jne 0x4278da
mov eax, dword [ebp - 0x7c]
add eax, 0x60
push eax
call fcn.00427e10
jmp 0x427968
mov eax, dword [ebp - 0xb0]
sub eax, 0
je 0x427910
sub eax, 2
je 0x4278f8
mov eax, dword [ebp - 0x7c]
add eax, 0x6c
push eax
call fcn.00427e10
jmp 0x427968
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.00427e10
jmp 0x427968
mov eax, dword [ebp - 0x7c]
add eax, 0x60
push eax
call fcn.00427e10
lea eax, [ebp - 0xf0]
push eax
call fcn.0042b090
mov ecx, dword [esi]
add ecx, 0x20
mov byte [ebp - 4], 9
lea eax, [ebp - 0xf0]
cmp ecx, eax
je 0x427945
push 0xffffffffffffffff
push 0
push eax
call fcn.0040cc40
mov eax, dword [ebp - 0xdc]
cmp eax, 8
jb 0x427963
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 0x4278a0
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4278a0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4278a0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
jmp 0x4279b9
mov eax, dword [ebp - 0x7c]
push esi
push edi
add eax, 0x60
push eax
call fcn.00427e10
add esi, 8
cmp esi, dword [ebp - 0xb4]
jne 0x4275d6
add ebx, 8
mov dword [ebp - 0x80], ebx
cmp ebx, dword [ebp - 0xb8]
jne 0x4275c0
mov ebx, dword [ebp - 0x94]
add edi, 8
mov dword [ebp - 0x90], edi
cmp edi, dword [ebp - 0xbc]
jne 0x427590
mov ecx, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x7c]
add ebx, 8
mov dword [ebp - 0x94], ebx
cmp ebx, ecx
jne 0x427560
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.00425ca0
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x427a45
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
test esi, esi
je 0x427a59
mov eax, dword [edi + 0x70]
sub eax, dword [edi + 0x6c]
sar eax, 3
test eax, eax
setne al
jmp 0x427a5b
mov al, 1
mov dword [ebp - 0x98], 0
test al, al
je 0x427bfb
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x70]
mov byte [ebp - 0x84], 0
cmp eax, ecx
je 0x427a98
nop
mov edx, dword [eax]
cmp dword [edx + 0x50], 1
je 0x427a91
add eax, 8
cmp eax, ecx
jne 0x427a80
jmp 0x427a98
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 0x427bec
mov eax, dword [ebp - 0x98]
cmp eax, 1
je 0x427ac9
test eax, eax
jne 0x427bf2
mov dword [edi + 0x84], eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042b090
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x88]
cmp ecx, eax
je 0x427af9
push 0xffffffffffffffff
push 0
push eax
call fcn.0040cc40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xf4]
cmp eax, 8
jb 0x427b1b
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 0x427b75
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.00425ca0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x427b8e
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 0x427bd7
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 0x427bec
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
mov eax, dword [ebp - 0x98]
cmp eax, 1
je 0x427bfb
test eax, eax
jne 0x427c56
push dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x7c]
mov ecx, ebx
call fcn.00428040
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.0042aef0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x427c59
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040d960
jmp 0x427c59
mov ebx, dword [ebp - 0x7c]
cmp byte [ebp - 0x71], 0
je 0x427c6d
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebx + 0x84]
mov dword [ecx], eax
mov bl, byte [ebp - 0x71]
jmp 0x427c74
xor bl, bl
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x427c89
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.00433092
mov esp, ebp
pop ebp
ret 8