Function at 0x14001a750
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rsi, qword [rcx]
lea rdi, [rsi + 0x1c8]
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.1400341fc
test eax, eax
jne 0x14001ab5c
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
je 0x14001ab67
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 0x13
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov r8d, 0x13
lea rdx, str.muscle_manjuu_2.sav
lea rcx, [rbp - 0x70]
call fcn.140005db0
mov ebx, 2
mov dword [rsp + 0x20], ebx
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
or ebx, 1
mov dword [rsp + 0x20], ebx
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 5
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8d, 5
lea rdx, [0x14007c2e8]
lea rcx, [rsp + 0x70]
call fcn.140005db0
or ebx, 8
mov dword [rsp + 0x20], ebx
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
or ebx, 4
mov dword [rsp + 0x20], ebx
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14006a960]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
lea rdx, [0x14007b23c]
test eax, eax
cmovns rdx, qword [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001a8a0
lea rcx, [rsp + 0x50]
call fcn.140005db0
or ebx, 0x20
mov dword [rsp + 0x20], ebx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and ebx, 0xffffffdf
mov dword [rsp + 0x20], ebx
or ebx, 0x10
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x40], xmm1
movdqa xmm6, xmmword [0x14007df10]
movdqu xmmword [rsp + 0x60], xmm6
mov word [rsp + 0x50], r14w
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400191f0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400191f0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14001a967
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab77
call fcn.140031ce0
movdqu xmmword [rbp], xmm6
mov word [rbp - 0x10], r14w
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14001a9b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a9ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab7d
call fcn.140031ce0
movdqu xmmword [rbp - 0x40], xmm6
mov word [rbp - 0x50], r14w
and ebx, 0xffffffef
mov dword [rsp + 0x20], ebx
movdqu xmmword [rsp + 0x60], xmm6
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14001aa0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab83
call fcn.140031ce0
movdqu xmmword [rbp - 0x80], xmm6
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14001aa5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab89
call fcn.140031ce0
movdqu xmmword [rbp - 0x60], xmm6
mov word [rbp - 0x70], r14w
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140005030
or ebx, 0x40
mov dword [rsp + 0x20], ebx
lea rcx, [rsi + 0x218]
lea rdx, [rsp + 0x50]
call fcn.140004f90
and ebx, 0xffffffbf
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14001aad3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aace
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab8f
call fcn.140031ce0
movdqu xmmword [rsp + 0x60], xmm6
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14001ab1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ab16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ab56
call fcn.140031ce0
movdqu xmmword [rbp - 0x20], xmm6
mov word [rbp - 0x30], r14w
mov rcx, rdi
call fcn.140034204
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140031cc0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14003c714
nop
mov ecx, 5
call fcn.1400341b4
int3
dec eax
mov dword [rdi + 0x4c], eax
mov ecx, 6
call fcn.1400341b4
nop
call fcn.14003c714
nop
call fcn.14003c714
nop
call fcn.14003c714
nop
call fcn.14003c714
int3
call fcn.14003c714
int3
add rcx, 8
jmp 0x14001a750