Function at 0x14011a4f0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x64], ecx
mov eax, dword [0x14033b030]
mov ecx, dword [0x140337e40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011a790
cmp ebx, 9
je 0x14011a87c
mov rdi, qword [0x14033b028]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011a817
mov bpl, byte [rdi + 0x60]
test bpl, bpl
jne 0x14011a681
mov r10, qword [rdi + 0x10]
test r10, r10
je 0x14011a681
movsxd rcx, ebx
mov rax, r10
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r10
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r8, rax
and r8, rdx
shr rax, 2
and rax, rdx
add rax, r8
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r11, 0x101010101010101
imul r11, rax
shr r11, 0x38
cmp r11, 1
jbe 0x14011a653
mov r8, rcx
cmp r10, rcx
ja 0x14011a5ee
mov rax, rcx
xor edx, edx
div r10
mov r8, rdx
mov rax, qword [rdi + 8]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14011a681
mov r9, qword [rax]
test r9, r9
je 0x14011a681
lea r14, [r10 - 1]
mov rax, qword [r9 + 8]
cmp rax, rcx
jne 0x14011a661
cmp dword [r9 + 0x10], ebx
jne 0x14011a679
add r9, 0x18
mov rcx, rsi
mov rdx, r9
call fcn.1400c7040
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14013d520
mov eax, esi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, [r10 - 1]
and r8, rcx
jmp 0x14011a5ee
and rax, r14
jmp 0x14011a674
cmp r11d, 1
jbe 0x14011a65c
cmp rax, r10
jb 0x14011a674
xor edx, edx
div r10
mov rax, rdx
cmp rax, r8
jne 0x14011a681
mov r9, qword [r9]
test r9, r9
jne 0x14011a60b
mov dword [rsp + 0x28], ebx
lea rcx, [rdi + 0x30]
lea r14, [rsp + 0x40]
mov rdx, r14
mov r8d, ebx
call fcn.14011ab40
mov r14, qword [r14]
test r14, r14
jne 0x14011a7d6
mov r15, qword [rdi + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rcx], xmm0
call fcn.1400c7100
test r15, r15
je 0x14011a6f9
lea r14, [rsp + 0x40]
mov rax, qword [r15]
mov ecx, ebx
mov rdx, r14
call qword [case.0x14017aab5.0]
test al, al
jne 0x14011a6f9
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14011a6de
movzx eax, byte [rsp + 0x57]
test al, al
js 0x14011a707
and eax, 0x7f
jmp 0x14011a70c
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14011a875
lea rcx, [rsp + 0x40]
call fcn.1400b55f0
test al, al
jne 0x14011a831
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400c7040
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011a824
cmp byte [rdi + 0x60], 0
jne 0x14011a775
lea rcx, [rdi + 8]
lea rsi, [rsp + 0x28]
lea r9, [rsp + 0x64]
mov rdx, rsi
mov r8d, ebx
call fcn.14011ac50
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.1400c7040
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x40]
call fcn.1400c9dd0
jmp 0x14011a635
lea rcx, [0x14033b030]
call fcn.14013b388
cmp dword [0x14033b030], 0xffffffff
jne 0x14011a53b
mov ecx, 0x68
call fcn.14013a6b4
mov rdi, rax
mov rcx, rax
call fcn.140058a70
mov qword [0x14033b028], rdi
lea rcx, [0x14033b030]
call fcn.14013a7d4
jmp 0x14011a53b
test bpl, bpl
jne 0x14011a808
lea r15, [r14 + 0x18]
lea rcx, [rdi + 8]
lea r12, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, r12
mov r8d, ebx
call fcn.14011ac50
mov rcx, qword [r12]
add rcx, 0x18
mov rdx, r15
call fcn.1400c7040
add r14, 0x18
mov rcx, rsi
mov rdx, r14
jmp 0x14011a624
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14011a55c
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14011a745
lea r14, [rsp + 0x28]
lea r15, [rsp + 0x40]
mov rcx, r14
mov rdx, r15
call fcn.1401057d0
mov rcx, r15
mov rdx, r14
call fcn.1400c7000
mov rcx, r14
call fcn.1400c9dd0
movzx eax, byte [r15 + 0x17]
test al, al
js 0x14011a867
and eax, 0x7f
jmp 0x14011a86c
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14011a727
xor esi, esi
jmp 0x14011a781
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14013d520
mov rcx, rsi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140067cd0