Function at 0x1400030a0
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 [0x140248800]
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.140005c8c
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 0x140003334
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 0x140003334
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 0x140003184
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.140006b0c
nop
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x140003270
mov r13d, 0x100
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14018b0b0
lea rcx, [0x1402165f4]
cmp word [rcx], r13w
jae 0x140003224
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x70], 1
add rcx, 2
lea rax, [0x1402165f6]
cmp rcx, rax
jne 0x1400031d9
lea rcx, [rsi - 1]
mov rax, rsi
cmp rcx, rsi
cmovb rax, rcx
lea rcx, [rbx + rax*2]
cmp word [rcx], r13w
jae 0x140003219
movzx eax, word [rcx]
cmp byte [rbp + rax - 0x70], r15b
jne 0x140003268
cmp rcx, rbx
je 0x140003270
sub rcx, 2
jmp 0x140003209
lea rcx, [rsi - 1]
mov rax, rsi
cmp rcx, rsi
cmovb rax, rcx
lea rcx, [rbx + rax*2]
mov edx, 1
lea rax, [0x1402165f4]
movzx r8d, word [rcx]
cmp word [rax], r8w
je 0x140003258
add rax, 2
sub rdx, 1
jne 0x140003246
jmp 0x14000325d
test rax, rax
jne 0x140003268
cmp rcx, rbx
je 0x140003270
sub rcx, 2
jmp 0x140003236
sub rcx, rbx
sar rcx, 1
jmp 0x140003273
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.140006b0c
lea rcx, [rsp + 0x68]
call fcn.1400061b0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x140216ec0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea rcx, [rsp + 0x38]
call fcn.1400061b0
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.140005c8c
nop
lea rcx, [rsp + 0x68]
call fcn.1400061b0
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 0x140003373
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140003373
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140216698]
mov rcx, r14
call fcn.140005c0c
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 0x140003373
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.140187c20
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