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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5671b1
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5c0490]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x5c0490]
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.00401190
add esp, 0xc
mov dword [esp + 0x460], ebx
mov dword [esp + 0x14], ebx
call fcn.0044b52d
mov esi, dword [eax + 4]
mov eax, dword [esi + 0x140]
cmp dword [eax + 0x58], ebx
jne 0x43c96e
push ebx
push str.return___08x
lea ecx, [esp + 0x2c]
push 2
push ecx
call fcn.00401410
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x460], 0xffffffff
call fcn.00401370
xor eax, eax
jmp 0x43cc20
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 0x43c9de
push 1
push str.return___08x
lea edx, [esp + 0x2c]
push 2
push edx
call fcn.00401410
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x460], 0xffffffff
call fcn.00401370
mov eax, 1
jmp 0x43cc20
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 0x43ca7c
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x43ca41
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 0x43ca31
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
ja 0x43ca95
mov ebx, 1
jmp 0x43cbb1
call fcn.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43caaf
push 0x80004005
call fcn.00404160
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.00448c3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43cae1
push 0x80004005
call fcn.00404160
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.00448b35
test eax, eax
je 0x43cb14
push 3
push eax
lea ecx, [esp + 0x34]
call fcn.00405160
mov esi, dword [esp + 0x2c]
push 0x43
call fcn.00448b35
test eax, eax
je 0x43cb2b
push 0x43
push eax
lea ecx, [esp + 0x24]
call fcn.00405160
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.0043c3f0
xor ebx, ebx
cmp eax, 7
setne bl
cmp dword [0x5ddd80], 0
je 0x43cb61
test edi, edi
je 0x43cb61
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 0x43cb85
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 0x43cbad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x43cbf5
call fcn.004197a0
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 0x43cbf5
xor ebx, ebx
push ebx
push str.return___08x
lea ecx, [esp + 0x2c]
push 2
push ecx
call fcn.00401410
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x460], 0xffffffff
call fcn.00401370
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.0053ca73
mov esp, ebp
pop ebp
ret 4