Function at 0x140231790
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 [0x144dd9080]
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.140397c8c
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.1403cbd00
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 0x1402318e7
lea r8, [rsp + 0x24]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
test eax, eax
je 0x1402318dc
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 0x140231870
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 0x140231bda
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r12
mov ecx, 0x30
call fcn.140397c8c
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 0x140231ba0
nop word [rax + rax]
lea rsi, [rbx + 0x10]
mov rdx, qword [0x144dd2aa8]
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 0x140231924
lea rcx, [rsp + 0x58]
call fcn.140001680
nop
mov r9b, 0x5c
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1401f7e40
mov r14, rax
cmp rsi, rax
je 0x1402319bf
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140231990
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14023198b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140231be7
mov rcx, r8
call fcn.140397cc8
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 0x1402319fc
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402319f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140231be7
call fcn.140397cc8
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 0x140231a4c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140231a47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140231bed
call fcn.140397cc8
mov rdx, qword [0x144dd2aa0]
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 0x140231a70
lea rcx, [rsp + 0x58]
call fcn.140001680
nop
mov r9b, 0x5c
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1401f7e40
mov r14, rax
cmp rsi, rax
je 0x140231b0b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140231adc
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140231ad7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140231bce
mov rcx, r8
call fcn.140397cc8
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 0x140231b48
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140231b43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140231bce
call fcn.140397cc8
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 0x140231b94
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140231b8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140231bd4
call fcn.140397cc8
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140231900
mov rax, r15
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140397de0
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.14039f1cc
nop
call fcn.14039f1cc
nop
lea rcx, str.list_too_long
call fcn.1403958ec
nop
call fcn.14039f1cc
nop
call fcn.14039f1cc
int3