Function at 0x14000ee80
Capabilities:
Set registry value

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x14004c300]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp byte [0x14004d9ca], 0
je 0x14000f119
lea rdx, str.restoring_registry_entries__HKCU_
lea rcx, [0x14004da60]
call fcn.1400071d0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareValveSteamActiveProcess
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000efd6
mov eax, dword [0x14004c1c0]
mov dword [rsp + 0x28], eax
lea rax, [0x14004db00]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400390c8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x14004c1c4]
mov dword [rsp + 0x28], eax
lea rax, [0x140051b00]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SteamClientDll64
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [0x14004da5c]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ActiveUser
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x14004c1c8]
mov dword [rsp + 0x28], eax
lea rax, [0x140055b00]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Universe
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001b060
add rsp, 0xa8
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r10, [rsp + 0x95]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x14000eff0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x95]
mov rdx, r10
lea rcx, [rsp + 0x60]
call fcn.140007e60
nop
mov r9d, 0x3e
lea r8, str.Unable_to_restore_the_original_registry_entry__HKCU___error_
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140011f20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x40]
lea rcx, [0x14004da60]
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000f0cd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f0c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f137
call fcn.14001aee0
movdqa xmm0, xmmword [0x140038970]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000f119
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f114
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f131
call fcn.14001aee0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001b060
add rsp, 0xa8
ret
call fcn.140020d74
nop
call fcn.140020d74
nop
int3