Function at 0x140026680
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov qword [rsp + 0x20], rdx
mov ebx, ecx
mov rax, qword [0x1402cb038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x64], ecx
mov eax, dword [0x1402e4090]
mov ecx, dword [0x1402db110]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002699e
cmp ebx, 0xa
je 0x140026b28
mov rdi, qword [0x1402e4088]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140026a27
mov r10b, byte [rdi + 0x60]
movabs r12, 0x5555555555555555
movabs r15, 0x3333333333333333
movabs r14, 0xf0f0f0f0f0f0f0f
movabs r11, 0x101010101010101
movsxd rcx, ebx
test r10b, r10b
jne 0x140026818
mov r13, qword [rdi + 0x10]
test r13, r13
je 0x140026818
mov rax, r13
shr rax, 1
and rax, r12
mov rdx, r13
sub rdx, rax
mov rax, rdx
and rax, r15
shr rdx, 2
and rdx, r15
add rdx, rax
mov rbp, rdx
shr rbp, 4
add rbp, rdx
and rbp, r14
imul rbp, r11
shr rbp, 0x38
cmp rbp, 1
jbe 0x1400267eb
mov r8, rcx
cmp r13, rcx
ja 0x140026782
mov rax, rcx
xor edx, edx
div r13
mov r8, rdx
mov rax, qword [rdi + 8]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x140026818
mov r9, qword [rax]
test r9, r9
je 0x140026818
lea rsi, [r13 - 1]
mov rax, qword [r9 + 8]
cmp rax, rcx
jne 0x1400267f9
cmp dword [r9 + 0x10], ebx
jne 0x140026810
add r9, 0x18
mov rcx, qword [rsp + 0x20]
mov rdx, r9
call fcn.1401ad2f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401ce5b0
mov eax, esi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [r13 - 1]
and r8, rcx
jmp 0x140026782
and rax, rsi
jmp 0x14002680b
cmp ebp, 1
jbe 0x1400267f4
cmp rax, r13
jb 0x14002680b
xor edx, edx
div r13
mov rax, rdx
cmp rax, r8
jne 0x140026818
mov r9, qword [r9]
test r9, r9
jne 0x14002679f
mov dword [rsp + 0x68], ebx
mov r9, qword [rdi + 0x38]
test r9, r9
je 0x1400268ae
mov rax, r9
shr rax, 1
and rax, r12
mov rdx, r9
sub rdx, rax
mov rax, rdx
and rax, r15
shr rdx, 2
and rdx, r15
add rdx, rax
mov r15, rdx
shr r15, 4
add r15, rdx
and r15, r14
imul r15, r11
shr r15, 0x38
cmp r15, 1
ja 0x140026aaa
lea r8, [r9 - 1]
and r8, rcx
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x1400268ae
mov r14, qword [rax]
test r14, r14
je 0x1400268ae
lea r11, [r9 - 1]
mov rax, qword [r14 + 8]
cmp rax, rcx
je 0x140026a35
cmp r15d, 1
ja 0x140026a94
and rax, r11
cmp rax, r8
jne 0x1400268ae
mov r14, qword [r14]
test r14, r14
jne 0x140026887
mov rsi, qword [rdi + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test rsi, rsi
je 0x14002690a
lea r14, [rsp + 0x40]
mov rax, qword [rsi]
mov ecx, ebx
mov rdx, r14
call qword [0x1402f5008]
test al, al
jne 0x1400268f1
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1400268d6
mov al, byte [rsp + 0x57]
test al, al
js 0x140026900
and al, 0x7f
movzx eax, al
jmp 0x140026905
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140026926
xor esi, esi
cmp byte [rsp + 0x57], 0
jns 0x1400267cb
mov rcx, qword [rsp + 0x40]
call fcn.1401cbbbc
jmp 0x1400267cb
lea rcx, [rsp + 0x40]
call fcn.1401727b0
test al, al
jne 0x140026ad7
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call fcn.1401ad2f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140026a86
cmp byte [rdi + 0x60], 0
jne 0x14002698d
lea rcx, [rdi + 8]
lea r8, [rsp + 0x64]
lea r9, [rsp + 0x68]
mov qword [r9], r8
lea rsi, [rsp + 0x28]
mov rdx, rsi
call fcn.140026b50
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.1401ad2f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x14002690c
lea rcx, [0x1402e4090]
call fcn.1401cc16c
cmp dword [0x1402e4090], 0xffffffff
jne 0x1400266cf
mov ecx, 0x68
call fcn.1401cbbc4
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], 0
mov eax, 0x3f800000
mov dword [rdi + 0x28], eax
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
mov dword [rdi + 0x50], eax
mov byte [rdi + 0x60], 0
lea rsi, [0x1402da990]
mov rax, qword [0x1402cbde0]
and rax, rsi
cmp rax, qword [0x1402cbdc8]
je 0x140026ac6
mov qword [rdi + 0x58], rsi
mov qword [0x1402e4088], rdi
lea rcx, [0x1402e4090]
call fcn.1401cc1d4
jmp 0x1400266cf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400266f0
cmp dword [r14 + 0x10], ebx
jne 0x1400268a6
test r10b, r10b
jne 0x140026a75
lea rbx, [r14 + 0x18]
lea rcx, [rdi + 8]
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x28]
mov qword [r9], r8
lea r15, [rsp + 0x40]
mov rdx, r15
call fcn.140026b50
mov rcx, qword [r15]
add rcx, 0x18
mov rdx, rbx
call fcn.1401ad2f0
add r14, 0x18
mov rcx, qword [rsp + 0x20]
mov rdx, r14
jmp 0x1400267ba
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140026958
cmp rax, r9
jb 0x1400268a1
xor edx, edx
div r9
mov rax, rdx
jmp 0x1400268a1
mov r8, rcx
cmp r9, rcx
ja 0x14002686e
mov rax, rcx
xor edx, edx
div r9
mov r8, rdx
jmp 0x14002686e
lea rcx, [0x1402da990]
call fcn.1401508a0
jmp 0x140026a0b
lea rbx, [rsp + 0x28]
lea r14, [rsp + 0x40]
mov rcx, rbx
mov rdx, r14
call fcn.140057b50
mov rcx, r14
mov rdx, rbx
call fcn.1401c4180
cmp byte [rbx + 0x17], 0
jns 0x140026b07
mov rcx, qword [rsp + 0x28]
call fcn.1401cbbbc
movzx eax, byte [rsp + 0x57]
test al, al
js 0x140026b15
and eax, 0x7f
jmp 0x140026b1a
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140026938
jmp 0x14002690a
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401ce5b0
mov rcx, qword [rsp + 0x20]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140018160