Function at 0x414ee0
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x300
mov eax, dword [0x4ea080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
push 0x34
mov word [ebp - 0x2f0], cx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2dc], 7
mov dword [ebp - 0x2e0], 0
call fcn.004110e0
call fcn.00413910
mov dword [ebp - 0x300], eax
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414f43
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2f0]
call fcn.004111d0
mov eax, dword [ebp - 0x2f0]
mov esi, 8
mov dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x2dc], esi
jae 0x414f82
lea eax, [ebp - 0x2f0]
lea edx, [ebp - 0x2f4]
push edx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x414fc8
mov eax, dword [ebp - 0x2f0]
cmp dword [ebp - 0x2dc], esi
jae 0x414fb5
lea eax, [ebp - 0x2f0]
lea ecx, [ebp - 0x2f4]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4151b1
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x41501c
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414fe0
sub eax, edx
sar eax, 1
je 0x41501c
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414ff6
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2f4]
push edx
push edi
push 1
push 0
push str.DisplayName
push eax
call esi
mov edi, dword [ebp - 0x2fc]
test edi, edi
je 0x41506c
mov eax, edi
lea edx, [eax + 2]
jmp 0x415030
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415030
sub eax, edx
sar eax, 1
je 0x41506c
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415046
sub eax, edx
mov edx, dword [ebp - 0x2f4]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edi
push 1
push 0
push str.UninstallString
push edx
call esi
mov eax, dword [ebp - 0x2f4]
push 0x1a
push 0x4b1d58
push 1
push 0
push str.Publisher
push eax
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x2d2]
push edx
mov word [ebp - 0x2d4], cx
call fcn.0048f070
mov eax, dword [ebp - 0x300]
add eax, 0x64
mov edi, 8
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x4150b8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.0048f4e8
push str.ICON.ico
lea ecx, [ebp - 0x2d4]
push 0x104
push ecx
call fcn.0048f473
lea eax, [ebp - 0x2d4]
add esp, 0x18
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4150f0
mov ecx, dword [ebp - 0x2f4]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x2d4]
push eax
push 1
push 0
push str.DisplayIcon
push ecx
call esi
xor edx, edx
push 0xc6
push edx
lea eax, [ebp - 0xca]
push eax
mov word [ebp - 0xcc], dx
call fcn.0048f070
add esp, 0xc
call fcn.00413910
add eax, 0x160
cmp dword [eax + 0x14], edi
jb 0x41514b
mov eax, dword [eax]
push eax
push 0xc8
lea ecx, [ebp - 0xcc]
push ecx
push 0x4b1974
push 0x4b1978
push 0x4b1988
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xcc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415176
mov ecx, dword [ebp - 0x2f4]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0xcc]
push eax
push 1
push 0
push str.DisplayVersion
push ecx
call esi
mov edx, dword [ebp - 0x2f4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
cmp dword [ebp - 0x2dc], esi
pop edi
pop esi
jb 0x4151ca
mov eax, dword [ebp - 0x2f0]
push eax
call fcn.0048e224
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0048ef91
mov esp, ebp
pop ebp
ret 0xc