Function at 0x4336a0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55c581
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5b4450]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x5b4450]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [esp + 0x38]
mov esi, ecx
push str.CUNINSTALLERDlg::CleanUpVDC
push eax
mov dword [esp + 0x3c], esi
call fcn.0040ac70
add esp, 0xc
mov dword [esp + 0x460], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call fcn.0044033f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x433728
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0x42
mov byte [esp + 0x464], 1
call fcn.00440235
cmp eax, ebx
je 0x43375b
push 0x42
push eax
lea ecx, [esp + 0x20]
call fcn.00401350
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
cmp dword [0x5ceb20], ebx
je 0x43377f
push 0x3f2
mov ecx, esi
call fcn.0044b9a5
push edi
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.0044babb
call fcn.00442c4d
mov esi, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push str.SOFTWARECanonVDCSETUPVDCUser
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4337fe
push 1
push str.return___08x
lea edx, [esp + 0x3c]
push 2
push edx
call fcn.0040aed0
lea eax, [edi - 0x10]
add esp, 0x10
mov byte [esp + 0x460], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4337e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040ae50
mov eax, 1
jmp 0x433a41
call fcn.0044033f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x433818
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esi + 0xe8]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x464], 2
call fcn.00401520
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edx
push eax
call edi
add esi, 0xec
push esi
lea ecx, [esp + 0x20]
call fcn.00401520
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
xor esi, esi
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x258]
push ecx
push esi
mov ebx, 0x208
push edx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x40], ebx
call edi
test eax, eax
jne 0x4338e7
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x258]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x40], ebx
call edi
test eax, eax
je 0x4338b0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5ceb20]
mov ebx, dword [esp + 0x30]
xor eax, eax
test ecx, ecx
je 0x433904
mov eax, ebx
xor edx, edx
cmp edx, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
sbb edi, edi
inc edi
test ecx, ecx
je 0x433960
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.00445c40
cmp dword [0x5ceb20], 0
je 0x433960
mov ecx, dword [ebx + 0xb4]
push 0
push 1
push 0x404
push ecx
call esi
mov edx, dword [ebx + 0xb4]
push 0
push 0
push 0x405
push edx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0044babb
test edi, edi
je 0x43398b
call fcn.0040d790
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push str.SOFTWARECanonVDCSETUPVDCUser
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43398b
xor edi, edi
cmp dword [0x5ceb20], 0
je 0x4339c6
mov edx, dword [ebx + 0xb4]
push 0
push 0
push 0x405
push edx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0044babb
mov ecx, dword [ebx + 0xb4]
push 0
push 3
push 0x404
push ecx
call esi
push edi
push str.return___08x
lea edx, [esp + 0x3c]
push 2
push edx
call fcn.0040aed0
mov byte [esp + 0x470], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433a03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x460], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433a2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040ae50
mov eax, edi
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.005337cb
mov esp, ebp
pop ebp
ret