Function at 0x18000c8c0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rbx
push rdi
push r15
sub rsp, 0x860
imul r15d, edx, 0x46
mov edi, edx
mov rbx, rcx
cmp edx, r15d
ja 0x18000cb80
mov qword [rax + 8], rbp
mov rbp, qword [rsp + 0x890]
mov qword [rax - 0x20], rsi
mov esi, dword [rax + 0x10]
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
imul r12d, edi, 7
mov qword [rax - 0x38], r14
xor r13d, r13d
mov r14d, dword [rsp + 0x888]
nop
cmp edi, 0x32a
ja 0x18000ca66
je 0x18000ca47
mov eax, edi
sub eax, 0x36
je 0x18000ca3c
sub eax, 0x65
je 0x18000c9a4
sub eax, 0x21
je 0x18000c982
sub eax, 0x52
je 0x18000c97a
cmp eax, 0xa2
jne 0x18000cb4c
lea r9, [rsp + 0x888]
mov dword [rsp + 0x890], 0xfa
lea r8d, [rax + 0x31]
mov rcx, rbx
lea rdx, [rsp + 0x890]
call fcn.180008150
mov esi, dword [rsp + 0x888]
jmp 0x18000cb4c
mov dword [rbx], r13d
jmp 0x18000cb4c
movsx eax, byte [rbx]
lea rdx, [rsp + 0x250]
mov ecx, 0xfffffeff
mov dword [rsp + 0x7ac], eax
call qword [0x1800d5910]
jmp 0x18000cb4c
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.180070440
lea rdx, [rsp + 0x30]
mov ecx, 2
lea rax, [rsp + 0x140]
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x18000c9d0
mov ecx, dword [rax]
mov dword [rdx], ecx
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x18000cb4c
mov rbp, r13
mov r14d, r13d
jmp 0x18000cb4c
mov qword [rsp + 0x28], r13
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], r13
xor edx, edx
mov rcx, rbp
call sub.IMM32.dll_ImmEnumRegisterWordA
jmp 0x18000cb4c
mov eax, edi
sub eax, 0x4a4
je 0x18000cb23
sub eax, 0x34
je 0x18000cb03
sub eax, 0x108
je 0x18000caf9
cmp eax, 0x335
jne 0x18000cb4c
test rbx, rbx
je 0x18000cabd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000cab0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x18000cb4c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000ca93
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000cb4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x18000cb4c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18000cad1
jmp 0x18000cb4c
mov word [0x1800d5918], r13w
jmp 0x18000cb4c
lea r8, str.VFMADDPDZv213rmkz
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1800732f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x18000cb4c
cmp esi, 1
jne 0x18000cb37
mov rdx, rbx
mov ecx, 0xae
call fcn.18000e7d0
jmp 0x18000cb4c
cmp esi, 2
jne 0x18000cb4c
xor r8d, r8d
mov rdx, rbx
mov ecx, 0xe5
call fcn.180027600
add edi, r12d
cmp edi, r15d
jbe 0x18000c910
mov r14, qword [rsp + 0x840]
mov r13, qword [rsp + 0x848]
mov r12, qword [rsp + 0x850]
mov rsi, qword [rsp + 0x858]
mov rbp, qword [rsp + 0x880]
add rsp, 0x860
pop r15
pop rdi
pop rbx
ret