Function at 0x14006e280
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r14, rdx
mov r12d, ecx
mov dword [rsp + 0x44], ecx
mov eax, dword [0x140175af0]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006e6f4
cmp r12d, 1
je 0x14006ea28
mov r15, qword [0x140175ae8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14006e9d4
cmp byte [r15 + 0x60], 0
jne 0x14006e3c3
mov rsi, qword [r15 + 0x10]
test rsi, rsi
je 0x14006e3c3
movsxd rdi, r12d
mov rax, rsi
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rsi
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rbx, 0x101010101010101
imul rbx, rax
shr rbx, 0x38
cmp rbx, 1
jbe 0x14006e56c
mov rcx, rdi
cmp rsi, rdi
ja 0x14006e375
mov rax, rdi
xor edx, edx
div rsi
mov rcx, rdx
mov rax, qword [r15 + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14006e3c3
mov rbp, qword [rax]
test rbp, rbp
je 0x14006e3c3
lea r8, [rsi - 1]
mov rax, qword [rbp + 8]
cmp rax, rdi
jne 0x14006e3a3
cmp dword [rbp + 0x10], r12d
je 0x14006e523
jmp 0x14006e3ba
cmp ebx, 1
jbe 0x14006e5fb
cmp rax, rsi
jae 0x14006e5ee
cmp rax, rcx
jne 0x14006e3c3
mov rbp, qword [rbp]
test rbp, rbp
jne 0x14006e38e
lea rdi, [rsp + 0x48]
mov dword [rdi], r12d
lea rcx, [r15 + 0x30]
lea rsi, [rsp + 0x20]
mov rdx, rsi
mov r8, rdi
call fcn.1400bbb80
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14006e7c0
mov rsi, qword [r15 + 0x58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x140147b90]
movaps xmmword [rcx], xmm0
call fcn.14003ce30
test rsi, rsi
je 0x14006e448
lea rdx, [rsp + 0x20]
mov ecx, r12d
call qword [rsi]
test al, al
jne 0x14006e448
lea rdi, [rsp + 0x20]
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x14006e448
mov ecx, dword [rsp + 0x44]
mov rdx, rdi
call qword [rsi]
test al, al
je 0x14006e432
movzx eax, byte [rsp + 0x37]
test al, al
jns 0x14006e456
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14006ea7e
lea r12, [rsp + 0x20]
mov rcx, r12
call fcn.140043160
test al, al
jne 0x14006ea40
cmp r12, r14
je 0x14006e4a2
cmp byte [r14 + 0x17], 0
mov al, byte [rsp + 0x37]
js 0x14006e77c
test al, al
js 0x14006e603
mov rax, qword [rsp + 0x30]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r14], xmm0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14006ea85
cmp byte [r15 + 0x60], 0
jne 0x14006e50b
lea rcx, [r15 + 8]
lea r8, [rsp + 0x44]
lea r9, [rsp + 0x48]
mov qword [r9], r8
lea rsi, [rsp + 0x50]
mov rdx, rsi
call fcn.1400bbc90
mov rbx, qword [rsi]
lea rdi, [rbx + 0x18]
cmp rdi, r12
je 0x14006e50b
cmp byte [rdi + 0x17], 0
mov al, byte [rsp + 0x37]
js 0x14006e79e
test al, al
js 0x14006e67b
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x20]
call fcn.14004f070
jmp 0x14006e559
lea rdx, [rbp + 0x18]
cmp rdx, r14
je 0x14006e54d
cmp byte [r14 + 0x17], 0
mov al, byte [rdx + 0x17]
js 0x14006e767
test al, al
js 0x14006e578
mov rax, qword [rdx + 0x10]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [r14], xmm0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsi - 1]
and rcx, rdi
jmp 0x14006e375
mov rdi, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
cmp rsi, 0xa
jbe 0x14006e927
lea rax, [rsi - 0xa]
movabs rcx, 0x7fffffffffffffe5
cmp rax, rcx
jae 0x14006ea92
cmp rsi, 0x14
mov ebp, 0x14
cmova rbp, rsi
add rbp, 8
and rbp, 0xfffffffffffffff8
mov rcx, rbp
add rcx, rbp
call fcn.14007a994
mov rbx, rax
lea r8, [rsi + rsi]
mov rcx, rax
mov rdx, rdi
call fcn.14007f530
mov qword [r14], rbx
bts rbp, 0x3f
mov qword [r14 + 0x10], rbp
mov qword [r14 + 8], rsi
mov word [rbx + rsi*2], 0
jmp 0x14006e54d
xor edx, edx
div rsi
mov rax, rdx
jmp 0x14006e3b5
and rax, r8
jmp 0x14006e3b5
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
cmp rbp, 0xa
jbe 0x14006e94b
lea rax, [rbp - 0xa]
movabs rcx, 0x7fffffffffffffe5
cmp rax, rcx
jae 0x14006ea92
cmp rbp, 0x14
mov ebx, 0x14
cmova rbx, rbp
add rbx, 8
and rbx, 0xfffffffffffffff8
lea rcx, [rbx + rbx]
call fcn.14007a994
mov rsi, rax
mov r8, rbp
add r8, rbp
mov rcx, rax
mov rdx, rdi
call fcn.14007f530
mov qword [r14], rsi
bts rbx, 0x3f
mov qword [r14 + 0x10], rbx
mov qword [r14 + 8], rbp
mov word [rsi + rbp*2], 0
jmp 0x14006e4a2
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
cmp rbp, 0xa
jbe 0x14006e971
lea rax, [rbp - 0xa]
movabs rcx, 0x7fffffffffffffe5
cmp rax, rcx
jae 0x14006ea9a
cmp rbp, 0x14
mov edi, 0x14
cmova rdi, rbp
add rdi, 8
and rdi, 0xfffffffffffffff8
lea rcx, [rdi + rdi]
call fcn.14007a994
mov rsi, rax
mov r8, rbp
add r8, rbp
mov rcx, rax
mov rdx, r14
call fcn.14007f530
mov qword [rbx + 0x18], rsi
bts rdi, 0x3f
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x20], rbp
mov word [rsi + rbp*2], 0
jmp 0x14006e50b
lea rcx, [0x140175af0]
call fcn.14007b4e8
cmp dword [0x140175af0], 0xffffffff
jne 0x14006e2bf
mov ecx, 0x68
call fcn.14007a994
mov rsi, rax
mov rcx, rax
call fcn.140040ac0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm0
mov eax, 0x3f800000
mov dword [rsi + 0x28], eax
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
mov dword [rsi + 0x50], eax
mov byte [rsi + 0x60], 0
lea rax, [0x14016ff50]
mov qword [rsi + 0x58], rax
mov qword [0x140175ae8], rsi
lea rcx, [0x140175af0]
call fcn.14007ac34
jmp 0x14006e2bf
test al, al
jns 0x14006e9b2
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
jmp 0x14006e9b6
movzx r8d, al
test al, al
cmovs r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
cmovns rdx, r12
mov rcx, r14
call fcn.14006d73a
jmp 0x14006e4a2
movzx r8d, al
test al, al
cmovs r8, qword [rsp + 0x28]
cmovs r12, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, r12
call fcn.14006d73a
jmp 0x14006e50b
cmp byte [r15 + 0x60], 0
jne 0x14006e816
lea rcx, [r15 + 8]
lea r9, [rsp + 0x50]
mov qword [r9], rdi
lea rbx, [rsp + 0x20]
mov rdx, rbx
mov r8, rdi
call fcn.1400bbc90
mov rbp, qword [rbx]
cmp rbp, rsi
je 0x14006e816
lea rdx, [rsi + 0x18]
lea rdi, [rbp + 0x18]
cmp byte [rdi + 0x17], 0
mov al, byte [rdx + 0x17]
js 0x14006e996
test al, al
js 0x14006e8af
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
lea rdx, [rsi + 0x18]
cmp rdx, r14
je 0x14006e54d
cmp byte [r14 + 0x17], 0
mov al, byte [rdx + 0x17]
js 0x14006e9a4
test al, al
jns 0x14006e53e
mov rdi, qword [rsi + 0x18]
mov rbx, qword [rsi + 0x20]
cmp rbx, 0xa
jbe 0x14006e9e1
lea rax, [rbx - 0xa]
movabs rcx, 0x7fffffffffffffe5
cmp rax, rcx
jae 0x14006ea92
cmp rbx, 0x14
mov ebp, 0x14
cmova rbp, rbx
add rbp, 8
and rbp, 0xfffffffffffffff8
mov rcx, rbp
add rcx, rbp
call fcn.14007a994
mov rsi, rax
lea r8, [rbx + rbx]
mov rcx, rax
mov rdx, rdi
call fcn.14007f530
mov qword [r14], rsi
bts rbp, 0x3f
mov qword [r14 + 0x10], rbp
mov qword [r14 + 8], rbx
mov word [rsi + rbx*2], 0
jmp 0x14006e54d
mov r12, qword [rsi + 0x18]
mov r13, qword [rsi + 0x20]
cmp r13, 0xa
jbe 0x14006ea05
lea rax, [r13 - 0xa]
movabs rcx, 0x7fffffffffffffe5
cmp rax, rcx
jae 0x14006ea9a
cmp r13, 0x14
mov ebx, 0x14
cmova rbx, r13
add rbx, 8
and rbx, 0xfffffffffffffff8
lea rcx, [rbx + rbx]
call fcn.14007a994
mov rdi, rax
mov r8, r13
add r8, r13
mov rcx, rax
mov rdx, r12
call fcn.14007f530
mov qword [rbp + 0x18], rdi
bts rbx, 0x3f
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x20], r13
mov word [rdi + r13*2], 0
jmp 0x14006e816
mov byte [r14 + 0x17], sil
test rsi, rsi
je 0x14006e93f
lea r8, [rsi + rsi]
mov rcx, r14
mov rdx, rdi
call fcn.14007f530
mov word [r14 + rsi*2], 0
jmp 0x14006e54d
mov byte [r14 + 0x17], bpl
test rbp, rbp
je 0x14006e965
mov r8, rbp
add r8, rbp
mov rcx, r14
mov rdx, rdi
call fcn.14007f530
mov word [r14 + rbp*2], 0
jmp 0x14006e4a2
mov byte [rdi + 0x17], bpl
test rbp, rbp
je 0x14006e98b
mov r8, rbp
add r8, rbp
mov rcx, rdi
mov rdx, r14
call fcn.14007f530
mov word [rdi + rbp*2], 0
jmp 0x14006e50b
test al, al
jns 0x14006e9c3
mov r8, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x18]
jmp 0x14006e9c7
test al, al
jns 0x14006e9b2
mov r8, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x18]
jmp 0x14006e9b6
movzx r8d, al
mov rcx, r14
call fcn.14006d73a
jmp 0x14006e54d
movzx r8d, al
mov rcx, rdi
call fcn.14006d73a
jmp 0x14006e816
mov rcx, r15
call fcn.140039d60
jmp 0x14006e2e1
mov byte [r14 + 0x17], bl
test rbx, rbx
je 0x14006e9f9
lea r8, [rbx + rbx]
mov rcx, r14
mov rdx, rdi
call fcn.14007f530
mov word [r14 + rbx*2], 0
jmp 0x14006e54d
mov byte [rdi + 0x17], r13b
test r13, r13
je 0x14006e91b
mov r8, r13
add r8, r13
mov rcx, rdi
mov rdx, r12
call fcn.14007f530
jmp 0x14006e91b
mov rcx, r14
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400b2030
lea rsi, [rsp + 0x50]
lea rdi, [rsp + 0x20]
mov rcx, rsi
mov rdx, rdi
call fcn.1400c5d80
mov rcx, rdi
mov rdx, rsi
call fcn.14006d4c0
mov rcx, rsi
call fcn.14004f070
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14006ea75
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x14006e474
xor esi, esi
jmp 0x14006e517
mov rcx, r15
call fcn.140039d60
jmp 0x14006e4b3
mov rcx, r14
call fcn.1400da168
mov rcx, rdi
call fcn.1400da168
int3