Function at 0x140060700
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, rdx
mov r12d, ecx
mov rax, qword [0x140131038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x5c], ecx
mov eax, dword [0x140137610]
mov ecx, dword [0x140134a78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400609ab
cmp r12d, 1
je 0x140060a71
mov r15, qword [0x140137608]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140060a64
cmp byte [r15 + 0x60], 0
jne 0x140060853
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x140060853
movsxd rsi, r12d
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
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 rbp, 0x101010101010101
imul rbp, rax
shr rbp, 0x38
cmp rbp, 1
jbe 0x140060997
mov rcx, rsi
cmp rbx, rsi
ja 0x140060802
mov rax, rsi
xor edx, edx
div rbx
mov rcx, rdx
mov rax, qword [r15 + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140060853
mov rdi, qword [rax]
test rdi, rdi
je 0x140060853
lea r8, [rbx - 1]
mov rax, qword [rdi + 8]
cmp rax, rsi
jne 0x140060830
cmp dword [rdi + 0x10], r12d
je 0x14006095e
jmp 0x14006084b
cmp ebp, 1
jbe 0x1400609a3
cmp rax, rbx
jb 0x140060846
xor edx, edx
div rbx
mov rax, rdx
cmp rax, rcx
jne 0x140060853
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14006081b
lea rdi, [rsp + 0x60]
mov dword [rdi], r12d
lea rcx, [r15 + 0x30]
lea rsi, [rsp + 0x40]
mov rdx, rsi
mov r8, rdi
call fcn.1400b8bf0
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140060a1e
mov rdi, qword [r15 + 0x58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1401146a0]
movaps xmmword [rcx], xmm0
call fcn.1400371b0
test rdi, rdi
je 0x1400608c9
lea rsi, [rsp + 0x40]
mov ecx, r12d
mov rdx, rsi
call qword [rdi]
test al, al
jne 0x1400608c9
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x1400608b4
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x1400608d7
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140060ad2
lea rcx, [rsp + 0x40]
call fcn.140060bf0
test al, al
jne 0x140060a94
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140060af0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140060ad9
cmp byte [r15 + 0x60], 0
jne 0x140060946
lea rcx, [r15 + 8]
lea r8, [rsp + 0x5c]
lea r9, [rsp + 0x60]
mov qword [r9], r8
lea rsi, [rsp + 0x28]
mov rdx, rsi
call fcn.1400b8d00
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.140060af0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x40]
call fcn.14004e350
jmp 0x140060979
add rdi, 0x18
mov rcx, r14
mov rdx, rdi
call fcn.140060af0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140079ea0
mov eax, esi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rbx - 1]
and rcx, rsi
jmp 0x140060802
and rax, r8
jmp 0x140060846
lea rcx, [0x140137610]
call fcn.140076f64
cmp dword [0x140137610], 0xffffffff
jne 0x14006074c
mov ecx, 0x68
call fcn.140076ec8
mov rsi, rax
mov rcx, rax
call fcn.1400587c0
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, [0x140132ea8]
mov qword [rsi + 0x58], rax
mov qword [0x140137608], rsi
lea rcx, [0x140137610]
call fcn.140076f04
jmp 0x14006074c
cmp byte [r15 + 0x60], 0
jne 0x140060a55
lea rbx, [rsi + 0x18]
lea rcx, [r15 + 8]
lea r9, [rsp + 0x28]
mov qword [r9], rdi
lea r12, [rsp + 0x40]
mov rdx, r12
mov r8, rdi
call fcn.1400b8d00
mov rcx, qword [r12]
add rcx, 0x18
mov rdx, rbx
call fcn.140060af0
add rsi, 0x18
mov rcx, r14
mov rdx, rsi
jmp 0x140060968
mov rcx, r15
call fcn.14003e480
jmp 0x14006076e
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140079ea0
mov rcx, r14
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1400b4960
lea rsi, [rsp + 0x28]
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.1400c5600
mov rcx, rdi
mov rdx, rsi
call fcn.140068e80
mov rcx, rsi
call fcn.14004e350
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140060ac9
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400608f2
xor esi, esi
jmp 0x140060952
mov rcx, r15
call fcn.14003e480
jmp 0x140060910