Function at 0x1400068c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [0x1400ab900]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r14, rdx
xor ebx, ebx
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbx
movups xmmword [rsp + 0x80], xmm0
test eax, eax
js 0x140006953
lea rax, [rsp + 0xc0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140006940
lea rdx, [rsp + 0xc0]
jmp 0x14000695d
xor r8d, r8d
lea rdx, [0x14009a369]
lea rcx, [rsp + 0x80]
call fcn.14000d040
nop
mov rsi, qword [rsp + 0x90]
test rsi, rsi
jne 0x1400069c7
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x140006d1c
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082040
jmp 0x140006d1c
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 1
jb 0x140006d4b
lea r13, [rsp + 0x80]
mov r15, qword [rsp + 0x80]
cmp qword [rsp + 0x98], 0xf
cmova r13, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r12, [rsi + 1]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x40]
cmp r12, rbx
jbe 0x140006a9f
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140006a5a
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140081cf4
test rax, rax
je 0x140006a8b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006a9a
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140006a73
xor edi, edi
jmp 0x140006a9a
cmp rcx, 0x1000
jb 0x140006a92
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006d51
jmp 0x140006a3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081cf4
mov rdi, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0x5c
mov byte [rdi + r12], 0
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140006ace
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000a510
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
xor edi, edi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140006b5e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082040
movdqa xmm0, xmmword [0x14009c280]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0xf
cmova rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
call fcn.14008109c
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001c00
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.1400811d8
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140006d57
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140006c29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082040
movdqa xmm0, xmmword [0x14009c270]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x140006c82
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082040
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xa0], 0
mov rax, qword [rsp + 0x98]
cmp rax, 0xf
jbe 0x140006ce0
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140006cd8
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006cd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140082040
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x80], 0
movzx eax, bl
jmp 0x140006d1e
xor al, al
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140081950
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400012b0
nop
call fcn.140001210
nop
shr rbx, 0x20
lea r8, [rsp + 0x60]
mov edx, ebx
lea rcx, str.create_directory
call fcn.140002870
int3