Function at 0x14002f270
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 rsi, rdx
mov ebx, ecx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x6c], ecx
call fcn.14002d5c0
cmp ebx, 9
je 0x14002d4f2
mov r13, rax
mov qword [rsp + 0x30], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002d51d
mov r9b, byte [r13 + 0x60]
movsxd r8, ebx
movabs r12, 0x5555555555555555
movabs r14, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
test r9b, r9b
jne 0x14002d287
mov rsi, qword [r13 + 0x10]
test rsi, rsi
je 0x14002d287
mov rax, rsi
shr rax, 1
and rax, r12
mov rcx, rsi
sub rcx, rax
mov rax, rcx
and rax, r14
shr rcx, 2
and rcx, r14
add rcx, rax
mov rbp, rcx
shr rbp, 4
add rbp, rcx
and rbp, r11
imul rbp, r10
shr rbp, 0x38
cmp rbp, 1
jbe 0x14002d3e2
mov rcx, r8
cmp rsi, r8
ja 0x14002d23b
mov rax, r8
xor edx, edx
div rsi
mov rcx, rdx
mov rax, qword [r13 + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002d287
mov rdi, qword [rax]
test rdi, rdi
je 0x14002d287
lea r15, [rsi - 1]
mov rax, qword [rdi + 8]
cmp rax, r8
jne 0x14002d268
cmp dword [rdi + 0x10], ebx
je 0x14002d39f
jmp 0x14002d27f
cmp ebp, 1
jbe 0x14002d277
cmp rax, rsi
jb 0x14002d27a
jmp 0x14002d3ee
and rax, r15
cmp rax, rcx
jne 0x14002d287
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14002d254
mov dword [rsp + 0x70], ebx
mov rsi, qword [r13 + 0x38]
test rsi, rsi
jne 0x14002d3fb
mov rsi, 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 [0x1400f69f0]
movaps xmmword [rcx], xmm0
call fcn.140060070
test rsi, rsi
je 0x14002d2ec
lea rdi, [rsp + 0x50]
mov rax, qword [rsi]
mov ecx, ebx
mov rdx, rdi
call qword [0x140131010]
test al, al
jne 0x14002d2ec
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x14002d2d1
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14002d2fa
mov rax, qword [rsp + 0x58]
test rax, rax
mov rsi, qword [rsp + 0x30]
je 0x14002d56d
lea rcx, [rsp + 0x50]
call fcn.140061600
test al, al
jne 0x14002d52a
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400601e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002d574
cmp byte [r13 + 0x60], 0
jne 0x14002d387
mov rcx, r13
add rcx, 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, [0x1400fc2d2]
lea rdi, [rsp + 0x38]
mov rdx, rdi
call fcn.14002d690
mov rcx, qword [rdi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.1400601e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400601d0
jmp 0x14002d3bc
add rdi, 0x18
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.1400601e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140081fe0
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsi - 1]
and rcx, r8
jmp 0x14002d23b
xor edx, edx
div rsi
mov rax, rdx
jmp 0x14002d27a
mov rax, rsi
shr rax, 1
and rax, r12
mov rcx, rsi
sub rcx, rax
mov rax, rcx
and rax, r14
shr rcx, 2
and rcx, r14
add rcx, rax
mov rdi, rcx
shr rdi, 4
add rdi, rcx
and rdi, r11
imul rdi, r10
shr rdi, 0x38
cmp rdi, 1
ja 0x14002d581
lea rcx, [rsi - 1]
and rcx, r8
mov rax, qword [r13 + 0x30]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002d298
mov r14, qword [rax]
test r14, r14
je 0x14002d298
lea rbp, [rsi - 1]
mov rax, qword [r14 + 8]
cmp rax, r8
je 0x14002d48c
cmp edi, 1
ja 0x14002d59d
and rax, rbp
cmp rax, rcx
jne 0x14002d298
mov r14, qword [r14]
test r14, r14
jne 0x14002d461
jmp 0x14002d298
cmp dword [r14 + 0x10], ebx
jne 0x14002d47f
test r9b, r9b
jne 0x14002d4e1
lea rdi, [r14 + 0x18]
mov rcx, r13
add rcx, 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, [0x1400fc2d2]
lea rbx, [rsp + 0x50]
mov rdx, rbx
call fcn.14002d690
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rdi
call fcn.1400601e0
add r14, 0x18
mov rcx, qword [rsp + 0x30]
mov rdx, r14
jmp 0x14002d3ab
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140081fe0
mov rcx, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x14002f270
mov rcx, r13
call fcn.1400654a0
jmp 0x14002d1a5
lea rdi, [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.14002e340
mov rcx, rbx
mov rdx, rdi
call fcn.140060240
mov rcx, rdi
call fcn.1400601d0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14002d55f
mov rax, qword [rsp + 0x58]
test rax, rax
mov rsi, qword [rsp + 0x30]
jne 0x14002d31a
xor esi, esi
jmp 0x14002d393
mov rcx, r13
call fcn.1400654a0
jmp 0x14002d338
mov rcx, r8
cmp rsi, r8
ja 0x14002d440
mov rax, r8
xor edx, edx
div rsi
mov rcx, rdx
jmp 0x14002d440
cmp rax, rsi
jb 0x14002d476
xor edx, edx
div rsi
mov rax, rdx
jmp 0x14002d476
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x1400f69f0]
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, [0x1400fc573]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x391
call fcn.14006bdc0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14006bdf0
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140084d10
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
add edi, 0xfffffefb
cmp edi, 0xfffffefc
jb 0x14002f377
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.14009afb0
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400600f0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.14002c280
mov rcx, r14
mov rdx, rsi
call fcn.140060240
mov rcx, rsi
call fcn.1400601d0
mov rcx, rbx
call fcn.1400601d0
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.14006be50
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140081fe0
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret