Function at 0x14014bee0
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 [0x1403eaa10]
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.1401487f0
mov rbx, rax
test rax, rax
je 0x14014c51c
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
call fcn.14000a210
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov rdx, qword [r14 + 8]
mov rcx, rbx
call fcn.140148ea0
cmp qword [rsp + 0x58], r12
jbe 0x14014c4bf
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.14014ced0
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14014bf95
mov qword [rsp + 0x78], r12
lea r13, [0x140323de0]
test ebx, ebx
jne 0x14014bfb6
mov qword [rsp + 0x70], r13
jmp 0x14014bfdc
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [r14 + 8]
call fcn.1400fa9f0
mov r15, rax
cmp dword [rsp + 0x78], 0
jle 0x14014c00b
mov rcx, qword [rsp + 0x70]
call fcn.140298600
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x14014c329
nop dword [rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
jne 0x14014c033
mov edi, r12d
mov qword [rsp + 0x38], r12
jmp 0x14014c053
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14014c040
mov qword [rsp + 0x38], r12
test edi, edi
jne 0x14014c05a
mov qword [rsp + 0x30], r13
jmp 0x14014c07f
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov r8d, 1
lea rdx, [0x1403232c8]
lea rcx, [rsp + 0x30]
call fcn.1401e8ee0
test al, al
je 0x14014c27f
mov rdi, qword [rsp + 0x40]
mov r8, qword [rdi + 8]
mov r11, rdi
cmp byte [r8 + 0x19], 0
jne 0x14014c133
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 0x14014c0e4
add rax, 2
test ecx, ecx
jne 0x14014c0d0
test edx, edx
jns 0x14014c0ee
mov r8, qword [r8 + 0x10]
jmp 0x14014c0f4
mov r11, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x14014c0c3
cmp r11, rdi
je 0x14014c133
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 0x14014c125
add r10, 2
test eax, eax
jne 0x14014c110
test ecx, ecx
js 0x14014c133
mov qword [rbp - 0x58], r11
lea rax, [rbp - 0x58]
jmp 0x14014c13b
mov qword [rbp - 0x60], rdi
lea rax, [rbp - 0x60]
cmp qword [rax], rdi
jne 0x14014c1da
mov qword [rbp - 0x78], r12
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x14014c156
mov qword [rbp - 0x80], r13
jmp 0x14014c17e
lea rcx, [rbp - 0x80]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x3c]
lea rcx, [rbp - 0x80]
call fcn.1401ea290
nop
mov rdx, qword [rbx + 0x28]
lea rcx, [rbp - 0x70]
call fcn.1401e6fd0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14014cf10
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.14014cf70
nop
cmp dword [rbp - 0x68], 0
jle 0x14014c1cb
mov rcx, qword [rbp - 0x70]
call fcn.140298600
cmp dword [rbp - 0x78], 0
jle 0x14014c1da
mov rcx, qword [rbp - 0x80]
call fcn.140298600
test r15, r15
je 0x14014c2ad
mov rsi, qword [rbx + 0x28]
test rsi, rsi
jne 0x14014c1f6
mov edi, r12d
mov qword [rsp + 0x68], r12
jmp 0x14014c213
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14014c200
mov qword [rsp + 0x68], r12
test edi, edi
jne 0x14014c21a
mov qword [rsp + 0x60], r13
jmp 0x14014c23f
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401ea290
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.14014c580
nop
cmp dword [rsp + 0x68], 0
jle 0x14014c2ad
mov rcx, qword [rsp + 0x60]
call fcn.140298600
jmp 0x14014c2ad
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [r14 + 8]
call fcn.1400f9eb0
mov rdi, rax
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.1400e0b70
mov r8, qword [rdi]
mov rdx, qword [r14 + 8]
mov rcx, rdi
call qword [r8 + 0x70]
mov rcx, qword [rbx + 0x20]
call fcn.140298600
mov rcx, qword [rbx + 0x28]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x14014c2d1
mov rcx, qword [rsp + 0x30]
call fcn.140298600
cmp byte [rbx + 0x19], 0
jne 0x14014c31e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14014c2fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14014c31e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14014c2f0
jmp 0x14014c31e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14014c31b
cmp rbx, qword [rax + 0x10]
jne 0x14014c31b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14014c308
mov rbx, rax
cmp rbx, qword [rsp + 0x50]
jne 0x14014c020
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14014c3cc
nop word [rax + rax]
lea rdx, [rbx + 0x20]
mov r8b, 1
mov rcx, qword [r14 + 8]
call fcn.1400f9eb0
mov rdi, rax
mov rdx, qword [rbx + 0x30]
mov rcx, rax
call fcn.1400e0b70
mov r8, qword [rdi]
mov rdx, qword [r14 + 8]
mov rcx, rdi
call qword [r8 + 0x70]
cmp byte [rbx + 0x19], 0
jne 0x14014c3be
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14014c39e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14014c3be
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14014c390
jmp 0x14014c3be
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14014c3bb
cmp rbx, qword [rax + 0x10]
jne 0x14014c3bb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14014c3a8
mov rbx, rax
mov rdi, qword [rsp + 0x40]
cmp rbx, rdi
jne 0x14014c340
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14014c442
mov rbx, qword [rdi + 8]
mov rsi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14014c426
mov rdx, qword [rsi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14014ce60
mov rsi, qword [rsi]
cmp dword [rbx + 0x38], 0
jle 0x14014c401
mov rcx, qword [rbx + 0x30]
call fcn.140298600
cmp dword [rbx + 0x28], 0
jle 0x14014c410
mov rcx, qword [rbx + 0x20]
call fcn.140298600
mov rcx, rbx
call fcn.1402012c0
mov rbx, rsi
cmp byte [rsi + 0x19], 0
je 0x14014c3e1
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 0x14014c4b1
cmp rbx, rdi
je 0x14014c4b6
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14014c49e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14014c47e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14014c49e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14014c470
jmp 0x14014c49e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14014c49b
cmp rbx, qword [rax + 0x10]
jne 0x14014c49b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14014c488
mov rbx, rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.14014caf0
cmp rbx, rdi
jne 0x14014c447
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1402012c0
nop
mov rax, qword [rsp + 0x50]
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x14014c4f8
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140009cb0
mov rbx, qword [rbx]
mov rcx, rdi
call fcn.1402012c0
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x14014c4d1
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.1402012c0
mov al, 1
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140297ff0
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