Function at 0x4c21e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x731cdd
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 0x4c220f
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 0x4c23af
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x14]
call fcn.005069e0
mov edx, dword [eax + 0x10]
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, esp
mov byte [ebp - 4], 1
jb 0x4c2264
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ecx + 4], edx
call fcn.00506000
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4c22ad
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c22a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2435
push edx
push ecx
call fcn.00503df0
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 0x4c243a
mov eax, 2
mul ecx
mov esi, eax
test edx, edx
ja 0x4c243a
jb 0x4c22e9
cmp esi, 0xffffffff
ja 0x4c243a
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.00506000
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4c2311
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.0047c860
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.0047c860
test esi, esi
jne 0x4c23af
cmp byte [0xa82632], 0
mov eax, dword [str.Output]
mov ecx, dword [0x8e0c50]
mov dword [ebp - 0x10], eax
je 0x4c237c
cmp byte [0x8e0c40], 0
je 0x4c237c
test cl, cl
je 0x4c2417
cmp cl, 6
jb 0x4c2417
shr ecx, 8
cmp cl, 3
jb 0x4c2417
jmp 0x4c2384
test cl, cl
je 0x4c2417
mov dword [ebp - 0x10], 0x821758
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0xce494
push dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push eax
push dword [0x8e0c54]
push dword [0x8e0c50]
jmp 0x4c240f
cmp byte [0xa82632], 0
mov eax, dword [str.Error]
mov ecx, dword [0x8e0c58]
mov dword [ebp - 0x10], eax
je 0x4c23e2
cmp byte [0x8e0c40], 0
je 0x4c23e2
test cl, cl
je 0x4c2417
cmp cl, 6
jb 0x4c2417
shr ecx, 8
cmp cl, 3
jb 0x4c2417
jmp 0x4c23e6
test cl, cl
je 0x4c2417
mov dword [ebp - 0x10], 0x8354f9
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0xe21f1
push dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push eax
push dword [0x8e0c5c]
push dword [0x8e0c58]
call fcn.005050f0
add esp, 0x20
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c2425
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.006fee64
call fcn.0048c2e0
int3