Function at 0x41e07f
Capabilities:
Set registry value

Disassembly:
push 0x80
mov eax, 0x46e72f
call fcn.00448de7
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 0x41e414
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
push 0x473970
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.00403e06
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x41e0d4
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.004077c7
test eax, eax
jne 0x41e1bd
push str.protocol_handler_scheme
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00413ddb
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.004052e4
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040900a
cmp byte [0x49d0fe], 0
mov ebx, dword [ebp - 0x74]
je 0x41e183
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 0x41e15c
mov eax, dword [eax]
push ecx
push eax
movzx eax, byte [0x49d0fe]
push str.HKCU_S_:protocol_handler_scheme___s
push eax
call fcn.00410c9b
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0040905f
cmp byte [0x4f0be0], 0
jne 0x41e1bd
cmp dword [ebp - 0x30], 0
je 0x41e1bd
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040eefc
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0041f052
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040905f
push edi
lea eax, [ebp - 0x58]
push str.SOFTWAREClasses_
push eax
call fcn.00416887
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x41e1db
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.00413ac3
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.0040905f
lea eax, [ebp - 0x28]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0040f0ca
pop ecx
pop ecx
push eax
push 1
push str.URL:_Roblox_Protocol
push 0x473c90
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0040900a
lea eax, [ebp - 0x28]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0040f0ca
pop ecx
pop ecx
push eax
push 1
push 0x473c90
push str.URL_Protocol
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0040900a
cmp dword [esi + 0x14], 8
jb 0x41e29b
mov eax, dword [esi]
jmp 0x41e29d
mov eax, esi
push 0
push eax
push str.DefaultIcon
push dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
push eax
call fcn.00413ac3
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00405dcd
cmp dword [esi + 0x14], 8
jb 0x41e2c4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x70]
push str.__s____1
push eax
call fcn.0040f0eb
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.00413ac3
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.00405dcd
push str.Failed_to_set_protocol_handler_scheme_key_value
lea ecx, [ebp - 0x28]
call fcn.00403e06
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x41e31d
mov eax, dword [edi]
jmp 0x41e31f
mov eax, edi
lea ecx, [ebp - 0x28]
push ecx
push 1
push eax
push str.protocol_handler_scheme
lea ecx, [ebp - 0x8c]
call fcn.00408257
push eax
call fcn.004157ab
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0040900a
push edi
lea eax, [ebp - 0x58]
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
push eax
call fcn.00416887
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x41e36b
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.00413ac3
add esp, 0x14
lea ecx, [ebp - 0x80]
push eax
call fcn.0041b633
lea ecx, [ebp - 0x1c]
call fcn.00405dcd
xor ebx, ebx
mov byte [ebp - 4], 9
push esi
inc ebx
lea ecx, [ebp - 0x58]
push ebx
call fcn.0040905f
lea eax, [ebp - 0x58]
push str.Failed_to_set_Protocol_WarnOnOpen_Key
push eax
call fcn.0040f0ca
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.004157ab
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.0040900a
push esi
push ebx
lea ecx, [ebp - 0x70]
call fcn.0040905f
lea ecx, [ebp - 0x80]
call fcn.00405dcd
push esi
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040900a
lea ecx, [ebp - 0x8c]
call fcn.00405dcd
call fcn.00448d91
ret 0xc