Function at 0x40611e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4660bb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
xor ecx, ecx
lea eax, [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov byte [esp + 0x54], cl
mov ecx, dword [edi + 0x138]
push str.RobloxProxy.zip
call fcn.0043b15a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
cmp byte [ebp + 8], 0
je 0x406523
mov al, byte [edi + 0x4d]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test al, al
jne 0x4061fe
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0x2001f
push str.SoftwareClasses
push closesocket
lea ecx, [esp + 0x28]
mov dword [esp + 0xbc], eax
call fcn.0040c7f9
mov esi, dword [esp + 0x1c]
test eax, eax
js 0x4061ef
lea eax, [edi + 0x160]
push eax
push 1
push esi
lea ecx, [edi + 0x3bc]
call fcn.00426af8
or dword [esp + 0xb0], 0xffffffff
test esi, esi
je 0x4061fe
push esi
call ebx
mov edx, dword [edi]
sub esp, 0x18
mov ecx, edi
push esp
call dword [edx + 0xa4]
lea esi, [edi + 0x160]
push esi
lea eax, [edi + 0x13c]
push eax
lea ecx, [edi + 0x3bc]
call fcn.00426011
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xb0], 1
mov cl, byte [edi + 0x4d]
test cl, cl
sete al
push ecx
push ecx
push 0x2011f
push ecx
push ecx
push str.SoftwareClasses
add eax, 0x80000001
push eax
lea ecx, [esp + 0x38]
call fcn.0040c6bd
mov edx, str.Failed_to_create_64_bits_HKSoftwareClasses
mov ecx, eax
call fcn.00426e1d
mov al, byte [edi + 0x4d]
mov edx, str.HKEY_LOCAL_MACHINE
test al, al
mov ecx, str.HKEY_CURRENT_USER
cmove ecx, edx
push ecx
push str.classesKey64___sSoftwareClasses
push esi
call fcn.00408e53
mov edx, dword [edi]
sub esp, 0xc
mov ecx, edi
push esp
call dword [edx + 0xa4]
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x4bc]
call fcn.00426011
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
push str.76D50904_6780_4c8b_8986_1A7EE0B1716D
lea eax, [esp + 0x5c]
push str.SoftwareMicrosoftWindowsCurrentVersionExtStats_siexplore
push eax
mov byte [esp + 0xbc], 2
call fcn.00429b41
add esp, 0xc
mov byte [esp + 0xb0], 3
cmp dword [eax + 0x14], 8
jb 0x4062e9
mov eax, dword [eax]
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push eax
push closesocket
lea ecx, [esp + 0x5c]
call fcn.0040c6bd
mov edx, str.Failed_to_create_key_for_iexplorer_stats
mov ecx, eax
call fcn.00426e1d
push esi
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xb8], 2
call fcn.004095c3
push 4
pop ecx
push ecx
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
mov esi, dword [esp + 0x50]
push str.Flags
push esi
mov dword [esp + 0x40], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0
push str.AllowedDomains
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00426fc0
add esp, 0xc
push 0
mov byte [esp + 0xb4], 4
mov edx, dword [esp + 0x14]
push 0
push str.roblox.com
lea ecx, [esp + 0x64]
call fcn.00426fc0
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x406385
push dword [esp + 0x58]
call ebx
mov edx, dword [esp + 0x10]
push 0
push 0
push str.robloxlabs.com
lea ecx, [esp + 0x64]
call fcn.00426fc0
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x4063ab
push dword [esp + 0x58]
call ebx
cmp dword [esp + 0x10], 0
je 0x4063bd
push dword [esp + 0x10]
call ebx
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
test esi, esi
je 0x4063c9
push esi
call ebx
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], 0x4e40000
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 5
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xa4]
push str.RobloxProxy.dll
mov edx, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 6
call fcn.0040abaf
pop ecx
push esi
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 8
call fcn.004095c3
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x30]
call fcn.004256e4
test eax, eax
je 0x406501
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x30]
call fcn.00425aa2
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0xa
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xb4]
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x406478
mov ecx, dword [ecx]
mov al, byte [edi + 0x4d]
push 0x2001f
push ecx
xor ecx, ecx
test al, al
sete cl
add ecx, 0x80000001
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c7f9
push esi
test eax, eax
push 1
lea ecx, [esp + 0x48]
setns bl
call fcn.004095c3
test bl, bl
je 0x4064e5
lea edx, [esp + 0x58]
lea ecx, [esp + 0x88]
call fcn.004297c4
cmp dword [eax + 0x14], 8
jb 0x4064c5
mov eax, dword [eax]
push 1
push eax
push str.Plug_in_version
lea ecx, [esp + 0x1c]
call fcn.0040c605
push esi
push 1
lea ecx, [esp + 0x90]
call fcn.004095c3
cmp dword [esp + 0x10], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4064f8
push dword [esp + 0x10]
call ebx
lea ecx, [esp + 0x58]
call fcn.00407e25
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.004095c3
lea ecx, [esp + 0x2c]
call fcn.00425642
cmp dword [esp + 0x1c], 0
je 0x406523
push dword [esp + 0x1c]
call ebx
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004492e4
mov esp, ebp
pop ebp
ret 4