Function at 0x14002cdb0
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 rdi, rdx
mov r13d, ecx
mov rax, qword [0x14010e038]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x6c], ecx
mov eax, dword [0x140114370]
mov ecx, dword [0x1401116a4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002b48d
cmp r13d, 1
je 0x14002b567
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x140114368]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002b592
mov r9b, byte [rdi + 0x60]
movsxd r8, r13d
movabs r12, 0x5555555555555555
movabs r15, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
test r9b, r9b
jne 0x14002b292
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x14002b292
mov rax, rbx
shr rax, 1
and rax, r12
mov rcx, rbx
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, r11
imul rbp, r10
shr rbp, 0x38
cmp rbp, 1
jbe 0x14002b3e4
mov rcx, r8
cmp rbx, r8
ja 0x14002b241
mov rax, r8
xor edx, edx
div rbx
mov rcx, rdx
mov rax, qword [rdi + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002b292
mov rsi, qword [rax]
test rsi, rsi
je 0x14002b292
lea r14, [rbx - 1]
mov rax, qword [rsi + 8]
cmp rax, r8
jne 0x14002b26f
cmp dword [rsi + 0x10], r13d
je 0x14002b3a1
jmp 0x14002b28a
cmp ebp, 1
jbe 0x14002b485
cmp rax, rbx
jb 0x14002b285
xor edx, edx
div rbx
mov rax, rdx
cmp rax, rcx
jne 0x14002b292
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14002b25a
mov dword [rsp + 0x70], r13d
mov rsi, qword [rdi + 0x38]
test rsi, rsi
jne 0x14002b3f0
mov rbx, qword [rdi + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1400f2f80]
movaps xmmword [rcx], xmm0
call fcn.14005bfb0
test rbx, rbx
je 0x14002b2f2
lea rsi, [rsp + 0x50]
mov ecx, r13d
mov rdx, rsi
call qword [rbx]
test al, al
jne 0x14002b2f2
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14002b2dd
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14002b300
mov rax, qword [rsp + 0x58]
test rax, rax
mov rsi, qword [rsp + 0x30]
je 0x14002b5e2
lea rcx, [rsp + 0x50]
call fcn.14005d680
test al, al
jne 0x14002b59f
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140029a40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002b5e9
cmp byte [rdi + 0x60], 0
jne 0x14002b389
lea rcx, [rdi + 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, [0x1400f59e8]
lea rsi, [rsp + 0x38]
mov rdx, rsi
call fcn.14002b630
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.140029a40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.14005c110
jmp 0x14002b3be
add rsi, 0x18
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
call fcn.140029a40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14007c600
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, [rbx - 1]
and rcx, r8
jmp 0x14002b241
mov rax, rsi
shr rax, 1
and rax, r12
mov rcx, rsi
sub rcx, rax
mov rax, rcx
and rax, r15
shr rcx, 2
and rcx, r15
add rcx, rax
mov rbx, rcx
shr rbx, 4
add rbx, rcx
and rbx, r11
imul rbx, r10
shr rbx, 0x38
cmp rbx, 1
ja 0x14002b5f6
lea rcx, [rsi - 1]
and rcx, r8
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002b2a4
mov r15, qword [rax]
test r15, r15
je 0x14002b2a4
lea rbp, [rsi - 1]
mov rax, qword [r15 + 8]
cmp rax, r8
je 0x14002b500
cmp ebx, 1
ja 0x14002b612
and rax, rbp
cmp rax, rcx
jne 0x14002b2a4
mov r15, qword [r15]
test r15, r15
jne 0x14002b456
jmp 0x14002b2a4
and rax, r14
jmp 0x14002b285
lea rcx, [0x140114370]
call fcn.14007b8a0
cmp dword [0x140114370], 0xffffffff
jne 0x14002b184
mov ecx, 0x68
call fcn.14007b74c
mov rsi, rax
mov rcx, rax
call fcn.140061420
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, [0x14010fec8]
mov qword [rsi + 0x58], rax
mov qword [0x140114368], rsi
lea rcx, [0x140114370]
call fcn.14007b938
jmp 0x14002b184
cmp dword [r15 + 0x10], r13d
jne 0x14002b478
test r9b, r9b
jne 0x14002b556
lea rsi, [r15 + 0x18]
lea rcx, [rdi + 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, [0x1400f59e8]
lea rbx, [rsp + 0x50]
mov rdx, rbx
call fcn.14002b630
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rsi
call fcn.140029a40
add r15, 0x18
mov rcx, qword [rsp + 0x30]
mov rdx, r15
jmp 0x14002b3ad
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14007c600
mov rcx, rdi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x14002cdb0
mov rcx, rdi
call fcn.140061430
jmp 0x14002b1ab
lea rsi, [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.14002c190
mov rcx, rbx
mov rdx, rsi
call fcn.14005c120
mov rcx, rsi
call fcn.14005c110
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14002b5d4
mov rax, qword [rsp + 0x58]
test rax, rax
mov rsi, qword [rsp + 0x30]
jne 0x14002b320
xor esi, esi
jmp 0x14002b395
mov rcx, rdi
call fcn.140061430
jmp 0x14002b33e
mov rcx, r8
cmp rsi, r8
ja 0x14002b435
mov rax, r8
xor edx, edx
div rsi
mov rcx, rdx
jmp 0x14002b435
cmp rax, rsi
jb 0x14002b46f
xor edx, edx
div rsi
mov rax, rdx
jmp 0x14002b46f
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x14010e038]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x1400f2f80]
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, [0x1400f5c93]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x3db
call fcn.140068280
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400682b0
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14007eec0
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 0x14002ceb3
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1400952c0
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14005c030
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.14002a190
mov rcx, r14
mov rdx, rsi
call fcn.14005c120
mov rcx, rsi
call fcn.14005c110
mov rcx, rbx
call fcn.14005c110
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.140068310
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14007c600
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret