Function at 0x14004dd50
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 qword [rsp + 0x20], rdx
mov ebx, ecx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x64], ecx
mov eax, dword [0x1402a0d70]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004e134
cmp ebx, 9
je 0x14004e300
mov rsi, qword [0x1402a0d68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14004e327
mov r9b, byte [rsi + 0x60]
movabs r15, 0x5555555555555555
movabs r14, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
movsxd rcx, ebx
test r9b, r9b
jne 0x14004dea5
mov r12, qword [rsi + 0x10]
test r12, r12
je 0x14004dea5
mov rax, r12
shr rax, 1
and rax, r15
mov rdx, r12
sub rdx, rax
mov rax, rdx
and rax, r14
shr rdx, 2
and rdx, r14
add rdx, rax
mov r13, rdx
shr r13, 4
add r13, rdx
and r13, r11
imul r13, r10
shr r13, 0x38
cmp r13, 1
jbe 0x14004e04e
mov r8, rcx
cmp r12, rcx
ja 0x14004de56
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
mov rax, qword [rsi + 8]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14004dea5
mov rbp, qword [rax]
test rbp, rbp
je 0x14004dea5
lea rdi, [r12 - 1]
mov rax, qword [rbp + 8]
cmp rax, rcx
jne 0x14004de84
cmp dword [rbp + 0x10], ebx
je 0x14004df0c
jmp 0x14004de9c
cmp r13d, 1
jbe 0x14004e068
cmp rax, r12
jae 0x14004e05b
cmp rax, r8
jne 0x14004dea5
mov rbp, qword [rbp]
test rbp, rbp
jne 0x14004de70
mov dword [rsp + 0x68], ebx
mov r12, qword [rsi + 0x38]
test r12, r12
jne 0x14004e070
mov rdi, qword [rsi + 0x58]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test rdi, rdi
je 0x14004df75
lea r14, [rsp + 0x40]
mov rax, qword [rdi]
mov ecx, ebx
mov rdx, r14
call qword [case.0x1401e7f70.0]
test al, al
jne 0x14004defd
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14004dee2
mov al, byte [rsp + 0x57]
test al, al
jns 0x14004df6b
mov rax, qword [rsp + 0x48]
jmp 0x14004df70
lea rdx, [rbp + 0x18]
mov rcx, qword [rsp + 0x20]
cmp rdx, rcx
je 0x14004df3f
cmp byte [rcx + 0x17], 0
movzx r8d, byte [rbp + 0x2f]
js 0x14004e1a3
test r8b, r8b
jns 0x14004e24e
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
call fcn.140013de0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and al, 0x7f
movzx eax, al
test rax, rax
jne 0x14004df7c
xor esi, esi
jmp 0x14004e034
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.14014abf0
test al, al
jne 0x14004e334
mov rcx, qword [rsp + 0x20]
cmp rbx, rcx
je 0x14004dfc1
cmp byte [rcx + 0x17], 0
movzx eax, byte [rsp + 0x57]
js 0x14004e26f
test al, al
jns 0x14004e108
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.140013de0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14004e375
cmp byte [rsi + 0x60], 0
jne 0x14004e028
lea rcx, [rsi + 8]
lea r8, [rsp + 0x64]
lea r9, [rsp + 0x68]
mov qword [r9], r8
lea rdi, [rsp + 0x28]
mov rdx, rdi
call fcn.14004e3d0
mov rax, qword [rdi]
lea rcx, [rax + 0x18]
cmp rcx, rbx
je 0x14004e028
cmp byte [rax + 0x2f], 0
movzx eax, byte [rsp + 0x57]
js 0x14004e291
test al, al
jns 0x14004e11e
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.140013de0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
cmp byte [rsp + 0x57], 0
jns 0x14004df4b
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
jmp 0x14004df4b
lea r8, [r12 - 1]
and r8, rcx
jmp 0x14004de56
xor edx, edx
div r12
mov rax, rdx
jmp 0x14004de97
and rax, rdi
jmp 0x14004de97
mov rax, r12
shr rax, 1
and rax, r15
mov rdx, r12
sub rdx, rax
mov rax, rdx
and rax, r14
shr rdx, 2
and rdx, r14
add rdx, rax
mov r15, rdx
shr r15, 4
add r15, rdx
and r15, r11
imul r15, r10
shr r15, 0x38
cmp r15, 1
ja 0x14004e382
lea r8, [r12 - 1]
and r8, rcx
mov rax, qword [rsi + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14004deb6
mov r14, qword [rax]
test r14, r14
je 0x14004deb6
lea r10, [r12 - 1]
mov rax, qword [r14 + 8]
cmp rax, rcx
je 0x14004e1b9
cmp r15d, 1
ja 0x14004e3af
and rax, r10
cmp rax, r8
jne 0x14004deb6
mov r14, qword [r14]
test r14, r14
jne 0x14004e0d8
jmp 0x14004deb6
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x14004dfc1
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x14004e028
lea rcx, [0x1402a0d70]
call fcn.14017b2bc
cmp dword [0x1402a0d70], 0xffffffff
jne 0x14004dd9f
mov ecx, 0x68
call fcn.14017b1d8
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, [0x14029bf50]
mov qword [rax + 0x58], rcx
mov qword [0x1402a0d68], rax
lea rcx, [0x1402a0d70]
call fcn.14017b25c
jmp 0x14004dd9f
test r8b, r8b
jns 0x14004e261
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
jmp 0x14004e265
cmp dword [r14 + 0x10], ebx
jne 0x14004e0fb
test r9b, r9b
jne 0x14004e21b
lea rcx, [rsi + 8]
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x28]
mov qword [r9], r8
lea rbx, [rsp + 0x40]
mov rdx, rbx
call fcn.14004e3d0
mov rax, qword [rbx]
cmp rax, r14
je 0x14004e21b
lea rdx, [r14 + 0x18]
lea rcx, [rax + 0x18]
cmp byte [rax + 0x2f], 0
movzx r8d, byte [r14 + 0x2f]
js 0x14004e2c6
test r8b, r8b
jns 0x14004e2b3
mov rdx, qword [r14 + 0x18]
mov r8, qword [r14 + 0x20]
call fcn.140013de0
lea rdx, [r14 + 0x18]
mov rcx, qword [rsp + 0x20]
cmp rdx, rcx
je 0x14004df3f
cmp byte [rcx + 0x17], 0
movzx r8d, byte [r14 + 0x2f]
js 0x14004e2d5
test r8b, r8b
jns 0x14004e24e
mov rdx, qword [r14 + 0x18]
mov r8, qword [r14 + 0x20]
jmp 0x14004df3a
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x14004df3f
and r8d, 0x7f
call fcn.140013e60
jmp 0x14004df3f
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
cmovns rdx, rbx
call fcn.140013e60
jmp 0x14004dfc1
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x48]
cmovs rbx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.140013e60
jmp 0x14004e028
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x14004e21b
test r8b, r8b
jns 0x14004e2e4
mov r8, qword [r14 + 0x20]
mov rdx, qword [r14 + 0x18]
jmp 0x14004e2e8
test r8b, r8b
jns 0x14004e2f2
mov r8, qword [r14 + 0x20]
mov rdx, qword [r14 + 0x18]
jmp 0x14004e2f6
and r8d, 0x7f
call fcn.140013e60
jmp 0x14004e21b
and r8d, 0x7f
mov rcx, qword [rsp + 0x20]
jmp 0x14004e265
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14017e7b0
mov rcx, qword [rsp + 0x20]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400516e0
mov rcx, rsi
call fcn.1400fdfc0
jmp 0x14004ddc0
lea r14, [rsp + 0x28]
lea r15, [rsp + 0x40]
mov rcx, r14
mov rdx, r15
call fcn.140061700
mov rcx, r15
mov rdx, r14
call fcn.140070b20
cmp byte [r14 + 0x17], 0
jns 0x14004e365
mov rcx, qword [rsp + 0x28]
call fcn.14017b254
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14004e39e
mov rax, qword [rsp + 0x48]
jmp 0x14004e3a1
mov rcx, rsi
call fcn.1400fdfc0
jmp 0x14004dfd2
mov r8, rcx
cmp r12, rcx
ja 0x14004e0b6
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
jmp 0x14004e0b6
and eax, 0x7f
test rax, rax
jne 0x14004df91
jmp 0x14004df75
cmp rax, r12
jb 0x14004e0f2
xor edx, edx
div r12
mov rax, rdx
jmp 0x14004e0f2