Function at 0x41edf3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cd65
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x14]
xor edx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
cmp eax, edx
je 0x41f299
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x98], edx
cmp dword [ecx + 0x18], 8
jb 0x41ee6b
mov esi, dword [ecx + 4]
jmp 0x41ee6e
lea esi, [ecx + 4]
mov al, byte [edi + 0x59]
xor edx, edx
test al, al
sete dl
mov ecx, esi
mov eax, 0x2001f
lea esi, [esp + 0x28]
add edx, 0x80000001
call fcn.0040fca0
test eax, eax
jne 0x41ef85
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
call fcn.00407df0
mov eax, esi
push eax
mov ecx, str.protocol_handler_scheme
lea ebx, [esp + 0x34]
mov byte [esp + 0x9c], 1
call fcn.0042faa2
pop ecx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 2
call fcn.00407320
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 1
call fcn.00406d50
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0xac]
mov byte [esp + 0x98], 3
cmp dword [esp + 0x68], 0x10
mov ecx, dword [esp + 0x54]
jae 0x41ef10
lea ecx, [esp + 0x54]
cmp dword [eax + 0x18], 8
jb 0x41ef1b
mov eax, dword [eax + 4]
jmp 0x41ef1e
add eax, 4
push ecx
push eax
push str.HKCU_S_:protocol_handler_scheme___s
lea esi, [edi + 0x1ac]
call fcn.00406fa0
add esp, 0xc
lea esi, [esp + 0x30]
mov byte [esp + 0x98], 1
call fcn.00406e40
cmp dword [esp + 0x64], ebx
je 0x41ef71
lea ecx, [esp + 0x50]
lea edi, [esp + 0x30]
call fcn.00431734
push dword [esp + 0x20]
mov ecx, eax
mov byte [esp + 0x9c], 4
call fcn.0041f2bc
mov esi, edi
call fcn.00406e40
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], bl
call fcn.00406d50
mov ebx, dword [esp + 0x24]
push ebx
push str.SOFTWAREClasses_
lea edi, [esp + 0x38]
call fcn.004093b0
pop ecx
pop ecx
mov byte [esp + 0x98], 5
cmp dword [eax + 0x18], 8
jb 0x41efa9
mov ecx, dword [eax + 4]
jmp 0x41efac
lea ecx, [eax + 4]
mov eax, dword [esp + 0x20]
mov al, byte [eax + 0x59]
push 0
push ecx
xor ecx, ecx
test al, al
sete cl
lea eax, [esp + 0x18]
add ecx, 0x80000001
push ecx
push eax
call fcn.0042fb3b
add esp, 0x10
lea esi, [esp + 0x30]
mov byte [esp + 0x98], 7
call fcn.00406e40
mov ebx, str.failed_to_set_value_for_protocol
push ebx
lea esi, [esp + 0x54]
call fcn.004318ef
pop ecx
mov dword [esp + 0x4c], eax
push 1
mov edi, 0x475c54
push edi
lea eax, [esp + 0x18]
push eax
mov esi, str.URL:_Roblox_Protocol
mov byte [esp + 0xa4], 8
call fcn.0040b390
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0042f9c6
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 7
call fcn.00406d50
push ebx
lea esi, [esp + 0x54]
call fcn.004318ef
pop ecx
mov ebx, eax
push 1
push str.URL_Protocol
lea eax, [esp + 0x18]
push eax
mov esi, edi
mov byte [esp + 0xa4], 9
call fcn.0040b390
mov ecx, eax
mov eax, ebx
call fcn.0042f9c6
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 7
call fcn.00406d50
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x41f084
mov eax, dword [ebx]
jmp 0x41f086
mov eax, ebx
push eax
push str.DefaultIcon
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.0042fb3b
add esp, 0x10
lea esi, [esp + 0x18]
call fcn.0040b400
cmp dword [edi + 0x18], 8
jb 0x41f0ae
mov ebx, dword [ebx]
push ebx
push str.__s____1
lea esi, [esp + 0x74]
call fcn.00431a4a
pop ecx
pop ecx
mov byte [esp + 0x98], 0xa
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x41f0d9
lea eax, [esp + 0x70]
push eax
push str.shellopencommand
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.0042fb3b
add esp, 0x10
lea esi, [esp + 0x18]
call fcn.0040b400
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x18], 8
jb 0x41f108
mov esi, dword [edi + 4]
jmp 0x41f10b
lea esi, [edi + 4]
push str.Failed_to_set_protocol_handler_scheme_key_value
push 1
push str.protocol_handler_scheme
lea eax, [esp + 0x34]
push eax
call fcn.0040b390
mov ecx, eax
call fcn.0042f972
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
pop ecx
mov ecx, ebx
call dword [eax + 0x8c]
test al, al
je 0x41f221
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
lea edi, [esp + 0x38]
call fcn.004093b0
pop ecx
pop ecx
mov byte [esp + 0x98], 0xb
cmp dword [eax + 0x18], 8
jb 0x41f163
mov eax, dword [eax + 4]
jmp 0x41f166
add eax, 4
mov cl, byte [ebx + 0x59]
push 0
push eax
xor eax, eax
test cl, cl
sete al
add eax, 0x80000001
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0042fb3b
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, dword [edi]
je 0x41f1b1
lea esi, [esp + 0x10]
call fcn.0040b3d0
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
lea esi, [esp + 0x18]
call fcn.0040b400
lea esi, [esp + 0x30]
mov byte [esp + 0x98], 0xa
call fcn.00406e40
push str.Failed_to_set_Protocol_WarnOnOpen_Key
lea esi, [esp + 0x34]
call fcn.004318ef
pop ecx
mov esi, eax
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
mov byte [esp + 0xa8], 0xc
and dword [esp + 0x28], 0
push str.WarnOnOpen
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
mov eax, esi
call fcn.0042f9c6
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 0xa
call fcn.00406d50
mov edi, dword [esp + 0x24]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x90]
test al, al
je 0x41f27e
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
lea edi, [esp + 0x38]
call fcn.004093b0
pop ecx
pop ecx
mov byte [esp + 0x98], 0xd
cmp dword [eax + 0x18], 8
jb 0x41f253
mov eax, dword [eax + 4]
jmp 0x41f256
add eax, 4
xor ecx, ecx
cmp byte [ebx + 0x59], cl
mov edi, eax
sete cl
add ebx, 0x1ac
add ecx, 0x80000001
push ecx
push ebx
call fcn.0042fbe7
pop ecx
pop ecx
lea esi, [esp + 0x30]
call fcn.00406e40
lea esi, [esp + 0x6c]
call fcn.00406e40
lea esi, [esp + 0x10]
call fcn.0040b400
lea esi, [esp + 0x28]
call fcn.0040b400
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0044cced
mov esp, ebp
pop ebp
ret 8