Function at 0x14003c2f0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rdi, rdx
mov ebp, ecx
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], ecx
call fcn.14005f540
cmp ebp, 9
je 0x14003c59f
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003c4d4
mov dword [rsp + 0x38], ebp
cmp byte [rsi + 0x60], 0
jne 0x14003c366
lea rcx, [rsi + 8]
lea rbx, [rsp + 0x50]
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.14005f640
mov rdx, qword [rbx]
test rdx, rdx
jne 0x14003c3e3
lea rbx, [rsp + 0x78]
mov dword [rbx], ebp
lea rcx, [rsi + 0x30]
lea r14, [rsp + 0x50]
mov rdx, r14
mov r8, rbx
call fcn.14005f730
mov r14, qword [r14]
test r14, r14
jne 0x14003c4ee
mov r15, qword [rsi + 0x58]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x14011cbd0]
movaps xmmword [rcx], xmm0
call fcn.140043e00
test r15, r15
je 0x14003c400
lea r14, [rsp + 0x50]
mov rax, qword [r15]
mov ecx, ebp
mov rdx, r14
call qword [0x14016a008]
test al, al
jne 0x14003c400
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14003c3c6
jmp 0x14003c400
add rdx, 0x18
mov rcx, rdi
call fcn.140044190
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x14003c4b0
movzx eax, byte [rsp + 0x67]
test al, al
js 0x14003c40e
and eax, 0x7f
jmp 0x14003c413
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14003c547
lea rcx, [rsp + 0x50]
call fcn.140062fb0
test al, al
jne 0x14003c503
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140044190
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003c4e1
cmp byte [rsi + 0x60], 0
jne 0x14003c49a
mov rcx, rsi
add rcx, 8
lea r8, [rsp + 0x74]
mov qword [rsp + 0x78], r8
lea rax, [rsp + 0x87]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [0x140120697]
lea rdi, [rsp + 0x38]
mov rdx, rdi
call fcn.14005f840
mov rcx, qword [rdi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.140044190
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140044180
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400843b0
mov eax, esi
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14003c33e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14003c44c
cmp byte [rsi + 0x60], 0
je 0x14003c54e
add r14, 0x18
mov rcx, rdi
mov rdx, r14
jmp 0x14003c3ea
lea r14, [rsp + 0x38]
lea r15, [rsp + 0x50]
mov rcx, r14
mov rdx, r15
call fcn.14007e690
mov rcx, r15
mov rdx, r14
call fcn.140044300
mov rcx, r14
call fcn.140044180
movzx eax, byte [r15 + 0x17]
test al, al
js 0x14003c539
and eax, 0x7f
jmp 0x14003c53e
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14003c42e
xor esi, esi
jmp 0x14003c4a6
lea r15, [r14 + 0x18]
mov rcx, rsi
add rcx, 8
lea rax, [rsp + 0x38]
mov qword [rax], rbx
lea rdx, [rsp + 0x87]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [0x140120697]
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8, rbx
call fcn.14005f840
mov rcx, qword [r12]
add rcx, 0x18
mov rdx, r15
call fcn.140044190
jmp 0x14003c4f4
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400843b0
mov rcx, rdi
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.14007ec90