Function at 0x4209e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4500eb
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x420a17
sub eax, edx
jne 0x420a29
xor al, al
jmp 0x420c37
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0xec]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call esi
cmp eax, ebx
jne 0x420c35
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xec]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall082fd9bab4647034fe3562f72fb2263c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0xec]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall082fd9bab4647034fe3562f72fb2263c
push 0x80000002
call esi
cmp eax, ebx
jne 0x420c35
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 0x9c], bl
mov dword [ebp - 4], ebx
mov esi, dword [edi]
call fcn.00404360
mov edx, dword [eax + 0x10]
push edx
push esi
push str._s_s
lea edi, [ebp - 0xa0]
call fcn.00414dd0
add esp, 0xc
call fcn.00404360
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x54]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x58]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x54], bl
call fcn.004148e0
lea edx, [ebp - 0xe4]
push 0x4574f0
or eax, 0xffffffff
lea esi, [ebp - 0xe8]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 0xe4], bl
call fcn.004148e0
mov ecx, dword [ebp - 0xa0]
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x420b20
sub eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
mov eax, dword [ebp - 0xec]
push ecx
push 1
push ebx
push str.DisplayIcon
push eax
call esi
mov ecx, dword [ebp - 0x58]
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x420b50
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xec]
push 1
push ebx
push str.DisplayName
push ecx
call esi
mov ecx, dword [ebp - 0xe8]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x420b77
mov edx, dword [ebp - 0xec]
sub eax, edi
push eax
push ecx
push 1
push ebx
push str.DisplayVersion
push edx
call esi
mov ecx, dword [ebp - 0x58]
mov eax, ecx
lea edi, [eax + 1]
jmp 0x420ba0
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x420ba0
sub eax, edi
push eax
mov eax, dword [ebp - 0xec]
push ecx
push 1
push ebx
push str.Publisher
push eax
call esi
mov ecx, dword [ebp - 0xa0]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x420bc7
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xec]
push 1
push ebx
push str.UninstallString
push ecx
call esi
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
cmp eax, ecx
je 0x420c09
push eax
call fcn.0042f7b1
add esp, 4
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
cmp eax, edx
je 0x420c1c
push eax
call fcn.0042f7b1
add esp, 4
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
cmp eax, ecx
je 0x420c35
push eax
call fcn.0042f7b1
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret