Function at 0x14001ad30
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 rbx, r9
mov rsi, r8
mov r14, rcx
mov qword [rcx + 0x10], rdx
xor edi, edi
mov dword [rbp - 0x29], edi
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], rdi
lea r9d, [rdi + 0x18]
lea r8, str.EnableOOPGLog
lea rdx, str.SoftwareOverwolfQAOverlay
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp dword [rbp - 0x29], edi
je 0x14001adc1
mov r8, rbx
mov rdx, rsi
call fcn.14001df10
mov rdx, rbx
mov rcx, r14
call fcn.14001ca50
test al, al
jne 0x14001ae1f
lea rax, [0x140158de8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x25
lea rax, [0x140158d78]
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 0x14001b0f4
mov qword [rbp - 1], rdi
mov qword [rbp + 7], rdi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov r8d, 6
lea rdx, str.plugin
lea rcx, [rbp - 0x11]
call fcn.140002170
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.140004c60
mov rsi, rax
lea rbx, [r14 + 0x1e0]
cmp rbx, rax
je 0x14001ae92
mov rcx, rbx
call fcn.1400020c0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14001aed2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aecd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b11d
call fcn.1400514f4
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14001af22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001af1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b117
call fcn.1400514f4
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rsi, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001af3f
mov rsi, qword [rbx]
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 [r14 + 0x1f0], 0
je 0x14001b084
lea rcx, [rax + 8]
cmp qword [rcx + 0x18], 8
jb 0x14001af7b
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001b084
cmp qword [rbx + 0x18], 8
jb 0x14001af94
mov rbx, qword [rbx]
mov rax, qword [r14 + 0x200]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [r14 + 0x200]
call qword [rax + 8]
test al, al
jne 0x14001b001
lea rax, str.gep_plugin_initialization_error
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x35
lea rax, [0x140158e78]
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, 0xfffffc21
jmp 0x14001b0dd
lea rbx, [r14 + 0x98]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001b015
mov rdx, qword [rbx]
lea rcx, [r14 + 0x200]
call fcn.14001a840
test al, al
jne 0x14001b0df
cmp qword [rbx + 0x18], 8
jb 0x14001b033
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea rax, str.gep_plugin_start_error___s_
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x3b
lea rax, str.GepOOPManager::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, 0xfffffc21
jmp 0x14001b0dd
cmp qword [rbx + 0x18], 8
jb 0x14001b08e
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea rax, str.file_not_found:__s
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x30
lea rax, [0x140158e50]
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, 0xfffffc1f
mov edi, eax
test rsi, rsi
je 0x14001b0f2
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8]
mov eax, edi
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