Function at 0x4cbc20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x742a2d
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 0x4cbc4f
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 0x4cbdef
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x14]
call fcn.00519990
mov edx, dword [eax + 0x10]
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, esp
mov byte [ebp - 4], 1
jb 0x4cbca4
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ecx + 4], edx
call fcn.00518fb0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4cbced
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cbce3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cbe75
push edx
push ecx
call fcn.00516d60
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 0x4cbe7a
mov eax, 2
mul ecx
mov esi, eax
test edx, edx
ja 0x4cbe7a
jb 0x4cbd29
cmp esi, 0xffffffff
ja 0x4cbe7a
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.00518fb0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4cbd51
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.00484ba0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00484ba0
test esi, esi
jne 0x4cbdef
cmp byte [0xa968b0], 0
mov eax, dword [str.Output]
mov ecx, dword [0x8f6408]
mov dword [ebp - 0x10], eax
je 0x4cbdbc
cmp byte [0x8f63f8], 0
je 0x4cbdbc
test cl, cl
je 0x4cbe57
cmp cl, 6
jb 0x4cbe57
shr ecx, 8
cmp cl, 3
jb 0x4cbe57
jmp 0x4cbdc4
test cl, cl
je 0x4cbe57
mov dword [ebp - 0x10], 0x8eb0c8
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0x18476c
push dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push eax
push dword [0x8f640c]
push dword [0x8f6408]
jmp 0x4cbe4f
cmp byte [0xa968b0], 0
mov eax, dword [str.Error]
mov ecx, dword [0x8f6410]
mov dword [ebp - 0x10], eax
je 0x4cbe22
cmp byte [0x8f63f8], 0
je 0x4cbe22
test cl, cl
je 0x4cbe57
cmp cl, 6
jb 0x4cbe57
shr ecx, 8
cmp cl, 3
jb 0x4cbe57
jmp 0x4cbe26
test cl, cl
je 0x4cbe57
mov dword [ebp - 0x10], 0x9106af
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0x1a9d0f
push dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push eax
push dword [0x8f6414]
push dword [0x8f6410]
call fcn.005180a0
add esp, 0x20
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cbe65
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.0070f5b4
call fcn.00494860
int3