Function at 0x14000ee50
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 0x14000ef17
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 0x14000ef5f
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 0x14000f08d
lea rcx, str.Created_new_registry_entry__HKCU__for_Steam
call fcn.140006140
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 0x14000f17d
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 0x14000f0a0
lea r9, [rbp - 0x11]
lea r8, [rbp + 0x4c]
mov rdx, r10
lea rcx, [rbp + 0x17]
call fcn.140006d10
nop
lea r8, [rbp + 0x17]
lea rdx, str.Unable_to_patch_Registry__HKCU___error_
lea rcx, [rbp - 9]
call fcn.140006fb0
nop
mov rcx, rax
call fcn.140005ed0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000f133
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f12e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1a0
call fcn.140015d80
movdqa xmm0, xmmword [0x140039980]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000f17b
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f176
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f19a
call fcn.140015d80
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140015f00
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
call fcn.14001bbf4
nop
call fcn.14001bbf4
nop
int3