Function at 0x14002d0e0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, rdx
mov ebx, ecx
mov rax, qword [0x140174028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], ecx
mov eax, dword [0x1401869a8]
mov ecx, dword [0x140183a44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002d4bd
cmp ebx, 9
je 0x14002d6c3
mov rsi, qword [0x1401869a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002d6b6
mov r9b, byte [rsi + 0x60]
movabs r15, 0x5555555555555555
movabs r14, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
movsxd rcx, ebx
test r9b, r9b
jne 0x14002d2c8
mov r12, qword [rsi + 0x10]
test r12, r12
je 0x14002d2c8
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 0x14002d274
mov r8, rcx
cmp r12, rcx
ja 0x14002d1e4
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 0x14002d2c8
mov rbp, qword [rax]
test rbp, rbp
je 0x14002d2c8
mov r11, r10
lea r10, [r12 - 1]
mov rax, qword [rbp + 8]
cmp rax, rcx
jne 0x14002d291
cmp dword [rbp + 0x10], ebx
jne 0x14002d2ae
lea rdx, [rbp + 0x18]
cmp rdx, rdi
je 0x14002d248
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rbp + 0x2f]
js 0x14002d549
test r8b, r8b
jns 0x14002d281
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
mov rcx, rdi
call fcn.1400079d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bce30
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [r12 - 1]
and r8, rcx
jmp 0x14002d1e4
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
jmp 0x14002d248
cmp r13d, 1
jbe 0x14002d2a6
cmp rax, r12
jb 0x14002d2a9
xor edx, edx
div r12
mov rax, rdx
jmp 0x14002d2a9
and rax, r10
cmp rax, r8
jne 0x14002d2bb
mov rbp, qword [rbp]
test rbp, rbp
jne 0x14002d209
mov r10, r11
movabs r11, 0xf0f0f0f0f0f0f0f
mov dword [rsp + 0x28], ebx
mov r12, qword [rsi + 0x38]
test r12, r12
jne 0x14002d425
mov r15, 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 r15, r15
je 0x14002d335
lea r14, [rsp + 0x40]
mov rax, qword [r15]
mov ecx, ebx
mov rdx, r14
call qword [case.0x14010edb0.0]
test al, al
jne 0x14002d31c
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14002d301
mov al, byte [rsp + 0x57]
test al, al
js 0x14002d32b
and al, 0x7f
movzx eax, al
jmp 0x14002d330
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14002d364
xor esi, esi
cmp byte [rsp + 0x57], 0
jns 0x14002d254
mov rcx, qword [rsp + 0x40]
call fcn.1400bab7c
jmp 0x14002d254
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
jmp 0x14002d3a3
lea r14, [rsp + 0x40]
mov rcx, r14
call fcn.1400a4f70
test al, al
jne 0x14002d6f5
cmp r14, rdi
je 0x14002d3a3
cmp byte [rdi + 0x17], 0
movzx eax, byte [rsp + 0x57]
js 0x14002d58b
test al, al
jns 0x14002d351
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400079d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002d6e8
cmp byte [rsi + 0x60], 0
jne 0x14002d401
lea rcx, [rsi + 8]
lea rdi, [rsp + 0x28]
lea r9, [rsp + 0x5c]
mov rdx, rdi
mov r8d, ebx
call fcn.14002d750
mov rax, qword [rdi]
lea rcx, [rax + 0x18]
cmp rcx, r14
je 0x14002d401
cmp byte [rax + 0x2f], 0
movzx eax, byte [rsp + 0x57]
js 0x14002d569
test al, al
jns 0x14002d412
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.1400079d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov sil, 1
jmp 0x14002d337
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x14002d401
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 r14, rdx
shr r14, 4
add r14, rdx
and r14, r11
imul r14, r10
shr r14, 0x38
cmp r14, 1
ja 0x14002d684
lea r8, [r12 - 1]
and r8, rcx
mov rax, qword [rsi + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14002d2d9
mov r15, qword [rax]
test r15, r15
je 0x14002d2d9
lea r10, [r12 - 1]
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x14002d5b0
cmp r14d, 1
ja 0x14002d6a0
and rax, r10
cmp rax, r8
jne 0x14002d2d9
mov r15, qword [r15]
test r15, r15
jne 0x14002d48d
jmp 0x14002d2d9
lea rcx, [0x1401869a8]
call fcn.1400bac58
cmp dword [0x1401869a8], 0xffffffff
jne 0x14002d12d
mov ecx, 0x68
call fcn.1400babfc
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], 0
mov eax, 0x3f800000
mov dword [rsi + 0x28], eax
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
mov dword [rsi + 0x50], eax
mov byte [rsi + 0x60], 0
lea r14, [0x1401774b0]
movabs rax, 0xfffffffc00000000
and rax, r14
cmp qword [0x140183548], rax
je 0x14002d673
mov qword [rsi + 0x58], r14
mov qword [0x1401869a0], rsi
lea rcx, [0x1401869a8]
call fcn.1400baf38
jmp 0x14002d12d
test r8b, r8b
jns 0x14002d558
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
jmp 0x14002d55c
and r8d, 0x7f
mov rcx, rdi
call fcn.140007a50
jmp 0x14002d248
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x48]
cmovs r14, qword [rsp + 0x40]
mov rdx, r14
call fcn.140007a50
jmp 0x14002d401
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
cmovns rdx, r14
mov rcx, rdi
call fcn.140007a50
jmp 0x14002d3a3
cmp dword [r15 + 0x10], ebx
jne 0x14002d4b0
test r9b, r9b
jne 0x14002d605
lea rcx, [rsi + 8]
lea r14, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, r14
mov r8d, ebx
call fcn.14002d750
mov rax, qword [r14]
cmp rax, r15
je 0x14002d605
lea rdx, [r15 + 0x18]
lea rcx, [rax + 0x18]
cmp byte [rax + 0x2f], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14002d659
test r8b, r8b
jns 0x14002d633
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
call fcn.1400079d0
lea rdx, [r15 + 0x18]
cmp rdx, rdi
je 0x14002d248
cmp byte [rdi + 0x17], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14002d643
test r8b, r8b
jns 0x14002d281
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
jmp 0x14002d240
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x14002d605
test r8b, r8b
jns 0x14002d558
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
jmp 0x14002d55c
test r8b, r8b
jns 0x14002d668
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
jmp 0x14002d66c
and r8d, 0x7f
call fcn.140007a50
jmp 0x14002d605
lea rcx, [0x1401774b0]
call fcn.14007cc60
jmp 0x14002d52d
mov r8, rcx
cmp r12, rcx
ja 0x14002d46b
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
jmp 0x14002d46b
cmp rax, r12
jb 0x14002d4a7
xor edx, edx
div r12
mov rax, rdx
jmp 0x14002d4a7
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14002d14e
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bce30
mov rcx, rdi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140035a10
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14002d3b4
lea r15, [rsp + 0x28]
lea r12, [rsp + 0x40]
mov rcx, r15
mov rdx, r12
call fcn.140032230
mov rcx, r12
mov rdx, r15
call fcn.1400b73f0
cmp byte [r15 + 0x17], 0
jns 0x14002d726
mov rcx, qword [rsp + 0x28]
call fcn.1400bab7c
movzx eax, byte [rsp + 0x57]
test al, al
js 0x14002d734
and eax, 0x7f
jmp 0x14002d739
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14002d379
jmp 0x14002d335
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2f0
movaps xmmword [rsp + 0x2e0], xmm6
mov rsi, rcx
mov rax, qword [0x140174028]
xor rax, rsp
mov qword [rsp + 0x2d8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x290]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x14015bb90]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, [0x140160616]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov r9d, 0x41c
call fcn.140093320
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400987b0
lea rbx, [rsp + 0x80]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400bef60
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x140035b6c
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400bb2e0
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.1400b2990
lea r14, [rsp + 0x50]
movaps xmmword [r14], xmm6
mov qword [r14 + 0x10], r15
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
cmovs rcx, qword [rbx + 8]
mov qword [rdx + 8], rcx
mov rcx, r14
call fcn.1400b2990
mov rcx, r14
call fcn.140028440
cmp byte [rsi + 0x17], 0
js 0x140035bab
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x67], 0
mov word [rsp + 0x50], 0
cmp byte [rsp + 0x4f], 0
jns 0x140035b6c
mov rcx, qword [rsp + 0x38]
call fcn.1400bab7c
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x290]
call fcn.14007d9b0
mov rcx, qword [rsp + 0x2d8]
xor rcx, rsp
call fcn.1400bce30
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x2e0]
add rsp, 0x2f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsi]
call fcn.1400bab7c
jmp 0x140035b3e