Function at 0x140028fb0
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 [0x140114040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], ecx
mov eax, dword [0x1401257a0]
mov ecx, dword [0x140122718]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001dbf5
cmp esi, 9
je 0x14001de0f
mov rdi, qword [0x140125798]
mov rax, qword [0x1401165a0]
and rax, rdi
cmp rax, qword [0x140116588]
jne 0x14001d7f8
mov rcx, rdi
call fcn.1400562e0
test rdi, rdi
je 0x14001ddb7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001dd33
mov r9b, byte [rdi + 0x60]
movsxd rcx, esi
movabs r15, 0x5555555555555555
movabs r14, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
test r9b, r9b
jne 0x14001d9bc
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x14001d9bc
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 0x14001d978
mov r8, rcx
cmp r12, rcx
ja 0x14001d8a8
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 0x14001d9bc
mov r13, qword [rax]
test r13, r13
je 0x14001d9bc
cmp ebp, 2
jb 0x14001d985
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x14001d99d
cmp dword [r13 + 0x10], esi
jne 0x14001d9af
lea rdx, [r13 + 0x18]
cmp rdx, rbx
je 0x14001d912
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r13 + 0x2f]
js 0x14001dc7e
test r8b, r8b
jns 0x14001d968
mov rdx, qword [r13 + 0x18]
mov r8, qword [r13 + 0x20]
mov rcx, rbx
call fcn.14000d6f0
xor r14d, r14d
xor r15d, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401165a0]
and rax, rdi
cmp rax, qword [0x140116588]
jne 0x14001d93c
mov rcx, rdi
call fcn.1400565a0
mov bpl, 1
test r14b, r14b
jne 0x14001d9ec
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400941a0
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 0x14001d912
lea r8, [r12 - 1]
and r8, rcx
jmp 0x14001d8a8
dec r12
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x14001d9d9
cmp dword [r13 + 0x10], esi
je 0x14001d8e5
jmp 0x14001d9e1
cmp rax, r12
jb 0x14001d9aa
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x14001d9bc
mov r13, qword [r13]
test r13, r13
jne 0x14001d8ce
mov dword [rsp + 0x28], esi
mov r12, qword [rdi + 0x38]
test r12, r12
jne 0x14001db5e
mov r15, qword [rdi + 0x58]
mov r14b, 1
jmp 0x14001d918
and rax, r12
cmp rax, r8
jne 0x14001d9bc
mov r13, qword [r13]
test r13, r13
jne 0x14001d988
jmp 0x14001d9bc
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test r15, r15
je 0x14001da37
lea r14, [rsp + 0x40]
mov rax, qword [r15]
mov ecx, esi
mov rdx, r14
call qword [str.P:_f_]
test al, al
jne 0x14001da37
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14001da07
jmp 0x14001da37
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x14001da8f
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14001da45
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14001de08
lea r14, [rsp + 0x40]
mov rcx, r14
call fcn.140015f70
test al, al
jne 0x14001ddba
cmp r14, rbx
je 0x14001da8f
cmp byte [rbx + 0x17], 0
movzx r8d, byte [rsp + 0x57]
js 0x14001dd6b
test r8b, r8b
jns 0x14001da24
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14000d6f0
mov rax, qword [0x1401165a0]
and rax, rdi
cmp rax, qword [0x140116588]
jne 0x14001daaa
mov rcx, rdi
call fcn.1400562e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001dd41
cmp byte [rdi + 0x60], 0
jne 0x14001db0a
lea rcx, [rdi + 8]
lea rbx, [rsp + 0x28]
lea r9, [rsp + 0x5c]
mov rdx, rbx
mov r8d, esi
call fcn.14001dea0
mov rax, qword [rbx]
lea rcx, [rax + 0x18]
cmp rcx, r14
je 0x14001db0a
cmp byte [rax + 0x2f], 0
movzx r8d, byte [rsp + 0x57]
js 0x14001dd4f
test r8b, r8b
jns 0x14001db4b
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.14000d6f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401165a0]
and rax, rdi
mov bpl, 1
cmp rax, qword [0x140116588]
jne 0x14001db31
mov rcx, rdi
call fcn.1400565a0
cmp byte [rsp + 0x57], 0
jns 0x14001d948
mov rcx, qword [rsp + 0x40]
call fcn.140092084
jmp 0x14001d948
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x14001db0a
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 0x14001de34
lea r8, [r12 - 1]
and r8, rcx
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14001d9cd
mov r15, qword [rax]
test r15, r15
je 0x14001d9cd
cmp r14d, 2
jae 0x14001de6d
dec r12
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x14001dc98
and rax, r12
cmp rax, r8
jne 0x14001d9cd
mov r15, qword [r15]
test r15, r15
je 0x14001d9cd
jmp 0x14001dbce
lea rcx, [0x1401257a0]
call fcn.140092134
cmp dword [0x1401257a0], 0xffffffff
jne 0x14001d7cd
mov ecx, 0x68
call fcn.14009208c
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, [0x140116518]
mov rax, qword [0x1401165a0]
and rax, r14
cmp rax, qword [0x140116588]
je 0x14001de50
mov qword [rdi + 0x58], r14
mov qword [0x140125798], rdi
lea rcx, [0x1401257a0]
call fcn.1400920c8
jmp 0x14001d7cd
test r8b, r8b
jns 0x14001dc8b
mov r8, qword [r13 + 0x20]
mov rdx, qword [r13 + 0x18]
mov rcx, rbx
call fcn.14000d7b0
jmp 0x14001d912
cmp dword [r15 + 0x10], esi
jne 0x14001dbe7
test r9b, r9b
jne 0x14001dcf1
lea rcx, [rdi + 8]
lea r14, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, r14
mov r8d, esi
call fcn.14001dea0
mov rax, qword [r14]
cmp rax, r15
je 0x14001dcf1
lea rdx, [r15 + 0x18]
lea rcx, [rax + 0x18]
cmp byte [rax + 0x2f], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14001dd8a
test r8b, r8b
jns 0x14001dd23
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
call fcn.14000d6f0
lea rdx, [r15 + 0x18]
cmp rdx, rbx
je 0x14001d912
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14001dda1
test r8b, r8b
jns 0x14001d968
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
jmp 0x14001d90a
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x14001dcf1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14001d812
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14001dabb
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
cmovs r14, qword [rsp + 0x40]
mov rdx, r14
call fcn.14000d7b0
jmp 0x14001db0a
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
cmovns rdx, r14
mov rcx, rbx
call fcn.14000d7b0
jmp 0x14001da8f
test r8b, r8b
jns 0x14001dd97
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
call fcn.14000d7b0
jmp 0x14001dcf1
test r8b, r8b
jns 0x14001dc8b
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
jmp 0x14001dc8b
int3
lea rcx, [rsp + 0x28]
lea r15, [rsp + 0x40]
mov rdx, r15
call fcn.140023a10
cmp byte [r15 + 0x17], 0
jns 0x14001dddd
mov rcx, qword [rsp + 0x40]
call fcn.140092084
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 0x14001ddff
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14001da63
xor ebp, ebp
jmp 0x14001db31
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400941a0
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140028fb0
mov r8, rcx
cmp r12, rcx
ja 0x14001dba4
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
jmp 0x14001dba4
lea rcx, [0x140116518]
call fcn.140056440
jmp 0x14001dc62
cmp dword [r15 + 0x10], esi
je 0x14001dca2
jmp 0x14001de8c
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x14001de61
cmp rax, r12
jb 0x14001de83
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x14001d9cd
mov r15, qword [r15]
test r15, r15
je 0x14001d9cd
jmp 0x14001de6d
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x1400f3bf0]
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, [0x14010452d]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x42a
call fcn.140057f70
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140075ed0
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400c42d0
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 0x1400290c2
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140092644
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140088350
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14001eba0
cmp byte [rsi + 0x17], 0
jns 0x140029094
mov rcx, qword [rsi]
call fcn.140092084
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 0x1400290c2
mov rcx, qword [rsp + 0x30]
call fcn.140092084
mov qword [rsp + 0x48], 0xa
mov al, byte [0x14012560a]
test al, al
jne 0x140029107
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.1400754b0
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400941a0
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.140057f90
jmp 0x1400290d5