Function at 0x4c8fc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73e3ad
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, str.SOFTWAREROBLOX_CorporationEnvironmentsRobloxPlayerChannel
sub eax, 0
jne 0x4c8fef
mov edi, str.SOFTWAREROBLOX_CorporationEnvironmentsRobloxStudioChannel
push 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edi
push reloc.WS2_32.dll_accept
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c918f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x14]
call fcn.00515490
mov edx, dword [eax + 0x10]
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, esp
mov byte [ebp - 4], 1
jb 0x4c9044
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ecx + 4], edx
call fcn.00514ab0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4c908d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c9083
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c9215
push edx
push ecx
call fcn.00512900
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea ecx, [eax + 1]
cmp ecx, eax
jb 0x4c921a
mov eax, 2
mul ecx
mov esi, eax
test edx, edx
ja 0x4c921a
jb 0x4c90c9
cmp esi, 0xffffffff
ja 0x4c921a
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp + 0x10]
cmovae eax, dword [ebp - 0x44]
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00514ab0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4c90f1
mov eax, dword [eax]
push esi
push dword [ebp - 0x10]
push 1
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00481f60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00481f60
test esi, esi
jne 0x4c918f
cmp byte [0xa902b2], 0
mov eax, dword [0x8f02a0]
mov ecx, dword [0x8f029c]
mov dword [ebp - 0x10], eax
je 0x4c915c
cmp byte [0x8f028c], 0
je 0x4c915c
test cl, cl
je 0x4c91f7
cmp cl, 6
jb 0x4c91f7
shr ecx, 8
cmp cl, 3
jb 0x4c91f7
jmp 0x4c9164
test cl, cl
je 0x4c91f7
mov dword [ebp - 0x10], 0x8c33d0
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0x161db4
push dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push eax
push dword [0x8f02a0]
push dword [0x8f029c]
jmp 0x4c91ef
cmp byte [0xa902b2], 0
mov eax, dword [0x8f02a8]
mov ecx, dword [0x8f02a4]
mov dword [ebp - 0x10], eax
je 0x4c91c2
cmp byte [0x8f028c], 0
je 0x4c91c2
test cl, cl
je 0x4c91f7
cmp cl, 6
jb 0x4c91f7
shr ecx, 8
cmp cl, 3
jb 0x4c91f7
jmp 0x4c91c6
test cl, cl
je 0x4c91f7
mov dword [ebp - 0x10], 0x8e5479
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0x183e19
push dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push eax
push dword [0x8f02a8]
push dword [0x8f02a4]
call fcn.00513ba0
add esp, 0x20
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c9205
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0070b6e4
call fcn.00491e40
int3