Function at 0x406519
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4652dc
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x488180]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x488180]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [esp + 0x2c]
xor edi, edi
push eax
mov ebx, ecx
mov ecx, dword [ebx + 0x160]
push edi
push str.RobloxProxy.zip
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x40], 0
call fcn.0043b9a9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
cmp byte [ebp + 8], 0
je 0x406947
mov al, byte [ebx + 0x59]
mov esi, str.SoftwareClasses
test al, al
jne 0x4065f7
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
push esi
push closesocket
mov eax, 0x2001f
lea ecx, [esp + 0x18]
mov dword [esp + 0xd0], edi
call fcn.0040cfe9
test eax, eax
jl 0x4065df
lea eax, [ebx + 0x188]
push eax
push 1
push dword [esp + 0x18]
lea ecx, [ebx + 0x378]
call fcn.00426cf1
or dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x10], edi
je 0x4065f7
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, ebx
call dword [eax + 0x68]
lea eax, [ebx + 0x164]
push eax
lea ecx, [ebx + 0x378]
lea edx, [ebx + 0x188]
call fcn.00426188
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
xor ecx, ecx
mov dword [esp + 0xc8], 1
mov al, byte [ebx + 0x59]
test al, al
sete cl
push str.Failed_to_create_64_bits_HKSoftwareClasses
push esi
mov eax, 0x2011f
add ecx, 0x80000001
push ecx
lea ecx, [esp + 0x34]
call fcn.0040cf3a
push eax
call fcn.0042702d
cmp byte [ebx + 0x59], 0
pop ecx
pop ecx
mov eax, str.HKEY_CURRENT_USER
jne 0x406670
mov eax, str.HKEY_LOCAL_MACHINE
push eax
push str.classesKey64___sSoftwareClasses
lea esi, [ebx + 0x188]
call fcn.0040939b
mov eax, dword [ebx]
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, ebx
call dword [eax + 0x68]
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0x4ac]
lea edx, [ebx + 0x188]
call fcn.00426188
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
push str.76D50904_6780_4c8b_8986_1A7EE0B1716D
push str.SoftwareMicrosoftWindowsCurrentVersionExtStats_siexplore
lea esi, [esp + 0x88]
mov byte [esp + 0xd0], 2
call fcn.0042a83f
pop ecx
pop ecx
mov byte [esp + 0xc8], 3
cmp dword [eax + 0x18], 8
jb 0x4066e3
mov eax, dword [eax + 4]
jmp 0x4066e6
add eax, 4
push str.Failed_to_create_key_for_iexplorer_stats
push eax
push closesocket
mov eax, 0x2001f
lea ecx, [esp + 0x1c]
call fcn.0040cf3a
push eax
call fcn.0042702d
pop ecx
pop ecx
push edi
push 1
lea esi, [esp + 0x88]
mov byte [esp + 0xd0], 2
call fcn.00409a53
push 4
pop eax
push eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
push str.Flags
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
push edi
push str.AllowedDomains
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
call fcn.0042720b
add esp, 0x14
push edi
push edi
push str.roblox.com
mov byte [esp + 0xd4], 4
push dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
call fcn.0042720b
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
cmp dword [esp + 0x18], edi
je 0x406786
push dword [esp + 0x18]
call esi
push edi
push edi
push str.robloxlabs.com
push dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
call fcn.0042720b
add esp, 0x14
cmp dword [esp + 0x18], edi
je 0x4067aa
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x20], edi
je 0x4067ba
push dword [esp + 0x20]
call esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
cmp dword [esp + 0x10], edi
je 0x4067ca
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x50]
call fcn.00429909
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], 5
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x68]
push str.RobloxProxy.dll
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xd4], 6
call fcn.0040ba03
add esp, 0xc
mov edx, eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 7
call fcn.0043c21c
push edi
push 1
lea esi, [esp + 0x6c]
call fcn.00409a53
push edi
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xd0], 0xa
call fcn.00409a53
lea ecx, [esp + 0x9c]
lea edi, [esp + 0x50]
call fcn.00429a12
test eax, eax
je 0x40691d
lea eax, [esp + 0x80]
push eax
mov eax, edi
push eax
call fcn.00429e23
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], 0xc
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [eax + 0x18], 8
jb 0x406889
mov eax, dword [eax + 4]
jmp 0x40688c
add eax, 4
mov bl, byte [ebx + 0x59]
push eax
xor eax, eax
test bl, bl
sete al
lea ecx, [esp + 0x14]
add eax, 0x80000001
push eax
mov eax, 0x2001f
call fcn.0040cfe9
push edi
test eax, eax
push 1
lea esi, [esp + 0x3c]
setge bl
call fcn.00409a53
test bl, bl
je 0x4068fc
lea edx, [esp + 0x80]
lea ecx, [esp + 0x34]
call fcn.0042a528
cmp dword [eax + 0x18], 8
jb 0x4068db
mov eax, dword [eax + 4]
jmp 0x4068de
add eax, 4
push 1
push eax
push str.Plug_in_version
lea eax, [esp + 0x1c]
push eax
call fcn.0040cf04
push edi
push 1
lea esi, [esp + 0x3c]
call fcn.00409a53
cmp dword [esp + 0x10], edi
je 0x40690c
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.004097af
jmp 0x40691f
xor edi, edi
push edi
push 1
lea ecx, [esp + 0xa4]
call fcn.004097af
lea esi, [esp + 0x50]
call fcn.0042992b
cmp dword [esp + 0x28], edi
je 0x406947
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00443d6d
mov esp, ebp
pop ebp
ret 4