Function at 0x41db5e
Capabilities:
Set registry value

Disassembly:
push 0x80
mov eax, 0x46ec8d
call fcn.004492af
mov dword [ebp - 0x74], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp dword [edi + 0x10], 0
je 0x41def3
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
push 0x473b64
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.00403984
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x41dbb3
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x74]
xor ecx, ecx
push 0x2001f
push ebx
mov al, byte [eax + 0x4d]
test al, al
sete cl
add ecx, 0x80000001
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00407323
test eax, eax
jne 0x41dc9c
push str.protocol_handler_scheme
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00413bde
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.00404e18
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00408c45
cmp byte [0x49d082], 0
mov ebx, dword [ebp - 0x74]
je 0x41dc62
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x41dc3b
mov eax, dword [eax]
push ecx
push eax
movzx eax, byte [0x49d082]
push str.HKCU_S_:protocol_handler_scheme___s
push eax
call fcn.00410896
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00408c9a
cmp byte [0x4f0ac0], 0
jne 0x41dc9c
cmp dword [ebp - 0x30], 0
je 0x41dc9c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040eabd
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0041eb4f
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00408c9a
push edi
lea eax, [ebp - 0x58]
push str.SOFTWAREClasses_
push eax
call fcn.00416637
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x41dcba
mov eax, dword [eax]
mov ebx, dword [ebp - 0x74]
push 0
push 0
push eax
mov cl, byte [ebx + 0x4d]
xor eax, eax
test cl, cl
sete al
add eax, 0x80000001
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041386c
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00408c9a
lea eax, [ebp - 0x28]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0040ec8b
pop ecx
pop ecx
push eax
push 1
push str.URL:_Roblox_Protocol
push 0x473ad4
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.00407e66
push eax
call fcn.0041561c
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00408c45
lea eax, [ebp - 0x28]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0040ec8b
pop ecx
pop ecx
push eax
push 1
push 0x473ad4
push str.URL_Protocol
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.00407e66
push eax
call fcn.0041561c
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00408c45
cmp dword [esi + 0x14], 8
jb 0x41dd7a
mov eax, dword [esi]
jmp 0x41dd7c
mov eax, esi
push 0
push eax
push str.DefaultIcon
push dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041386c
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00405901
cmp dword [esi + 0x14], 8
jb 0x41dda3
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x70]
push str.__s____1
push eax
call fcn.0040ecac
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x70]
xor esi, esi
push esi
push eax
push str.shellopencommand
push dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041386c
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.00405901
push str.Failed_to_set_protocol_handler_scheme_key_value
lea ecx, [ebp - 0x28]
call fcn.00403984
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x41ddfc
mov eax, dword [edi]
jmp 0x41ddfe
mov eax, edi
lea ecx, [ebp - 0x28]
push ecx
push 1
push eax
push str.protocol_handler_scheme
lea ecx, [ebp - 0x8c]
call fcn.00407e66
push eax
call fcn.0041561c
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00408c45
push edi
lea eax, [ebp - 0x58]
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
push eax
call fcn.00416637
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x41de4a
mov eax, dword [eax]
mov cl, byte [ebx + 0x4d]
push esi
push esi
push eax
xor eax, eax
test cl, cl
sete al
add eax, 0x80000001
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041386c
add esp, 0x14
lea ecx, [ebp - 0x80]
push eax
call fcn.0041b279
lea ecx, [ebp - 0x1c]
call fcn.00405901
xor ebx, ebx
mov byte [ebp - 4], 9
push esi
inc ebx
lea ecx, [ebp - 0x58]
push ebx
call fcn.00408c9a
lea eax, [ebp - 0x58]
push str.Failed_to_set_Protocol_WarnOnOpen_Key
push eax
call fcn.0040ec8b
pop ecx
pop ecx
push eax
push 4
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xc
push eax
push 4
push esi
push str.WarnOnOpen
push dword [ebp - 0x80]
mov dword [ebp - 0x74], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call fcn.0041561c
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00408c45
push esi
push ebx
lea ecx, [ebp - 0x70]
call fcn.00408c9a
lea ecx, [ebp - 0x80]
call fcn.00405901
push esi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00408c45
lea ecx, [ebp - 0x8c]
call fcn.00405901
call fcn.00449259
ret 0xc