Function at 0x409a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.004898d0
mov eax, dword [0x5be094]
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.004456d0
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 0x409ad7
jmp 0x409e24
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.HahaCalendar
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 0x409b10
jmp 0x409e24
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00488f20
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x55a248
lea eax, [ebp - 0x420]
push eax
call fcn.00488dd2
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 1
push 0
push 0x55a250
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 0x409e24
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x55a2d0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x409e1a
xor eax, eax
mov word [ebp - 0x838], ax
push 0x206
push 0
lea ecx, [ebp - 0x836]
push ecx
call fcn.00488f20
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe50], dx
push 0x206
push 0
lea eax, [ebp - 0xe4e]
push eax
call fcn.00488f20
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x630], cx
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.00488f20
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa40], ax
push 0x206
push 0
lea ecx, [ebp - 0xa3e]
push ecx
call fcn.00488f20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1058], dx
push 0x206
push 0
lea eax, [ebp - 0x1056]
push eax
call fcn.00488f20
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc48], cx
push 0x206
push 0
lea edx, [ebp - 0xc46]
push edx
call fcn.00488f20
add esp, 0xc
push 0x55a2dc
push 0x55a2e4
push 0x55a2ec
push str._s__s._s
lea eax, [ebp - 0xe50]
push eax
call fcn.00488dd2
add esp, 0x14
push 0x55a30c
lea ecx, [ebp - 0x210]
push ecx
push 0x55a320
lea edx, [ebp - 0x838]
push edx
call fcn.00488dd2
add esp, 0x10
push 0x55a32c
lea eax, [ebp - 0x210]
push eax
push 0x55a344
lea ecx, [ebp - 0x630]
push ecx
call fcn.00488dd2
add esp, 0x10
push 0x55a350
lea edx, [ebp - 0xa40]
push edx
call fcn.00488dd2
add esp, 8
push 0x55a35c
lea eax, [ebp - 0x1058]
push eax
call fcn.00488dd2
add esp, 8
push 0x55a390
push 0x55a398
push 0x55a3a0
lea ecx, [ebp - 0xc48]
push ecx
call fcn.00488dd2
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.00488ec3
mov esp, ebp
pop ebp
ret