Function at 0x1401087a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov r15, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140003ac8]
call fcn.140f8a82f
nop
mov rdi, rax
lea rcx, [0x140003a80]
call fcn.140f8a82f
nop
mov rsi, rax
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x140108830
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14000f4a0
nop
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x140108869
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000f4a0
nop
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401088a8
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000f4a0
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
movzx edx, byte [rbp + 0x210]
lea rcx, [rbp - 0x80]
call fcn.140035d60
nop
lea rdx, [r14 + 0xa0]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1401088fc
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
call fcn.14001d890
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x60]
movzx edx, byte [rbp + 0x210]
mov rcx, r15
call fcn.140035d60
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14010898d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140108987
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140108987
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1401089dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401089d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401089d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140108a3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140108a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140108a39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140108a91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140108a8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140108a8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140108ae2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140108add
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140108add
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
mov rcx, rsi
call fcn.140f8a861
nop
mov rcx, rdi
call fcn.140f8a861
nop
mov rax, r15
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret