Function at 0x14002c5e0
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 [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x6c], ecx
mov eax, dword [0x1401657d8]
mov ecx, dword [0x140161514]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002c946
cmp r12d, 1
je 0x14002ca1e
mov r13, qword [0x1401657d0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002ca49
mov r10b, byte [r13 + 0x60]
movabs r11, 0x5555555555555555
movabs r15, 0x3333333333333333
movabs r8, 0xf0f0f0f0f0f0f0f
movabs rbx, 0x101010101010101
movsxd r9, r12d
test r10b, r10b
jne 0x14002c747
mov rdi, qword [r13 + 0x10]
test rdi, rdi
je 0x14002c747
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 0x14002c89d
mov rcx, r9
cmp rdi, r9
ja 0x14002c6ec
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 0x14002c747
mov rsi, qword [rax]
test rsi, rsi
je 0x14002c747
lea r8, [rdi - 1]
mov rax, qword [rsi + 8]
cmp rax, r9
jne 0x14002c71a
cmp dword [rsi + 0x10], r12d
je 0x14002c7ae
jmp 0x14002c735
cmp ebp, 1
jbe 0x14002c8a9
cmp rax, rdi
jb 0x14002c730
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
jne 0x14002c73d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14002c705
movabs r8, 0xf0f0f0f0f0f0f0f
mov dword [rsp + 0x70], r12d
mov rcx, qword [r13 + 0x38]
test rcx, rcx
jne 0x14002c8b1
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 [0x1401399e0]
movaps xmmword [rcx], xmm0
call fcn.14006e1a0
test rdi, rdi
je 0x14002c7ef
lea rsi, [rsp + 0x50]
mov ecx, r12d
mov rdx, rsi
call qword [rdi]
test al, al
jne 0x14002c7ef
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x14002c7ef
mov r12d, dword [rsp + 0x6c]
jmp 0x14002c792
add rsi, 0x18
mov rcx, r14
mov rdx, rsi
call fcn.14002ae30
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009d180
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 0x14002c7fd
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14002ca94
lea rcx, [rsp + 0x50]
call fcn.14006f2c0
test al, al
jne 0x14002ca56
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14002ae30
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002ca9b
cmp byte [r13 + 0x60], 0
jne 0x14002c882
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, [0x140140a16]
lea rsi, [rsp + 0x38]
mov rdx, rsi
call fcn.14002cae0
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.14002ae30
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.14006e320
jmp 0x14002c7c9
lea rcx, [rdi - 1]
and rcx, r9
jmp 0x14002c6ec
and rax, r8
jmp 0x14002c730
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 0x14002caa8
lea r8, [rcx - 1]
and r8, r9
mov rax, qword [r13 + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14002c759
mov r15, qword [rax]
test r15, r15
je 0x14002c759
lea rbp, [rcx - 1]
mov rax, qword [r15 + 8]
cmp rax, r9
je 0x14002c9b9
cmp esi, 1
ja 0x14002cac4
and rax, rbp
cmp rax, r8
jne 0x14002c759
mov r15, qword [r15]
test r15, r15
jne 0x14002c917
jmp 0x14002c759
lea rcx, [0x1401657d8]
call fcn.14009c480
cmp dword [0x1401657d8], 0xffffffff
jne 0x14002c634
mov ecx, 0x68
call fcn.14009c328
mov rsi, rax
mov rcx, rax
call fcn.140073360
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, [0x14015ff80]
mov qword [rsi + 0x58], rax
mov qword [0x1401657d0], rsi
lea rcx, [0x1401657d8]
call fcn.14009c518
jmp 0x14002c634
cmp dword [r15 + 0x10], r12d
jne 0x14002c939
test r10b, r10b
jne 0x14002ca0f
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, [0x140140a16]
lea rbx, [rsp + 0x50]
mov rdx, rbx
call fcn.14002cae0
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rsi
call fcn.14002ae30
add r15, 0x18
mov rcx, r14
mov rdx, r15
jmp 0x14002c7b8
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009d180
mov rcx, r14
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x14002dc80
mov rcx, r13
call fcn.140073370
jmp 0x14002c656
lea rsi, [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.14002d5a0
mov rcx, rbx
mov rdx, rsi
call fcn.14006e330
mov rcx, rsi
call fcn.14006e320
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14002ca8b
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14002c818
xor esi, esi
jmp 0x14002c88e
mov rcx, r13
call fcn.140073370
jmp 0x14002c836
mov r8, r9
cmp rcx, r9
ja 0x14002c8f6
mov rax, r9
xor edx, edx
div rcx
mov r8, rdx
jmp 0x14002c8f6
cmp rax, rcx
jb 0x14002c930
xor edx, edx
div rcx
mov rax, rdx
jmp 0x14002c930
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov r14, rcx
mov rax, qword [0x14015e028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x1401399e0]
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, [0x140140add]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x3aa
call fcn.14006fcc0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400763b0
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14009fa40
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 0x14002dd78
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1400b5818
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14006e220
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.14002afc0
mov rcx, r14
mov rdx, rsi
call fcn.14006e330
mov rcx, rsi
call fcn.14006e320
mov rcx, rbx
call fcn.14006e320
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.140076540
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14009d180
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret