Function at 0x1400528f0
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 0x1400529b6
lea rcx, [rbp - 0x50]
mov rax, rbx
lea rax, [rax + 1]
cmp word [rcx + rax*2], r15w
jne 0x140052963
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x140052990
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140052c14
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 0x1400529a6
lea rdx, [rbp - 0x50]
jmp 0x1400529cf
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.14005b120
nop
mov rsi, qword [rbp - 0x60]
test rsi, rsi
jne 0x140052a65
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 0x140052a00
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14005b120
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140052bdf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052bda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052bda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x50]
call fcn.1400526d0
mov r14, rax
mov eax, dword [0x14009c2b4]
mov dword [rsp + 0x40], eax
cmp word [0x14009c2b6], 0
je 0x140052a96
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 0x140052aa0
movabs rax, 0x7ffffffffffffffe
sub rax, rsi
cmp rax, rbx
jb 0x140052c0e
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.14005b780
nop
mov r9, r14
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.14005b560
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140052b43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052b3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052b3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fc40
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140052b88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052b83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052b83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fc40
movdqa xmm0, xmmword [0x14009e180]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140052bdf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052bda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052bda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fc40
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14007f7f0
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.1400525f0
nop
call fcn.14007fdc0
int3