Function at 0x41f26d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e89f
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x10], 0
mov ecx, dword [ebp + 0x10]
je 0x41f6e5
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x88], eax
cmp dword [ecx + 0x14], 8
jb 0x41f2d9
mov ecx, dword [ecx]
mov al, byte [esi + 0x4d]
push 0x2001f
push ecx
xor ecx, ecx
test al, al
sete cl
add ecx, 0x80000001
push ecx
lea ecx, [esp + 0x30]
call fcn.00414540
test eax, eax
jne 0x41f3d1
and dword [esp + 0x40], eax
mov dword [esp + 0x44], 0xf
mov byte [esp + 0x30], al
push str.protocol_handler_scheme
lea edx, [esp + 0x28]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 1
call fcn.0042da86
pop ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00407e40
lea ecx, [esp + 0x48]
call fcn.00404060
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0xb4]
mov byte [esp + 0x88], 2
cmp dword [esp + 0x44], 0x10
lea ecx, [esp + 0x30]
cmovae ecx, dword [esp + 0x30]
cmp dword [eax + 0x14], 8
jb 0x41f36c
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0x160]
push str.HKCU_S_:protocol_handler_scheme___s
push eax
call fcn.004087a0
add esp, 0x10
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 1
call fcn.00408690
cmp dword [esp + 0x40], 0
je 0x41f3c0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x48]
call fcn.0042f884
push eax
mov ecx, esi
mov byte [esp + 0x8c], 3
call fcn.0041f708
lea ecx, [esp + 0x48]
call fcn.00408690
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 0
call fcn.00404060
push ebx
mov edx, str.SOFTWAREClasses_
lea ecx, [esp + 0x4c]
call fcn.004287c1
pop ecx
mov ecx, eax
mov byte [esp + 0x88], 4
cmp dword [ecx + 0x14], 8
jb 0x41f3f3
mov ecx, dword [ecx]
mov al, byte [esi + 0x4d]
xor edx, edx
test al, al
sete dl
push ecx
push 0
push ecx
lea ecx, [esp + 0x24]
add edx, 0x80000001
call fcn.0042db09
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 6
call fcn.00408690
lea eax, [esp + 0x30]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0042fa5d
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push 1
push str.URL:_Roblox_Protocol
push 0x47f3d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 7
call fcn.0040fb10
mov ecx, eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 0x10
jb 0x41f464
mov eax, dword [eax]
mov edx, eax
call fcn.0042d96a
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.00404060
lea eax, [esp + 0x30]
push str.failed_to_set_value_for_protocol
push eax
call fcn.0042fa5d
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push 1
push 0x47f3d0
push str.URL_Protocol
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 8
call fcn.0040fb10
mov ecx, eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 0x10
jb 0x41f4bc
mov eax, dword [eax]
mov edx, eax
call fcn.0042d96a
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.00404060
cmp dword [edi + 0x14], 8
jb 0x41f4de
mov eax, dword [edi]
jmp 0x41f4e0
mov eax, edi
mov edx, dword [esp + 0x18]
push ecx
push eax
push str.DefaultIcon
lea ecx, [esp + 0x3c]
call fcn.0042db09
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0040fb90
cmp dword [edi + 0x14], 8
jb 0x41f508
mov edi, dword [edi]
push edi
lea eax, [esp + 0x64]
push str.__s____1
push eax
call fcn.0042fbea
mov byte [esp + 0x94], 9
cmp dword [esp + 0x80], 8
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
add esp, 8
lea ecx, [esp + 0x34]
push eax
push str.shellopencommand
call fcn.0042db09
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0040fb90
cmp dword [ebx + 0x14], 8
jb 0x41f55d
mov eax, dword [ebx]
jmp 0x41f55f
mov eax, ebx
push 1
push eax
push str.protocol_handler_scheme
lea ecx, [esp + 0x30]
call fcn.0040fb10
mov edx, str.Failed_to_set_protocol_handler_scheme_key_value
mov ecx, eax
call fcn.0042d96a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
test al, al
je 0x41f678
push ebx
mov edx, str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
lea ecx, [esp + 0x4c]
call fcn.004287c1
pop ecx
mov ecx, eax
mov byte [esp + 0x88], 0xa
cmp dword [ecx + 0x14], 8
jb 0x41f5b0
mov ecx, dword [ecx]
mov al, byte [esi + 0x4d]
xor edx, edx
test al, al
sete dl
push ecx
push 0
push ecx
lea ecx, [esp + 0x3c]
add edx, 0x80000001
call fcn.0042db09
mov ecx, dword [esp + 0x24]
mov edi, eax
add esp, 0xc
cmp ecx, dword [edi]
je 0x41f602
lea ecx, [esp + 0x18]
call fcn.0040fb60
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [edi + 8]
and dword [edi], 0
and dword [edi + 4], 0
and dword [edi + 8], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x30]
call fcn.0040fb90
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 9
call fcn.00408690
lea eax, [esp + 0x48]
push str.Failed_to_set_Protocol_WarnOnOpen_Key
push eax
call fcn.0042fa5d
pop ecx
pop ecx
mov edi, eax
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
mov byte [esp + 0x98], 0xb
and dword [esp + 0x24], 0
push str.WarnOnOpen
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0x14], 0x10
jb 0x41f65e
mov edi, dword [edi]
mov edx, edi
mov ecx, eax
call fcn.0042d96a
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 9
call fcn.00404060
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
test al, al
je 0x41f6ca
push ebx
mov edx, str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
lea ecx, [esp + 0x4c]
call fcn.004287c1
pop ecx
mov byte [esp + 0x88], 0xc
cmp dword [eax + 0x14], 8
jb 0x41f6a6
mov eax, dword [eax]
xor edx, edx
cmp byte [esi + 0x4d], dl
push eax
sete dl
lea ecx, [esi + 0x160]
add edx, 0x80000001
call fcn.0042dbda
pop ecx
lea ecx, [esp + 0x48]
call fcn.00408690
lea ecx, [esp + 0x60]
call fcn.00408690
lea ecx, [esp + 0x18]
call fcn.0040fb90
lea ecx, [esp + 0x24]
call fcn.0040fb90
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret 0xc