Function at 0x40a509
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444290
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x46c060]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x46c060]
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 + 0x120]
push str.RobloxProxy.zip
call fcn.00426c81
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
cmp byte [ebp + 8], 0
je 0x40a90e
mov al, byte [edi + 0x4d]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test al, al
jne 0x40a5e9
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0x2001f
push str.SoftwareClasses
push SysReAllocString
lea ecx, [esp + 0x28]
mov dword [esp + 0xbc], eax
call fcn.0040ecb4
mov esi, dword [esp + 0x1c]
test eax, eax
js 0x40a5da
lea eax, [edi + 0x150]
push eax
push 1
push esi
lea ecx, [edi + 0x3a8]
call fcn.00426320
or dword [esp + 0xb0], 0xffffffff
test esi, esi
je 0x40a5e9
push esi
call ebx
mov edx, dword [edi]
sub esp, 0x18
mov ecx, edi
push esp
call dword [edx + 0xa0]
lea esi, [edi + 0x150]
push esi
lea eax, [edi + 0x124]
push eax
lea ecx, [edi + 0x3a8]
call fcn.00425839
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.0040eb78
mov edx, str.Failed_to_create_64_bits_HKSoftwareClasses
mov ecx, eax
call fcn.00437621
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.00402357
mov edx, dword [edi]
sub esp, 0xc
mov ecx, edi
push esp
call dword [edx + 0xa0]
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x4a8]
call fcn.00425839
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.0040ff9a
add esp, 0xc
mov byte [esp + 0xb0], 3
cmp dword [eax + 0x14], 8
jb 0x40a6d4
mov eax, dword [eax]
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push eax
push SysReAllocString
lea ecx, [esp + 0x5c]
call fcn.0040eb78
mov edx, str.Failed_to_create_key_for_iexplorer_stats
mov ecx, eax
call fcn.00437621
push esi
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xb8], 2
call fcn.0040253d
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.004377db
add esp, 0xc
push 0
mov byte [esp + 0xb4], 4
mov edx, dword [esp + 0x14]
push 0
push str.catium.xyz
lea ecx, [esp + 0x64]
call fcn.004377db
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x40a770
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.004377db
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x40a796
push dword [esp + 0x58]
call ebx
cmp dword [esp + 0x10], 0
je 0x40a7a8
push dword [esp + 0x10]
call ebx
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
test esi, esi
je 0x40a7b4
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 + 0xa0]
push str.RobloxProxy.dll
mov edx, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 6
call fcn.0040d5ac
pop ecx
push esi
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 8
call fcn.0040253d
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x30]
call fcn.00412cf1
test eax, eax
je 0x40a8ec
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x30]
call fcn.004130b0
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 + 0xb0]
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x40a863
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.0040ecb4
push esi
test eax, eax
push 1
lea ecx, [esp + 0x48]
setns bl
call fcn.0040253d
test bl, bl
je 0x40a8d0
lea edx, [esp + 0x58]
lea ecx, [esp + 0x88]
call fcn.0040fc50
cmp dword [eax + 0x14], 8
jb 0x40a8b0
mov eax, dword [eax]
push 1
push eax
push str.Plug_in_version
lea ecx, [esp + 0x1c]
call fcn.0040eac0
push esi
push 1
lea ecx, [esp + 0x90]
call fcn.0040253d
cmp dword [esp + 0x10], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40a8e3
push dword [esp + 0x10]
call ebx
lea ecx, [esp + 0x58]
call fcn.00402286
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.0040253d
lea ecx, [esp + 0x2c]
call fcn.00412c2e
cmp dword [esp + 0x1c], 0
je 0x40a90e
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.00440d0e
mov esp, ebp
pop ebp
ret 4