Function at 0x14000ea80
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14004c300]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
cmp byte [0x14004d9ce], bl
je 0x14000ec5e
lea rdx, str.restoring_registry_entries__HKCS__2
lea rcx, [0x14004da60]
call fcn.1400071d0
mov qword [rbp - 0x11], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.steamShellOpenCommand
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000eb2e
mov eax, dword [0x14004c1e0]
mov dword [rsp + 0x28], eax
lea rax, [0x14006db00]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14003961c]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000ec5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x4c]
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea r8d, [rcx + rdx]
add r8b, r8b
sub r9b, r8b
add r9b, 0x30
mov byte [r10], r9b
mov r9d, edx
test edx, edx
jne 0x14000eb40
lea r9, [rbp - 0x19]
lea r8, [rbp + 0x4c]
mov rdx, r10
lea rcx, [rbp + 0x17]
call fcn.140007e60
nop
mov r9d, 0x41
lea r8, str.Unable_to_restore_the_original_registry_entry__HKCS__2__error_
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.140011f20
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 9]
lea rcx, [0x14004da60]
call fcn.140006f40
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000ec12
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ee5f
call fcn.14001af38
movdqa xmm0, xmmword [0x140038970]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000ec5e
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ee65
call fcn.14001af38
lea rcx, [0x14004da60]
cmp byte [0x14004d9cd], 0
je 0x14000ee1c
lea rdx, str.restoring_registry_entries__HKCS__1
call fcn.1400071d0
mov qword [rbp - 0x11], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.steam
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000eceb
mov eax, dword [0x14004c1e4]
mov dword [rsp + 0x28], eax
lea rax, [0x140071b00]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.URL_Protocol
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000ee3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, eax
lea r11, [rbp + 0x4c]
nop dword [rax + rax]
dec r11
mov eax, 0xcccccccd
mul r10d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea r8d, [rcx + rdx]
add r8b, r8b
sub r10b, r8b
add r10b, 0x30
mov byte [r11], r10b
mov r10d, edx
test edx, edx
jne 0x14000ed00
lea r9, [rbp - 0x19]
lea r8, [rbp + 0x4c]
mov rdx, r11
lea rcx, [rbp + 0x17]
call fcn.140007e60
nop
mov r9d, 0x41
lea r8, str.Unable_to_restore_the_original_registry_entry__HKCS__1__error_
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.140011f20
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 9]
lea rcx, [0x14004da60]
call fcn.140006f40
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000edd2
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000edcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ee6b
call fcn.14001af38
movdqa xmm0, xmmword [0x140038970]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000ee3c
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ee59
call fcn.14001af38
jmp 0x14000ee3c
lea rdx, str.removing_registry_entries__HKCS__2__added_by_loader_
call fcn.1400071d0
lea rdx, str.steam
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14001b0b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret
call fcn.140020dc4
nop
call fcn.140020dc4
nop
call fcn.140020dc4
nop
call fcn.140020dc4
int3