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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55dd41
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
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea edx, [esp + 0x28]
push str.CUNINSTALLERDlg::CleanUpDIAS
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
call fcn.0040ac70
add esp, 0xc
mov dword [esp + 0x460], ebx
mov dword [esp + 0x14], ebx
call fcn.00442c4d
mov esi, dword [eax + 4]
mov eax, dword [esi + 0x140]
cmp dword [eax + 0x58], ebx
jne 0x434a1e
push ebx
push str.return___08x
lea ecx, [esp + 0x2c]
push 2
push ecx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040ae50
xor eax, eax
jmp 0x434cd0
push str.DIASUser
push str.SOFTWARECanonDIASSETUP
lea edx, [esp + 0x44]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebx
lea ecx, [esp + 0x48]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x434a8e
push 1
push str.return___08x
lea edx, [esp + 0x2c]
push 2
push edx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040ae50
mov eax, 1
jmp 0x434cd0
mov esi, dword [esi + 0xe8]
mov eax, dword [esp + 0x14]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x248]
push edx
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
push ebx
push eax
xor esi, esi
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x40], 0x208
call edi
test eax, eax
jne 0x434b2c
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x434af1
inc ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
inc esi
push esi
push ecx
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x40], 0x208
call edi
test eax, eax
je 0x434ae1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
ja 0x434b45
mov ebx, 1
jmp 0x434c61
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434b5f
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
mov byte [esp + 0x460], 1
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x434b91
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
push 3
mov byte [esp + 0x464], 2
call fcn.00440235
test eax, eax
je 0x434bc4
push 3
push eax
lea ecx, [esp + 0x34]
call fcn.00401350
mov esi, dword [esp + 0x2c]
push 0x43
call fcn.00440235
test eax, eax
je 0x434bdb
push 0x43
push eax
lea ecx, [esp + 0x24]
call fcn.00401350
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
push edi
push 0x34
push ecx
mov ecx, esi
call fcn.004344a0
xor ebx, ebx
cmp eax, 7
setne bl
cmp dword [0x5ceb20], 0
je 0x434c11
test edi, edi
je 0x434c11
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [esi - 0x10]
mov byte [esp + 0x460], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434c35
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 + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434c5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x434ca5
call fcn.00410ba0
push str.DIASUser
push str.SOFTWARECanonDIASSETUP
lea ecx, [esp + 0x44]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 0
lea eax, [esp + 0x48]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434ca5
xor ebx, ebx
push ebx
push str.return___08x
lea ecx, [esp + 0x2c]
push 2
push ecx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x460], 0xffffffff
call fcn.0040ae50
mov eax, ebx
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 4