Function at 0x14000ee70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov qword [rbp - 0x19], rbx
lea rax, [rbp - 0x19]
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 0x14000ef37
mov byte [0x14004e7d0], 1
mov dword [rbp - 0xd], 1
lea rax, [0x14004d150]
mov qword [rsp + 0x28], rax
lea rax, [0x14004e7e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0xd]
xor r8d, r8d
lea rdx, str.SteamClientDll
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [0x14004d154]
mov qword [rsp + 0x28], rax
lea rax, [0x1400527e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0xd]
xor r8d, r8d
lea rdx, str.SteamClientDll64
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, str.Found_previous_registry_entry__HKCU__for_Steam
jmp 0x14000ef7f
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareValveSteamActiveProcess
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000f0ad
lea rcx, str.Created_new_registry_entry__HKCU__for_Steam
call fcn.1400060e0
mov dword [rsp + 0x28], 4
lea rax, [0x1400399bc]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ActiveUser
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x28], 4
lea rax, [0x14005e7e0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14003a1cc]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [0x14004d190]
lea eax, [rax*2 + 2]
lea rcx, [0x14004d180]
cmp qword [0x14004d198], 7
cmova rcx, qword [0x14004d180]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.SteamClientDll
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x14004d1b0]
lea eax, [rax*2 + 2]
lea rcx, [0x14004d1a0]
cmp qword [0x14004d1b8], 7
cmova rcx, qword [0x14004d1a0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.SteamClientDll64
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 7
lea rax, str.Public
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Universe
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000f19d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r10, [rbp + 0x4c]
nop dword [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 0x14000f0c0
lea r9, [rbp - 0x11]
lea r8, [rbp + 0x4c]
mov rdx, r10
lea rcx, [rbp + 0x17]
call fcn.140006cb0
nop
lea r8, [rbp + 0x17]
lea rdx, str.Unable_to_patch_Registry__HKCU___error_
lea rcx, [rbp - 9]
call fcn.140006f50
nop
mov rcx, rax
call fcn.140005e70
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000f153
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f14e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1c0
call fcn.140015da0
movdqa xmm0, xmmword [0x140039980]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000f19b
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1ba
call fcn.140015da0
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140015f20
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
call fcn.14001bc14
nop
call fcn.14001bc14
nop
int3