Function at 0x14022f530
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x144dd6080]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r15, rcx
mov qword [rsp + 0x30], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
lea ecx, [r12 + 0x30]
call fcn.140395a2c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15], rax
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x24], 0x104
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x80]
call fcn.1403c9aa0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x28]
lea edx, [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14022f687
lea r8, [rsp + 0x24]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
test eax, eax
je 0x14022f67c
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14022f610
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140001680
nop
mov rbx, qword [r15]
movabs rax, 0x555555555555555
cmp qword [r15 + 8], rax
je 0x14022f97a
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r12
mov ecx, 0x30
call fcn.140395a2c
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rax + 0x20], xmm1
inc qword [r15 + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rbx + 8], rax
mov qword [rcx], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [r15]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14022f940
nop word [rax + rax]
lea rsi, [rbx + 0x10]
mov rdx, qword [0x144dcfaa8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14022f6c4
lea rcx, [rsp + 0x58]
call fcn.140001680
nop
mov r9b, 0x5c
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1401f6210
mov r14, rax
cmp rsi, rax
je 0x14022f75f
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14022f730
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14022f72b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14022f987
mov rcx, r8
call fcn.140395a68
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
movups xmm0, xmmword [r14]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14022f79c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022f797
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14022f987
call fcn.140395a68
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14022f7ec
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022f7e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14022f98d
call fcn.140395a68
mov rdx, qword [0x144dcfaa0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14022f810
lea rcx, [rsp + 0x58]
call fcn.140001680
nop
mov r9b, 0x5c
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1401f6210
mov r14, rax
cmp rsi, rax
je 0x14022f8ab
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14022f87c
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14022f877
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14022f96e
mov rcx, r8
call fcn.140395a68
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
movups xmm0, xmmword [r14]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14022f8e8
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022f8e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14022f96e
call fcn.140395a68
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14022f934
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022f92f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14022f974
call fcn.140395a68
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14022f6a0
mov rax, r15
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140395b80
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14039cf6c
nop
call fcn.14039cf6c
nop
lea rcx, str.list_too_long
call fcn.14039368c
nop
call fcn.14039cf6c
nop
call fcn.14039cf6c
int3