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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r9
mov rdi, r8
mov r15, rcx
mov qword [rcx + 0x10], rdx
xor ebx, ebx
mov dword [rbp - 0x29], ebx
mov dword [rbp - 0x21], 4
lea rax, [rbp - 0x21]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x18]
lea r8, str.EnableOOPGLog
lea rdx, str.SoftwareOverwolfQAOverlay
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp dword [rbp - 0x29], ebx
je 0x140016191
mov r8, r14
mov rdx, rdi
call fcn.14001df10
mov rdx, r14
mov rcx, r15
call fcn.14001ca50
test al, al
jne 0x1400161ef
lea rax, [0x140158490]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x39
lea rax, [0x1401584d0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x1401a5ebc]
mov dword [rsp + 0x20], eax
mov edx, 8
mov r9d, 0xffffff
lea r8d, [rdx - 4]
lea rcx, vtable.FlushLogger.0
call fcn.140010300
mov eax, 0xfffffc19
jmp 0x1400163d8
mov qword [rbp - 1], rbx
mov qword [rbp + 7], rbx
mov qword [rbp - 1], rbx
mov qword [rbp + 7], 7
mov word [rbp - 0x11], bx
mov r8d, 6
lea rdx, [0x140158408]
lea rcx, [rbp - 0x11]
call fcn.140002170
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0xf]
mov rcx, r14
call fcn.140004c60
mov rsi, rax
lea rdi, [r15 + 0x1e0]
cmp rdi, rax
je 0x140016262
mov rcx, rdi
call fcn.1400020c0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400162a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001629d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016401
call fcn.1400514f4
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], bx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400162f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400162ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400163fb
call fcn.1400514f4
mov qword [rbp - 1], rbx
mov qword [rbp + 7], 7
mov word [rbp - 0x11], bx
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001630f
mov rsi, qword [rdi]
mov ecx, 0x88
call fcn.140050fb4
mov qword [rbp - 0x21], rax
mov rdx, rsi
mov rcx, rax
call fcn.140031290
mov rsi, rax
mov qword [rbp - 0x29], rax
cmp qword [r15 + 0x1f0], 0
je 0x140016368
lea rcx, [rax + 8]
cmp qword [rcx + 0x18], 8
jb 0x140016347
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140016368
mov rdx, r14
mov rcx, r15
call fcn.140016820
test al, al
jne 0x1400163c3
mov eax, 0xfffffc22
jmp 0x1400163c1
cmp qword [rdi + 0x18], 8
jb 0x140016372
mov rdi, qword [rdi]
mov qword [rsp + 0x40], rdi
lea rax, [0x140158500]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x44
lea rax, str.GoopOOPManager::Init
mov qword [rsp + 0x28], rax
mov eax, dword [0x1401a5ebc]
mov dword [rsp + 0x20], eax
mov edx, 8
mov r9d, 0xffffff
lea r8d, [rdx - 4]
lea rcx, vtable.FlushLogger.0
call fcn.140010300
mov eax, 0xfffffc20
mov ebx, eax
test rsi, rsi
je 0x1400163d6
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8]
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140050f90
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140090478
nop
call fcn.140090478
nop
int3