Function at 0x14006af80
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 - 0x90]
sub rsp, 0x190
xor r15d, r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x14006b1f3
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rcx + rax], r15b
jne 0x14006afd7
mov qword [rsp + 0x38], rax
call fcn.140142bd8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140061940
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140076550
test eax, eax
jne 0x14006b22d
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14006b06c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b067
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b067
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140143814
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14006b07f
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
test rbx, rbx
je 0x14006b098
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x28]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
test rbx, rbx
je 0x14006b0e0
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006b0db
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006b0db
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14006b0e0
mov rbx, qword [rsp + 0x28]
lea r14, [0x140f1f3e0]
nop word [rax + rax]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14006b181
add rdi, 0x20
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x48], r14
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14006b119
mov rcx, qword [rdi]
call fcn.140143148
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp + 0xb0], rcx
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x58], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
cmp edx, 0x91
jne 0x14006b15f
lea r8, [rbp + 0xb0]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140063010
cmp dword [rsp + 0x40], 0
jne 0x14006b210
lea rcx, [rsp + 0x30]
call fcn.140062aa0
test eax, eax
jne 0x14006b225
jmp 0x14006b0f0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14006b1c0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006b1bb
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006b1bb
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14006b1f3
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006b1f3
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14006b1f3
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0x190]
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
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, str.remove_all
call fcn.1400628c0
int3
mov edx, eax
call fcn.140062760
nop
lea r8, [rsp + 0x60]
mov edx, eax
call fcn.140062850
int3