Function at 0x40f0bb
Capabilities:
Set registry value

Disassembly:
push ebp
sub esp, 0xa60
lea ebp, [esp - 4]
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0xa60], eax
push 0x24
mov eax, 0x4bc886
call fcn.004603b7
xor ebx, ebx
mov edi, 0x4c6890
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00401130
lea eax, [ebp - 0x14]
push eax
mov esi, 0xf003f
push esi
push ebx
push str.softwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f301
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x40f127
lea eax, [ebp + 0x20]
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push esi
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40f2f8
mov esi, 0x206
push esi
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.0045fa70
push esi
lea eax, [ebp + 0x44a]
push ebx
push eax
mov word [ebp + 0x448], bx
call fcn.0045fa70
push esi
lea eax, [ebp + 0x242]
push ebx
push eax
mov word [ebp + 0x240], bx
call fcn.0045fa70
push esi
lea eax, [ebp + 0x85a]
push ebx
push eax
mov word [ebp + 0x858], bx
call fcn.0045fa70
push esi
lea eax, [ebp + 0x652]
push ebx
push eax
mov word [ebp + 0x650], bx
call fcn.0045fa70
mov eax, dword [ebp + 0x20]
add esp, 0x3c
cmp dword [ebp + 0x34], 8
jae 0x40f1ba
lea eax, [ebp + 0x20]
push 0x4c3c80
push eax
lea eax, [ebp + 0x448]
push 0x4c681c
push eax
call fcn.00460936
add esp, 0x10
push str.SCConfig.exe
call fcn.00404dc4
mov ecx, eax
call fcn.0042a6b8
push eax
mov esi, 0x4c3cf0
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00460936
add esp, 0x10
push str.SCUninst.exe
call fcn.00404dc4
mov ecx, eax
call fcn.0042a6b8
push eax
lea eax, [ebp + 0x240]
push esi
push eax
call fcn.00460936
lea eax, [ebp + 0x858]
push edi
push eax
call fcn.00460936
add esp, 0x18
push 0x4c67f4
lea ecx, [ebp - 0x30]
call fcn.004010c0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 1
call fcn.0042e104
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004012b0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40f25e
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x650]
push 0x4c3d68
push eax
call fcn.00460936
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp + 0x448]
push eax
push 1
push ebx
push str.DisplayName
push dword [ebp - 0x10]
call esi
push edi
lea eax, [ebp + 0x240]
push eax
push 1
push ebx
push str.UninstallString
push dword [ebp - 0x10]
call esi
push edi
lea eax, [ebp + 0x38]
push eax
push 1
push ebx
push str.DisplayIcon
push dword [ebp - 0x10]
call esi
push edi
lea eax, [ebp + 0x650]
push eax
push 1
push ebx
push str.DisplayVersion
push dword [ebp - 0x10]
call esi
push edi
lea eax, [ebp + 0x858]
push eax
push 1
push ebx
push str.Publisher
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp]
call fcn.00401330
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa60]
xor ecx, ebp
call fcn.0045fa14
add ebp, 0xa64
leave
ret