Function at 0x140028740
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 r14, rdx
mov r12d, ecx
mov rax, qword [0x14010c038]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x6c], ecx
mov eax, dword [0x140113910]
mov ecx, dword [0x14010f734]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140028aa6
cmp r12d, 1
je 0x140028b7e
mov r13, qword [0x140113908]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140028ba9
mov r10b, byte [r13 + 0x60]
movabs r11, 0x5555555555555555
movabs r15, 0x3333333333333333
movabs r8, 0xf0f0f0f0f0f0f0f
movabs rbx, 0x101010101010101
movsxd r9, r12d
test r10b, r10b
jne 0x1400288a7
mov rdi, qword [r13 + 0x10]
test rdi, rdi
je 0x1400288a7
mov rax, rdi
shr rax, 1
and rax, r11
mov rcx, rdi
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, r8
imul rbp, rbx
shr rbp, 0x38
cmp rbp, 1
jbe 0x1400289fd
mov rcx, r9
cmp rdi, r9
ja 0x14002884c
mov rax, r9
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [r13 + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400288a7
mov rsi, qword [rax]
test rsi, rsi
je 0x1400288a7
lea r8, [rdi - 1]
mov rax, qword [rsi + 8]
cmp rax, r9
jne 0x14002887a
cmp dword [rsi + 0x10], r12d
je 0x14002890e
jmp 0x140028895
cmp ebp, 1
jbe 0x140028a09
cmp rax, rdi
jb 0x140028890
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
jne 0x14002889d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140028865
movabs r8, 0xf0f0f0f0f0f0f0f
mov dword [rsp + 0x70], r12d
mov rcx, qword [r13 + 0x38]
test rcx, rcx
jne 0x140028a11
mov rdi, 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 [0x1400ec9c0]
movaps xmmword [rcx], xmm0
call fcn.140059ca0
test rdi, rdi
je 0x14002894f
lea rsi, [rsp + 0x50]
mov ecx, r12d
mov rdx, rsi
call qword [rdi]
test al, al
jne 0x14002894f
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x14002894f
mov r12d, dword [rsp + 0x6c]
jmp 0x1400288f2
add rsi, 0x18
mov rcx, r14
mov rdx, rsi
call fcn.140027370
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400797f0
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14002895d
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140028bf4
lea rcx, [rsp + 0x50]
call fcn.14005adc0
test al, al
jne 0x140028bb6
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140027370
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140028bfb
cmp byte [r13 + 0x60], 0
jne 0x1400289e2
lea rcx, [r13 + 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, [0x1400f2c77]
lea rsi, [rsp + 0x38]
mov rdx, rsi
call fcn.140028c40
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.140027370
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140059e20
jmp 0x140028929
lea rcx, [rdi - 1]
and rcx, r9
jmp 0x14002884c
and rax, r8
jmp 0x140028890
mov rax, rcx
shr rax, 1
and rax, r11
mov rdx, rcx
sub rdx, rax
mov rax, rdx
and rax, r15
shr rdx, 2
and rdx, r15
add rdx, rax
mov rsi, rdx
shr rsi, 4
add rsi, rdx
and rsi, r8
imul rsi, rbx
shr rsi, 0x38
cmp rsi, 1
ja 0x140028c08
lea r8, [rcx - 1]
and r8, r9
mov rax, qword [r13 + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x1400288b9
mov r15, qword [rax]
test r15, r15
je 0x1400288b9
lea rbp, [rcx - 1]
mov rax, qword [r15 + 8]
cmp rax, r9
je 0x140028b19
cmp esi, 1
ja 0x140028c24
and rax, rbp
cmp rax, r8
jne 0x1400288b9
mov r15, qword [r15]
test r15, r15
jne 0x140028a77
jmp 0x1400288b9
lea rcx, [0x140113910]
call fcn.140078a90
cmp dword [0x140113910], 0xffffffff
jne 0x140028794
mov ecx, 0x68
call fcn.140078938
mov rsi, rax
mov rcx, rax
call fcn.14005e210
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, [0x14010df88]
mov qword [rsi + 0x58], rax
mov qword [0x140113908], rsi
lea rcx, [0x140113910]
call fcn.140078b28
jmp 0x140028794
cmp dword [r15 + 0x10], r12d
jne 0x140028a99
test r10b, r10b
jne 0x140028b6f
lea rsi, [r15 + 0x18]
lea rcx, [r13 + 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, [0x1400f2c77]
lea rbx, [rsp + 0x50]
mov rdx, rbx
call fcn.140028c40
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rsi
call fcn.140027370
add r15, 0x18
mov rcx, r14
mov rdx, r15
jmp 0x140028918
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400797f0
mov rcx, r14
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x14002a520
mov rcx, r13
call fcn.14005e220
jmp 0x1400287b6
lea rsi, [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.1400298f0
mov rcx, rbx
mov rdx, rsi
call fcn.140059e30
mov rcx, rsi
call fcn.140059e20
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x140028beb
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140028978
xor esi, esi
jmp 0x1400289ee
mov rcx, r13
call fcn.14005e220
jmp 0x140028996
mov r8, r9
cmp rcx, r9
ja 0x140028a56
mov rax, r9
xor edx, edx
div rcx
mov r8, rdx
jmp 0x140028a56
cmp rax, rcx
jb 0x140028a90
xor edx, edx
div rcx
mov rax, rdx
jmp 0x140028a90
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov r14, rcx
mov rax, qword [0x14010c038]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x1400ec9c0]
lea rdi, [rsp + 0x60]
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, [0x1400f2f23]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x3aa
call fcn.140065cb0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140065ce0
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14007c0b0
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 0x14002a618
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.140092480
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140059d20
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400279c0
mov rcx, r14
mov rdx, rsi
call fcn.140059e30
mov rcx, rsi
call fcn.140059e20
mov rcx, rbx
call fcn.140059e20
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.140065e70
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400797f0
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret