Function at 0x14006a9f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r13, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm6, xmmword [0x1400d9dd0]
movdqu xmmword [rbp - 0x20], xmm6
movsd xmm0, qword [str.C:Users_]
movsd qword [rbp - 0x30], xmm0
movzx eax, byte [0x1400d4c60]
mov byte [rbp - 0x28], al
mov byte [rbp - 0x27], dil
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea ecx, [rdi + 0x20]
call fcn.1400b7ae4
mov r12, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], reloc.WS2_32.dll_recv
mov qword [rbp - 0x38], 0x1f
movups xmm0, xmmword [str.AppDataRoaming]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], dil
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x10]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14006aad0
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14006af45
movabs r14, 0x7fffffffffffffff
cmp rbx, 7
ja 0x14006ab29
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
mov word [rsp + rbx + 0x70], si
jmp 0x14006abc4
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x14006ab3b
lea rcx, [r14 + r14]
jmp 0x14006ab63
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, r14
ja 0x14006af3f
add rcx, rcx
cmp rcx, 0x1000
jb 0x14006ab92
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006af3f
mov rcx, rax
call fcn.1400b7ae4
test rax, rax
je 0x14006ab8b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14006ab9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14006ab9f
call fcn.1400b7ae4
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x10]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
mov word [rdi + rbx], si
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
lea r15, [rdx + rax*2]
lea rdi, [rsp + 0x70]
cmova rdi, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
cmp rdi, r15
jne 0x14006ac10
mov rax, rsi
mov qword [rsp + 0x60], rax
mov ecx, send
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], 0
jmp 0x14006ad13
mov rax, r15
sub rax, rdi
sar rax, 1
mov qword [rsp + 0x60], rsi
mov ebx, send
mov qword [rsp + 0x68], rbx
cmp rax, r14
ja 0x14006af4b
cmp rax, rbx
jbe 0x14006acc0
mov rbx, rax
or rbx, 0xf
cmp rbx, r14
jbe 0x14006ac75
mov rbx, r14
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400b7ae4
mov rcx, rax
test rax, rax
je 0x14006ac9d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006acb2
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14006aca4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006af39
jmp 0x14006ac57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14006acb0
call fcn.1400b7ae4
jmp 0x14006acb2
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rbx
nop dword [rax]
lea rcx, [rsp + 0x50]
cmp rbx, 0xf
cmova rcx, qword [rsp + 0x50]
movzx eax, byte [rdi]
mov byte [rsi + rcx], al
mov rsi, qword [rsp + 0x60]
inc rsi
mov qword [rsp + 0x60], rsi
add rdi, 2
cmp rdi, r15
je 0x14006acf2
mov rbx, qword [rsp + 0x68]
jmp 0x14006acc0
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax + rsi], 0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
xor esi, esi
sub r14, rax
cmp r14, 0x10
jb 0x14006af33
lea r9, [rsp + 0x50]
cmp rcx, 0xf
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x70]
call fcn.1400aa320
nop
mov r8d, recv
lea rdx, str.SharpMacro
lea rcx, [rbp - 0x70]
call fcn.1400aa1a0
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14006add0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006adcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006adcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
movdqa xmm0, xmmword [0x1400d9d70]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14006ae22
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ae1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ae1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14006ae66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ae61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ae61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
movdqa xmm0, xmmword [0x1400d9d60]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14006aeb7
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006aeb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006aeb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 0xf
jbe 0x14006aefb
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006aef6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006aef6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
mov rax, r13
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400b7380
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400643c0
nop
call fcn.140064230
nop
call fcn.140064230
int3
call fcn.1400643c0
nop
call fcn.1400643c0
int3