Function at 0x1400529d0
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 [0x1400ad028]
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 0x140052a96
lea rcx, [rbp - 0x50]
mov rax, rbx
lea rax, [rax + 1]
cmp word [rcx + rax*2], r15w
jne 0x140052a43
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x140052a70
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140052cf4
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 0x140052a86
lea rdx, [rbp - 0x50]
jmp 0x140052aaf
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
xor r8d, r8d
lea rdx, [0x14009a4dc]
lea rcx, [rbp - 0x70]
call fcn.14005a6a0
nop
mov rsi, qword [rbp - 0x60]
test rsi, rsi
jne 0x140052b45
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 0x140052ae0
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14005a6a0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140052cbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052cba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x50]
call fcn.1400527b0
mov r14, rax
mov eax, dword [0x14009a1c0]
mov dword [rsp + 0x40], eax
cmp word [0x14009a1c2], 0
je 0x140052b76
mov eax, 0x5c
mov word [rsp + 0x40], ax
xor word [rsp + 0x42], 0x33
lea rax, [rsp + 0x40]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140052b80
movabs rax, 0x7ffffffffffffffe
sub rax, rsi
cmp rax, rbx
jb 0x140052cee
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae 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.14005aca0
nop
mov r9, r14
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.14005aa80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140052c23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052c1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052c1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140052c68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052c63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052c63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
movdqa xmm0, xmmword [0x14009c060]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140052cbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052cba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14007e1c0
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.1400526d0
nop
call fcn.14007e7a0
int3