Function at 0x412c70
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 0x412c90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412c90
sub eax, edx
jne 0x412cac
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
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 0x412eb7
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 0x412eb7
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 0x43a9bc
lea edi, [ebp - 0x8c]
call fcn.00410620
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.00410130
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.00410130
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412da0
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 0x412dd0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412dd0
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xd4]
push 1
push 0
push 0x43becc
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 0x412df8
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 0x412e20
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 0x412e48
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xd4]
push 1
push 0
push 0x43bef4
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 0x412e8b
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
cmp eax, edx
je 0x412e9e
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
cmp eax, ecx
je 0x412eb7
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop edi
call fcn.0041b429
mov esp, ebp
pop ebp
ret