Function at 0x140003050
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1402477f8]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r14, rcx
mov qword [rsp + 0x58], rcx
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea rdx, str.SoftwareValveSteamActiveProcess
lea rcx, [rsp + 0x60]
call fcn.140005c70
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400032e4
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x78], 0x104
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x74]
xor r8d, r8d
lea rdx, str.SteamClientDll
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400032e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp + 0x90]
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], r15w
jne 0x140003134
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.140006af0
nop
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x140003220
mov r13d, 0x100
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14018b080
lea rcx, [0x1402155f4]
cmp word [rcx], r13w
jae 0x1400031d4
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x70], 1
add rcx, 2
lea rax, [0x1402155f6]
cmp rcx, rax
jne 0x140003189
lea rcx, [rsi - 1]
mov rax, rsi
cmp rcx, rsi
cmovb rax, rcx
lea rcx, [rbx + rax*2]
cmp word [rcx], r13w
jae 0x1400031c9
movzx eax, word [rcx]
cmp byte [rbp + rax - 0x70], r15b
jne 0x140003218
cmp rcx, rbx
je 0x140003220
sub rcx, 2
jmp 0x1400031b9
lea rcx, [rsi - 1]
mov rax, rsi
cmp rcx, rsi
cmovb rax, rcx
lea rcx, [rbx + rax*2]
mov edx, 1
lea rax, [0x1402155f4]
movzx r8d, word [rcx]
cmp word [rax], r8w
je 0x140003208
add rax, 2
sub rdx, 1
jne 0x1400031f6
jmp 0x14000320d
test rax, rax
jne 0x140003218
cmp rcx, rbx
je 0x140003220
sub rcx, 2
jmp 0x1400031e6
sub rcx, rbx
sar rcx, 1
jmp 0x140003223
mov rcx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movsxd r8, ecx
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140006af0
lea rcx, [rsp + 0x68]
call fcn.140006194
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x140215ec0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea rcx, [rsp + 0x38]
call fcn.140006194
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.140005c70
nop
lea rcx, [rsp + 0x68]
call fcn.140006194
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140003323
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140003323
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140215698]
mov rcx, r14
call fcn.140005bf0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140003323
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, r14
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140187c00
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret