Function at 0x1400528e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
lea rbx, [r15 - 1]
cmp eax, 0x104
ja 0x1400529a6
lea rcx, [rbp - 0x50]
mov rax, rbx
lea rax, [rax + 1]
cmp word [rcx + rax*2], r15w
jne 0x140052953
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x140052980
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140052c04
mov word [rbp + rax - 0x50], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
lea rax, [rbp - 0x50]
mov r8, rbx
inc r8
cmp word [rax + r8*2], r15w
jne 0x140052996
lea rdx, [rbp - 0x50]
jmp 0x1400529bf
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
xor r8d, r8d
lea rdx, [0x14009c514]
lea rcx, [rbp - 0x70]
call fcn.14005b110
nop
mov rsi, qword [rbp - 0x60]
test rsi, rsi
jne 0x140052a55
mov word [rsp + 0x40], r15w
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x40]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400529f0
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14005b110
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140052bcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052bca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052bca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x50]
call fcn.1400526c0
mov r14, rax
mov eax, dword [0x14009c2b4]
mov dword [rsp + 0x40], eax
cmp word [0x14009c2b6], 0
je 0x140052a86
mov eax, 0x5c
mov word [rsp + 0x40], ax
xor word [rsp + 0x42], 0x32
lea rax, [rsp + 0x40]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140052a90
movabs rax, 0x7ffffffffffffffe
sub rax, rsi
cmp rax, rbx
jb 0x140052bfe
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x70]
call fcn.14005b770
nop
mov r9, r14
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.14005b550
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140052b33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052b2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052b2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140052b78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
movdqa xmm0, xmmword [0x14009e180]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140052bcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052bca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052bca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14007fe40
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400525e0
nop
call fcn.140080410
int3