Function at 0x14000d2c0
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 [0x14004d140]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp - 0x41], rdi
lea rbx, [0x14005e648]
mov rdx, rbx
cmp qword [0x14005e660], 7
cmova rdx, qword [0x14005e648]
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 0x14000d36f
mov byte [0x14004e631], 1
mov dword [rbp - 0x39], 1
lea rax, [0x14004d008]
mov qword [rsp + 0x28], rax
lea rax, [0x140056640]
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 0x14000d3c3
cmp qword [0x14005e660], 7
cmova rbx, qword [0x14005e648]
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 0x14000d4b9
lea rcx, str.Created_new_registry_entry__HKLM__for_Steam
call fcn.1400134d0
lea rcx, [rbp - 0x31]
call fcn.140011c50
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, [0x14005e640]
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 0x14000d4b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d4ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d5d4
call fcn.140015708
mov al, 1
jmp 0x14000d5ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r10, [rbp + 0x44]
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 0x14000d4d0
lea r9, [rbp - 0x49]
lea r8, [rbp + 0x44]
mov rdx, r10
lea rcx, [rbp + 0xf]
call fcn.140001350
nop
lea r8, [rbp + 0xf]
lea rdx, str.Unable_to_patch_Registry__HKLM___error_
lea rcx, [rbp - 0x11]
call fcn.1400015f0
nop
mov rcx, rax
call fcn.140007e50
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x14000d563
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d55e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d5da
call fcn.140015708
movdqa xmm0, xmmword [0x14003b4a0]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000d5ab
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d5ce
call fcn.140015708
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140015ac0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14001c51c
int3
call fcn.14001c51c
nop
call fcn.14001c51c
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 0x14000d633
mov rax, qword [rbx + 0x18]
cmp qword [rax], rcx
jae 0x14000d633
cmp edx, 0xffffffff
je 0x14000d611
movzx eax, byte [rcx - 1]
cmp eax, edx
jne 0x14000d633
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 0x14000d6b1
cmp edi, 0xffffffff
je 0x14000d6b1
cmp qword [rbx + 0x68], 0
jne 0x14000d659
movzx ecx, dil
call fcn.140020d04
cmp eax, 0xffffffff
jne 0x14000d626
mov r9, qword [rbx + 0x38]
lea rdx, [rbx + 0x70]
cmp qword [r9], rdx
je 0x14000d6b1
mov r10, qword [rbx + 0x18]
lea r8, [rbx + 0x50]
mov byte [rdx], dil
mov rax, qword [r10]
cmp rax, rdx
je 0x14000d690
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