Function at 0x14000c67c
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov r14, rcx
mov r12d, 0xff
mov ecx, r12d
call fcn.14000f45c
mov rsi, rax
lea rax, [rbp + 0x578]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClasses_steamShellOpenCommand
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor r15d, r15d
test eax, eax
jne 0x14000cb0b
mov dword [rbp + 0x570], 0x104
lea rax, [rbp + 0x570]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14003f348]
mov rcx, qword [rbp + 0x578]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x578]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], r15d
mov edi, r15d
mov rbx, rsi
cmp byte [rbx], 0x22
jne 0x14000c73e
inc edi
jmp 0x14000c74f
cmp edi, 2
je 0x14000c75d
mov dl, byte [rbx]
lea rcx, [rsp + 0x70]
call fcn.14000c360
inc rbx
mov rax, rbx
sub rax, rsi
cmp rax, r12
jl 0x14000c735
lea r8, str._steam.exe
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14000c430
nop
lea r8, str.Steam.exe
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14000c430
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400014b4
nop
mov rcx, qword [rsp + 0x50]
call fcn.14000f0f0
mov r8, r12
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x120]
call fcn.14001577c
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov r13d, 7
mov qword [rbp + 0x18], r13
mov word [rbp], r15w
lea rdx, [rbp + 0x120]
lea rcx, [rbp]
call fcn.1400067f4
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000caf7
test al, 0x10
je 0x14000caf7
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r13
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x30]
call fcn.1400067f4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140001c18
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x14000c975
mov rbx, qword [rsp + 0x60]
mov edi, eax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x568], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r13
lea rdx, str.ssfn
lea rcx, [rsp + 0x30]
call fcn.1400067f4
nop
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140006870
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140002128
test al, al
je 0x14000c967
mov dword [rbp + 0x568], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140006870
lea rdx, [rbp + 0x568]
lea rcx, [rsp + 0x30]
call fcn.140001e14
mov ecx, dword [rbp + 0x568]
test ecx, ecx
je 0x14000c967
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], ecx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.14000747c
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140006870
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14000c524
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov r8, r12
lea rcx, [rbp + 0x20]
call fcn.140015e3c
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400010d4
lea rcx, [r14 + 0x10]
mov rdx, rax
call fcn.14000cb28
nop
lea rcx, [rbp - 0x20]
call fcn.140006790
add rbx, 0x20
sub rdi, 1
jne 0x14000c842
lea r8, str.config_
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400013a8
nop
mov r8, r12
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x320]
call fcn.14001577c
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r13
mov word [rbp - 0x40], r15w
lea rdx, [rbp + 0x320]
lea rcx, [rbp - 0x40]
call fcn.1400067f4
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140006870
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001c18
mov eax, dword [rsp + 0x58]
test eax, eax
jle 0x14000cada
mov rbx, qword [rsp + 0x50]
mov edi, eax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140006870
lea rdx, [rbp + 0x568]
lea rcx, [rbp - 0x80]
call fcn.140001e14
mov ecx, dword [rbp + 0x568]
test ecx, ecx
je 0x14000cacc
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], ecx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.14000747c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140006870
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.14000c524
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov r8, r12
lea rcx, [rbp + 0x20]
call fcn.140015e3c
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400010d4
lea rcx, [r14 + 0x10]
mov rdx, rax
call fcn.14000cb28
nop
lea rcx, [rbp - 0x20]
call fcn.140006790
add rbx, 0x20
sub rdi, 1
jne 0x14000ca13
mov rcx, rsi
call fcn.14000f0f0
nop
lea rcx, [rbp - 0x40]
call fcn.140006790
nop
mov rcx, qword [rbp - 0x60]
call fcn.14000f0f0
nop
lea rcx, [rbp]
call fcn.140006790
nop
mov rcx, qword [rsp + 0x70]
call fcn.14000f0f0
mov rbx, qword [rsp + 0x660]
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret