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

Disassembly:
push 0xffffffffffffffff
push 0x458d86
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 esi, dword [esp + 0x250]
xor ebx, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
call fcn.004317f7
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4233be
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 + 0x1c], edi
push 0x42
mov dword [esp + 0x24c], ebx
call fcn.004317cb
cmp eax, ebx
je 0x4233f0
push 0x42
push eax
lea ecx, [esp + 0x24]
call fcn.004019c0
mov edi, dword [esp + 0x1c]
cmp dword [0x46d250], ebx
je 0x423410
push 0x3f2
mov ecx, esi
call fcn.004381b6
push edi
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.0043828e
call fcn.004316f5
mov esi, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push str.SOFTWARECanonVDCSETUPVDCUser
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x423468
lea eax, [edi - 0x10]
mov dword [esp + 0x248], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42345e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42368c
call fcn.004317f7
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x423482
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esi + 0xd4]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 1
call fcn.00402020
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edx
push eax
call edi
add esi, 0xd8
push esi
lea ecx, [esp + 0x1c]
call fcn.00402020
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14c]
push ecx
push ebx
mov ebp, 0x104
push edx
xor esi, esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call edi
cmp eax, ebx
jne 0x42354a
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14c]
push ecx
add esi, 1
push esi
push edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call edi
cmp eax, ebx
je 0x423516
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x46d250], ebx
je 0x42356b
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.00434937
jmp 0x42356f
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp ecx, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
sbb edi, edi
add edi, 1
cmp dword [0x46d250], ebx
je 0x4235d3
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.00434937
cmp dword [0x46d250], ebx
je 0x4235d3
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x94]
push ebx
push 2
push 0x404
push eax
call esi
mov ecx, dword [ebp + 0x94]
push ebx
push ebx
push 0x405
push ecx
call esi
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push edx
call fcn.0043828e
jmp 0x4235d7
mov ebp, dword [esp + 0x2c]
cmp edi, ebx
je 0x423601
call fcn.00409470
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebx
push str.SOFTWARECanonVDCSETUPVDCUser
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423601
xor edi, edi
cmp dword [0x46d250], ebx
je 0x423638
mov ecx, dword [ebp + 0x94]
push ebx
push ebx
push 0x405
push ecx
call esi
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push edx
call fcn.0043828e
mov eax, dword [ebp + 0x94]
push ebx
push 4
push 0x404
push eax
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x248], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42365f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
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 0x42368a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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