Function at 0x14002d0a0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r14, rdx
mov ebp, ecx
mov rax, qword [0x140102388]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x6c], ecx
mov eax, dword [0x140105b08]
mov ecx, dword [0x140105b70]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002d11b
cmp ebp, 1
jne 0x14002d191
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400aaed0
mov rcx, r14
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14002a6c0
lea rcx, [0x140105b08]
call fcn.1400aac80
cmp dword [0x140105b08], 0xffffffff
jne 0x14002d0eb
mov ecx, 0x68
call fcn.1400aab00
mov rsi, rax
mov rcx, rax
call fcn.140033e30
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm0
mov dword [rsi + 0x28], 0x3f800000
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
mov dword [rsi + 0x50], 0x3f800000
mov byte [rsi + 0x60], 0
lea rax, [0x140102340]
mov qword [rsi + 0x58], rax
mov qword [0x140105b00], rsi
lea rcx, [0x140105b08]
call fcn.1400aad18
cmp ebp, 1
je 0x14002d0f4
mov r15, qword [0x140105b00]
mov rcx, r15
call fcn.140033e40
mov r8b, byte [r15 + 0x60]
movsxd r10, ebp
test r8b, r8b
je 0x14002d243
mov dword [rsp + 0x70], ebp
mov rdi, qword [r15 + 0x38]
test rdi, rdi
je 0x14002d348
mov rax, rdi
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rdi
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 rbx, 0x101010101010101
imul rbx, rax
shr rbx, 0x38
cmp rbx, 1
jbe 0x14002d2d2
mov rcx, r10
cmp rdi, r10
ja 0x14002d2d9
mov rax, r10
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x14002d2d9
mov r9, qword [r15 + 0x10]
test r9, r9
je 0x14002d1b0
mov rax, r9
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r9
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 rdi, 0x101010101010101
imul rdi, rax
shr rdi, 0x38
cmp rdi, 1
jbe 0x14002d494
mov rcx, r10
cmp r9, r10
ja 0x14002d49b
mov rax, r10
xor edx, edx
div r9
mov rcx, rdx
jmp 0x14002d49b
lea rcx, [rdi - 1]
and rcx, r10
mov rax, qword [r15 + 0x30]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002d348
mov rsi, qword [rax]
test rsi, rsi
je 0x14002d348
lea r9, [rdi - 1]
jmp 0x14002d311
cmp dword [rsi + 0x10], ebp
je 0x14002d500
mov rsi, qword [rsi]
test rsi, rsi
je 0x14002d348
mov rax, qword [rsi + 8]
cmp rax, r10
je 0x14002d300
cmp rbx, 1
jbe 0x14002d340
cmp rax, rdi
jb 0x14002d32d
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x14002d309
jmp 0x14002d348
and rax, r9
cmp rax, rcx
je 0x14002d309
mov rdi, qword [r15 + 0x58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea rcx, [rsp + 0x50]
call fcn.140028300
test rdi, rdi
je 0x14002d396
lea rdx, [rsp + 0x50]
mov ecx, ebp
call qword [rdi]
test al, al
jne 0x14002d396
lea rsi, [rsp + 0x50]
nop word cs:[rax + rax]
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x14002d396
mov ecx, dword [rsp + 0x6c]
mov rdx, rsi
call qword [rdi]
test al, al
je 0x14002d380
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14002d3a4
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14002d466
lea rcx, [rsp + 0x50]
call fcn.140029620
test al, al
je 0x14002d3f6
lea rsi, [rsp + 0x38]
lea rdi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call fcn.140029a00
mov rcx, rdi
mov rdx, rsi
call fcn.1400283d0
mov rcx, rsi
call fcn.1400283a0
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14002d3f1
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14002d466
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400283b0
mov rcx, r15
call fcn.140033e40
cmp byte [r15 + 0x60], 0
jne 0x14002d458
lea rcx, [r15 + 8]
lea r8, [rsp + 0x6c]
mov qword [rsp + 0x70], r8
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x1400d8b68]
lea rdx, [rsp + 0x38]
call fcn.14002d570
mov rcx, qword [rsp + 0x38]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.1400283b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x14002d468
xor esi, esi
lea rcx, [rsp + 0x50]
call fcn.1400283a0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400aaed0
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [r9 - 1]
and rcx, r10
mov rax, qword [r15 + 8]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14002d1b0
mov rsi, qword [rax]
test rsi, rsi
je 0x14002d1b0
lea rbx, [r9 - 1]
jmp 0x14002d4d5
cmp dword [rsi + 0x10], ebp
je 0x14002d54d
mov rsi, qword [rsi]
test rsi, rsi
je 0x14002d1b0
mov rax, qword [rsi + 8]
cmp rax, r10
je 0x14002d4c0
cmp rdi, 1
jbe 0x14002d4f3
cmp rax, r9
jb 0x14002d4f6
xor edx, edx
div r9
mov rax, rdx
jmp 0x14002d4f6
and rax, rbx
cmp rax, rcx
je 0x14002d4c9
jmp 0x14002d1b0
test r8b, r8b
jne 0x14002d54d
lea rdi, [rsi + 0x18]
lea rcx, [r15 + 8]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], r8
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400d8b68]
lea rdx, [rsp + 0x50]
call fcn.14002d570
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov rdx, rdi
call fcn.1400283b0
add rsi, 0x18
mov rcx, r14
mov rdx, rsi
call fcn.1400283b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x14002d472