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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x587641
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov esi, ecx
push str.CUNINSTALLERDlg::CleanUpVDC
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], esi
call fcn.0044ca70
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.00461e32
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x438498
push 0x80004005
call fcn.004025a0
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.00461d28
cmp eax, ebx
je 0x4384cb
push 0x42
push eax
lea ecx, [esp + 0x20]
call fcn.004035f0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
cmp dword [0x60a334], ebx
je 0x4384ef
push 0x3f2
mov ecx, esi
call fcn.0046bd12
push edi
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.0046be52
call fcn.0046d2d8
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 0x43856e
push 1
push str.return___08x
lea edx, [esp + 0x3c]
push 2
push edx
call fcn.0044cd10
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 0x438550
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.0044cc70
mov eax, 1
jmp 0x4387b1
call fcn.00461e32
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x438588
push 0x80004005
call fcn.004025a0
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 + 0xe0]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x464], 2
call fcn.00404890
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, 0xe4
push esi
lea ecx, [esp + 0x20]
call fcn.00404890
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 0x438657
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 0x438620
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x60a334]
mov ebx, dword [esp + 0x30]
xor eax, eax
test ecx, ecx
je 0x438674
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 0x4386d0
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.004682b8
cmp dword [0x60a334], 0
je 0x4386d0
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.0046be52
test edi, edi
je 0x4386fb
call fcn.00412a70
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 0x4386fb
xor edi, edi
cmp dword [0x60a334], 0
je 0x438736
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.0046be52
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.0044cd10
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 0x438773
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 0x43879b
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.0044cc70
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.0055649d
mov esp, ebp
pop ebp
ret