Function at 0x412ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov eax, dword [edi]
lea edx, [eax + 1]
jmp 0x412bc0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412bc0
sub eax, edx
jne 0x412bdc
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0xd4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call esi
test eax, eax
jne 0x412de7
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd4]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0xd4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push 0x80000002
call esi
test eax, eax
jne 0x412de7
mov edx, dword [0x44600c]
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [edi]
push eax
push ecx
push str._s_s
lea edi, [ebp - 0x8c]
call fcn.00410550
mov edx, dword [0x44600c]
mov eax, dword [edx]
add esp, 0xc
lea ecx, [ebp - 0x44]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x44], 0
call fcn.00410060
lea edx, [ebp - 0xcc]
push 0x43bebc
or eax, 0xffffffff
lea esi, [ebp - 0xd0]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 0xcc], 0
call fcn.00410060
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412cd0
sub eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
mov eax, dword [ebp - 0xd4]
push ecx
push 1
push 0
push str.DisplayIcon
push eax
call esi
mov ecx, dword [ebp - 0x48]
mov eax, ecx
lea edi, [eax + 1]
jmp 0x412d00
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412d00
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xd4]
push 1
push 0
push str.DisplayName
push ecx
call esi
mov ecx, dword [ebp - 0xd0]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412d28
mov edx, dword [ebp - 0xd4]
sub eax, edi
push eax
push ecx
push 1
push 0
push str.DisplayVersion
push edx
call esi
mov ecx, dword [ebp - 0x48]
mov eax, ecx
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412d50
sub eax, edi
push eax
mov eax, dword [ebp - 0xd4]
push ecx
push 1
push 0
push str.Publisher
push eax
call esi
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412d78
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xd4]
push 1
push 0
push str.UninstallString
push ecx
call esi
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xcc]
cmp eax, ecx
je 0x412dbb
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
cmp eax, edx
je 0x412dce
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
cmp eax, ecx
je 0x412de7
push eax
call fcn.0041be61
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop edi
call fcn.0041b499
mov esp, ebp
pop ebp
ret