Function at 0x41cb80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x45166c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov eax, dword [edi]
lea edx, [eax + 1]
jmp 0x41cba0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cba0
sub eax, edx
jne 0x41cbbc
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
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 0x41cdc7
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 0x41cdc7
mov edx, dword [0x454434]
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.00414360
mov edx, dword [0x454434]
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.00413e70
lea edx, [ebp - 0xcc]
push 0x449430
or eax, 0xffffffff
lea esi, [ebp - 0xd0]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 0xcc], 0
call fcn.00413e70
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41ccb0
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 0x41cce0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41cce0
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 0x41cd08
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 0x41cd30
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 0x41cd58
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 0x41cd9b
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
cmp eax, edx
je 0x41cdae
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
cmp eax, ecx
je 0x41cdc7
push eax
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop edi
call fcn.0042396b
mov esp, ebp
pop ebp
ret