Function at 0x180013e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, rdx
mov rdi, rcx
cmp dword [rcx + 0x44], 0
je 0x180013ecd
mov eax, 1
jmp 0x180014164
cmp dword [0x1801030e0], 0
je 0x180013f0f
lea rcx, [rbp + 0x67]
call fcn.18001aa60
nop
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, str.COCPFServerHlp::LoadFunc__________s_
lea r8, str.OCPFrame
or edx, 0xffffffff
lea rcx, [0x1801027f8]
call fcn.180072a80
nop
lea rcx, [rbp + 0x67]
call fcn.1800180c0
xor r13d, r13d
test rbx, rbx
je 0x1800140e5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800140e5
xor edx, edx
lea r8d, [r13 + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x180013f5e
cmp dword [0x1801030e0], r13d
je 0x18001410b
lea r9, str.COCPFServerHlp::LoadFunc_err2
jmp 0x1800140f5
lea rdx, str.GetRegFuncsInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
lea rdx, str.FreeReply
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x58], rax
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x1800140d3
test rax, rax
je 0x1800140d3
mov dword [rbp + 0x67], r13d
lea rcx, [rbp + 0x67]
call rdx
mov r12, rax
test rax, rax
je 0x1800140c1
mov esi, dword [rbp + 0x67]
test esi, esi
je 0x1800140c1
lea rcx, [rbp + 7]
call fcn.180011a70
nop
mov ebx, r13d
test esi, esi
je 0x180014053
mov rsi, r12
nop word [rax + rax]
xor eax, eax
mov qword [rbp - 0xd], rax
mov qword [rbp - 5], rax
mov dword [rbp + 3], eax
mov eax, dword [rsi]
mov dword [rbp - 0x11], eax
mov eax, dword [rsi + 4]
mov dword [rbp - 0xd], eax
mov eax, dword [rsi + 8]
mov dword [rbp - 9], eax
mov eax, dword [rsi + 0xc]
mov dword [rbp - 5], eax
movsxd rax, ebx
imul rax, rax, 0x114
lea rdx, [rax + r12 + 0x10]
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 1], rax
test rax, rax
je 0x180014053
movups xmm0, xmmword [rbp - 0x11]
movaps xmmword [rbp + 0x27], xmm0
movsd xmm1, qword [rbp - 1]
movsd qword [rbp + 0x37], xmm1
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.1800138d0
inc ebx
add rsi, 0x114
cmp ebx, dword [rbp + 0x67]
jb 0x180013fe0
mov rcx, r12
call qword [rdi + 0x58]
lea rcx, [rbp + 7]
call fcn.180011a80
cmp eax, dword [rbp + 0x67]
je 0x180014099
cmp dword [0x1801030e0], 0
je 0x18001408e
lea r9, str.COCPFServerHlp::LoadFunc_err5
lea r8, str.OCPFrame
or edx, 0xffffffff
lea rcx, [0x1801027f8]
call fcn.180072a80
nop
lea rcx, [rbp + 7]
call fcn.180012180
jmp 0x18001410b
lea rcx, [rdi + 0x60]
call fcn.1800138c0
lea rdx, [rbp + 7]
lea rcx, [rdi + 0x60]
call fcn.180013900
mov dword [rdi + 0x44], 1
lea rcx, [rbp + 7]
call fcn.180012180
jmp 0x18001410b
cmp dword [0x1801030e0], r13d
je 0x18001410b
lea r9, str.COCPFServerHlp::LoadFunc_err4
jmp 0x1800140f5
cmp dword [0x1801030e0], r13d
je 0x18001410b
lea r9, str.COCPFServerHlp::LoadFunc_err3
jmp 0x1800140f5
cmp dword [0x1801030e0], r13d
je 0x18001410b
lea r9, str.COCPFServerHlp::LoadFunc_err1
lea r8, str.OCPFrame
or edx, 0xffffffff
lea rcx, [0x1801027f8]
call fcn.180072a80
cmp dword [rdi + 0x44], 0
jne 0x180014127
mov qword [rdi + 0x50], r13
mov qword [rdi + 0x58], r13
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rdi + 0x48], r13
cmp dword [0x1801030e0], 0
je 0x180014161
lea rcx, [rdi + 0x60]
call fcn.180011a80
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x44]
mov dword [rsp + 0x20], eax
lea r9, str.COCPFServerHlp::LoadFunc______d____d_
lea r8, str.OCPFrame
or edx, 0xffffffff
lea rcx, [0x1801027f8]
call fcn.180072a80
mov eax, dword [rdi + 0x44]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret