Function at 0x1400a3df0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rdi, rdx
mov ebx, ecx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x5c], ecx
mov eax, dword [0x1402f3fa8]
mov ecx, dword [0x1402f0db0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a3fd5
cmp ebx, 9
je 0x1400a40c4
mov rsi, qword [0x1402f3fa0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400a405f
mov dword [rsp + 0x28], ebx
mov bpl, byte [rsi + 0x60]
test bpl, bpl
jne 0x1400a3ebd
lea rcx, [rsi + 8]
lea r14, [rsp + 0x40]
lea r8, [rsp + 0x28]
mov rdx, r14
call fcn.1400a4280
mov rdx, qword [r14]
test rdx, rdx
je 0x1400a3ebd
add rdx, 0x18
mov rcx, rdi
call fcn.1400a40f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r15, [rsp + 0x60]
mov dword [r15], ebx
lea rcx, [rsi + 0x30]
lea r14, [rsp + 0x40]
mov rdx, r14
mov r8, r15
call fcn.1400a4380
mov r14, qword [r14]
test r14, r14
jne 0x1400a401b
mov r15, qword [rsi + 0x58]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x14029bb90]
movaps xmmword [rcx], xmm0
call fcn.1400a4a50
test r15, r15
je 0x1400a3f39
lea r14, [rsp + 0x40]
mov rax, qword [r15]
mov ecx, ebx
mov rdx, r14
call qword [0x140318008]
test al, al
jne 0x1400a3f39
mov r15, qword [r15 + 8]
test r15, r15
jne 0x1400a3f1e
movzx eax, byte [rsp + 0x57]
test al, al
js 0x1400a3f47
and eax, 0x7f
jmp 0x1400a3f4c
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400a40bd
lea rcx, [rsp + 0x40]
call fcn.140095dd0
test al, al
jne 0x1400a4079
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400a40f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400a406c
cmp byte [rsi + 0x60], 0
jne 0x1400a3fba
lea rcx, [rsi + 8]
lea r8, [rsp + 0x5c]
lea r9, [rsp + 0x60]
mov qword [r9], r8
lea rdi, [rsp + 0x28]
mov rdx, rdi
call fcn.1400a46f0
mov rcx, qword [rdi]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.1400a40f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
lea rcx, [rsp + 0x40]
call fcn.1400f0250
jmp 0x1400a3e9f
lea rcx, [0x1402f3fa8]
call fcn.14010d4bc
cmp dword [0x1402f3fa8], 0xffffffff
jne 0x1400a3e3b
mov ecx, 0x68
call fcn.14010cc14
mov rsi, rax
mov rcx, rax
call fcn.140052ec0
mov qword [0x1402f3fa0], rsi
lea rcx, [0x1402f3fa8]
call fcn.14010d064
jmp 0x1400a3e3b
test bpl, bpl
jne 0x1400a4050
lea rbx, [r14 + 0x18]
lea rcx, [rsi + 8]
lea r9, [rsp + 0x28]
mov qword [r9], r15
lea r12, [rsp + 0x40]
mov rdx, r12
mov r8, r15
call fcn.1400a46f0
mov rcx, qword [r12]
add rcx, 0x18
mov rdx, rbx
call fcn.1400a40f0
add r14, 0x18
mov rcx, rdi
mov rdx, r14
jmp 0x1400a3e8e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400a3e5c
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400a3f85
lea rbx, [rsp + 0x28]
lea r14, [rsp + 0x40]
mov rcx, rbx
mov rdx, r14
call fcn.1400e2600
mov rcx, r14
mov rdx, rbx
call fcn.1400a3db0
mov rcx, rbx
call fcn.1400f0250
movzx eax, byte [r14 + 0x17]
test al, al
js 0x1400a40af
and eax, 0x7f
jmp 0x1400a40b4
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400a3f67
xor esi, esi
jmp 0x1400a3fc6
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14010fba0
mov rcx, rdi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140061840