Function at 0x40acc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x42e4a0]
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 0x40ace0
sub eax, edx
jne 0x40acfd
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410127
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 0x40af45
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 0x40af45
mov edx, dword [0x4306f8]
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.00409b50
mov edx, dword [0x4306f8]
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 0x40adbb
mov edi, 0x429482
mov ecx, edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x40adc0
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x40ade3
lea eax, [esi + 1]
push eax
push ebx
mov dword [ebp - 0x48], ebx
call fcn.00411e87
add esp, 8
mov dword [ebp - 0x48], eax
push esi
push edi
push eax
call fcn.00411bd7
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0xcc]
push 3
mov eax, edx
mov byte [esi + ecx], bl
push 0x42ae24
push eax
mov dword [ebp - 0xd0], edx
mov byte [ebp - 0xcc], bl
call fcn.00411bd7
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 0x40ae30
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 0x40ae60
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 0x40ae87
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 0x40aeb0
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40aeb0
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 0x40aed7
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 0x40af19
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x40af2c
push eax
call fcn.00410721
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x40af45
push eax
call fcn.00410721
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00410127
mov esp, ebp
pop ebp
ret