Function at 0x18000ecc0
Capabilities:
Check if file exists
Get file attributes
Get system information on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
xor r14d, r14d
mov qword [rsp + 0x38], rdx
mov edi, r8d
mov rbx, rdx
test r8d, r8d
jne 0x18000ed09
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x48]
test rax, rax
je 0x18000ed34
call rax
jmp 0x18000ed3a
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [rsp + 0x48]
mov edx, 0xfffc
lea eax, [rcx - 6]
test dx, ax
jne 0x18000ed61
cmp cx, 8
je 0x18000ed61
mov edx, edi
call fcn.18000ef40
test eax, eax
jne 0x18000ed61
mov al, 1
jmp 0x18000ed63
xor al, al
test al, al
mov word [rbp - 0x50], r14w
lea rcx, [0x180051d48]
mov r8d, 0x7fe
lea rsi, str.PrintHook32.dll
cmovne rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x4e]
call fcn.180040540
mov r8d, 0x30
lea rdx, [rsp + 0x78]
lea rcx, [0x18000c7a0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000edfb
mov rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x50]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x18000edf4
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x18000edf4
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x18000edf4
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000edf4
test al, 0x10
je 0x18000edfb
mov word [rbp - 0x50], r14w
jmp 0x18000ee06
cmp word [rbp - 0x50], r14w
jne 0x18000eeaa
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREWebSupergooABCpdfNET9
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000eeaa
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.ModulePath
lea rax, [rbp - 0x50]
mov dword [rsp + 0x30], 0x800
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000ee9a
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x18000ee9a
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x18000ee9a
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000ee9a
test al, 0x10
je 0x18000ee9f
mov word [rbp - 0x50], r14w
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x1800650d8]
lea rcx, vtable.NullLog.0
test rax, rax
lea r9, [rbp - 0x50]
mov r8d, edi
lea rdx, str.CPrintHook::DllName___for_pid__d_returns__ls._n
cmovne rcx, rax
cmp word [rbp - 0x50], r14w
cmove r9, rsi
mov rax, qword [rcx]
call qword [rax]
cmp word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
xorps xmm0, xmm0
mov r8, 0xffffffffffffffff
movups xmmword [rbx], xmm0
cmove rdx, rsi
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x18000ef00
mov rcx, rbx
call fcn.18001a960
mov rax, rbx
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.18001c3d0
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret