Function at 0x14015afe0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r14, rcx
mov edx, 0x104
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ecx, word [rbp - 0x30]
call fcn.1401578f0
mov rbx, rax
test rax, rax
je 0x14015b61c
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
call fcn.14000a340
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov rdx, qword [r14 + 8]
mov rcx, rbx
call fcn.140157fa0
cmp qword [rsp + 0x58], r12
jbe 0x14015b5bf
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.14012d940
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015b095
mov qword [rsp + 0x78], r12
lea r13, [0x14034d1a0]
test ebx, ebx
jne 0x14015b0b6
mov qword [rsp + 0x70], r13
jmp 0x14015b0dc
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [r14 + 8]
call fcn.1400fb230
mov r15, rax
cmp dword [rsp + 0x78], 0
jle 0x14015b10b
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x14015b429
nop dword [rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
jne 0x14015b133
mov edi, r12d
mov qword [rsp + 0x38], r12
jmp 0x14015b153
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14015b140
mov qword [rsp + 0x38], r12
test edi, edi
jne 0x14015b15a
mov qword [rsp + 0x30], r13
jmp 0x14015b17f
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
mov r8d, 1
lea rdx, [0x14034c088]
lea rcx, [rsp + 0x30]
call fcn.140202750
test al, al
je 0x14015b37f
mov rdi, qword [rsp + 0x40]
mov r8, qword [rdi + 8]
mov r11, rdi
cmp byte [r8 + 0x19], 0
jne 0x14015b233
mov r10, qword [rsp + 0x30]
mov rax, qword [r8 + 0x20]
mov r9, r10
sub r9, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x14015b1e4
add rax, 2
test ecx, ecx
jne 0x14015b1d0
test edx, edx
jns 0x14015b1ee
mov r8, qword [r8 + 0x10]
jmp 0x14015b1f4
mov r11, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x14015b1c3
cmp r11, rdi
je 0x14015b233
mov rdx, qword [r11 + 0x20]
sub rdx, r10
nop word [rax + rax]
movzx ecx, word [r10]
movzx eax, word [r10 + rdx]
sub ecx, eax
jne 0x14015b225
add r10, 2
test eax, eax
jne 0x14015b210
test ecx, ecx
js 0x14015b233
mov qword [rbp - 0x58], r11
lea rax, [rbp - 0x58]
jmp 0x14015b23b
mov qword [rbp - 0x60], rdi
lea rax, [rbp - 0x60]
cmp qword [rax], rdi
jne 0x14015b2da
mov qword [rbp - 0x78], r12
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x14015b256
mov qword [rbp - 0x80], r13
jmp 0x14015b27e
lea rcx, [rbp - 0x80]
call fcn.1402028a0
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rbp - 0x80]
call fcn.1402c06dc
mov edx, dword [rsp + 0x3c]
lea rcx, [rbp - 0x80]
call fcn.140203bb0
nop
mov rdx, qword [rbx + 0x28]
lea rcx, [rbp - 0x70]
call fcn.140200840
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14015bfc0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.14015c020
nop
cmp dword [rbp - 0x68], 0
jle 0x14015b2cb
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
cmp dword [rbp - 0x78], 0
jle 0x14015b2da
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
test r15, r15
je 0x14015b3ad
mov rsi, qword [rbx + 0x28]
test rsi, rsi
jne 0x14015b2f6
mov edi, r12d
mov qword [rsp + 0x68], r12
jmp 0x14015b313
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14015b300
mov qword [rsp + 0x68], r12
test edi, edi
jne 0x14015b31a
mov qword [rsp + 0x60], r13
jmp 0x14015b33f
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x30]
mov rdx, r15
mov rcx, r14
call fcn.14015b680
nop
cmp dword [rsp + 0x68], 0
jle 0x14015b3ad
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
jmp 0x14015b3ad
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [r14 + 8]
call fcn.1400fa8d0
mov rdi, rax
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.1400e5420
mov r8, qword [rdi]
mov rdx, qword [r14 + 8]
mov rcx, rdi
call qword [r8 + 0x70]
mov rcx, qword [rbx + 0x20]
call fcn.1402bd0e0
mov rcx, qword [rbx + 0x28]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x38], 0
jle 0x14015b3d1
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
cmp byte [rbx + 0x19], 0
jne 0x14015b41e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015b3fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015b41e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015b3f0
jmp 0x14015b41e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015b41b
cmp rbx, qword [rax + 0x10]
jne 0x14015b41b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015b408
mov rbx, rax
cmp rbx, qword [rsp + 0x50]
jne 0x14015b120
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14015b4cc
nop word [rax + rax]
lea rdx, [rbx + 0x20]
mov r8b, 1
mov rcx, qword [r14 + 8]
call fcn.1400fa8d0
mov rdi, rax
mov rdx, qword [rbx + 0x30]
mov rcx, rax
call fcn.1400e5420
mov r8, qword [rdi]
mov rdx, qword [r14 + 8]
mov rcx, rdi
call qword [r8 + 0x70]
cmp byte [rbx + 0x19], 0
jne 0x14015b4be
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015b49e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015b4be
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015b490
jmp 0x14015b4be
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015b4bb
cmp rbx, qword [rax + 0x10]
jne 0x14015b4bb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015b4a8
mov rbx, rax
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
jne 0x14015b440
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14015b542
mov rbx, qword [rdi + 8]
mov rsi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14015b526
mov rdx, qword [rsi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14015bf50
mov rsi, qword [rsi]
cmp dword [rbx + 0x38], 0
jle 0x14015b501
mov rcx, qword [rbx + 0x30]
call fcn.1402bd0e0
cmp dword [rbx + 0x28], 0
jle 0x14015b510
mov rcx, qword [rbx + 0x20]
call fcn.1402bd0e0
mov rcx, rbx
call fcn.14021ae20
mov rbx, rsi
cmp byte [rsi + 0x19], 0
je 0x14015b4e1
mov rdi, qword [rsp + 0x40]
mov qword [rdi + 8], rdi
mov rax, qword [rsp + 0x40]
mov qword [rax], rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x48], r12
jmp 0x14015b5b1
cmp rbx, rdi
je 0x14015b5b6
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14015b59e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015b57e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015b59e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015b570
jmp 0x14015b59e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015b59b
cmp rbx, qword [rax + 0x10]
jne 0x14015b59b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015b588
mov rbx, rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.14015bbe0
cmp rbx, rdi
jne 0x14015b547
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14021ae20
nop
mov rax, qword [rsp + 0x50]
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x14015b5f8
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rdi
call fcn.14021ae20
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x14015b5d1
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rax], rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x58], r12
mov rcx, qword [rsp + 0x50]
call fcn.14021ae20
mov al, 1
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret