Function at 0x4a8680
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5787a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov eax, dword [0x5ed920]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, 0x5ed920
xor ebp, ebp
mov ecx, ebx
mov dword [esp + 0x2c], 9
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebx
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov dword [esp + 0x148], ebp
cmp eax, ebp
jne 0x4a8730
cmp dword [0x5e5cb4], ebp
jne 0x4a8730
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x148], 1
je 0x4a8701
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4a8703
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x148], 0
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, ebx
mov dword [esp + 0x148], 0xffffffff
call dword [edx + 8]
cmp esi, ebp
je 0x4a8c22
mov dword [esp + 0x10], ebp
mov eax, dword [0x5ed920]
mov ecx, ebx
mov dword [esp + 0x148], 2
mov dword [esp + 0x24], ebx
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov bl, 3
cmp eax, ebp
mov byte [esp + 0x148], bl
jne 0x4a87e0
cmp dword [0x5e5cb4], ebp
jne 0x4a87e0
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x148], 4
je 0x4a87b2
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4a87b4
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x148], bl
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x148], 2
call dword [edx + 8]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0047a470
mov edx, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x24], 0x5ed920
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov ebx, 5
cmp eax, ebp
mov byte [esp + 0x148], bl
jne 0x4a888f
cmp dword [0x5e5cb4], ebp
jne 0x4a888f
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x148], 6
je 0x4a8862
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4a8864
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x150], bl
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x148], 2
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [eax + 0xac]
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0x38], ecx
je 0x4a88dd
mov edx, dword [eax]
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [edx + 0x144]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [0x5eb0c4], ecx
cmp edx, ebx
je 0x4a8913
cmp edx, 4
je 0x4a895e
cmp edx, 2
je 0x4a895e
cmp edx, 9
jne 0x4a8c0d
cmp ecx, ebp
je 0x4a8c0d
mov dword [esp + 0x34], 1
jmp 0x4a8c0d
mov edx, dword [edi + 0x1a4]
lea esi, [edi + 0x1a4]
cmp dword [edx - 8], ebp
jne 0x4a895e
cmp eax, ebp
je 0x4a895e
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push esi
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004ace40
mov edx, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x24], ecx
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov bl, 7
cmp eax, ebp
mov byte [esp + 0x148], bl
jne 0x4a89de
cmp dword [0x5e5cb4], ebp
jne 0x4a89de
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x148], 8
je 0x4a89b1
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4a89b3
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x150], bl
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x148], 2
call dword [edx + 8]
mov eax, dword [0x5eb09c]
push eax
push 0xfa2
push str._d_d
push 0xd
push esi
call fcn.0047a140
mov eax, dword [0x5eb0c4]
add esp, 0x14
cmp eax, ebp
je 0x4a8a26
mov dword [esp + 0x34], 1
mov ecx, edi
call fcn.004af880
test eax, eax
je 0x4a8a56
mov ecx, edi
mov dword [edi + 0x254], ebp
mov dword [edi + 0x258], ebp
call fcn.004ad770
mov ecx, edi
call fcn.004ab9d0
test al, al
je 0x4a8a56
mov byte [edi + 0x2d4], 1
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x148], 9
cmp ecx, ebp
je 0x4a8a7e
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [edx + 0xac]
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x30], ebp
je 0x4a8a99
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x5d3770
push eax
call dword [ecx]
mov eax, dword [esp + 0x20]
mov bl, 0xa
push eax
mov ecx, edi
mov byte [esp + 0x14c], bl
call fcn.004ada60
mov byte [edi + 0x26c], al
test al, al
mov eax, dword [esp + 0x30]
je 0x4a8bd4
cmp eax, ebp
je 0x4a8bd4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea ecx, [esp + 0x14]
mov dword [edi + 0x264], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], 0x104
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x18]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push str.DXVAActive
push str.SOFTWAREStorm
push SysReAllocStringLen
mov byte [esp + 0x160], 0xb
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4a8b7b
call fcn.004c4010
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x14]
push edx
mov esi, eax
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x5da20c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a8b5c
test esi, esi
je 0x4a8b79
mov dword [esi + 0xdc], 1
jmp 0x4a8b79
mov ecx, dword [esp + 0x14]
push 0x5da208
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a8b79
test esi, esi
je 0x4a8b79
mov dword [esi + 0xdc], eax
xor ebp, ebp
push 0x5e5830
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push str.DXVAActive
push str.SOFTWAREStorm
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push str.DXVAActive
push str.SOFTWAREStorm
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
jmp 0x4a8be1
mov byte [edi + 0x26c], 0
mov dword [edi + 0x264], ebp
cmp eax, ebp
mov byte [esp + 0x148], 9
je 0x4a8bf3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x148], 2
cmp eax, ebp
je 0x4a8c09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov dword [esp + 0x148], 0xffffffff
je 0x4a8c22
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0x10]
lea eax, [edi + 0x10]
push edx
push eax
call dword [ecx + 0x1c]
cmp dword [esp + 0x34], ebp
je 0x4a8d5f
mov eax, dword [0x5ed8e0]
mov ecx, 0x5ed8e0
mov dword [esp + 0x24], ecx
call dword [eax + 4]
mov eax, dword [0x5e5d38]
mov ebx, 0xc
cmp eax, ebp
mov dword [esp + 0x148], ebx
jne 0x4a8d39
cmp dword [0x5e5d34], ebp
jne 0x4a8d39
push 0x13e4
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov byte [esp + 0x148], 0xd
je 0x4a8ca8
mov ecx, esi
call fcn.005274b0
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
mov eax, esi
jmp 0x4a8caa
xor eax, eax
mov ecx, dword [0x5eafa8]
mov ebp, dword [0x5cf9c0]
mov dword [0x5e5d34], eax
xor edi, edi
lea eax, [ecx - 1]
mov byte [esp + 0x148], bl
test eax, eax
mov ebx, 0x41dae0
jl 0x4a8cef
mov ecx, dword [0x5eafa4]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
cmp ebp, edx
jge 0x4a8ceb
inc edi
add ecx, 8
cmp edi, eax
jle 0x4a8cd6
test eax, eax
jge 0x4a8d00
push 1
push ebp
push ebx
push edi
mov ecx, 0x5eafa0
call fcn.00417f10
jmp 0x4a8d2f
xor esi, esi
test eax, eax
jle 0x4a8d2f
mov eax, dword [0x5eafa4]
cmp dword [eax + esi*8], 0x41dae0
je 0x4a8d2f
push 1
push ebp
push ebx
push edi
mov ecx, 0x5eafa0
call fcn.00417f10
mov ecx, dword [0x5eafa8]
inc esi
dec ecx
cmp esi, ecx
jl 0x4a8d06
mov dword [0x5e5d38], 1
mov edx, dword [0x5ed8e0]
mov esi, dword [0x5e5d34]
mov ecx, 0x5ed8e0
mov dword [esp + 0x148], 0xffffffff
call dword [edx + 8]
mov ecx, esi
call fcn.00527aa0
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret