Function at 0x418a82
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46769d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x48f190]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x48f190]
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 dword [esp + 0x14], eax
mov eax, dword [ebx + 0x14]
xor esi, esi
mov edi, edx
mov dword [esp + 0x20], ebx
cmp eax, esi
je 0x418f50
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x98], esi
cmp dword [ecx + 0x18], 8
jb 0x418af6
mov ecx, dword [ecx + 4]
jmp 0x418af9
add ecx, 4
mov al, byte [edi + 0x59]
push ecx
xor ecx, ecx
test al, al
sete cl
mov eax, 0x2001f
add ecx, 0x80000001
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040cb62
test eax, eax
jne 0x418c1f
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
call fcn.0040a1c3
lea eax, [esp + 0x24]
push eax
mov ecx, str.protocol_handler_scheme
lea ebx, [esp + 0x38]
mov byte [esp + 0x9c], 1
call fcn.00429f80
pop ecx
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 2
call fcn.00409317
push ebx
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 1
call fcn.00409486
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call dword [eax + 0xb8]
mov byte [esp + 0x98], 3
cmp dword [esp + 0x68], 0x10
mov ecx, dword [esp + 0x54]
jae 0x418ba0
lea ecx, [esp + 0x54]
cmp dword [eax + 0x18], 8
jb 0x418bab
mov eax, dword [eax + 4]
jmp 0x418bae
add eax, 4
push ecx
push eax
push str.HKCU_S_:protocol_handler_scheme___s
lea esi, [edi + 0x1ac]
call fcn.0040900c
add esp, 0xc
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xa0], 1
call fcn.0040971e
cmp dword [esp + 0x64], ebx
je 0x418c06
lea edx, [esp + 0x50]
lea ecx, [esp + 0x34]
call fcn.0042c7d5
push edi
mov ecx, eax
mov byte [esp + 0x9c], 4
call fcn.00418f73
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.0040971e
push ebx
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], bl
call fcn.00409486
mov ebx, dword [esp + 0x20]
xor esi, esi
push ebx
lea eax, [esp + 0x38]
push str.SOFTWAREClasses_
push eax
call fcn.0040b3e5
add esp, 0xc
mov byte [esp + 0x98], 5
cmp dword [eax + 0x18], 8
jb 0x418c45
mov ecx, dword [eax + 4]
jmp 0x418c48
lea ecx, [eax + 4]
mov al, byte [edi + 0x59]
push esi
push esi
push ecx
xor ecx, ecx
test al, al
sete cl
lea eax, [esp + 0x24]
add ecx, 0x80000001
push ecx
push eax
call fcn.0042a01e
add esp, 0x14
push esi
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xa0], 7
call fcn.0040971e
push str.failed_to_set_value_for_protocol
lea esi, [esp + 0x54]
call fcn.0042c993
pop ecx
mov esi, eax
push 1
push str.URL:_Roblox_Protocol
mov ebx, 0x471e7c
push ebx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xa8], 8
call fcn.0040ca7d
push eax
mov eax, esi
call fcn.00429e95
pop ecx
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 7
call fcn.00409486
push str.failed_to_set_value_for_protocol
lea esi, [esp + 0x54]
call fcn.0042c993
pop ecx
mov esi, eax
push 1
push ebx
push str.URL_Protocol
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xa8], 9
call fcn.0040ca7d
push eax
mov eax, esi
call fcn.00429e95
pop ecx
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 7
call fcn.00409486
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
mov dword [esp + 0x14], eax
jb 0x418d27
mov eax, dword [eax]
push 0
push eax
push str.DefaultIcon
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
call fcn.0042a01e
add esp, 0x14
lea esi, [esp + 0x2c]
call fcn.0040cba0
cmp dword [ebx + 0x18], 8
mov eax, dword [esp + 0x14]
jb 0x418d55
mov eax, dword [eax]
push eax
push str.__s____1
lea esi, [esp + 0x74]
call fcn.0042caf2
pop ecx
pop ecx
mov byte [esp + 0x98], 0xa
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x418d80
lea eax, [esp + 0x70]
xor ebx, ebx
push ebx
push eax
push str.shellopencommand
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
call fcn.0042a01e
add esp, 0x14
lea esi, [esp + 0x2c]
call fcn.0040cba0
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x18], 8
jb 0x418db2
mov eax, dword [esi + 4]
jmp 0x418db5
lea eax, [esi + 4]
push str.Failed_to_set_protocol_handler_scheme_key_value
push 1
push eax
push str.protocol_handler_scheme
lea eax, [esp + 0x34]
push eax
call fcn.0040ca7d
push eax
call fcn.00429e3c
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x98]
test al, al
je 0x418ed0
push esi
lea eax, [esp + 0x38]
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
push eax
call fcn.0040b3e5
add esp, 0xc
mov byte [esp + 0x98], 0xb
cmp dword [eax + 0x18], 8
jb 0x418e0c
mov eax, dword [eax + 4]
jmp 0x418e0f
add eax, 4
mov cl, byte [edi + 0x59]
push ebx
push ebx
push eax
xor eax, eax
test cl, cl
sete al
add eax, 0x80000001
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0042a01e
mov ebx, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, dword [ebx]
je 0x418e5a
lea esi, [esp + 0x18]
call fcn.0040cba0
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x2c]
call fcn.0040cba0
xor ebx, ebx
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0xa0], 0xa
call fcn.0040971e
push str.Failed_to_set_Protocol_WarnOnOpen_Key
lea esi, [esp + 0x38]
call fcn.0042c993
pop ecx
mov esi, eax
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebx
mov byte [esp + 0xa8], 0xc
push str.WarnOnOpen
push dword [esp + 0x2c]
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
mov eax, esi
call fcn.00429e95
pop ecx
push ebx
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0xa
call fcn.00409486
mov esi, dword [esp + 0x20]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
test al, al
je 0x418f32
push esi
lea eax, [esp + 0x38]
push str.SOFTWAREMicrosoftInternet_ExplorerProtocolExecute_
push eax
call fcn.0040b3e5
add esp, 0xc
mov byte [esp + 0x98], 0xd
cmp dword [eax + 0x18], 8
jb 0x418f04
mov eax, dword [eax + 4]
jmp 0x418f07
add eax, 4
xor ecx, ecx
cmp byte [edi + 0x59], cl
sete cl
add edi, 0x1ac
add ecx, 0x80000001
push ecx
push edi
mov edi, eax
call fcn.0042a0df
pop ecx
pop ecx
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.0040971e
push ebx
push 1
lea esi, [esp + 0x74]
call fcn.0040971e
lea esi, [esp + 0x18]
call fcn.0040cba0
lea esi, [esp + 0x24]
call fcn.0040cba0
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.004483ed
mov esp, ebp
pop ebp
ret 8