Function at 0x4dee60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a90bc
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
push str.CBaseInfoCustomDrv::DeleteUserDataFromPrinterReg
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x47c], edi
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x4def3e
test byte [esi + 0x1c], 1
je 0x4deefd
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d9bd8
mov ecx, 0x24
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
cmp esi, 0x608f30
je 0x4def3e
test byte [esi + 0x1c], 1
je 0x4def3e
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d9bd8
push eax
push dword [esi + 0x14]
mov ecx, 0x25
push dword [esi + 0x10]
call fcn.00405920
mov esi, dword [0x608f30]
add esp, 0x10
push 0x208
xor edi, edi
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00571c00
add esp, 0x18
mov dword [ebp - 0x48c], edi
mov dword [ebp - 0x488], edi
mov dword [ebp - 0x484], edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x47c], edi
je 0x4df2ba
mov eax, dword [0x6184f0]
lea ecx, [ebp - 0x42c]
mov eax, dword [eax + 8]
add eax, 0x3b0
push eax
call fcn.0044f4e0
lea ecx, [ebp - 0x48c]
call fcn.00409b00
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x42c]
mov esi, dword [ebp - 0x42c]
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x48c], esi
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], edi
call fcn.00409b00
cmp esi, dword [ebp - 0x480]
je 0x4df29f
cmp dword [esi + 0x14], 8
mov edx, SysReAllocString
mov eax, dword [esi + 0x10]
mov ecx, esi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], esi
jb 0x4df038
mov ecx, dword [esi]
mov dword [ebp - 0x474], ecx
cmp eax, 8
jae 0x4df051
movups xmm0, xmmword [ecx]
mov edi, 7
movups xmmword [ebp - 0x438], xmm0
jmp 0x4df0de
mov edi, eax
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, edx
lea eax, [edi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4df071
or ecx, 0xffffffff
jmp 0x4df079
cmp ecx, 0x1000
jb 0x4df0a2
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0055070f
add esp, 4
test eax, eax
je 0x4df376
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4df0b5
test ecx, ecx
je 0x4df0b3
push ecx
call fcn.0055070f
add esp, 4
mov ecx, eax
jmp 0x4df0b5
xor ecx, ecx
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x438], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x474]
push ecx
call fcn.00571100
mov eax, dword [ebp - 0x478]
add esp, 0xc
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x428], eax
cmp edi, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push str.SOFTWARECANON_
push 0x5c70f4
push 0xffffffffffffffff
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00437f50
add esp, 0x18
lea ecx, [ebp - 0x4b8]
call fcn.004066e0
mov edi, dword [ebp - 0x490]
mov byte [ebp - 4], 3
test edi, edi
je 0x4df161
lea ecx, [ebp - 0x4b8]
call fcn.004068b0
lea eax, [ebp - 0x4b8]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x4df166
mov eax, 0x80010001
xor edi, edi
mov dword [ebp - 0x474], eax
test eax, eax
jne 0x4df239
nop word [eax + eax]
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x478], 0x208
test eax, eax
je 0x4df233
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x478]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4df233
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4df1d4
inc edi
jmp 0x4df180
mov eax, dword [ebp - 0x4b8]
test eax, eax
je 0x4df1ec
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4df233
test byte [ecx + 0x1c], 4
je 0x4df233
cmp dword [0x608f68], 8
lea edx, [ebp - 0x218]
push edx
mov eax, 0x608f54
mov edx, 0x5d9bd8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x26
call fcn.00405920
add esp, 0x10
mov edi, dword [ebp - 0x474]
lea ecx, [ebp - 0x4b8]
call fcn.004067f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4df288
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4df27e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4df376
push edx
push ecx
call fcn.0056deb6
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x480]
jne 0x4df000
mov esi, dword [0x608f30]
jmp 0x4df2ff
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x4df2fa
test byte [esi + 0x1c], 4
je 0x4df2fa
mov ecx, 0x27
jmp 0x4df2cd
cmp esi, 0x608f30
je 0x4df2fa
test byte [esi + 0x1c], 4
je 0x4df2fa
mov ecx, 0x28
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d9bd8
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
mov edi, 0x57
mov byte [ebp - 0x46c], 1
cmp esi, 0x608f30
je 0x4df341
test byte [esi + 0x1c], 1
je 0x4df341
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d9bd8
push eax
push dword [esi + 0x14]
mov ecx, 0x29
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x48c]
call fcn.00409b00
lea ecx, [ebp - 0x470]
call fcn.0040a570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 8
call fcn.00574908
int3