Function at 0x14001d0a0
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 rbx, rdx
mov esi, ecx
mov rax, qword [0x14010c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], ecx
mov eax, dword [0x14011d5e8]
mov ecx, dword [0x14011a6f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001d515
cmp esi, 9
je 0x14001d72f
mov rdi, qword [0x14011d5e0]
mov rax, qword [0x14010e5a0]
and rax, rdi
cmp rax, qword [0x14010e588]
jne 0x14001d118
mov rcx, rdi
call fcn.140053a20
test rdi, rdi
je 0x14001d6d7
mov rcx, rdi
call qword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001d653
mov r9b, byte [rdi + 0x60]
movsxd rcx, esi
movabs r15, 0x5555555555555555
movabs r14, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
test r9b, r9b
jne 0x14001d2dc
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x14001d2dc
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 rbp, rdx
shr rbp, 4
add rbp, rdx
and rbp, r11
imul rbp, r10
shr rbp, 0x38
cmp rbp, 1
jbe 0x14001d298
mov r8, rcx
cmp r12, rcx
ja 0x14001d1c8
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
mov rax, qword [rdi + 8]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14001d2dc
mov r13, qword [rax]
test r13, r13
je 0x14001d2dc
cmp ebp, 2
jb 0x14001d2a5
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x14001d2bd
cmp dword [r13 + 0x10], esi
jne 0x14001d2cf
lea rdx, [r13 + 0x18]
cmp rdx, rbx
je 0x14001d232
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r13 + 0x2f]
js 0x14001d59e
test r8b, r8b
jns 0x14001d288
mov rdx, qword [r13 + 0x18]
mov r8, qword [r13 + 0x20]
mov rcx, rbx
call fcn.14000d2c0
xor r14d, r14d
xor r15d, r15d
mov rcx, rdi
call qword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x14010e5a0]
and rax, rdi
cmp rax, qword [0x14010e588]
jne 0x14001d25c
mov rcx, rdi
call fcn.140053ce0
mov bpl, 1
test r14b, r14b
jne 0x14001d30c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400909a0
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdx + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rbx], xmm0
jmp 0x14001d232
lea r8, [r12 - 1]
and r8, rcx
jmp 0x14001d1c8
dec r12
mov rax, qword [r13 + 8]
cmp rax, rcx
jne 0x14001d2f9
cmp dword [r13 + 0x10], esi
je 0x14001d205
jmp 0x14001d301
cmp rax, r12
jb 0x14001d2ca
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x14001d2dc
mov r13, qword [r13]
test r13, r13
jne 0x14001d1ee
mov dword [rsp + 0x28], esi
mov r12, qword [rdi + 0x38]
test r12, r12
jne 0x14001d47e
mov r15, qword [rdi + 0x58]
mov r14b, 1
jmp 0x14001d238
and rax, r12
cmp rax, r8
jne 0x14001d2dc
mov r13, qword [r13]
test r13, r13
jne 0x14001d2a8
jmp 0x14001d2dc
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test r15, r15
je 0x14001d357
lea r14, [rsp + 0x40]
mov rax, qword [r15]
mov ecx, esi
mov rdx, r14
call qword [0x140102bb8]
test al, al
jne 0x14001d357
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14001d327
jmp 0x14001d357
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x14001d3af
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14001d365
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14001d728
lea r14, [rsp + 0x40]
mov rcx, r14
call fcn.140014960
test al, al
jne 0x14001d6da
cmp r14, rbx
je 0x14001d3af
cmp byte [rbx + 0x17], 0
movzx r8d, byte [rsp + 0x57]
js 0x14001d68b
test r8b, r8b
jns 0x14001d344
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14000d2c0
mov rax, qword [0x14010e5a0]
and rax, rdi
cmp rax, qword [0x14010e588]
jne 0x14001d3ca
mov rcx, rdi
call fcn.140053a20
mov rcx, rdi
call qword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001d661
cmp byte [rdi + 0x60], 0
jne 0x14001d42a
lea rcx, [rdi + 8]
lea rbx, [rsp + 0x28]
lea r9, [rsp + 0x5c]
mov rdx, rbx
mov r8d, esi
call fcn.14001d7c0
mov rax, qword [rbx]
lea rcx, [rax + 0x18]
cmp rcx, r14
je 0x14001d42a
cmp byte [rax + 0x2f], 0
movzx r8d, byte [rsp + 0x57]
js 0x14001d66f
test r8b, r8b
jns 0x14001d46b
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.14000d2c0
mov rcx, rdi
call qword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x14010e5a0]
and rax, rdi
mov bpl, 1
cmp rax, qword [0x14010e588]
jne 0x14001d451
mov rcx, rdi
call fcn.140053ce0
cmp byte [rsp + 0x57], 0
jns 0x14001d268
mov rcx, qword [rsp + 0x40]
call fcn.14008ed54
jmp 0x14001d268
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
jmp 0x14001d42a
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 0x14001d754
lea r8, [r12 - 1]
and r8, rcx
mov rax, qword [rdi + 0x30]
mov rax, qword [rax + r8*8]
test rax, rax
je 0x14001d2ed
mov r15, qword [rax]
test r15, r15
je 0x14001d2ed
cmp r14d, 2
jae 0x14001d78d
dec r12
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x14001d5b8
and rax, r12
cmp rax, r8
jne 0x14001d2ed
mov r15, qword [r15]
test r15, r15
je 0x14001d2ed
jmp 0x14001d4ee
lea rcx, [0x14011d5e8]
call fcn.14008ee04
cmp dword [0x14011d5e8], 0xffffffff
jne 0x14001d0ed
mov ecx, 0x68
call fcn.14008ed5c
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], 0
mov eax, 0x3f800000
mov dword [rdi + 0x28], eax
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
mov dword [rdi + 0x50], eax
mov byte [rdi + 0x60], 0
lea r14, [0x14010e0d8]
mov rax, qword [0x14010e5a0]
and rax, r14
cmp rax, qword [0x14010e588]
je 0x14001d770
mov qword [rdi + 0x58], r14
mov qword [0x14011d5e0], rdi
lea rcx, [0x14011d5e8]
call fcn.14008ed98
jmp 0x14001d0ed
test r8b, r8b
jns 0x14001d5ab
mov r8, qword [r13 + 0x20]
mov rdx, qword [r13 + 0x18]
mov rcx, rbx
call fcn.14000d380
jmp 0x14001d232
cmp dword [r15 + 0x10], esi
jne 0x14001d507
test r9b, r9b
jne 0x14001d611
lea rcx, [rdi + 8]
lea r14, [rsp + 0x40]
lea r9, [rsp + 0x28]
mov rdx, r14
mov r8d, esi
call fcn.14001d7c0
mov rax, qword [r14]
cmp rax, r15
je 0x14001d611
lea rdx, [r15 + 0x18]
lea rcx, [rax + 0x18]
cmp byte [rax + 0x2f], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14001d6aa
test r8b, r8b
jns 0x14001d643
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
call fcn.14000d2c0
lea rdx, [r15 + 0x18]
cmp rdx, rbx
je 0x14001d232
cmp byte [rbx + 0x17], 0
movzx r8d, byte [r15 + 0x2f]
js 0x14001d6c1
test r8b, r8b
jns 0x14001d288
mov rdx, qword [r15 + 0x18]
mov r8, qword [r15 + 0x20]
jmp 0x14001d22a
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x14001d611
mov rcx, rdi
call qword [sym.imp.progwrp.dll_AcquireSRWLockExclusive]
jmp 0x14001d132
mov rcx, rdi
call qword [sym.imp.progwrp.dll_AcquireSRWLockExclusive]
jmp 0x14001d3db
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
cmovs r14, qword [rsp + 0x40]
mov rdx, r14
call fcn.14000d380
jmp 0x14001d42a
test r8b, r8b
cmovs r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
cmovns rdx, r14
mov rcx, rbx
call fcn.14000d380
jmp 0x14001d3af
test r8b, r8b
jns 0x14001d6b7
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
call fcn.14000d380
jmp 0x14001d611
test r8b, r8b
jns 0x14001d5ab
mov r8, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x18]
jmp 0x14001d5ab
int3
lea rcx, [rsp + 0x28]
lea r15, [rsp + 0x40]
mov rdx, r15
call fcn.140021cb0
cmp byte [r15 + 0x17], 0
jns 0x14001d6fd
mov rcx, qword [rsp + 0x40]
call fcn.14008ed54
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x40], xmm0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14001d71f
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14001d383
xor ebp, ebp
jmp 0x14001d451
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400909a0
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1400278a0
mov r8, rcx
cmp r12, rcx
ja 0x14001d4c4
mov rax, rcx
xor edx, edx
div r12
mov r8, rdx
jmp 0x14001d4c4
lea rcx, [0x14010e0d8]
call fcn.140053b80
jmp 0x14001d582
cmp dword [r15 + 0x10], esi
je 0x14001d5c2
jmp 0x14001d7ac
mov rax, qword [r15 + 8]
cmp rax, rcx
je 0x14001d781
cmp rax, r12
jb 0x14001d7a3
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
jne 0x14001d2ed
mov r15, qword [r15]
test r15, r15
je 0x14001d2ed
jmp 0x14001d78d
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x14010c040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x1400efde0]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1400fd9f8]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x42a
call fcn.140055660
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140078520
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400bf160
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 0x1400279b2
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14008f334
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140085a70
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14001e4c0
cmp byte [rsi + 0x17], 0
jns 0x140027984
mov rcx, qword [rsi]
call fcn.14008ed54
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x1400279b2
mov rcx, qword [rsp + 0x30]
call fcn.14008ed54
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.140078040
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400909a0
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret