Function at 0x55dd00
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b03ba
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x616040]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x621f0c]
mov eax, 0x2aaaaaab
sub ecx, dword [0x621f08]
mov ebx, 0x621ed0
mov edi, dword [ebp + 8]
imul ecx
mov dword [ebp - 0x23c], edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x268], ebx
shr eax, 0x1f
mov byte [ebp - 0x235], 1
add eax, edx
jne 0x55df3f
push edi
push eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0055e990
test al, al
jne 0x55dd9a
push 0x60baf4
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x27c], 0x226
push eax
call fcn.0052d7c1
push 0
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0
push eax
call dword [0x621968]
test al, al
jne 0x55dde3
push 0x60baf4
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x233
push eax
call fcn.0052d7c1
push dword [ebp - 0x258]
mov ecx, 0x621f08
call fcn.00405a70
xor esi, esi
mov eax, dword [ebp - 0x258]
cmp esi, eax
jae 0x55de7d
mov eax, dword [ebp - 0x250]
mov edx, dword [eax + esi*4]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
cmp byte [edx], 0
jne 0x55de2c
xor ecx, ecx
jmp 0x55de3a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x55de31
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.004021d0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x621f08
call fcn.004059f0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x220], 0x10
jb 0x55de77
push dword [ebp - 0x234]
call fcn.0040d533
add esp, 4
inc esi
jmp 0x55ddf5
mov ecx, dword [0x6219d8]
test ecx, ecx
je 0x55deaf
push eax
push dword [ebp - 0x250]
call ecx
test al, al
jne 0x55deaf
push 0x60baf4
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0x242
push eax
call fcn.0052d7c1
mov edx, dword [ebx + 0x3c]
mov eax, 0x2aaaaaab
sub edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x38]
imul edx
mov byte [ebp - 0x264], 0
push dword [ebp - 0x264]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebx + 0x3c]
push eax
call fcn.004061d0
add esp, 8
jmp 0x55df18
mov edi, dword [ebp - 0x23c]
sub esp, 8
mov dword [ebp - 4], 0xffffffff
push 0
call fcn.0055e930
cmp byte [ebp - 0x235], 0
jne 0x55df3f
xor al, al
jmp 0x55e909
xor eax, eax
mov dword [ebp - 0x258], 0
cmp edi, 0x9fbf1
jne 0x55df58
mov eax, 1
mov ecx, dword [0x621a6c]
test ecx, ecx
jne 0x55df66
xor eax, eax
jmp 0x55df74
push 0x2000000
push dword [eax*4 + 0x621ebc]
call ecx
push eax
mov edx, edi
lea ecx, [ebp - 0x244]
call fcn.0058f8e0
add esp, 4
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x244]
cmp dword [eax - 0xc], 0
jne 0x55e870
mov ecx, dword [ebx + 0x3c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x38]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edx, edx
cmp edi, 0x9fbf1
jne 0x55dfc2
mov edx, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x55dfdb
push eax
push 0x200ffff
push dword [edx*4 + 0x621ebc]
call ecx
mov esi, dword [ebx + 0x38]
cmp esi, dword [ebx + 0x3c]
je 0x55e050
or ebx, 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x55dff0
mov eax, dword [esi]
jmp 0x55dff2
mov eax, esi
push eax
lea ecx, [ebp - 0x25c]
call fcn.00405600
mov byte [ebp - 4], 4
lea edx, [ebp - 0x25c]
push dword [ebp - 0x258]
mov ecx, edi
call fcn.00566650
add esp, 4
test eax, eax
je 0x55e022
inc dword [ebp - 0x258]
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e045
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x18
cmp esi, dword [0x621f0c]
jne 0x55dfe6
call fcn.0041505f
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x55e06c
push 0x80004005
call fcn.00402740
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x274], ebx
mov byte [ebp - 4], 5
call fcn.0041505f
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x55e09a
push 0x80004005
call fcn.00402740
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x254], esi
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 6
push eax
push 0x20019
push 0
push str.SOFTWARECanonMSETUP4LatestDevice
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x260], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call fcn.0041505f
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x55e0f0
push 0x80004005
call fcn.00402740
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 7
call fcn.0041505f
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x55e11e
push 0x80004005
call fcn.00402740
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x270], edi
mov byte [ebp - 4], 8
call fcn.0041505f
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x55e14c
push 0x80004005
call fcn.00402740
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x260]
mov edx, str.MS_INSTDATE
push eax
call fcn.0058b990
mov edx, dword [ebp - 0x23c]
lea ecx, [ebp - 0x264]
add esp, 4
push 0xa0010
call fcn.0058f8e0
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x264]
test eax, eax
setne cl
test ecx, ecx
jne 0x55e1b0
push 0x80004005
call fcn.00402740
mov ecx, eax
mov eax, dword [ebp - 0x250]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55e1de
test dx, dx
je 0x55e1da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55e1de
add eax, 4
add ecx, 4
test dx, dx
jne 0x55e1b8
xor eax, eax
jmp 0x55e1e3
sbb eax, eax
or eax, 1
test eax, eax
je 0x55e38a
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x274]
push eax
mov edx, str.DEVICEID
call fcn.0058b990
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x24c]
add esp, 4
mov dword [ebp - 0x24c], 0
push eax
push 0x20019
push 0
push str.SOFTWARECanonMSETUP4InstalledDevice
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [ebp - 0x274]
xor eax, eax
mov dword [ebp - 0x240], eax
lea ecx, [ecx]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], pe_nt_image_headers32
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x55e378
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x24c]
call edi
call fcn.0041505f
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x55e062
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x248]
mov edx, str.DEVICENAME
push eax
call fcn.0058b990
xor eax, eax
add esp, 4
test ebx, ebx
setne al
test eax, eax
je 0x55e062
mov edi, dword [ebp - 0x278]
mov ecx, ebx
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55e319
test dx, dx
je 0x55e315
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55e319
add eax, 4
add ecx, 4
test dx, dx
jne 0x55e2f3
xor eax, eax
jmp 0x55e31e
sbb eax, eax
or eax, 1
test eax, eax
je 0x55e3f1
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0xfffffff0
mov dword [ebp - 0x248], 0
mov byte [ebp - 4], 0xa
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e35a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x240]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
inc eax
mov dword [ebp - 0x240], eax
cmp eax, 0x400
jb 0x55e240
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x270]
push dword [ebp - 0x260]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x260], 0
cmp dword [esi - 0xc], 0
je 0x55e7a1
mov eax, dword [ebp - 0x25c]
mov ecx, 0x5ea7c8
jmp 0x55e3c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55e50d
test dx, dx
je 0x55e3ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55e50d
add eax, 4
add ecx, 4
test dx, dx
jne 0x55e3c0
xor eax, eax
jmp 0x55e512
mov ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x270]
push eax
mov edx, str.MS_INSTDATE
call fcn.0058b990
mov ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x25c]
add esp, 4
mov edx, str.CATEGORY
push eax
call fcn.0058b990
mov edx, dword [ebp - 0x23c]
lea ecx, [ebp - 0x240]
add esp, 4
push 0xa0011
call fcn.0058f8e0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x240]
test esi, esi
setne al
test eax, eax
jne 0x55e45d
push 0x80004005
call fcn.00402740
mov eax, dword [ebp - 0x270]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55e48b
test dx, dx
je 0x55e487
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55e48b
add eax, 4
add ecx, 4
test dx, dx
jne 0x55e465
xor eax, eax
jmp 0x55e490
sbb eax, eax
or eax, 1
test eax, eax
jne 0x55e4db
add esi, 0xfffffff0
mov byte [ebp - 4], 0xb
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e4b2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0xa
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e4d0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x254]
jmp 0x55e378
mov ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x254]
push eax
mov edx, str.MS_INTERFACE
call fcn.0058b990
add esp, 4
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x248], 0
jmp 0x55e494
sbb eax, eax
or eax, 1
test eax, eax
jne 0x55e576
mov ecx, 0x5ea7d0
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55e546
test dx, dx
je 0x55e542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55e546
add eax, 4
add ecx, 4
test dx, dx
jne 0x55e520
xor eax, eax
jmp 0x55e54b
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x244]
push ebx
jne 0x55e566
push str.Canon__s
push eax
call fcn.00402d50
add esp, 0xc
jmp 0x55e5d7
push str.Canon__s_Network
push eax
call fcn.00402d50
add esp, 0xc
jmp 0x55e5d7
push ebx
lea eax, [ebp - 0x244]
push str.CanoScan__s
push eax
call fcn.00402d50
mov eax, dword [ebp - 0x244]
add esp, 0xc
mov ecx, str.CanoScan_9000F_II
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55e5bc
test dx, dx
je 0x55e5b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55e5bc
add eax, 4
add ecx, 4
test dx, dx
jne 0x55e596
xor eax, eax
jmp 0x55e5c1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x55e5d7
push 0x16
push str.CanoScan_9000F_Mark_II
lea ecx, [ebp - 0x244]
call fcn.004035a0
mov edx, dword [ebp - 0x23c]
xor eax, eax
cmp edx, 0x9fbf1
jne 0x55e5ec
mov eax, 1
mov ecx, dword [0x621a6c]
test ecx, ecx
je 0x55e60c
push 0x200ffff
push dword [eax*4 + 0x621ebc]
call ecx
mov edx, dword [ebp - 0x23c]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x24c], eax
test ecx, ecx
jle 0x55e7a1
add eax, 0x2000001
lea ecx, [ebp - 0x26c]
push eax
call fcn.0058f8e0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x26c]
test esi, esi
setne al
test eax, eax
je 0x55e062
mov eax, dword [ebp - 0x244]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x55e67d
test dx, dx
je 0x55e679
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x55e67d
add eax, 4
add ecx, 4
test dx, dx
jne 0x55e657
xor eax, eax
jmp 0x55e682
sbb eax, eax
or eax, 1
test eax, eax
je 0x55e6c8
add esi, 0xfffffff0
mov byte [ebp - 4], 0xa
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e6a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x24c], eax
cmp eax, dword [ebp - 0x240]
jl 0x55e622
jmp 0x55e79b
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], 0
cmp eax, 0x9fbf1
jne 0x55e6e9
mov dword [ebp - 0x240], 1
mov edx, dword [0x621a1c]
test edx, edx
je 0x55e71f
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x240]
push 0xa0010
push dword [eax*4 + 0x621ebc]
call edx
mov edx, dword [0x621a1c]
mov eax, dword [ebp - 0x23c]
xor ecx, ecx
cmp eax, 0x9fbf1
jne 0x55e72d
mov ecx, 1
test edx, edx
je 0x55e74b
mov eax, dword [edi - 0xc]
inc eax
push eax
push edi
push 0xa0011
push dword [ecx*4 + 0x621ebc]
call edx
mov eax, dword [ebp - 0x23c]
xor edx, edx
cmp eax, 0x9fbf1
jne 0x55e759
mov edx, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x55e77d
mov eax, dword [ebp - 0x24c]
add eax, 0x2000001
push eax
push 0x2000000
push dword [edx*4 + 0x621ebc]
call ecx
add esi, 0xfffffff0
mov byte [ebp - 4], 0xa
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e79b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x254]
mov byte [ebp - 4], 9
or ecx, 0xffffffff
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e7c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
or ecx, 0xffffffff
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e7e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 7
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e807
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp - 0x250]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e82d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 5
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e84a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x55e867
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x258], 0
jmp 0x55e887
push 0
lea edx, [ebp - 0x244]
mov ecx, edi
call fcn.00566650
add esp, 4
or edi, 0xffffffff
test eax, eax
jne 0x55e8dd
mov ebx, dword [ebp - 0x268]
mov al, byte [ebx + 0x70]
mov dword [ebx + 0x44], 0x9e600
cmp al, 0xc
je 0x55e8ad
cmp al, 0xd
je 0x55e8ad
mov edx, 0x9e600
xor ecx, ecx
call fcn.00547e70
cmp byte [ebx + 0x5c], 0
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], 0
je 0x55e8cb
mov eax, dword [0x621990]
test eax, eax
je 0x55e8cb
call eax
cmp byte [ebx + 0x5d], 0
mov byte [ebx + 0x5c], 0
je 0x55e8d9
mov byte [ebx + 0x5d], 0
xor bl, bl
jmp 0x55e8e3
mov bl, byte [ebp - 0x235]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x244]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x55e907
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x18]
xor ecx, ebp
call fcn.00527e5c
mov esp, ebp
pop ebp
ret 4