Function at 0x1400264a0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rdx
mov esi, ecx
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], ecx
mov eax, dword [0x140156d38]
mov ecx, dword [0x140153d98]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140026915
cmp esi, 9
je 0x140026b2f
mov rdi, qword [0x140156d30]
mov rax, qword [0x140147c20]
and rax, rdi
cmp rax, qword [0x140147c08]
jne 0x140026518
mov rcx, rdi
call fcn.140073220
test rdi, rdi
je 0x140026ad7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140026a53
mov r9b, byte [rdi + 0x60]
movsxd rcx, esi
movabs r15, 0x5555555555555555
movabs r14, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
test r9b, r9b
jne 0x1400266dc
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x1400266dc
mov rax, r12
shr rax, 1
and rax, r15
mov rdx, r12
sub rdx, rax
mov rax, rdx
and rax, r14
shr rdx, 2
and rdx, r14
add rdx, rax
mov rbp, rdx
shr rbp, 4
add rbp, rdx
and rbp, r11
imul rbp, r10
shr rbp, 0x38
cmp rbp, 1
jbe 0x140026698
mov r8, rcx
cmp r12, rcx
ja 0x1400265c8
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
mov rax, qword [rdi + 8]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x1400266dc
mov r13, qword [rax]
test r13, r13
je 0x1400266dc
cmp ebp, 2
jb 0x1400266a5
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x1400266bd
cmp dword [r13 + 0x10], esi
jne 0x1400266cf
lea rdx, [r13 + 0x18]
cmp rdx, rbx
je 0x140026632
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r13 + 0x2f]
js 0x14002699e
test r8b, r8b
jns 0x140026688
mov rdx, qword [r13 + 0x18]
mov r8, qword [r13 + 0x20]
mov rcx, rbx
call fcn.14000f2e0
xor r14d, r14d
xor r15d, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x140147c20]
and rax, rdi
cmp rax, qword [0x140147c08]
jne 0x14002665c
mov rcx, rdi
call fcn.1400736b0
mov bpl, 1
test r14b, r14b
jne 0x14002670c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b7310
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdx + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rbx], xmm0
jmp 0x140026632
lea r8, [r12 - 1]
and r8, rcx
jmp 0x1400265c8
dec r12
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x1400266f9
cmp dword [r13 + 0x10], esi
je 0x140026605
jmp 0x140026701
cmp rax, r12
jb 0x1400266ca
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x1400266dc
mov r13, qword [r13]
test r13, r13
jne 0x1400265ee
mov dword [rsp + 0x28], esi
mov r12, qword [rdi + 0x38]
test r12, r12
jne 0x14002687e
mov r15, qword [rdi + 0x58]
mov r14b, 1
jmp 0x140026638
and rax, r12
cmp rax, r8
jne 0x1400266dc
mov r13, qword [r13]
test r13, r13
jne 0x1400266a8
jmp 0x1400266dc
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test r15, r15
je 0x140026757
lea r14, [rsp + 0x40]
mov rax, qword [r15]
mov ecx, esi
mov rdx, r14
call qword [0x14013a9a8]
test al, al
jne 0x140026757
mov r15, qword [r15 + 8]
test r15, r15
jne 0x140026727
jmp 0x140026757
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x1400267af
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x140026765
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140026b28
lea r14, [rsp + 0x40]
mov rcx, r14
call fcn.140019f50
test al, al
jne 0x140026ada
cmp r14, rbx
je 0x1400267af
cmp byte [rbx + 0x17], 0
movzx r8d, byte [rsp + 0x57]
js 0x140026a8b
test r8b, r8b
jns 0x140026744
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14000f2e0
mov rax, qword [0x140147c20]
and rax, rdi
cmp rax, qword [0x140147c08]
jne 0x1400267ca
mov rcx, rdi
call fcn.140073220
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140026a61
cmp byte [rdi + 0x60], 0
jne 0x14002682a
lea rcx, [rdi + 8]
lea rbx, [rsp + 0x28]
lea r9, [rsp + 0x5c]
mov rdx, rbx
mov r8d, esi
call fcn.140026bc0
mov rax, qword [rbx]
lea rcx, [rax + 0x18]
cmp rcx, r14
je 0x14002682a
cmp byte [rax + 0x2f], 0
movzx r8d, byte [rsp + 0x57]
js 0x140026a6f
test r8b, r8b
jns 0x14002686b
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.14000f2e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x140147c20]
and rax, rdi
mov bpl, 1
cmp rax, qword [0x140147c08]
jne 0x140026851
mov rcx, rdi
call fcn.1400736b0
cmp byte [rsp + 0x57], 0
jns 0x140026668
mov rcx, qword [rsp + 0x40]
call fcn.1400b4d44
jmp 0x140026668
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x14002682a
mov rax, r12
shr rax, 1
and rax, r15
mov rdx, r12
sub rdx, rax
mov rax, rdx
and rax, r14
shr rdx, 2
and rdx, r14
add rdx, rax
mov r14, rdx
shr r14, 4
add r14, rdx
and r14, r11
imul r14, r10
shr r14, 0x38
cmp r14, 1
ja 0x140026b54
lea r8, [r12 - 1]
and r8, rcx
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x1400266ed
mov r15, qword [rax]
test r15, r15
je 0x1400266ed
cmp r14d, 2
jae 0x140026b8d
dec r12
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x1400269b8
and rax, r12
cmp rax, r8
jne 0x1400266ed
mov r15, qword [r15]
test r15, r15
je 0x1400266ed
jmp 0x1400268ee
lea rcx, [0x140156d38]
call fcn.1400b4df4
cmp dword [0x140156d38], 0xffffffff
jne 0x1400264ed
mov ecx, 0x68
call fcn.1400b4d4c
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 r14, [0x1401470e8]
mov rax, qword [0x140147c20]
and rax, r14
cmp rax, qword [0x140147c08]
je 0x140026b70
mov qword [rdi + 0x58], r14
mov qword [0x140156d30], rdi
lea rcx, [0x140156d38]
call fcn.1400b4d88
jmp 0x1400264ed
test r8b, r8b
jns 0x1400269ab
mov r8, qword [r13 + 0x20]
mov rdx, qword [r13 + 0x18]
mov rcx, rbx
call fcn.14000f3a0
jmp 0x140026632
cmp dword [r15 + 0x10], esi
jne 0x140026907
test r9b, r9b
jne 0x140026a11
lea rcx, [rdi + 8]
lea r14, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, r14
mov r8d, esi
call fcn.140026bc0
mov rax, qword [r14]
cmp rax, r15
je 0x140026a11
lea rdx, [r15 + 0x18]
lea rcx, [rax + 0x18]
cmp byte [rax + 0x2f], 0
movzx r8d, byte [r15 + 0x2f]
js 0x140026aaa
test r8b, r8b
jns 0x140026a43
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
call fcn.14000f2e0
lea rdx, [r15 + 0x18]
cmp rdx, rbx
je 0x140026632
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r15 + 0x2f]
js 0x140026ac1
test r8b, r8b
jns 0x140026688
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
jmp 0x14002662a
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x140026a11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140026532
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400267db
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
cmovs r14, qword [rsp + 0x40]
mov rdx, r14
call fcn.14000f3a0
jmp 0x14002682a
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
cmovns rdx, r14
mov rcx, rbx
call fcn.14000f3a0
jmp 0x1400267af
test r8b, r8b
jns 0x140026ab7
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
call fcn.14000f3a0
jmp 0x140026a11
test r8b, r8b
jns 0x1400269ab
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
jmp 0x1400269ab
int3
lea rcx, [rsp + 0x28]
lea r15, [rsp + 0x40]
mov rdx, r15
call fcn.14002fe70
cmp byte [r15 + 0x17], 0
jns 0x140026afd
mov rcx, qword [rsp + 0x40]
call fcn.1400b4d44
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x40], xmm0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x140026b1f
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140026783
xor ebp, ebp
jmp 0x140026851
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b7310
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140039540
mov r8, rcx
cmp r12, rcx
ja 0x1400268c4
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
jmp 0x1400268c4
lea rcx, [0x1401470e8]
call fcn.140086860
jmp 0x140026982
cmp dword [r15 + 0x10], esi
je 0x1400269c2
jmp 0x140026bac
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x140026b81
cmp rax, r12
jb 0x140026ba3
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x1400266ed
mov r15, qword [r15]
test r15, r15
je 0x1400266ed
jmp 0x140026b8d
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x1401213c0]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1401332d7]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x42a
call fcn.1400754d0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140098080
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400eb280
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 0x140039652
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400b5304
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400a9970
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140027200
cmp byte [rsi + 0x17], 0
jns 0x140039624
mov rcx, qword [rsi]
call fcn.1400b4d44
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x140039652
mov rcx, qword [rsp + 0x30]
call fcn.1400b4d44
mov qword [rsp + 0x48], 0xa
mov al, byte [0x14015765a]
test al, al
jne 0x140039697
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.140097660
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400b7310
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx ecx, al
lea r8, [rsp + 0xa0]
mov qword [r8], 0
lea rdx, [rsp + 0x48]
mov r9d, 2
call fcn.1400754f0
jmp 0x140039665