Function at 0x14006c950
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x35d0]
mov eax, 0x36d0
call fcn.14000c990
sub rsp, rax
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rbp + 0x35c0], rax
xor r14d, r14d
mov edx, 0x5141
mov rbx, rcx
mov edi, r14d
mov dword [rsp + 0x40], r14d
call fcn.140064770
mov edx, 0x5141
mov rcx, rbx
mov rsi, rax
mov qword [rsp + 0x50], rax
call fcn.140064770
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor edx, edx
mov r8d, 0x1518
mov r12, rax
mov qword [rsp + 0x58], rax
call fcn.14002a5a0
mov rax, qword [rbx + 0xf8]
cmp word [rax + 2], di
jne 0x14006cbe6
lea r8d, [r14 + 0x63]
lea rcx, [rbp + 0x1481]
xor edx, edx
mov byte [rbp + 0x1480], dil
call fcn.14000cbf0
lea r8d, [r14 + 0x63]
lea rcx, [rbp + 0x14f1]
xor edx, edx
mov byte [rbp + 0x14f0], dil
call fcn.14000cbf0
lea rcx, [rbp + 0x15c1]
xor edx, edx
mov r8d, 0x1fff
mov byte [rbp + 0x15c0], dil
call fcn.14000cbf0
mov rcx, rbx
mov word [rsp + 0x48], di
call fcn.14006b6f0
mov rcx, rbx
mov rsi, rax
call fcn.14006b6c0
mov edx, 0x5141
mov rcx, rbx
mov rdi, rax
call fcn.140064770
lea r8d, [r14 + 0x3b]
lea rdx, [0x140105410]
lea rcx, [rsp + 0x48]
mov r15, rax
call fcn.14000ca3c
cmp byte [rdi], r14b
mov r8, rsi
lea rdx, str._s_LICENSE_FILE
lea rcx, [rbp + 0x1480]
cmovne r8, rdi
call fcn.14000ca3c
cmp byte [rdi], r14b
lea rdx, str._s_LF
cmovne rsi, rdi
lea rcx, [rbp + 0x14f0]
mov r8, rsi
call fcn.14000ca3c
lea rdx, str.LM_LICENSE_FILE
mov r9d, 0x5140
mov r8, r15
mov rcx, rbx
call fcn.14005e4a0
mov rdi, rax
mov eax, dword [rbx + 0x1a8]
test al, 0x10
je 0x14006caea
bt eax, 0x19
jb 0x14006caea
xor edx, edx
mov rcx, rbx
call fcn.14005f2e0
mov r14, rax
jmp 0x14006cb4d
lea r8, [rbp + 0x15c0]
lea rdx, [rbp + 0x1480]
mov r9d, 0x2000
mov rcx, rbx
call fcn.14005e4a0
mov rcx, rax
test rax, rax
jne 0x14006cb50
lea rdx, [rbp + 0x14f0]
mov rcx, rbx
call fcn.14005ea30
mov rcx, rax
test rax, rax
jne 0x14006cb50
lea rcx, [rbp + 0x1480]
call fcn.14006dc70
lea r8, [rbp + 0x15c0]
lea rdx, [rbp + 0x1480]
mov r9d, 0x2000
mov rcx, rbx
call fcn.14005e4a0
mov rcx, rax
test r12, r12
je 0x14006cbae
lea r9, [0x1400fca4c]
test rcx, rcx
jne 0x14006cb68
test rdi, rdi
je 0x14006cbae
jmp 0x14006cb72
lea rdx, [rsp + 0x48]
test rdi, rdi
jne 0x14006cb75
mov rdx, r9
mov rax, r9
test rdi, rdi
lea r8, [rsp + 0x48]
cmovne rax, rdi
test rcx, rcx
cmovne r9, rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, str._s_s_s_s_s
mov rcx, r12
call fcn.14000ca3c
mov rdi, r12
test r12, r12
je 0x14006cbc4
cmp byte [r12], 0
mov eax, 0
cmove rdi, rax
test r14, r14
je 0x14006cbd1
mov rcx, r14
call fcn.140064760
test r15, r15
je 0x14006cbde
mov rcx, r15
call fcn.140064760
mov rsi, qword [rsp + 0x50]
xor r14d, r14d
mov rcx, qword [0x14012f430]
cmp rcx, 0xffffffffffffffff
jne 0x14006cc0c
lea rdx, str.FLEXLM_USE_FINDER
mov rcx, rbx
call fcn.14005ea30
mov rcx, rax
mov qword [0x14012f430], rax
test rdi, rdi
jne 0x14006cc22
mov rax, qword [rbx + 0xf8]
cmp word [rax + 0x1136], 1
jne 0x14006cc27
test rcx, rcx
je 0x14006cc32
mov rcx, rbx
call fcn.1400ac360
mov rdi, rax
test rdi, rdi
jne 0x14006cc79
mov rdi, qword [rbx + 0xf8]
cmp word [rdi + 0x10], 0
je 0x14006cc4e
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14006cc79
lea rcx, [rbp + 0x14f0]
mov edx, 0xc7
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [rbp + 0x14f0], 0x41
lea rdi, str.A:_flexlmlicense.dat
lea rax, str.C:_flexlmlicense.dat
cmovne rdi, rax
mov rcx, rbx
call fcn.140059bb0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14006c190
lea r13, [rbx + 0x88]
cmp dword [r13], 0xffffff48
mov r15, rax
jne 0x14006ccc6
test r12, r12
je 0x14006ccb0
mov rcx, r12
call fcn.140064760
test rsi, rsi
je 0x14006ccbd
mov rcx, rsi
call fcn.140064760
mov eax, dword [r13]
jmp 0x14006d13f
mov rdx, rax
mov rcx, rbx
call fcn.14006bcd0
movsxd rdi, eax
call fcn.140011a10
xor edx, edx
mov dword [rax], r14d
mov rcx, r15
mov dword [rbx + 0x134], edi
call fcn.14002a9d0
mov rcx, rbx
lea rdx, [rax + 3]
call fcn.140064770
lea ecx, [rdi + 1]
movsxd rdx, ecx
mov rcx, rbx
mov rsi, rax
shl rdx, 3
mov qword [rbx + 0x140], rax
call fcn.140064770
mov rcx, rbx
mov qword [rsp + 0x48], rax
mov qword [rbx + 0x128], rax
imul rdx, rdi, 0x458
call fcn.140064770
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
mov r12, rax
mov qword [rbx + 0x138], rax
call fcn.14002a840
test rsi, rsi
je 0x14006cddd
mov r15, qword [rsp + 0x48]
lea rdi, [r12 + 0x20]
xor r13d, r13d
nop dword [rax]
cmp byte [rsi], r13b
je 0x14006cdb2
cmp r14d, dword [rbx + 0x134]
jg 0x14006cdb2
mov qword [r15], rsi
or byte [rdi], 2
inc r14d
movsxd rax, r14d
mov dword [rdi - 0x18], r13d
imul rcx, rax, 0x458
add rcx, r12
mov qword [rdi - 0x20], rcx
mov rcx, rsi
call fcn.14006c8c0
mov rsi, rax
test rax, rax
je 0x14006cda2
mov byte [rax], r13b
inc rsi
add r15, 8
add rdi, 0x458
test rsi, rsi
jne 0x14006cd60
lea r13, [rbx + 0x88]
test r14d, r14d
jle 0x14006cddd
mov rcx, qword [rsp + 0x48]
xor esi, esi
movsxd rax, r14d
mov qword [rcx + rax*8], rsi
imul rax, rax, 0x458
mov qword [rax + r12 - 0x458], rsi
jmp 0x14006cddf
xor esi, esi
mov rax, qword [rbx + 0x128]
mov dword [rbx + 0x130], esi
mov r14d, 1
cmp qword [rax], 0
je 0x14006cfc1
nop dword [rax]
mov edx, 2
mov rcx, rbx
call fcn.14006f160
mov r15, rax
test rax, rax
je 0x14006cfa2
mov eax, dword [rax + 8]
inc dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor edx, edx
mov r8d, 0x1518
mov dword [rsp + 0x48], eax
call fcn.14002a5a0
lea r8, [rsp + 0x60]
mov rdx, r15
mov rcx, rbx
call fcn.140072f70
xor r9d, r9d
lea rcx, [rbp + 0x14f0]
lea r8d, [r9 + 0x68]
xor edx, edx
mov r12, rax
call fcn.14002a5a0
lea rdx, [rbp + 0x14f0]
mov r8, r13
mov rcx, rbx
call fcn.14006b3d0
cmp dword [r13], 0xfffffff3
jne 0x14006ce8c
lea r8, [rbp + 0x14f0]
mov rdx, r13
mov rcx, rbx
call fcn.14006b3d0
lea rcx, [rbp + 0x14f0]
call fcn.14006b4c0
mov edi, esi
mov rax, r12
test r12, r12
je 0x14006cf62
nop word [rax + rax]
mov rax, qword [rax + 0x410]
inc edi
test rax, rax
jne 0x14006ceb0
test edi, edi
jle 0x14006cf62
call fcn.140011a10
mov rcx, rbx
mov dword [rax], esi
movsxd rsi, edi
imul rdi, rsi, 0x438
mov rdx, rdi
call fcn.140064770
xor r9d, r9d
mov r8, rdi
mov rcx, rax
mov rdx, r12
mov r14, rax
call fcn.14002a480
xor eax, eax
mov r9d, eax
test rsi, rsi
jle 0x14006cf32
mov edx, 1
lea r8, [r14 + 0x410]
mov r9, rsi
nop
movsxd rax, edx
inc edx
lea r8, [r8 + 0x438]
imul rcx, rax, 0x438
add rcx, r14
mov qword [r8 - 0x438], rcx
dec rsi
jne 0x14006cf10
xor esi, esi
imul rax, r9, 0x438
mov rcx, rbx
lea edx, [rsi + 0x10]
mov qword [rax + r14 - 0x28], rsi
call fcn.140064770
mov qword [rax + 8], r14
mov rcx, qword [rbx + 0x1d0]
mov qword [rax], rcx
mov qword [rbx + 0x1d0], rax
jmp 0x14006cf65
mov r14, rsi
mov r9d, dword [rbx + 0x130]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.14006f940
mov r14d, 1
cmp dword [rsp + 0x48], r14d
jne 0x14006cfa2
cmp dword [r15 + 8], 3
jne 0x14006cfa2
mov rcx, r15
mov dword [r15 + 8], r14d
call fcn.14006ec50
mov dword [r15 + 8], 3
inc dword [rbx + 0x130]
movsxd rcx, dword [rbx + 0x130]
mov rax, qword [rbx + 0x128]
cmp qword [rax + rcx*8], 0
jne 0x14006ce00
test byte [rbx + 0x1a8], 4
jne 0x14006cff9
mov rax, qword [rbx + 0x260]
test byte [rax + 0x20a0], 0x10
jne 0x14006cff9
mov edx, 2
mov rcx, rbx
mov dword [rax + 0x20e8], esi
call fcn.1400ace50
mov edi, dword [rsp + 0x40]
test eax, eax
cmove edi, r14d
jmp 0x14006cffd
mov edi, dword [rsp + 0x40]
mov edx, 4
mov rcx, rbx
mov dword [rbx + 0x130], esi
call fcn.1400ac670
mov rcx, rbx
call fcn.14009c6b0
xor edx, edx
mov rcx, rbx
call fcn.1400ac670
mov rcx, rbx
call fcn.14006d170
mov rcx, rbx
call fcn.14006bb20
mov rax, qword [rbx + 0x128]
mov dword [rbx + 0x130], esi
cmp qword [rax], 0
je 0x14006d085
nop word [rax + rax]
movsxd rax, dword [rbx + 0x130]
imul rcx, rax, 0x458
add rcx, qword [rbx + 0x138]
call fcn.14006ec50
inc dword [rbx + 0x130]
movsxd rcx, dword [rbx + 0x130]
mov rax, qword [rbx + 0x128]
cmp qword [rax + rcx*8], 0
jne 0x14006d050
mov rax, qword [0x14013bba8]
mov dword [rbx + 0x130], esi
test rax, rax
je 0x14006d099
call rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006d0a8
call fcn.140064760
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006d0b7
call fcn.140064760
test edi, edi
je 0x14006d106
mov edx, dword [r13]
lea eax, [rdx + 0x3e]
cmp eax, 0x3d
ja 0x14006d0d7
movabs rcx, 0x2000e00100000003
bt rcx, rax
jb 0x14006d0dc
cmp edx, 0xffffffa0
jne 0x14006d102
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], rsi
mov dword [r13], esi
call fcn.14006b500
xor eax, eax
jmp 0x14006d13f
mov eax, dword [r13]
test eax, eax
jne 0x14006d13f
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov r8d, 0x168
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], rsi
mov dword [r13], 0xffffffff
call fcn.14006b500
or eax, 0xffffffff
mov rcx, qword [rbp + 0x35c0]
xor rcx, rsp
call fcn.14000c9f0
lea r11, [rsp + 0x36d0]
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