Function at 0x49a230
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [esp + 0x18]
push str.SOFTWAREMicrosoftWindowsCurrentVersionStillImageRegistered_Applications
push esi
call fcn.004d631b
mov eax, dword [esp + 0x18]
add esp, 8
push 0x5e7
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x49a3d0
push 0
push 0x5aae60
push 1
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
call fcn.004c5c70
cmp eax, 1
jl 0x49a372
push str.SYSTEMCurrentControlSetControlStillImageEventsSTIProxyEvent3A4D12E6_49E1_44DD_A6D0_306CFC283790
push esi
call fcn.004d631b
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x49a478
push ebx
push str._s__scan
push esi
call fcn.004d5ee1
push esi
call fcn.004d6713
add esp, 0x10
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push esi
push 1
push 0
push str.Cmdline
push eax
call edi
push 0x5b96a0
call fcn.004d6713
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push 0x5b96a0
push 1
push 0
push str.Desc
push edx
call edi
push 0x5b96a0
call fcn.004d6713
mov ecx, dword [esp + 0x18]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x5b96a0
push 1
push 0
push str.Name
push ecx
call edi
push ebx
push str._s_0
push esi
call fcn.004d5ee1
push esi
call fcn.004d6713
add esp, 0x10
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push esi
push 1
push 0
push str.Icon
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
ret
lea edx, [esp + 0x14]
push edx
push 0xf003f
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49a478
push ebx
push str._s__scan
push esi
call fcn.004d5ee1
push esi
call fcn.004d6713
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x5b96a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push ebp
push eax
push 0xf003f
push 0
push esi
push 0x80000002
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x49a40e
mov ecx, dword [esp + 0x18]
push 0x5b96a0
push ecx
call ebx
mov edx, dword [esp + 0x18]
push edx
call ebp
push str.SYSTEMCurrentControlSetControlStillImageEventsSTIProxyEvent3A4D12E6_49E1_44DD_A6D0_306CFC283790
push esi
call fcn.004d631b
add esp, 8
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push esi
push 0x80000002
call edi
test eax, eax
jne 0x49a46b
mov ecx, dword [esp + 0x18]
push str.Cmdline
push ecx
call ebx
mov edx, dword [esp + 0x18]
push str.Desc
push edx
call ebx
mov eax, dword [esp + 0x18]
push str.Name
push eax
call ebx
mov ecx, dword [esp + 0x18]
push str.Icon
push ecx
call ebx
mov edx, dword [esp + 0x18]
push edx
call ebp
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop ebp
pop edi
pop esi
pop ebx
ret