Function at 0x40c8b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.004b8770
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x105c], ecx
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401d20
add esp, 8
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x40c927
jmp 0x40cc74
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x554acc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x40c960
jmp 0x40cc74
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004b7bc0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x554ae0
lea eax, [ebp - 0x420]
push eax
call fcn.004b7a6c
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 1
push 0
push 0x554ae8
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.softwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40cc74
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x554b68
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40cc6a
xor eax, eax
mov word [ebp - 0x838], ax
push 0x206
push 0
lea ecx, [ebp - 0x836]
push ecx
call fcn.004b7bc0
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe50], dx
push 0x206
push 0
lea eax, [ebp - 0xe4e]
push eax
call fcn.004b7bc0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x630], cx
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa40], ax
push 0x206
push 0
lea ecx, [ebp - 0xa3e]
push ecx
call fcn.004b7bc0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1058], dx
push 0x206
push 0
lea eax, [ebp - 0x1056]
push eax
call fcn.004b7bc0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc48], cx
push 0x206
push 0
lea edx, [ebp - 0xc46]
push edx
call fcn.004b7bc0
add esp, 0xc
push 0x554b70
push 0x554b78
push 0x554b80
push str._s__s._s
lea eax, [ebp - 0xe50]
push eax
call fcn.004b7a6c
add esp, 0x14
push 0x554b9c
lea ecx, [ebp - 0x210]
push ecx
push 0x554bac
lea edx, [ebp - 0x838]
push edx
call fcn.004b7a6c
add esp, 0x10
push 0x554bb8
lea eax, [ebp - 0x210]
push eax
push 0x554bd0
lea ecx, [ebp - 0x630]
push ecx
call fcn.004b7a6c
add esp, 0x10
push 0x554bdc
lea edx, [ebp - 0xa40]
push edx
call fcn.004b7a6c
add esp, 8
push 0x554be4
lea eax, [ebp - 0x1058]
push eax
call fcn.004b7a6c
add esp, 8
push 0x554be8
push 0x554bf0
push 0x554bf8
lea ecx, [ebp - 0xc48]
push ecx
call fcn.004b7a6c
add esp, 0x10
push 0x104
lea edx, [ebp - 0xe50]
push edx
push 1
push 0
push str.DisplayName
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea ecx, [ebp - 0x630]
push ecx
push 1
push 0
push str.UninstallString
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea eax, [ebp - 0x838]
push eax
push 1
push 0
push str.DisplayIcon
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea edx, [ebp - 0xc48]
push edx
push 1
push 0
push str.DisplayVersion
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea ecx, [ebp - 0xa40]
push ecx
push 1
push 0
push str.Publisher
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea eax, [ebp - 0x1058]
push eax
push 1
push 0
push str.URLInfoAbout
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea edx, [ebp - 0x420]
push edx
push 1
push 0
push str.InstallLocation
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret