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

Disassembly:
push 0x2e4
mov eax, 0x46e849
call fcn.00448de7
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 0x41e44e
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.00413ac3
add esp, 0x14
push esi
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0040905f
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 0x41e4b3
mov esi, dword [esi]
cmp dword [ecx + 0x14], 8
jb 0x41e4bb
mov ecx, dword [ecx]
cmp byte [edi + 0x4d], 0
mov edx, str.__alluser
mov eax, 0x473c90
cmove eax, edx
push eax
push esi
push ecx
lea eax, [ebp - 0x288]
push str.__s_s___uninstall_s
push eax
call fcn.0040f0eb
add esp, 0x14
xor esi, esi
lea ecx, [ebp - 0x2b8]
push 0
inc esi
push esi
call fcn.0040905f
push 0
push esi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 7
call fcn.0040905f
push str.Failed_to_set_UninstallString_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
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.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040900a
push str.Failed_to_set_Publisher_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 9
push eax
push esi
push 0x47ac0c
push str.Publisher
lea ecx, [ebp - 0x2f0]
call fcn.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040900a
push str.Failed_to_set_URLInfoAbout_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
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.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040900a
push str.Failed_to_set_Comments_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
lea eax, [edi + 0xd4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0040eefc
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x41e62d
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
push esi
push eax
push str.Comments
lea ecx, [ebp - 0x2f0]
call fcn.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x240]
call fcn.0040905f
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040900a
push str.Failed_to_set_InstallLocation_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
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 0x41e69c
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
push esi
push eax
push str.InstallLocation
lea ecx, [ebp - 0x2f0]
call fcn.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x240]
call fcn.0040905f
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040900a
push str.Failed_to_set_NoModify_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
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.004157ab
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040900a
push str.Failed_to_set_NoRepair_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
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.004157ab
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.0040900a
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 0x41e7c4
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41e7cc
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x270]
push str._s_s_0
push eax
call fcn.0040f0eb
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x240]
push 0
inc esi
push esi
call fcn.0040905f
push 0
push esi
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x15
call fcn.0040905f
push str.Failed_to_set_IconPath_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
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.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x15
call fcn.0040900a
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.00403e06
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.0040f0eb
add esp, 0x14
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x18
jb 0x41e8b9
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
push esi
push eax
push str.InstallDate
lea ecx, [ebp - 0x2f0]
call fcn.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push esi
lea ecx, [ebp - 0x2a0]
call fcn.0040905f
push 0
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x15
call fcn.0040900a
push ebx
lea ecx, [ebp - 0x258]
call fcn.00403e82
cmp byte [edi + 0x4d], 0
mov byte [ebp - 4], 0x19
je 0x41e973
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.0040b45d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x258]
call fcn.00409407
lea eax, [ebp - 0x210]
push eax
call fcn.0040b45d
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x258]
call fcn.00409407
xor esi, esi
inc esi
push str.Failed_to_set_DisplayName_key
lea ecx, [ebp - 0x228]
call fcn.00403e06
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.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x228]
push ebx
push esi
call fcn.0040900a
push ebx
push esi
lea ecx, [ebp - 0x258]
call fcn.0040905f
push ebx
push esi
lea ecx, [ebp - 0x270]
call fcn.0040905f
push ebx
push esi
lea ecx, [ebp - 0x288]
call fcn.0040905f
lea ecx, [ebp - 0x2f0]
call fcn.00405dcd
call fcn.00448d91
ret 4