Function at 0x41e09a
Capabilities:
Get session user name
Set registry value

Disassembly:
push 0x2e4
mov eax, 0x46eaa6
call fcn.004490ad
mov edi, ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x240]
mov ebx, dword [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 0x94]
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], esi
jb 0x41e0cc
mov eax, dword [eax]
push esi
push esi
push eax
xor eax, eax
cmp byte [edi + 0x4d], al
sete al
add eax, 0x80000001
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00413b09
add esp, 0x14
push esi
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.00409095
mov eax, dword [edi]
lea ecx, [ebp - 0x2a0]
push ecx
mov ecx, edi
call dword [eax + 0x90]
mov esi, eax
mov edx, dword [edi]
lea eax, [ebp - 0x2b8]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call dword [edx + 0x60]
mov ecx, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x41e131
mov esi, dword [esi]
cmp dword [ecx + 0x14], 8
jb 0x41e139
mov ecx, dword [ecx]
cmp byte [edi + 0x4d], 0
mov edx, str.__alluser
mov eax, 0x473ba0
cmove eax, edx
push eax
push esi
push ecx
lea eax, [ebp - 0x288]
push str.__s_s___uninstall_s
push eax
call fcn.0040efef
add esp, 0x14
xor esi, esi
lea ecx, [ebp - 0x2b8]
push 0
inc esi
push esi
call fcn.00409095
push 0
push esi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 7
call fcn.00409095
push str.Failed_to_set_UninstallString_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
cmp dword [ebp - 0x274], 8
lea ecx, [ebp - 0x228]
push ecx
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x2f0]
push 2
push eax
push str.UninstallString
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00409040
push str.Failed_to_set_Publisher_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 9
push eax
push esi
push 0x47ac74
push str.Publisher
lea ecx, [ebp - 0x2f0]
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00409040
push str.Failed_to_set_URLInfoAbout_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xa
push eax
push esi
push str.http:__www.roblox.com
push str.URLInfoAbout
lea ecx, [ebp - 0x2f0]
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00409040
push str.Failed_to_set_Comments_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
lea eax, [edi + 0xd4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0040ee00
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x41e2ab
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
push esi
push eax
push str.Comments
lea ecx, [ebp - 0x2f0]
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x240]
call fcn.00409095
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00409040
push str.Failed_to_set_InstallLocation_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
mov eax, dword [edi]
lea ecx, [ebp - 0x240]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xd
call dword [eax + 0x60]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x41e31a
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
push esi
push eax
push str.InstallLocation
lea ecx, [ebp - 0x2f0]
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x240]
call fcn.00409095
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00409040
push str.Failed_to_set_NoModify_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
lea eax, [ebp - 0x228]
mov dword [ebp - 0x2e4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
push 4
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0xf
push eax
push 4
push 0
push str.NoModify
push dword [ebp - 0x2f0]
call esi
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00409040
push str.Failed_to_set_NoRepair_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x10
push eax
push 4
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], 1
push eax
push 4
push 0
push str.NoRepair
push dword [ebp - 0x2f0]
call esi
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00409040
mov eax, dword [edi]
lea ecx, [ebp - 0x2d0]
push ecx
mov ecx, edi
call dword [eax + 0x90]
mov esi, eax
mov edx, dword [edi]
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call dword [edx + 0x60]
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 0x12
jb 0x41e442
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41e44a
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x270]
push str._s_s_0
push eax
call fcn.0040efef
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x240]
push 0
inc esi
push esi
call fcn.00409095
push 0
push esi
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x15
call fcn.00409095
push str.Failed_to_set_IconPath_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
cmp dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x228]
push ecx
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x16
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x2f0]
push esi
push eax
push str.DisplayIcon
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x15
call fcn.00409040
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.Failed_to_set_InstallDate_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
movzx eax, word [ebp - 0x2da]
push eax
movzx eax, word [ebp - 0x2de]
push eax
movzx eax, word [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x17
push str._04d_02d_02d
push eax
call fcn.0040efef
add esp, 0x14
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x18
jb 0x41e537
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
push esi
push eax
push str.InstallDate
lea ecx, [ebp - 0x2f0]
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x2a0]
call fcn.00409095
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x15
call fcn.00409040
push ebx
lea ecx, [ebp - 0x258]
call fcn.00403e9d
cmp byte [edi + 0x4d], 0
mov byte [ebp - 4], 0x19
je 0x41e5f1
xor eax, eax
mov dword [ebp - 0x2e4], 0x100
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, str._for
push esi
call fcn.0040b34f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x258]
call fcn.0040943d
lea eax, [ebp - 0x210]
push eax
call fcn.0040b34f
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x258]
call fcn.0040943d
xor esi, esi
inc esi
push str.Failed_to_set_DisplayName_key
lea ecx, [ebp - 0x228]
call fcn.00403e21
cmp dword [ebp - 0x244], 8
lea ecx, [ebp - 0x228]
push ecx
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x1a
cmovae eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x2f0]
push esi
push eax
push str.DisplayName
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x228]
push ebx
push esi
call fcn.00409040
push ebx
push esi
lea ecx, [ebp - 0x258]
call fcn.00409095
push ebx
push esi
lea ecx, [ebp - 0x270]
call fcn.00409095
push ebx
push esi
lea ecx, [ebp - 0x288]
call fcn.00409095
lea ecx, [ebp - 0x2f0]
call fcn.00405d7f
call fcn.00449057
ret 4