Function at 0x41dcfd
Capabilities:
Set registry value

Disassembly:
push 0x80
mov eax, 0x46e98c
call fcn.004490ad
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 0x41e092
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
push 0x473948
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.00403e21
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x41dd52
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.004077a3
test eax, eax
jne 0x41de3b
push str.protocol_handler_scheme
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00413e7b
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.00411d37
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409040
cmp byte [0x49e0ae], 0
mov ebx, dword [ebp - 0x74]
je 0x41de01
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 0x41ddda
mov eax, dword [eax]
push ecx
push eax
movzx eax, byte [0x49e0ae]
push str.HKCU_S_:protocol_handler_scheme___s
push eax
call fcn.00410bbc
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00409095
cmp byte [0x4f1ad0], 0
jne 0x41de3b
cmp dword [ebp - 0x30], 0
je 0x41de3b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040ee00
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0041ecd3
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00409095
push edi
lea eax, [ebp - 0x58]
push str.SOFTWAREClasses_
push eax
call fcn.0041689e
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x41de59
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.00413b09
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00409095
lea eax, [ebp - 0x28]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0040efce
pop ecx
pop ecx
push eax
push 1
push str.URL:_Roblox_Protocol
push 0x473ba0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00409040
lea eax, [ebp - 0x28]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0040efce
pop ecx
pop ecx
push eax
push 1
push 0x473ba0
push str.URL_Protocol
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00409040
cmp dword [esi + 0x14], 8
jb 0x41df19
mov eax, dword [esi]
jmp 0x41df1b
mov eax, esi
push 0
push eax
push str.DefaultIcon
push dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
push eax
call fcn.00413b09
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00405d7f
cmp dword [esi + 0x14], 8
jb 0x41df42
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x70]
push str.__s____1
push eax
call fcn.0040efef
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.00413b09
add esp, 0x20
lea ecx, [ebp - 0x1c]
call fcn.00405d7f
push str.Failed_to_set_protocol_handler_scheme_key_value
lea ecx, [ebp - 0x28]
call fcn.00403e21
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x41df9b
mov eax, dword [edi]
jmp 0x41df9d
mov eax, edi
lea ecx, [ebp - 0x28]
push ecx
push 1
push eax
push str.protocol_handler_scheme
lea ecx, [ebp - 0x8c]
call fcn.0040821d
push eax
call fcn.00415888
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00409040
push edi
lea eax, [ebp - 0x58]
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
push eax
call fcn.0041689e
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x41dfe9
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.00413b09
add esp, 0x14
lea ecx, [ebp - 0x80]
push eax
call fcn.0041b4fb
lea ecx, [ebp - 0x1c]
call fcn.00405d7f
xor ebx, ebx
mov byte [ebp - 4], 9
push esi
inc ebx
lea ecx, [ebp - 0x58]
push ebx
call fcn.00409095
lea eax, [ebp - 0x58]
push str.Failed_to_set_Protocol_WarnOnOpen_Key
push eax
call fcn.0040efce
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.00415888
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00409040
push esi
push ebx
lea ecx, [ebp - 0x70]
call fcn.00409095
lea ecx, [ebp - 0x80]
call fcn.00405d7f
push esi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00409040
lea ecx, [ebp - 0x8c]
call fcn.00405d7f
call fcn.00449057
ret 0xc