Function at 0x140001610
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140297858]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x70], rdx
xor r12d, r12d
mov edx, 0x100
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov word [rsp + 0x20], 0x5c3e
mov byte [rsp + 0x22], r12b
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x80]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140001690
movabs r15, 0x7fffffffffffffff
cmp rdi, r15
ja 0x1400018d5
mov qword [rsp + 0x40], 0xf
cmp rdi, 0x10
jae 0x1400016d8
mov qword [rsp + 0x38], rdi
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x28], 0
jmp 0x140001726
mov rax, rdi
or rax, 0xf
cmp rax, r15
ja 0x1400016f3
mov r15, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r15, rcx
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x28]
call fcn.140001920
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r15
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rax, [rsp + 0x21]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140001730
mov r8, rsi
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x28]
call fcn.140001980
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400017bc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400017dc
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001980
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000185b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001855
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001855
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400022f0
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140001891
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14000188c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400018ce
mov rcx, r8
call fcn.1400022f0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rax, r13
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140002660
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001900
nop
int3