Function at 0x404720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x41d480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea edx, [eax + 1]
xor ebx, ebx
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404740
sub eax, edx
jne 0x40475d
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409454
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 ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call esi
test eax, eax
jne 0x4049a5
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd4]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0xd4]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push 0x80000002
call esi
test eax, eax
jne 0x4049a5
mov edx, dword [0x41f3d8]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [edi]
push eax
push ecx
push str._s_s
lea edi, [ebp - 0x8c]
mov byte [ebp - 0x88], bl
call fcn.004033e0
mov edx, dword [0x41f3d8]
mov ecx, dword [edx]
add esp, 0xc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], bl
mov edi, ecx
cmp ecx, ebx
jne 0x40481b
mov edi, 0x418cba
mov ecx, edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x404820
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x404843
lea eax, [esi + 1]
push eax
push ebx
mov dword [ebp - 0x48], ebx
call fcn.0040a8d7
add esp, 8
mov dword [ebp - 0x48], eax
push esi
push edi
push eax
call fcn.0040a627
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0xcc]
push 3
mov eax, edx
mov byte [esi + ecx], bl
push 0x418f04
push eax
mov dword [ebp - 0xd0], edx
mov byte [ebp - 0xcc], bl
call fcn.0040a627
mov ecx, dword [ebp - 0xd0]
mov byte [ecx + 3], bl
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
add esp, 0x18
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404890
mov edx, dword [ebp - 0xd4]
sub eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push ecx
push 1
push ebx
push str.DisplayIcon
push edx
call esi
mov ecx, dword [ebp - 0x48]
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4048c0
sub eax, edi
push eax
mov eax, dword [ebp - 0xd4]
push ecx
push 1
push ebx
push str.DisplayName
push eax
call esi
mov ecx, dword [ebp - 0xd0]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4048e7
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xd4]
push 1
push ebx
push str.DisplayVersion
push ecx
call esi
mov ecx, dword [ebp - 0x48]
mov eax, ecx
lea edi, [eax + 1]
jmp 0x404910
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404910
mov edx, dword [ebp - 0xd4]
sub eax, edi
push eax
push ecx
push 1
push ebx
push str.Publisher
push edx
call esi
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404937
sub eax, edi
push eax
mov eax, dword [ebp - 0xd4]
push ecx
push 1
push ebx
push str.UninstallString
push eax
call esi
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
cmp eax, edx
je 0x404979
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x40498c
push eax
call fcn.00409901
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x4049a5
push eax
call fcn.00409901
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00409454
mov esp, ebp
pop ebp
ret