Function at 0x14000eb00
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 [0x14004b300]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
cmp byte [0x14004c9ce], bl
je 0x14000ecde
lea rdx, str.restoring_registry_entries__HKCS__2
lea rcx, [0x14004ca60]
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 0x14000ebae
mov eax, dword [0x14004b1e0]
mov dword [rsp + 0x28], eax
lea rax, [0x14006cb00]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14003863c]
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 0x14000ecde
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 0x14000ebc0
lea r9, [rbp - 0x19]
lea r8, [rbp + 0x4c]
mov rdx, r10
lea rcx, [rbp + 0x17]
call fcn.140007e50
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.140011e20
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, [0x14004ca60]
call fcn.140006f40
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000ec92
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eedf
call fcn.14001af20
movdqa xmm0, xmmword [0x140037990]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000ecde
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ecd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eee5
call fcn.14001af20
lea rcx, [0x14004ca60]
cmp byte [0x14004c9cd], 0
je 0x14000ee9c
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 0x14000ed6b
mov eax, dword [0x14004b1e4]
mov dword [rsp + 0x28], eax
lea rax, [0x140070b00]
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 0x14000eebc
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 0x14000ed80
lea r9, [rbp - 0x19]
lea r8, [rbp + 0x4c]
mov rdx, r11
lea rcx, [rbp + 0x17]
call fcn.140007e50
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.140011e20
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, [0x14004ca60]
call fcn.140006f40
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000ee52
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eeeb
call fcn.14001af20
movdqa xmm0, xmmword [0x140037990]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000eebc
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eed9
call fcn.14001af20
jmp 0x14000eebc
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.14001b0a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret
call fcn.140020d94
nop
call fcn.140020d94
nop
call fcn.140020d94
nop
call fcn.140020d94
int3