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

Disassembly:
push 0xffffffffffffffff
push 0x4591b6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov eax, dword [esp + 0x250]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
call fcn.004316f5
mov esi, dword [eax + 4]
push str.DIASUser
push str.SOFTWARECanonDIASSETUP
lea ecx, [esp + 0x3c]
push 0x45ce28
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 0
lea eax, [esp + 0x40]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x425979
mov eax, 1
jmp 0x425bcb
mov esi, dword [esi + 0xd4]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
xor esi, esi
push esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
push eax
push esi
mov ebp, 0x104
push ecx
xor ebx, ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
call edi
test eax, eax
jne 0x425a17
jmp 0x4259d0
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4259e2
add ebx, 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
push ecx
add esi, 1
push esi
push edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
call edi
test eax, eax
je 0x4259d0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
ja 0x425a30
mov esi, 1
jmp 0x425b85
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x425a4a
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x248], 0
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x425a7f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
push 3
mov byte [esp + 0x24c], 1
call fcn.004317cb
test eax, eax
je 0x425ab2
push 3
push eax
lea ecx, [esp + 0x2c]
call fcn.004019c0
mov edi, dword [esp + 0x24]
push 0x43
call fcn.004317cb
test eax, eax
je 0x425acd
push 0x43
push eax
lea ecx, [esp + 0x28]
call fcn.004019c0
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
push 0
mov ecx, ebx
call fcn.0043830b
cmp dword [0x46d250], 0
mov ebp, dword [esp + 0x28]
je 0x425afb
test ebp, ebp
je 0x425afb
push 0x134
push edi
push esi
mov ecx, ebp
call fcn.0043386a
jmp 0x425b06
push 0x34
push edi
push esi
mov ecx, ebx
call fcn.004253d0
push 1
mov ecx, ebx
mov esi, eax
call fcn.0043830b
xor ecx, ecx
cmp esi, 7
setne cl
cmp dword [0x46d250], 0
mov esi, ecx
je 0x425b32
test ebp, ebp
je 0x425b32
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [edi - 0x10]
mov byte [esp + 0x248], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x248], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x425bc9
call fcn.0040b180
push str.DIASUser
push str.SOFTWARECanonDIASSETUP
lea ecx, [esp + 0x3c]
push 0x45ce28
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 0
lea eax, [esp + 0x40]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425bc9
xor esi, esi
mov eax, esi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0044027a
add esp, 0x238
ret 4