Function at 0x14015c600
Capabilities:
Get common file path
Read file via mapping

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x418]
sub rsp, 0x500
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rsi, rcx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x60], r14
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x5c], edx
cmp rdx, 0x200000
ja 0x14015c6be
mov dword [rsp + 0x58], 1
mov rcx, rdx
call fcn.1401b81b8
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14015c6ca
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x68], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14015c4e0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rax + 0x10], xmm1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ILClone]
nop
cmp qword [rsp + 0x60], 0
jne 0x14015cab1
mov dword [rsp + 0x58], r14d
movdqa xmm6, xmmword [0x1401f5800]
movdqu xmmword [rbp - 0x50], xmm6
mov word [rbp - 0x60], r14w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.1401afc90
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x14015c763
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.1401afc90
lea r9, [rbp - 0x40]
xor r8d, r8d
lea rdx, [0x140232660]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14015c763
lea rax, [rbp - 0x40]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14015c744
mov r8, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.14000d810
movdqu xmm6, xmmword [rbp - 0x50]
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp - 0x70], xmm6
movups xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x4000100
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x14015c7f6
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14015c980
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015c97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015cae8
jmp 0x14015c97b
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x14015c858
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14015c980
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015c97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015caee
jmp 0x14015c97b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14015c8af
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14015c980
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015c97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015caf4
jmp 0x14015c97b
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14015c918
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14015c980
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015c97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015cafa
jmp 0x14015c97b
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x14015c9cd
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14015c998
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015c97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015cb00
call fcn.1401606e8
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14015c998
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rsp + 0x60], r14
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14015c9b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x14015cab1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14015cab1
lea rdi, [rsi + 0x10]
mov qword [rsp + 0x78], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
mov rbx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015ca18
mov rcx, qword [rsp + 0x60]
cmp qword [rax + 0x20], rcx
jae 0x14015ca01
mov rax, qword [rax + 0x10]
jmp 0x14015ca07
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015c9f5
cmp rbx, rdx
je 0x14015ca18
cmp rcx, qword [rbx + 0x20]
jae 0x14015ca59
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x68]
lea rdx, [0x1402324dd]
mov rcx, rsi
call fcn.14015be70
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14015c140
mov rbx, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x38], xmm1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + ILClone]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14015cab1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015caac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015cae2
call fcn.1401606e8
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140160a40
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1401b3260
int3
call fcn.1401b3260
int3
call fcn.1401b3260
int3
call fcn.1401b3260
int3
call fcn.1401b3260
int3
call fcn.1401b3260
int3
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14015cc50
mov rcx, rax
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x14015c600