Function at 0x40a54c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4427a7
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
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.004377dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
cmp byte [ebp + 8], 0
je 0x40a951
mov al, byte [edi + 0x4d]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test al, al
jne 0x40a62c
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.0040ecf5
mov esi, dword [esp + 0x1c]
test eax, eax
js 0x40a61d
lea eax, [edi + 0x150]
push eax
push 1
push esi
lea ecx, [edi + 0x3a8]
call fcn.00433d02
or dword [esp + 0xb0], 0xffffffff
test esi, esi
je 0x40a62c
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.0043321b
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.0040ebb9
mov edx, str.Failed_to_create_64_bits_HKSoftwareClasses
mov ecx, eax
call fcn.00433fbe
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.0043321b
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.0040ffdb
add esp, 0xc
mov byte [esp + 0xb0], 3
cmp dword [eax + 0x14], 8
jb 0x40a717
mov eax, dword [eax]
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push eax
push closesocket
lea ecx, [esp + 0x5c]
call fcn.0040ebb9
mov edx, str.Failed_to_create_key_for_iexplorer_stats
mov ecx, eax
call fcn.00433fbe
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.00434178
add esp, 0xc
push 0
mov byte [esp + 0xb4], 4
mov edx, dword [esp + 0x14]
push 0
push str.economy_simulator.org
lea ecx, [esp + 0x64]
call fcn.00434178
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x40a7b3
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.00434178
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x40a7d9
push dword [esp + 0x58]
call ebx
cmp dword [esp + 0x10], 0
je 0x40a7eb
push dword [esp + 0x10]
call ebx
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
test esi, esi
je 0x40a7f7
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.0040d5ed
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.004328d7
test eax, eax
je 0x40a92f
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x30]
call fcn.00432c96
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 0x40a8a6
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.0040ecf5
push esi
test eax, eax
push 1
lea ecx, [esp + 0x48]
setns bl
call fcn.0040253d
test bl, bl
je 0x40a913
lea edx, [esp + 0x58]
lea ecx, [esp + 0x88]
call fcn.0040fc91
cmp dword [eax + 0x14], 8
jb 0x40a8f3
mov eax, dword [eax]
push 1
push eax
push str.Plug_in_version
lea ecx, [esp + 0x1c]
call fcn.0040eb01
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 0x40a926
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.00432814
cmp dword [esp + 0x1c], 0
je 0x40a951
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.0043dbf0
mov esp, ebp
pop ebp
ret 4