Function at 0x140074aa0
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 [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], ecx
mov eax, dword [0x1401aa498]
mov ecx, dword [0x1401a559c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140053e7f
cmp ebx, 9
jne 0x140053a09
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140135280
mov rcx, r14
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140074aa0
mov r15, qword [0x1401aa490]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140053e5a
mov r8b, byte [r15 + 0x60]
movsxd r10, ebx
test r8b, r8b
je 0x140053ab4
mov dword [rsp + 0x78], ebx
mov rsi, qword [r15 + 0x38]
test rsi, rsi
je 0x140053c02
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 0x140053b2f
lea r9, [rsi - 1]
and r9, r10
jmp 0x140053b85
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x140053a31
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 0x140053b50
lea r9, [rcx - 1]
and r9, r10
jmp 0x140053ddd
mov r9, r10
cmp rsi, r10
ja 0x140053b85
mov rax, r10
or rax, rsi
shr rax, 0x20
je 0x140053b7c
mov rax, r10
xor edx, edx
div rsi
mov r9, rdx
jmp 0x140053b85
mov r9, r10
cmp rcx, r10
ja 0x140053ddd
mov rax, r10
or rax, rcx
shr rax, 0x20
je 0x140053dd4
mov rax, r10
xor edx, edx
div rcx
mov r9, rdx
jmp 0x140053ddd
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 0x140053c02
mov rdi, qword [rax]
test rdi, rdi
je 0x140053c02
lea r11, [rsi - 1]
jmp 0x140053bb1
cmp dword [rdi + 0x10], ebx
je 0x140053d64
mov rdi, qword [rdi]
test rdi, rdi
je 0x140053c02
mov rax, qword [rdi + 8]
cmp rax, r10
je 0x140053ba0
cmp ecx, 1
ja 0x140053bd0
and rax, r11
cmp rax, r9
je 0x140053ba9
jmp 0x140053c02
cmp rax, rsi
jb 0x140053bf0
mov rdx, rax
or rdx, rsi
shr rdx, 0x20
je 0x140053bf7
xor edx, edx
div rsi
mov rax, rdx
nop dword [rax]
cmp rax, r9
je 0x140053ba9
jmp 0x140053c02
xor edx, edx
div esi
mov eax, edx
cmp rax, r9
je 0x140053ba9
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 [0x140173f60]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140050320
test rdi, rdi
je 0x140053c5b
lea rsi, [rsp + 0x50]
nop
mov rax, qword [rdi]
mov ecx, ebx
mov rdx, rsi
call qword [0x1401bf010]
test al, al
jne 0x140053c5b
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140053c40
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x140053c69
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140053d37
lea rcx, [rsp + 0x50]
call fcn.1400524d0
test al, al
je 0x140053cbb
lea rsi, [rsp + 0x38]
lea rdi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call fcn.140073b20
mov rcx, rdi
mov rdx, rsi
call fcn.1400504f0
mov rcx, rsi
call fcn.140050480
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x140053cb6
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140053d37
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140050490
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140053e67
cmp byte [r15 + 0x60], 0
jne 0x140053d29
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, [0x14017e51d]
lea rdx, [rsp + 0x38]
call fcn.140054200
mov rcx, qword [rsp + 0x38]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.140050490
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x140053d39
xor esi, esi
lea rcx, [rsp + 0x50]
call fcn.140050480
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140135280
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r8b, r8b
jne 0x140053db4
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, [0x14017e51d]
lea rdx, [rsp + 0x50]
call fcn.140054200
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov rdx, rsi
call fcn.140050490
add rdi, 0x18
mov rcx, r14
mov rdx, rdi
call fcn.140050490
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x140053d43
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 0x140053a31
mov rdi, qword [rax]
test rdi, rdi
je 0x140053a31
lea r11, [rcx - 1]
jmp 0x140053e11
cmp dword [rdi + 0x10], ebx
je 0x140053db4
mov rdi, qword [rdi]
test rdi, rdi
je 0x140053a31
mov rax, qword [rdi + 8]
cmp rax, r10
je 0x140053e00
cmp esi, 1
ja 0x140053e24
and rax, r11
jmp 0x140053e50
cmp rax, rcx
jb 0x140053e50
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x140053e3f
xor edx, edx
div rcx
mov rax, rdx
jmp 0x140053e50
xor edx, edx
div ecx
mov eax, edx
nop word cs:[rax + rax]
nop
cmp rax, r9
je 0x140053e05
jmp 0x140053a31
mov rcx, r15
call fcn.140088520
jmp 0x140053a21
mov rcx, r15
call fcn.140088520
cmp byte [r15 + 0x60], 0
jne 0x140053d29
jmp 0x140053ce0
lea rcx, [0x1401aa498]
call fcn.140134af0
cmp dword [0x1401aa498], 0xffffffff
jne 0x1400539de
mov ecx, 0x68
call fcn.140134998
mov rsi, rax
mov rcx, rax
call fcn.140054180
mov qword [0x1401aa490], rsi
lea rcx, [0x1401aa498]
call fcn.140134b88
jmp 0x1400539de
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x140173f60]
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, [0x14017fc4e]
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r9d, 0x391
call fcn.1400651f0
lea rcx, [rsp + 0x270]
mov rdx, rdi
xor r8d, r8d
call fcn.1400bbe30
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140138090
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 0x140074bbf
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.140151168
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400503a0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.140052450
mov rcx, r14
mov rdx, rsi
call fcn.1400504f0
mov rcx, rsi
call fcn.140050480
mov rcx, rbx
call fcn.140050480
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.1400bc150
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140135280
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret