Function at 0x406044
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467789
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
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.0043cbdf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
cmp byte [ebp + 8], 0
je 0x406449
mov al, byte [edi + 0x4d]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test al, al
jne 0x406124
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.0040c70f
mov esi, dword [esp + 0x1c]
test eax, eax
js 0x406115
lea eax, [edi + 0x150]
push eax
push 1
push esi
lea ecx, [edi + 0x3ac]
call fcn.00427b03
or dword [esp + 0xb0], 0xffffffff
test esi, esi
je 0x406124
push esi
call ebx
mov edx, dword [edi]
sub esp, 0x18
mov ecx, edi
push esp
call dword [edx + 0xa8]
lea esi, [edi + 0x150]
push esi
lea eax, [edi + 0x124]
push eax
lea ecx, [edi + 0x3ac]
call fcn.0042701c
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.0040c5d3
mov edx, str.Failed_to_create_64_bits_HKSoftwareClasses
mov ecx, eax
call fcn.00427e28
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.00408d80
mov edx, dword [edi]
sub esp, 0xc
mov ecx, edi
push esp
call dword [edx + 0xa8]
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x4ac]
call fcn.0042701c
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.0042ab25
add esp, 0xc
mov byte [esp + 0xb0], 3
cmp dword [eax + 0x14], 8
jb 0x40620f
mov eax, dword [eax]
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push eax
push closesocket
lea ecx, [esp + 0x5c]
call fcn.0040c5d3
mov edx, str.Failed_to_create_key_for_iexplorer_stats
mov ecx, eax
call fcn.00427e28
push esi
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xb8], 2
call fcn.00409522
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.00427fcb
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.00427fcb
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x4062ab
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.00427fcb
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x4062d1
push dword [esp + 0x58]
call ebx
cmp dword [esp + 0x10], 0
je 0x4062e3
push dword [esp + 0x10]
call ebx
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
test esi, esi
je 0x4062ef
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 + 0xa8]
push str.RobloxProxy.dll
mov edx, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 6
call fcn.0040ab0e
pop ecx
push esi
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 8
call fcn.00409522
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x30]
call fcn.004266ef
test eax, eax
je 0x406427
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x30]
call fcn.00426aad
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 + 0xb8]
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x40639e
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.0040c70f
push esi
test eax, eax
push 1
lea ecx, [esp + 0x48]
setns bl
call fcn.00409522
test bl, bl
je 0x40640b
lea edx, [esp + 0x58]
lea ecx, [esp + 0x88]
call fcn.0042a7a8
cmp dword [eax + 0x14], 8
jb 0x4063eb
mov eax, dword [eax]
push 1
push eax
push str.Plug_in_version
lea ecx, [esp + 0x1c]
call fcn.0040c51b
push esi
push 1
lea ecx, [esp + 0x90]
call fcn.00409522
cmp dword [esp + 0x10], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40641e
push dword [esp + 0x10]
call ebx
lea ecx, [esp + 0x58]
call fcn.00407d52
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.00409522
lea ecx, [esp + 0x2c]
call fcn.0042664d
cmp dword [esp + 0x1c], 0
je 0x406449
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.0044a9a4
mov esp, ebp
pop ebp
ret 4