Function at 0x1400516c9
Capabilities:
Get common file path

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm6
mov qword [rbp + 0xc8], 0xfffffffffffffffe
mov r14, rcx
mov rbx, qword [rcx]
mov rdi, qword [rcx + 8]
cmp rbx, rdi
je 0x140051757
movaps xmm6, xmmword [section..rdata]
mov rax, qword [rbx + 0x18]
cmp rax, 0x10
jb 0x140051744
mov rcx, qword [rbx]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14005173f
mov rsi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rsi
cmp rcx, 0x20
jae 0x1400519a6
add rax, 0x28
mov rdx, rax
mov rcx, rsi
call fcn.1400e7768
movups xmmword [rbx + 0x10], xmm6
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x140051706
mov rdi, qword [r14]
mov qword [r14 + 8], rdi
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140051830
lea rdi, [rbp + 0xa8]
mov qword [rdi], 0
movaps xmm0, xmmword [section..rdata]
movups xmmword [rdi + 0x10], xmm0
mov byte [rdi], 0
lea rbx, [rbp - 0x60]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.14000136e
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x1400517dc
mov qword [rdx], 0
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rbp + 0xa8]
movups xmm1, xmmword [rbp + 0xb8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
add qword [r14 + 8], 0x20
jmp 0x140051830
lea r8, [rbp + 0xa8]
mov rcx, r14
call fcn.14000c6e8
mov rax, qword [rbp + 0xc0]
cmp rax, 0x10
jb 0x140051830
mov rcx, qword [rbp + 0xa8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14005182b
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400519b5
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp + 0xa8]
mov qword [rcx], 0
movaps xmm6, xmmword [section..rdata]
movups xmmword [rcx + 0x10], xmm6
mov byte [rcx], 0
lea rdx, str.C:_tmp_
mov r8d, 7
call fcn.14000136e
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140051892
mov qword [rdx], 0
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rbp + 0xa8]
movups xmm1, xmmword [rbp + 0xb8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
add qword [r14 + 8], 0x20
jmp 0x1400518e6
lea r8, [rbp + 0xa8]
mov rcx, r14
call fcn.14000c6e8
mov rax, qword [rbp + 0xc0]
cmp rax, 0x10
jb 0x1400518e6
mov rcx, qword [rbp + 0xa8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400518e1
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400519ab
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp + 0xa8]
mov qword [rcx], 0
movups xmmword [rcx + 0x10], xmm6
mov byte [rcx], 0
lea rdx, str.C:_temp_
mov r8d, 8
call fcn.14000136e
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140051941
mov qword [rdx], 0
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rbp + 0xa8]
movups xmm1, xmmword [rbp + 0xb8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
add qword [r14 + 8], 0x20
jmp 0x140051991
lea r8, [rbp + 0xa8]
mov rcx, r14
call fcn.14000c6e8
mov rax, qword [rbp + 0xc0]
cmp rax, 0x10
jb 0x140051991
mov rcx, qword [rbp + 0xa8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14005198c
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400519b0
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
movaps xmm6, xmmword [rbp + 0xd0]
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3