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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ce17
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x2e4], eax
push esi
push edi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x2f8]
mov dword fs:[0], eax
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [eax + 0xdc]
and dword [esp + 0x300], 0
push 8
pop edi
cmp dword [eax + 0x18], edi
jb 0x41e99a
mov eax, dword [eax + 4]
jmp 0x41e99d
add eax, 4
push 0
push eax
xor eax, eax
cmp byte [ebx + 0x59], al
sete al
add eax, 0x80000001
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042fb3b
add esp, 0x10
lea esi, [esp + 0x18]
mov byte [esp + 0x300], 2
call fcn.00406e40
cmp byte [ebx + 0x59], 0
mov dword [esp + 0xc], 0x475c54
jne 0x41e9e2
mov dword [esp + 0xc], str.__alluser
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call dword [eax + 0xd8]
mov esi, eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x300], 3
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x9c]
mov byte [esp + 0x300], 4
cmp dword [esi + 0x18], edi
jb 0x41ea1c
mov esi, dword [esi + 4]
jmp 0x41ea1f
add esi, 4
cmp dword [eax + 0x18], edi
jb 0x41ea29
mov eax, dword [eax + 4]
jmp 0x41ea2c
add eax, 4
push dword [esp + 0xc]
push esi
push eax
push str.__s_s___uninstall_s
lea esi, [esp + 0xc4]
call fcn.00431a4a
add esp, 0x10
lea esi, [esp + 0x7c]
call fcn.00406e40
lea esi, [esp + 0x44]
mov byte [esp + 0x300], 7
call fcn.00406e40
mov esi, dword [esp + 0xb8]
cmp dword [esp + 0xcc], edi
jae 0x41ea77
lea esi, [esp + 0xb8]
push str.Failed_to_set_UninstallString_key
push 2
push str.UninstallString
lea eax, [esp + 0x1c]
push eax
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
mov dword [esp], str.Failed_to_set_Publisher_key
push 1
push str.Publisher
lea eax, [esp + 0x1c]
push eax
mov esi, str.CRUREV_Corporation
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
mov dword [esp], str.Failed_to_set_URLInfoAbout_key
push 1
push str.URLInfoAbout
lea eax, [esp + 0x1c]
push eax
mov esi, str.http:__www.unirev.xyz
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
pop ecx
lea ecx, [ebx + 0xfc]
lea edi, [esp + 0x18]
call fcn.00431734
mov byte [esp + 0x300], 8
cmp dword [eax + 0x18], 8
jb 0x41eaff
mov eax, dword [eax + 4]
jmp 0x41eb02
add eax, 4
push str.Failed_to_set_Comments_key
xor edi, edi
inc edi
push edi
push str.Comments
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
pop ecx
lea esi, [esp + 0x18]
mov byte [esp + 0x300], 7
call fcn.00406e40
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [eax + 0x9c]
mov byte [esp + 0x300], 9
cmp dword [eax + 0x18], 8
jb 0x41eb57
mov eax, dword [eax + 4]
jmp 0x41eb5a
add eax, 4
push str.Failed_to_set_InstallLocation_key
push edi
push str.InstallLocation
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
pop ecx
lea esi, [esp + 0x18]
mov byte [esp + 0x300], 7
call fcn.00406e40
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.Failed_to_set_NoModify_key
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.NoModify
push dword [esp + 0x28]
mov dword [esp + 0x28], edi
call esi
mov ecx, eax
call fcn.0042f972
mov dword [esp], str.Failed_to_set_NoRepair_key
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.NoRepair
push dword [esp + 0x28]
mov dword [esp + 0x28], edi
call esi
mov ecx, eax
call fcn.0042f972
mov eax, dword [ebx]
pop ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call dword [eax + 0xd8]
mov esi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x300], 0xa
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x9c]
mov byte [esp + 0x300], 0xb
cmp dword [esi + 0x18], 8
jb 0x41ec1a
mov esi, dword [esi + 4]
jmp 0x41ec1d
add esi, 4
cmp dword [eax + 0x18], 8
jb 0x41ec28
mov eax, dword [eax + 4]
jmp 0x41ec2b
add eax, 4
push esi
push eax
push str._s_s_0
lea esi, [esp + 0xdc]
call fcn.00431a4a
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00406e40
lea esi, [esp + 0x60]
mov byte [esp + 0x300], 0xe
call fcn.00406e40
cmp dword [esp + 0xe8], 8
mov esi, dword [esp + 0xd4]
jae 0x41ec73
lea esi, [esp + 0xd4]
push str.Failed_to_set_IconPath_key
push edi
push str.DisplayIcon
lea eax, [esp + 0x1c]
push eax
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
pop ecx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3c]
push eax
push str._04d_02d_02d
lea esi, [esp + 0x54]
call fcn.00431a4a
add esp, 0x10
mov byte [esp + 0x300], 0xf
cmp dword [eax + 0x18], 8
jb 0x41ecd1
mov eax, dword [eax + 4]
jmp 0x41ecd4
add eax, 4
push str.Failed_to_set_InstallDate_key
push edi
push str.InstallDate
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
pop ecx
lea esi, [esp + 0x44]
mov byte [esp + 0x300], 0xe
call fcn.00406e40
mov eax, str.ROBLOX_Studio
lea ecx, [esp + 0x98]
call fcn.00406dd0
mov byte [esp + 0x300], 0x10
cmp byte [ebx + 0x59], 0
je 0x41ed6e
xor eax, eax
mov word [esp + 0xec], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0x14], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [esp + 0x98]
push eax
mov eax, str._for
call fcn.00406ea0
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xf0]
call fcn.00406ea0
cmp dword [esp + 0xb0], 8
mov esi, dword [esp + 0x9c]
jae 0x41ed86
lea esi, [esp + 0x9c]
push str.Failed_to_set_DisplayName_key
push edi
push str.DisplayName
lea eax, [esp + 0x1c]
push eax
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
pop ecx
lea esi, [esp + 0x98]
call fcn.00406e40
lea esi, [esp + 0xd0]
call fcn.00406e40
lea esi, [esp + 0xb4]
call fcn.00406e40
lea esi, [esp + 0x10]
call fcn.0040b400
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2e4]
xor ecx, esp
call fcn.0044cced
mov esp, ebp
pop ebp
ret