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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x14004d2c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp - 0x41], rdi
lea rbx, [0x14005e7e8]
mov rdx, rbx
cmp qword [0x14005e800], 7
cmova rdx, qword [0x14005e7e8]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f27f
mov byte [0x14004e7d1], 1
mov dword [rbp - 0x39], 1
lea rax, [0x14004d158]
mov qword [rsp + 0x28], rax
lea rax, [0x1400567e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x39]
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, str.Found_previous_registry_entry__HKLM__for_Steam
jmp 0x14000f2d3
cmp qword [0x14005e800], 7
cmova rbx, qword [0x14005e7e8]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x41]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000f3d1
lea rcx, str.Created_new_registry_entry__HKLM__for_Steam
call fcn.1400060e0
call fcn.140006250
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.1400027d0
mov eax, dword [rbp - 0x21]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rcx, qword [rbp - 0x31]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [0x14005e7e0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.SteamPID
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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 - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14000f3ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f3c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f4e4
call fcn.140015da0
mov al, 1
jmp 0x14000f4bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r10, [rbp + 0x44]
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 0x14000f3e0
lea r9, [rbp - 0x49]
lea r8, [rbp + 0x44]
mov rdx, r10
lea rcx, [rbp + 0xf]
call fcn.140006cb0
nop
lea r8, [rbp + 0xf]
lea rdx, str.Unable_to_patch_Registry__HKLM___error_
lea rcx, [rbp - 0x11]
call fcn.140006f50
nop
mov rcx, rax
call fcn.140005e70
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x14000f473
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f46e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f4ea
call fcn.140015da0
movdqa xmm0, xmmword [0x140039980]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000f4bb
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f4b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f4de
call fcn.140015da0
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140015f20
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14001bc14
int3
call fcn.14001bc14
nop
call fcn.14001bc14
nop
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov edi, edx
mov rcx, qword [rax]
test rcx, rcx
je 0x14000f543
mov rax, qword [rbx + 0x18]
cmp qword [rax], rcx
jae 0x14000f543
cmp edx, 0xffffffff
je 0x14000f521
movzx eax, byte [rcx - 1]
cmp eax, edx
jne 0x14000f543
mov rax, qword [rbx + 0x50]
inc dword [rax]
mov rax, qword [rbx + 0x38]
dec qword [rax]
xor eax, eax
cmp edi, 0xffffffff
cmove edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x14000f5c1
cmp edi, 0xffffffff
je 0x14000f5c1
cmp qword [rbx + 0x68], 0
jne 0x14000f569
movzx ecx, dil
call fcn.140021344
cmp eax, 0xffffffff
jne 0x14000f536
mov r9, qword [rbx + 0x38]
lea rdx, [rbx + 0x70]
cmp qword [r9], rdx
je 0x14000f5c1
mov r10, qword [rbx + 0x18]
lea r8, [rbx + 0x50]
mov byte [rdx], dil
mov rax, qword [r10]
cmp rax, rdx
je 0x14000f5a0
mov qword [rbx + 0x88], rax
mov rax, qword [r8]
movsxd rcx, dword [rax]
add rcx, qword [r9]
mov qword [rbx + 0x90], rcx
mov qword [r10], rdx
mov rax, qword [rbx + 0x38]
sub ebx, edx
add ebx, 0x71
mov qword [rax], rdx
mov rax, qword [r8]
mov dword [rax], ebx
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x20
pop rdi
ret