Function at 0x14001f8f0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r12d, ecx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x64], ecx
mov eax, dword [0x1401fcc70]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001fc29
cmp r12d, 1
je 0x14001fce9
mov qword [rsp + 0x20], rsi
mov rdi, qword [0x1401fcc68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001fd0e
mov r8b, byte [rdi + 0x60]
movsxd r13, r12d
movabs r15, 0x5555555555555555
movabs r11, 0x3333333333333333
movabs r10, 0xf0f0f0f0f0f0f0f
movabs r9, 0x101010101010101
test r8b, r8b
jne 0x14001fa4c
mov rbp, qword [rdi + 0x10]
test rbp, rbp
je 0x14001fa4c
mov rax, rbp
shr rax, 1
and rax, r15
mov rcx, rbp
sub rcx, rax
mov rax, rcx
and rax, r11
shr rcx, 2
and rcx, r11
add rcx, rax
mov rsi, rcx
shr rsi, 4
add rsi, rcx
and rsi, r10
imul rsi, r9
shr rsi, 0x38
cmp rsi, 1
jbe 0x14001fb80
mov rcx, r13
cmp rbp, r13
ja 0x14001f9fb
mov rax, r13
xor edx, edx
div rbp
mov rcx, rdx
mov rax, qword [rdi + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14001fa4c
mov rbx, qword [rax]
test rbx, rbx
je 0x14001fa4c
lea r14, [rbp - 1]
mov rax, qword [rbx + 8]
cmp rax, r13
jne 0x14001fa29
cmp dword [rbx + 0x10], r12d
je 0x14001fb43
jmp 0x14001fa44
cmp esi, 1
jbe 0x14001fb8c
cmp rax, rbp
jb 0x14001fa3f
xor edx, edx
div rbp
mov rax, rdx
cmp rax, rcx
jne 0x14001fa4c
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14001fa14
mov dword [rsp + 0x68], r12d
mov rbx, qword [rdi + 0x38]
test rbx, rbx
jne 0x14001fb94
mov rbx, qword [rdi + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test rbx, rbx
je 0x14001faaa
lea rdx, [rsp + 0x40]
mov ecx, r12d
call qword [rbx]
test al, al
jne 0x14001faaa
lea rsi, [rsp + 0x40]
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14001faaa
mov ecx, dword [rsp + 0x64]
mov rdx, rsi
call qword [rbx]
test al, al
je 0x14001fa94
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14001fab8
mov rax, qword [rsp + 0x48]
test rax, rax
mov rsi, qword [rsp + 0x20]
je 0x14001fd5e
lea rcx, [rsp + 0x40]
call fcn.1400e0c40
test al, al
jne 0x14001fd1b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14001fdb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001fd65
cmp byte [rdi + 0x60], 0
jne 0x14001fb2b
lea rcx, [rdi + 8]
lea r8, [rsp + 0x64]
lea r9, [rsp + 0x68]
mov qword [r9], r8
lea rsi, [rsp + 0x28]
mov rdx, rsi
call fcn.14001fe10
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.14001fdb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x40]
call fcn.1400dcad0
jmp 0x14001fb60
add rbx, 0x18
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.14001fdb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rbp - 1]
and rcx, r13
jmp 0x14001f9fb
and rax, r14
jmp 0x14001fa3f
mov rax, rbx
shr rax, 1
and rax, r15
mov rcx, rbx
sub rcx, rax
mov rax, rcx
and rax, r11
shr rcx, 2
and rcx, r11
add rcx, rax
mov rbp, rcx
shr rbp, 4
add rbp, rcx
and rbp, r10
imul rbp, r9
shr rbp, 0x38
cmp rbp, 1
ja 0x14001fd72
lea rcx, [rbx - 1]
and rcx, r13
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14001fa5e
mov r15, qword [rax]
test r15, r15
je 0x14001fa5e
lea rsi, [rbx - 1]
mov rax, qword [r15 + 8]
cmp rax, r13
je 0x14001fc98
cmp ebp, 1
ja 0x14001fd8e
and rax, rsi
cmp rax, rcx
jne 0x14001fa5e
mov r15, qword [r15]
test r15, r15
jne 0x14001fbfa
jmp 0x14001fa5e
lea rcx, [0x1401fcc70]
call fcn.1400f0548
cmp dword [0x1401fcc70], 0xffffffff
jne 0x14001f93e
mov ecx, 0x68
call fcn.1400f045c
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], 0
mov ecx, 0x3f800000
mov dword [rax + 0x28], ecx
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov dword [rax + 0x50], ecx
mov byte [rax + 0x60], 0
lea rcx, [0x1401f6f50]
mov qword [rax + 0x58], rcx
mov qword [0x1401fcc68], rax
lea rcx, [0x1401fcc70]
call fcn.1400f07ac
jmp 0x14001f93e
cmp dword [r15 + 0x10], r12d
jne 0x14001fc1c
test r8b, r8b
jne 0x14001fcd8
lea rsi, [r15 + 0x18]
lea rcx, [rdi + 8]
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x28]
mov qword [r9], r8
lea rbx, [rsp + 0x40]
mov rdx, rbx
call fcn.14001fe10
mov rcx, qword [rbx]
add rcx, 0x18
mov rdx, rsi
call fcn.14001fdb0
add r15, 0x18
mov rcx, qword [rsp + 0x20]
mov rdx, r15
jmp 0x14001fb4f
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f32c0
mov rcx, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14003f8d0
mov rcx, rdi
call fcn.1400b0d10
jmp 0x14001f965
lea rsi, [rsp + 0x28]
lea rbx, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.140046d70
mov rcx, rbx
mov rdx, rsi
call fcn.1400ea020
mov rcx, rsi
call fcn.1400dcad0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14001fd50
mov rax, qword [rsp + 0x48]
test rax, rax
mov rsi, qword [rsp + 0x20]
jne 0x14001fad8
xor esi, esi
jmp 0x14001fb37
mov rcx, rdi
call fcn.1400b0d10
jmp 0x14001faf6
mov rcx, r13
cmp rbx, r13
ja 0x14001fbd9
mov rax, r13
xor edx, edx
div rbx
mov rcx, rdx
jmp 0x14001fbd9
cmp rax, rbx
jb 0x14001fc13
xor edx, edx
div rbx
mov rax, rdx
jmp 0x14001fc13