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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8a8]
sub rsp, 0x980
movaps xmmword [rax - 0x38], xmm6
mov r15d, r9d
lea eax, [r9 + 0x41a]
mov r14, r8
mov dword [rbp + 0x8c8], eax
mov r12, rdx
movzx ebx, byte [rbp + 0x8c8]
mov r13, rcx
cmp r9d, eax
jae 0x180032a84
movsd xmm6, qword [0x18009c2e8]
xor ecx, ecx
mov rsi, qword [rsp + 0x40]
cmp r15d, 0xde
ja 0x1800328a0
je 0x180032889
mov eax, r15d
sub eax, 0x38
je 0x18003286c
sub eax, 0x25
je 0x18003277e
sub eax, 0x18
je 0x1800326f6
sub eax, 0x2c
je 0x1800326e4
cmp eax, 0x25
jne 0x180032a73
mov bl, 1
jmp 0x180032a73
movzx eax, byte [0x1800b504d]
mov byte [rbp + 0x6d1], al
jmp 0x180032a73
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x104
call fcn.18006e5e0
lea rcx, [rsp + 0x50]
mov edx, 2
lea rax, [rbp + 0x60]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x180032720
mov eax, dword [rax]
mov dword [rcx], eax
xor ecx, ecx
jmp 0x180032a73
mov qword [rsp + 0x30], rcx
lea rax, [r14 + 0x50]
mov qword [rsp + 0x28], rax
mov r9d, 0x10a
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call fcn.18002c0c0
xor r8d, r8d
lea rcx, [r14 + 8]
lea edx, [r8 + 0x55]
call fcn.180023aa0
test al, al
je 0x180032aad
mov r9d, 0x104
mov qword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rbp + 0x60]
xor edx, edx
call fcn.1800254b0
lea rcx, [rbp + 0x170]
mov edx, 2
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1800327f0
mov eax, dword [rax]
xorps xmm0, xmm0
mov dword [rcx], eax
movaps xmm1, xmm6
mov eax, dword [rbp + 0x170]
xor ecx, ecx
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
movsd qword [r14 + 0x118], xmm1
jmp 0x180032a73
movzx eax, word [r14]
mov word [rbp + 0x6c8], ax
movzx eax, byte [0x1800b504c]
mov byte [rbp + 0x6d0], al
jmp 0x180032a73
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ecx, ecx
jmp 0x180032a73
mov eax, r15d
sub eax, 0xfa
je 0x180032985
sub eax, 0x10
je 0x180032957
sub eax, 0x25
je 0x180032a84
cmp eax, 0x18
jne 0x180032a73
lea r8, str.C1ProfileBranches
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.180071490
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
je 0x180032918
nop dword [rax]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180032909
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x18003297e
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x2e]
call fcn.18003eae0
jmp 0x1800328f0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18003297e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x18003297e
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x2e]
call fcn.18003eae0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180032928
xor ecx, ecx
jmp 0x180032a73
mov word [rbp + 0x7da], cx
lea rdx, [rbp + 0x280]
mov ecx, 0xfffffffd
call qword [0x1800ce8f0]
movzx eax, word [rbp + 0x7da]
mov word [0x1800ce8f8], ax
xor ecx, ecx
jmp 0x180032a73
cmp byte [r14], 0x13
jne 0x180032a73
cmp qword [r14 + 6], 0
je 0x180032a73
mov eax, dword [r13]
test eax, eax
js 0x180032a73
cmp eax, dword [r14 + 2]
jg 0x180032a73
cmp qword [r12], 0
je 0x180032a73
mov edi, 0x63
mov eax, edi
sub eax, 0x63
je 0x180032a42
sub eax, 1
je 0x180032a38
sub eax, 1
je 0x180032a04
cmp eax, 1
jne 0x180032a63
mov rax, qword [r14 + 6]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov r9d, 0xc7
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x40], rax
call fcn.180025990
jmp 0x180032a63
mov rax, qword [rsi]
test rax, rax
je 0x180032a2f
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov edx, 0xed
call fcn.180037810
mov rax, qword [r12]
mov qword [rsi], rax
jmp 0x180032a63
movsxd rax, dword [r13]
lea rsi, [rsi + rax*8]
jmp 0x180032a63
mov rax, qword [r14 + 6]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, 0x8c
xor ecx, ecx
call fcn.18002ca50
mov rsi, rax
inc edi
mov ecx, 0
cmp edi, 0x67
jb 0x1800329c0
add r15d, 0x69
cmp r15d, dword [rbp + 0x8c8]
jb 0x1800326a2
movzx eax, bl
lea r11, [rsp + 0x980]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor al, al
jmp 0x180032a87