Function at 0x14000ef00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x14004b300]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp byte [0x14004c9ca], 0
je 0x14000f199
lea rdx, str.restoring_registry_entries__HKCU_
lea rcx, [0x14004ca60]
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 0x14000f056
mov eax, dword [0x14004b1c0]
mov dword [rsp + 0x28], eax
lea rax, [0x14004cb00]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400380e8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x14004b1c4]
mov dword [rsp + 0x28], eax
lea rax, [0x140050b00]
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, [0x14004ca5c]
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 [0x14004b1c8]
mov dword [rsp + 0x28], eax
lea rax, [0x140054b00]
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.14001b0a0
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 0x14000f070
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x95]
mov rdx, r10
lea rcx, [rsp + 0x60]
call fcn.140007e50
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.140011e20
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, [0x14004ca60]
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000f14d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f148
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1b7
call fcn.14001af20
movdqa xmm0, xmmword [0x140037990]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000f199
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f194
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1b1
call fcn.14001af20
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001b0a0
add rsp, 0xa8
ret
call fcn.140020d94
nop
call fcn.140020d94
nop
int3