Function at 0x140053bb0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov r14, rdx
mov ebx, ecx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], ecx
mov eax, dword [0x1401ac498]
mov ecx, dword [0x1401a759c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005409f
cmp ebx, 9
jne 0x140053c29
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140137110
mov rcx, r14
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140075cc0
mov r15, qword [0x1401ac490]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14005407a
mov r8b, byte [r15 + 0x60]
movsxd r10, ebx
test r8b, r8b
je 0x140053cd4
mov dword [rsp + 0x78], ebx
mov rsi, qword [r15 + 0x38]
test rsi, rsi
je 0x140053e22
mov rax, rsi
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rsi
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rcx, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
cmp rcx, 1
ja 0x140053d4f
lea r9, [rsi - 1]
and r9, r10
jmp 0x140053da5
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x140053c51
mov rax, rcx
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rcx
sub rax, rdx
movabs rdx, 0x3333333333333333
mov rdi, rax
and rdi, rdx
shr rax, 2
and rax, rdx
add rax, rdi
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs rsi, 0x101010101010101
imul rsi, rax
shr rsi, 0x38
cmp rsi, 1
ja 0x140053d70
lea r9, [rcx - 1]
and r9, r10
jmp 0x140053ffd
mov r9, r10
cmp rsi, r10
ja 0x140053da5
mov rax, r10
or rax, rsi
shr rax, 0x20
je 0x140053d9c
mov rax, r10
xor edx, edx
div rsi
mov r9, rdx
jmp 0x140053da5
mov r9, r10
cmp rcx, r10
ja 0x140053ffd
mov rax, r10
or rax, rcx
shr rax, 0x20
je 0x140053ff4
mov rax, r10
xor edx, edx
div rcx
mov r9, rdx
jmp 0x140053ffd
mov eax, ebx
xor edx, edx
div esi
mov r9d, edx
mov rax, qword [r15 + 0x30]
mov rax, qword [rax + r9*8]
test rax, rax
je 0x140053e22
mov rdi, qword [rax]
test rdi, rdi
je 0x140053e22
lea r11, [rsi - 1]
jmp 0x140053dd1
cmp dword [rdi + 0x10], ebx
je 0x140053f84
mov rdi, qword [rdi]
test rdi, rdi
je 0x140053e22
mov rax, qword [rdi + 8]
cmp rax, r10
je 0x140053dc0
cmp ecx, 1
ja 0x140053df0
and rax, r11
cmp rax, r9
je 0x140053dc9
jmp 0x140053e22
cmp rax, rsi
jb 0x140053e10
mov rdx, rax
or rdx, rsi
shr rdx, 0x20
je 0x140053e17
xor edx, edx
div rsi
mov rax, rdx
nop dword [rax]
cmp rax, r9
je 0x140053dc9
jmp 0x140053e22
xor edx, edx
div esi
mov eax, edx
cmp rax, r9
je 0x140053dc9
mov rdi, qword [r15 + 0x58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140050540
test rdi, rdi
je 0x140053e7b
lea rsi, [rsp + 0x50]
nop
mov rax, qword [rdi]
mov ecx, ebx
mov rdx, rsi
call qword [0x1401c1010]
test al, al
jne 0x140053e7b
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140053e60
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x140053e89
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140053f57
lea rcx, [rsp + 0x50]
call fcn.1400526f0
test al, al
je 0x140053edb
lea rsi, [rsp + 0x38]
lea rdi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call fcn.140074d40
mov rcx, rdi
mov rdx, rsi
call fcn.140050710
mov rcx, rsi
call fcn.1400506a0
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x140053ed6
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140053f57
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400506b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140054087
cmp byte [r15 + 0x60], 0
jne 0x140053f49
lea rcx, [r15 + 8]
lea r8, [rsp + 0x74]
mov qword [rsp + 0x78], r8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x14018051d]
lea rdx, [rsp + 0x38]
call fcn.140054420
mov rcx, qword [rsp + 0x38]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.1400506b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x140053f59
xor esi, esi
lea rcx, [rsp + 0x50]
call fcn.1400506a0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r8b, r8b
jne 0x140053fd4
lea rsi, [rdi + 0x18]
lea rcx, [r15 + 8]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x38], r8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x14018051d]
lea rdx, [rsp + 0x50]
call fcn.140054420
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov rdx, rsi
call fcn.1400506b0
add rdi, 0x18
mov rcx, r14
mov rdx, rdi
call fcn.1400506b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x140053f63
mov eax, ebx
xor edx, edx
div ecx
mov r9d, edx
mov rax, qword [r15 + 8]
mov rax, qword [rax + r9*8]
test rax, rax
je 0x140053c51
mov rdi, qword [rax]
test rdi, rdi
je 0x140053c51
lea r11, [rcx - 1]
jmp 0x140054031
cmp dword [rdi + 0x10], ebx
je 0x140053fd4
mov rdi, qword [rdi]
test rdi, rdi
je 0x140053c51
mov rax, qword [rdi + 8]
cmp rax, r10
je 0x140054020
cmp esi, 1
ja 0x140054044
and rax, r11
jmp 0x140054070
cmp rax, rcx
jb 0x140054070
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x14005405f
xor edx, edx
div rcx
mov rax, rdx
jmp 0x140054070
xor edx, edx
div ecx
mov eax, edx
nop word cs:[rax + rax]
nop
cmp rax, r9
je 0x140054025
jmp 0x140053c51
mov rcx, r15
call fcn.14008a1b0
jmp 0x140053c41
mov rcx, r15
call fcn.14008a1b0
cmp byte [r15 + 0x60], 0
jne 0x140053f49
jmp 0x140053f00
lea rcx, [0x1401ac498]
call fcn.140136980
cmp dword [0x1401ac498], 0xffffffff
jne 0x140053bfe
mov ecx, 0x68
call fcn.140136828
mov rsi, rax
mov rcx, rax
call fcn.1400543a0
mov qword [0x1401ac490], rsi
lea rcx, [0x1401ac498]
call fcn.140136a18
jmp 0x140053bfe
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rsp + 0x2b0], xmm0
movaps xmmword [rsp + 0x2a0], xmm0
movaps xmmword [rsp + 0x290], xmm0
movaps xmmword [rsp + 0x280], xmm0
movaps xmmword [rsp + 0x270], xmm0
lea rdx, [0x140181c5e]
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r9d, 0x391
call fcn.140066190
lea rcx, [rsp + 0x270]
mov rdx, rdi
xor r8d, r8d
call fcn.1400bdcc0
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140139f20
mov word [rsp + 0x60], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
add edi, 0xfffffefb
cmp edi, 0xfffffefc
jb 0x140075ddf
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.140152ff8
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400505c0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.140052670
mov rcx, r14
mov rdx, rsi
call fcn.140050710
mov rcx, rsi
call fcn.1400506a0
mov rcx, rbx
call fcn.1400506a0
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.1400bdfe0
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140137110
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret