Function at 0x1400ce750
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov r14, rdx
mov ebx, ecx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], ecx
call fcn.1400ceb90
cmp ebx, 9
jne 0x1400ce7a9
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401a4270
mov rcx, r14
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400dc3b0
mov r15, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ceb73
mov r8b, byte [r15 + 0x60]
movsxd r10, ebx
test r8b, r8b
je 0x1400ce850
mov dword [rsp + 0x78], ebx
mov r9, qword [r15 + 0x38]
test r9, r9
je 0x1400ce932
mov rax, r9
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r9
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 rsi, 0x101010101010101
imul rsi, rax
shr rsi, 0x38
cmp rsi, 1
ja 0x1400ce8cf
lea rcx, [r9 - 1]
and rcx, r10
jmp 0x1400ce8e2
mov r9, qword [r15 + 0x10]
test r9, r9
je 0x1400ce7cd
mov rax, r9
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r9
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 rsi, 0x101010101010101
imul rsi, rax
shr rsi, 0x38
cmp rsi, 1
ja 0x1400cea90
lea rcx, [r9 - 1]
and rcx, r10
jmp 0x1400ceaa3
mov rcx, r10
cmp r9, r10
ja 0x1400ce8e2
mov rax, r10
xor edx, edx
div r9
mov rcx, rdx
mov rax, qword [r15 + 0x30]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400ce932
mov rdi, qword [rax]
test rdi, rdi
je 0x1400ce932
lea r11, [r9 - 1]
mov rax, qword [rdi + 8]
cmp rax, r10
jne 0x1400ce90e
cmp dword [rdi + 0x10], ebx
jne 0x1400ce92a
jmp 0x1400ceb01
cmp esi, 1
ja 0x1400ce918
and rax, r11
jmp 0x1400ce925
cmp rax, r9
jb 0x1400ce925
xor edx, edx
div r9
mov rax, rdx
cmp rax, rcx
jne 0x1400ce932
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1400ce8fb
mov rdi, qword [r15 + 0x58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rcx], xmm0
call fcn.1400c33c0
test rdi, rdi
je 0x1400ce986
lea rsi, [rsp + 0x50]
mov rax, qword [rdi]
mov ecx, ebx
mov rdx, rsi
call qword [case.0x1401f58d0.0]
test al, al
jne 0x1400ce986
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x1400ce96b
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x1400ce994
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400cea63
lea rcx, [rsp + 0x50]
call fcn.1400c42a0
test al, al
je 0x1400ce9e5
lea rsi, [rsp + 0x38]
lea rdi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call fcn.1400dc000
mov rcx, rdi
mov rdx, rsi
call fcn.1400c3590
mov rcx, rsi
call fcn.1400c3520
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400ce9e0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400cea63
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400c3530
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ceb80
cmp byte [r15 + 0x60], 0
jne 0x1400cea55
mov rcx, r15
add rcx, 8
lea r8, [rsp + 0x74]
lea rax, [rsp + 0x78]
mov qword [rax], r8
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [0x1402404ab]
lea rsi, [rsp + 0x38]
mov rdx, rsi
call fcn.1400cec60
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.1400c3530
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x1400cea65
xor esi, esi
lea rcx, [rsp + 0x50]
call fcn.1400c3520
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401a4270
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r10
cmp r9, r10
ja 0x1400ceaa3
mov rax, r10
xor edx, edx
div r9
mov rcx, rdx
mov rax, qword [r15 + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400ce7cd
mov rdi, qword [rax]
test rdi, rdi
je 0x1400ce7cd
lea r11, [r9 - 1]
mov rax, qword [rdi + 8]
cmp rax, r10
jne 0x1400cead4
cmp dword [rdi + 0x10], ebx
jne 0x1400ceaf4
jmp 0x1400ceb53
cmp esi, 1
ja 0x1400ceade
and rax, r11
jmp 0x1400ceaeb
cmp rax, r9
jb 0x1400ceaeb
xor edx, edx
div r9
mov rax, rdx
cmp rax, rcx
jne 0x1400ce7cd
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1400ceac4
jmp 0x1400ce7cd
test r8b, r8b
jne 0x1400ceb53
lea rsi, [rdi + 0x18]
mov rcx, r15
add rcx, 8
lea r8, [rsp + 0x78]
lea rax, [rsp + 0x38]
mov qword [rax], r8
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [0x1402404ab]
lea rbx, [rsp + 0x50]
mov rdx, rbx
call fcn.1400cec60
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rsi
call fcn.1400c3530
add rdi, 0x18
mov rcx, r14
mov rdx, rdi
call fcn.1400c3530
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x1400cea6f
mov rcx, r15
call fcn.1400e0d80
jmp 0x1400ce7bd
mov rcx, r15
call fcn.1400e0d80
jmp 0x1400cea03