Function at 0x40c780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.004b0330
mov eax, dword [0x5a6900]
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.00404220
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 0x40c7f7
jmp 0x40cb44
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x54aa94
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 0x40c830
jmp 0x40cb44
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x54aab0
lea eax, [ebp - 0x420]
push eax
call fcn.004af679
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 1
push 0
push 0x54aab8
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 0x40cb44
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x54ab38
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40cb3a
xor eax, eax
mov word [ebp - 0x838], ax
push 0x206
push 0
lea ecx, [ebp - 0x836]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe50], dx
push 0x206
push 0
lea eax, [ebp - 0xe4e]
push eax
call fcn.004af7d0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x630], cx
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.004af7d0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa40], ax
push 0x206
push 0
lea ecx, [ebp - 0xa3e]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1058], dx
push 0x206
push 0
lea eax, [ebp - 0x1056]
push eax
call fcn.004af7d0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc48], cx
push 0x206
push 0
lea edx, [ebp - 0xc46]
push edx
call fcn.004af7d0
add esp, 0xc
push 0x54ab44
push 0x54ab4c
push 0x54ab54
push str._s__s._s
lea eax, [ebp - 0xe50]
push eax
call fcn.004af679
add esp, 0x14
push 0x54ab74
lea ecx, [ebp - 0x210]
push ecx
push 0x54ab88
lea edx, [ebp - 0x838]
push edx
call fcn.004af679
add esp, 0x10
push 0x54ab94
lea eax, [ebp - 0x210]
push eax
push 0x54abac
lea ecx, [ebp - 0x630]
push ecx
call fcn.004af679
add esp, 0x10
push 0x54abb8
lea edx, [ebp - 0xa40]
push edx
call fcn.004af679
add esp, 8
push 0x54abc4
lea eax, [ebp - 0x1058]
push eax
call fcn.004af679
add esp, 8
push 0x54abc8
push 0x54abd0
push 0x54abd8
lea ecx, [ebp - 0xc48]
push ecx
call fcn.004af679
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.004af76a
mov esp, ebp
pop ebp
ret