Function at 0x140026550
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r14, rdx
mov r12d, ecx
mov rax, qword [0x1400dd028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x6c], ecx
mov eax, dword [0x1400e45b8]
mov ecx, dword [0x1400e040c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400268b6
cmp r12d, 1
je 0x14002698e
mov r13, qword [0x1400e45b0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400269b9
mov r10b, byte [r13 + 0x60]
movabs r11, 0x5555555555555555
movabs r15, 0x3333333333333333
movabs r8, 0xf0f0f0f0f0f0f0f
movabs rbx, 0x101010101010101
movsxd r9, r12d
test r10b, r10b
jne 0x1400266b7
mov rdi, qword [r13 + 0x10]
test rdi, rdi
je 0x1400266b7
mov rax, rdi
shr rax, 1
and rax, r11
mov rcx, rdi
sub rcx, rax
mov rax, rcx
and rax, r15
shr rcx, 2
and rcx, r15
add rcx, rax
mov rbp, rcx
shr rbp, 4
add rbp, rcx
and rbp, r8
imul rbp, rbx
shr rbp, 0x38
cmp rbp, 1
jbe 0x14002680d
mov rcx, r9
cmp rdi, r9
ja 0x14002665c
mov rax, r9
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [r13 + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400266b7
mov rsi, qword [rax]
test rsi, rsi
je 0x1400266b7
lea r8, [rdi - 1]
mov rax, qword [rsi + 8]
cmp rax, r9
jne 0x14002668a
cmp dword [rsi + 0x10], r12d
je 0x14002671e
jmp 0x1400266a5
cmp ebp, 1
jbe 0x140026819
cmp rax, rdi
jb 0x1400266a0
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
jne 0x1400266ad
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140026675
movabs r8, 0xf0f0f0f0f0f0f0f
mov dword [rsp + 0x70], r12d
mov rcx, qword [r13 + 0x38]
test rcx, rcx
jne 0x140026821
mov rdi, qword [r13 + 0x58]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1400c48d0]
movaps xmmword [rcx], xmm0
call fcn.140041ef0
test rdi, rdi
je 0x14002675f
lea rsi, [rsp + 0x50]
mov ecx, r12d
mov rdx, rsi
call qword [rdi]
test al, al
jne 0x14002675f
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x14002675f
mov r12d, dword [rsp + 0x6c]
jmp 0x140026702
add rsi, 0x18
mov rcx, r14
mov rdx, rsi
call fcn.140025020
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005b820
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14002676d
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140026a04
lea rcx, [rsp + 0x50]
call fcn.140042fd0
test al, al
jne 0x1400269c6
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140025020
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140026a0b
cmp byte [r13 + 0x60], 0
jne 0x1400267f2
lea rcx, [r13 + 8]
lea r8, [rsp + 0x6c]
lea rax, [rsp + 0x70]
mov qword [rax], r8
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [0x1400c9ae6]
lea rsi, [rsp + 0x38]
mov rdx, rsi
call fcn.140026a50
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.140025020
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140042030
jmp 0x140026739
lea rcx, [rdi - 1]
and rcx, r9
jmp 0x14002665c
and rax, r8
jmp 0x1400266a0
mov rax, rcx
shr rax, 1
and rax, r11
mov rdx, rcx
sub rdx, rax
mov rax, rdx
and rax, r15
shr rdx, 2
and rdx, r15
add rdx, rax
mov rsi, rdx
shr rsi, 4
add rsi, rdx
and rsi, r8
imul rsi, rbx
shr rsi, 0x38
cmp rsi, 1
ja 0x140026a18
lea r8, [rcx - 1]
and r8, r9
mov rax, qword [r13 + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x1400266c9
mov r15, qword [rax]
test r15, r15
je 0x1400266c9
lea rbp, [rcx - 1]
mov rax, qword [r15 + 8]
cmp rax, r9
je 0x140026929
cmp esi, 1
ja 0x140026a34
and rax, rbp
cmp rax, r8
jne 0x1400266c9
mov r15, qword [r15]
test r15, r15
jne 0x140026887
jmp 0x1400266c9
lea rcx, [0x1400e45b8]
call fcn.14005ac00
cmp dword [0x1400e45b8], 0xffffffff
jne 0x1400265a4
mov ecx, 0x68
call fcn.14005aaac
mov rsi, rax
mov rcx, rax
call fcn.1400473c0
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, [0x1400def80]
mov qword [rsi + 0x58], rax
mov qword [0x1400e45b0], rsi
lea rcx, [0x1400e45b8]
call fcn.14005ac98
jmp 0x1400265a4
cmp dword [r15 + 0x10], r12d
jne 0x1400268a9
test r10b, r10b
jne 0x14002697f
lea rsi, [r15 + 0x18]
lea rcx, [r13 + 8]
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x38]
mov qword [rax], r8
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [0x1400c9ae6]
lea rbx, [rsp + 0x50]
mov rdx, rbx
call fcn.140026a50
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rsi
call fcn.140025020
add r15, 0x18
mov rcx, r14
mov rdx, r15
jmp 0x140026728
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005b820
mov rcx, r14
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140028df0
mov rcx, r13
call fcn.1400473d0
jmp 0x1400265c6
lea rsi, [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.140028a60
mov rcx, rbx
mov rdx, rsi
call fcn.140042040
mov rcx, rsi
call fcn.140042030
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x1400269fb
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140026788
xor esi, esi
jmp 0x1400267fe
mov rcx, r13
call fcn.1400473d0
jmp 0x1400267a6
mov r8, r9
cmp rcx, r9
ja 0x140026866
mov rax, r9
xor edx, edx
div rcx
mov r8, rdx
jmp 0x140026866
cmp rax, rcx
jb 0x1400268a0
xor edx, edx
div rcx
mov rax, rdx
jmp 0x1400268a0
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov r14, rcx
mov rax, qword [0x1400dd028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x1400c48d0]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1400caeba]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x3aa
call fcn.140047480
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004ca40
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14005e0e0
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x140028ee8
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.140071888
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140041f30
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.140025080
mov rcx, r14
mov rdx, rsi
call fcn.140042040
mov rcx, rsi
call fcn.140042030
mov rcx, rbx
call fcn.140042030
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14004cbd0
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14005b820
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret