Function at 0x140028b40
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 [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x6c], ecx
mov eax, dword [0x1400ec658]
mov ecx, dword [0x1400e843c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140027196
cmp r12d, 1
je 0x14002726e
mov r13, qword [0x1400ec650]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140027299
mov r10b, byte [r13 + 0x60]
movabs r11, 0x5555555555555555
movabs r15, 0x3333333333333333
movabs r8, 0xf0f0f0f0f0f0f0f
movabs rbx, 0x101010101010101
movsxd r9, r12d
test r10b, r10b
jne 0x140026f97
mov rdi, qword [r13 + 0x10]
test rdi, rdi
je 0x140026f97
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 0x1400270ed
mov rcx, r9
cmp rdi, r9
ja 0x140026f3c
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 0x140026f97
mov rsi, qword [rax]
test rsi, rsi
je 0x140026f97
lea r8, [rdi - 1]
mov rax, qword [rsi + 8]
cmp rax, r9
jne 0x140026f6a
cmp dword [rsi + 0x10], r12d
je 0x140026ffe
jmp 0x140026f85
cmp ebp, 1
jbe 0x1400270f9
cmp rax, rdi
jb 0x140026f80
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
jne 0x140026f8d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140026f55
movabs r8, 0xf0f0f0f0f0f0f0f
mov dword [rsp + 0x70], r12d
mov rcx, qword [r13 + 0x38]
test rcx, rcx
jne 0x140027101
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 [0x1400ca990]
movaps xmmword [rcx], xmm0
call fcn.140044e50
test rdi, rdi
je 0x14002703f
lea rsi, [rsp + 0x50]
mov ecx, r12d
mov rdx, rsi
call qword [rdi]
test al, al
jne 0x14002703f
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x14002703f
mov r12d, dword [rsp + 0x6c]
jmp 0x140026fe2
add rsi, 0x18
mov rcx, r14
mov rdx, rsi
call fcn.140025650
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005e850
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 0x14002704d
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400272e4
lea rcx, [rsp + 0x50]
call fcn.140045f30
test al, al
jne 0x1400272a6
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140025650
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400272eb
cmp byte [r13 + 0x60], 0
jne 0x1400270d2
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, [0x1400cfc26]
lea rsi, [rsp + 0x38]
mov rdx, rsi
call fcn.140027330
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.140025650
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140044f90
jmp 0x140027019
lea rcx, [rdi - 1]
and rcx, r9
jmp 0x140026f3c
and rax, r8
jmp 0x140026f80
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 0x1400272f8
lea r8, [rcx - 1]
and r8, r9
mov rax, qword [r13 + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x140026fa9
mov r15, qword [rax]
test r15, r15
je 0x140026fa9
lea rbp, [rcx - 1]
mov rax, qword [r15 + 8]
cmp rax, r9
je 0x140027209
cmp esi, 1
ja 0x140027314
and rax, rbp
cmp rax, r8
jne 0x140026fa9
mov r15, qword [r15]
test r15, r15
jne 0x140027167
jmp 0x140026fa9
lea rcx, [0x1400ec658]
call fcn.14005dc30
cmp dword [0x1400ec658], 0xffffffff
jne 0x140026e84
mov ecx, 0x68
call fcn.14005dad8
mov rsi, rax
mov rcx, rax
call fcn.14004bf70
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, [0x1400e6f80]
mov qword [rsi + 0x58], rax
mov qword [0x1400ec650], rsi
lea rcx, [0x1400ec658]
call fcn.14005dcc8
jmp 0x140026e84
cmp dword [r15 + 0x10], r12d
jne 0x140027189
test r10b, r10b
jne 0x14002725f
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, [0x1400cfc26]
lea rbx, [rsp + 0x50]
mov rdx, rbx
call fcn.140027330
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rsi
call fcn.140025650
add r15, 0x18
mov rcx, r14
mov rdx, r15
jmp 0x140027008
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005e850
mov rcx, r14
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140028b40
mov rcx, r13
call fcn.14004bf80
jmp 0x140026ea6
lea rsi, [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.140028640
mov rcx, rbx
mov rdx, rsi
call fcn.140044fa0
mov rcx, rsi
call fcn.140044f90
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x1400272db
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140027068
xor esi, esi
jmp 0x1400270de
mov rcx, r13
call fcn.14004bf80
jmp 0x140027086
mov r8, r9
cmp rcx, r9
ja 0x140027146
mov rax, r9
xor edx, edx
div rcx
mov r8, rdx
jmp 0x140027146
cmp rax, rcx
jb 0x140027180
xor edx, edx
div rcx
mov rax, rdx
jmp 0x140027180
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov r14, rcx
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x1400ca990]
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, [0x1400cfcd5]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x3aa
call fcn.14004acb0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004b310
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400611e0
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 0x140028c38
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.140076a78
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140044e90
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400256b0
mov rcx, r14
mov rdx, rsi
call fcn.140044fa0
mov rcx, rsi
call fcn.140044f90
mov rcx, rbx
call fcn.140044f90
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14004b4a0
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14005e850
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret