Function at 0x41c440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov eax, dword [edi]
lea edx, [eax + 1]
jmp 0x41c460
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c460
sub eax, edx
jne 0x41c47c
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042304b
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 0x41c687
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 0x41c687
mov edx, dword [0x453434]
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [edi]
push eax
push ecx
push str._s_s
lea edi, [ebp - 0x8c]
call fcn.00413cb0
mov edx, dword [0x453434]
mov eax, dword [edx + 4]
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.004137c0
lea edx, [ebp - 0xcc]
push 0x4482e4
or eax, 0xffffffff
lea esi, [ebp - 0xd0]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 0xcc], 0
call fcn.004137c0
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c570
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 0x41c5a0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c5a0
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 0x41c5c8
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 0x41c5f0
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 0x41c618
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 0x41c65b
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
cmp eax, edx
je 0x41c66e
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
cmp eax, ecx
je 0x41c687
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop edi
call fcn.0042304b
mov esp, ebp
pop ebp
ret