Function at 0x14001d800
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 [0x140113040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], ecx
mov eax, dword [0x1401247a0]
mov ecx, dword [0x140121718]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001dc75
cmp esi, 9
je 0x14001de8f
mov rdi, qword [0x140124798]
mov rax, qword [0x1401155a0]
and rax, rdi
cmp rax, qword [0x140115588]
jne 0x14001d878
mov rcx, rdi
call fcn.1400566f0
test rdi, rdi
je 0x14001de37
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001ddb3
mov r9b, byte [rdi + 0x60]
movsxd rcx, esi
movabs r15, 0x5555555555555555
movabs r14, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
test r9b, r9b
jne 0x14001da3c
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x14001da3c
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 0x14001d9f8
mov r8, rcx
cmp r12, rcx
ja 0x14001d928
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 0x14001da3c
mov r13, qword [rax]
test r13, r13
je 0x14001da3c
cmp ebp, 2
jb 0x14001da05
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x14001da1d
cmp dword [r13 + 0x10], esi
jne 0x14001da2f
lea rdx, [r13 + 0x18]
cmp rdx, rbx
je 0x14001d992
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r13 + 0x2f]
js 0x14001dcfe
test r8b, r8b
jns 0x14001d9e8
mov rdx, qword [r13 + 0x18]
mov r8, qword [r13 + 0x20]
mov rcx, rbx
call fcn.14000d640
xor r14d, r14d
xor r15d, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401155a0]
and rax, rdi
cmp rax, qword [0x140115588]
jne 0x14001d9bc
mov rcx, rdi
call fcn.1400569b0
mov bpl, 1
test r14b, r14b
jne 0x14001da6c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400935c0
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 0x14001d992
lea r8, [r12 - 1]
and r8, rcx
jmp 0x14001d928
dec r12
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x14001da59
cmp dword [r13 + 0x10], esi
je 0x14001d965
jmp 0x14001da61
cmp rax, r12
jb 0x14001da2a
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x14001da3c
mov r13, qword [r13]
test r13, r13
jne 0x14001d94e
mov dword [rsp + 0x28], esi
mov r12, qword [rdi + 0x38]
test r12, r12
jne 0x14001dbde
mov r15, qword [rdi + 0x58]
mov r14b, 1
jmp 0x14001d998
and rax, r12
cmp rax, r8
jne 0x14001da3c
mov r13, qword [r13]
test r13, r13
jne 0x14001da08
jmp 0x14001da3c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test r15, r15
je 0x14001dab7
lea r14, [rsp + 0x40]
mov rax, qword [r15]
mov ecx, esi
mov rdx, r14
call qword [0x140109830]
test al, al
jne 0x14001dab7
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14001da87
jmp 0x14001dab7
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x14001db0f
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14001dac5
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14001de88
lea r14, [rsp + 0x40]
mov rcx, r14
call fcn.140014aa0
test al, al
jne 0x14001de3a
cmp r14, rbx
je 0x14001db0f
cmp byte [rbx + 0x17], 0
movzx r8d, byte [rsp + 0x57]
js 0x14001ddeb
test r8b, r8b
jns 0x14001daa4
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14000d640
mov rax, qword [0x1401155a0]
and rax, rdi
cmp rax, qword [0x140115588]
jne 0x14001db2a
mov rcx, rdi
call fcn.1400566f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001ddc1
cmp byte [rdi + 0x60], 0
jne 0x14001db8a
lea rcx, [rdi + 8]
lea rbx, [rsp + 0x28]
lea r9, [rsp + 0x5c]
mov rdx, rbx
mov r8d, esi
call fcn.14001df20
mov rax, qword [rbx]
lea rcx, [rax + 0x18]
cmp rcx, r14
je 0x14001db8a
cmp byte [rax + 0x2f], 0
movzx r8d, byte [rsp + 0x57]
js 0x14001ddcf
test r8b, r8b
jns 0x14001dbcb
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.14000d640
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401155a0]
and rax, rdi
mov bpl, 1
cmp rax, qword [0x140115588]
jne 0x14001dbb1
mov rcx, rdi
call fcn.1400569b0
cmp byte [rsp + 0x57], 0
jns 0x14001d9c8
mov rcx, qword [rsp + 0x40]
call fcn.1400914a4
jmp 0x14001d9c8
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x14001db8a
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 0x14001deb4
lea r8, [r12 - 1]
and r8, rcx
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14001da4d
mov r15, qword [rax]
test r15, r15
je 0x14001da4d
cmp r14d, 2
jae 0x14001deed
dec r12
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x14001dd18
and rax, r12
cmp rax, r8
jne 0x14001da4d
mov r15, qword [r15]
test r15, r15
je 0x14001da4d
jmp 0x14001dc4e
lea rcx, [0x1401247a0]
call fcn.140091554
cmp dword [0x1401247a0], 0xffffffff
jne 0x14001d84d
mov ecx, 0x68
call fcn.1400914ac
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, [0x140115518]
mov rax, qword [0x1401155a0]
and rax, r14
cmp rax, qword [0x140115588]
je 0x14001ded0
mov qword [rdi + 0x58], r14
mov qword [0x140124798], rdi
lea rcx, [0x1401247a0]
call fcn.1400914e8
jmp 0x14001d84d
test r8b, r8b
jns 0x14001dd0b
mov r8, qword [r13 + 0x20]
mov rdx, qword [r13 + 0x18]
mov rcx, rbx
call fcn.14000d700
jmp 0x14001d992
cmp dword [r15 + 0x10], esi
jne 0x14001dc67
test r9b, r9b
jne 0x14001dd71
lea rcx, [rdi + 8]
lea r14, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, r14
mov r8d, esi
call fcn.14001df20
mov rax, qword [r14]
cmp rax, r15
je 0x14001dd71
lea rdx, [r15 + 0x18]
lea rcx, [rax + 0x18]
cmp byte [rax + 0x2f], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14001de0a
test r8b, r8b
jns 0x14001dda3
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
call fcn.14000d640
lea rdx, [r15 + 0x18]
cmp rdx, rbx
je 0x14001d992
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14001de21
test r8b, r8b
jns 0x14001d9e8
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
jmp 0x14001d98a
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x14001dd71
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14001d892
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14001db3b
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
cmovs r14, qword [rsp + 0x40]
mov rdx, r14
call fcn.14000d700
jmp 0x14001db8a
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
cmovns rdx, r14
mov rcx, rbx
call fcn.14000d700
jmp 0x14001db0f
test r8b, r8b
jns 0x14001de17
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
call fcn.14000d700
jmp 0x14001dd71
test r8b, r8b
jns 0x14001dd0b
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
jmp 0x14001dd0b
int3
lea rcx, [rsp + 0x28]
lea r15, [rsp + 0x40]
mov rdx, r15
call fcn.140023a50
cmp byte [r15 + 0x17], 0
jns 0x14001de5d
mov rcx, qword [rsp + 0x40]
call fcn.1400914a4
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 0x14001de7f
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14001dae3
xor ebp, ebp
jmp 0x14001dbb1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400935c0
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140029250
mov r8, rcx
cmp r12, rcx
ja 0x14001dc24
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
jmp 0x14001dc24
lea rcx, [0x140115518]
call fcn.140056850
jmp 0x14001dce2
cmp dword [r15 + 0x10], esi
je 0x14001dd22
jmp 0x14001df0c
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x14001dee1
cmp rax, r12
jb 0x14001df03
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x14001da4d
mov r15, qword [r15]
test r15, r15
je 0x14001da4d
jmp 0x14001deed
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x1400f2c30]
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, [0x14010356d]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x42a
call fcn.140058330
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14007ac80
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400c39c0
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 0x140029362
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140091a84
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400881d0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14001ec20
cmp byte [rsi + 0x17], 0
jns 0x140029334
mov rcx, qword [rsi]
call fcn.1400914a4
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 0x140029362
mov rcx, qword [rsp + 0x30]
call fcn.1400914a4
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14007a7a0
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400935c0
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret