Function at 0x14002cd60
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2f8
lea rbp, [rsp + 0x80]
mov rdi, r9
mov r13, r8
mov rsi, rdx
mov r14, rcx
mov rcx, qword [0x140064970]
test rcx, rcx
jne 0x14002cdc0
lea rax, [0x140056980]
mov qword [0x140064980], rax
lea rcx, [0x140064980]
mov dword [0x140064988], 0
mov byte [0x14006498c], 1
mov qword [0x140064970], rcx
mov rbx, qword [rbp + 0x310]
mov r15, qword [rbp + 0x300]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140068010]
cmp byte [rax + 4], 0
je 0x14002ce51
mov rax, qword [rbp + 0x308]
mov rcx, qword [rbp + 0x2f8]
mov edx, dword [rbp + 0x2f0]
mov r8d, dword [rbp + 0x2e8]
mov r9, qword [rbp + 0x2e0]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov rcx, rsi
mov rdx, r13
mov r8, rdi
mov rax, r14
call qword [0x140068010]
mov edi, 1
test eax, eax
je 0x14002ce51
mov eax, edi
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140058249]
mov rdx, rsi
call fcn.14003ab20
mov rcx, qword [0x140064970]
test rcx, rcx
jne 0x14002ce99
lea rax, [0x140056980]
mov qword [0x140064980], rax
lea rcx, [0x140064980]
mov dword [0x140064988], 0
mov byte [0x14006498c], 1
mov qword [0x140064970], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140068010]
xor edi, edi
cmp dword [rax], 0
jle 0x14002ce3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov edx, 0x18
mov rcx, rbx
mov r8d, 1
call fcn.14004c540
call fcn.14004c3e0
test al, al
je 0x14002cede
mov r12, qword [0x1400648f8]
test r12, r12
jne 0x14002ceec
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002ce3b
lea rdx, [rbp - 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefc
xor ecx, ecx
mov dword [rbp + 0x268], eax
cmp eax, 0xfffffefd
lea rax, [rbp - 0x30]
cmovae rcx, rax
mov qword [rbp + 0x250], rcx
lea rcx, [rbp + 0x238]
mov qword [rcx], r12
mov rax, qword [r12 + 0x10]
add rax, r12
mov qword [rbp + 0x248], rax
mov qword [rcx + 8], rax
xorps xmm0, xmm0
movaps xmmword [rbp + 0x220], xmm0
movaps xmmword [rbp + 0x210], xmm0
movaps xmmword [rbp + 0x200], xmm0
movaps xmmword [rbp + 0x1f0], xmm0
movaps xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x230], 0
call fcn.14004e150
mov qword [rbp + 0x270], rax
test rax, rax
je 0x14002cede
mov rax, qword [rbp + 0x270]
mov qword [rax], 0xd
mov dword [rax + 0x60], 5
mov dword [rax + 0x6c], 0xb0
test rsi, rsi
je 0x14002cfc1
mov rcx, rsi
call fcn.140040040
add eax, eax
cmp eax, 0x400
ja 0x14002cede
cmp eax, 0x350
jbe 0x14002cfc3
jmp 0x14002cede
xor eax, eax
mov rcx, qword [rbp + 0x270]
add rcx, 0xb0
mov rdx, rsi
mov qword [rbp + 0x260], rax
mov r8, rax
call fcn.14002c6e0
mov rdx, qword [rbp + 0x270]
mov eax, dword [rdx + 0x6c]
mov rcx, qword [rbp + 0x260]
add eax, ecx
add eax, 7
and eax, 0xfffffff8
mov dword [rbp + 0x25c], eax
mov dword [rdx + 0x78], eax
mov dword [rdx + 0x70], ecx
mov dword [rdx + 0x68], 1
test r13, r13
je 0x14002d039
mov rcx, r13
call fcn.140040040
add eax, eax
mov qword [rbp + 0x260], rax
cmp eax, 0x400
ja 0x14002cede
mov r8d, dword [rbp + 0x260]
jmp 0x14002d045
xor r8d, r8d
xor eax, eax
mov qword [rbp + 0x260], rax
mov ecx, dword [rbp + 0x25c]
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002cede
add rcx, qword [rbp + 0x270]
mov rdx, r13
call fcn.14002c6e0
mov rcx, qword [rbp + 0x270]
mov eax, dword [rcx + 0x78]
mov rdx, qword [rbp + 0x260]
lea r13d, [rdx + rax]
add r13d, 7
and r13d, 0xfffffff8
mov dword [rcx + 0x84], r13d
mov dword [rcx + 0x7c], edx
mov dword [rcx + 0x74], 1
cmp dword [rbp + 0x268], 0xfffffefd
jae 0x14002d0b3
xor r8d, r8d
xor eax, eax
mov qword [rbp + 0x268], rax
jmp 0x14002d0da
mov rcx, qword [rbp + 0x250]
call fcn.140040040
add eax, eax
mov qword [rbp + 0x268], rax
cmp eax, 0x400
ja 0x14002cede
mov r8d, dword [rbp + 0x268]
mov ecx, r13d
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002cede
add rcx, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x250]
call fcn.14002c6e0
mov rcx, qword [rbp + 0x270]
mov eax, dword [rcx + 0x84]
mov rdx, qword [rbp + 0x268]
lea r13d, [rdx + rax]
add r13d, 7
and r13d, 0xfffffff8
mov dword [rcx + 0x90], r13d
mov dword [rcx + 0x88], edx
mov dword [rcx + 0x80], 1
test r15, r15
je 0x14002d162
mov rcx, r15
call fcn.140040040
add eax, eax
mov qword [rbp + 0x268], rax
cmp eax, 0x400
ja 0x14002cede
mov r8d, dword [rbp + 0x268]
jmp 0x14002d16e
xor r8d, r8d
xor eax, eax
mov qword [rbp + 0x268], rax
mov ecx, r13d
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002cede
add rcx, qword [rbp + 0x270]
mov rdx, r15
call fcn.14002c6e0
mov rcx, qword [rbp + 0x270]
mov eax, dword [rcx + 0x90]
mov rdx, qword [rbp + 0x268]
add eax, edx
add eax, 7
and eax, 0xfffffff8
mov dword [rcx + 0x9c], eax
mov dword [rcx + 0x94], edx
mov dword [rcx + 0x8c], 1
test rbx, rbx
je 0x14002cede
cmp eax, 0x3e8
ja 0x14002cede
mov ecx, eax
add rcx, qword [rbp + 0x270]
mov r8d, 0x18
mov rdx, rbx
call fcn.14002c6e0
mov rdx, qword [rbp + 0x270]
mov dword [rdx + 4], 1
mov eax, dword [rdx + 0x9c]
add eax, 0x1f
and eax, 0xfffffff8
mov dword [rdx + 0xa8], eax
mov dword [rdx + 0xa0], 0x18
mov dword [rdx + 0x98], 6
lea rcx, [rbp + 0x238]
lea r8, [rbp + 0x1e0]
call fcn.14004e290
cmp eax, 0xa
je 0x14002cede
mov r15d, eax
add r12, 0x10
mov r13, qword [rbp + 0x270]
mov r8d, dword [r13 + 0x9c]
add r8, r13
mov ecx, 0x18
mov rdx, rbx
call fcn.14003b6c0
sub r13, qword [rbp + 0x248]
lea rcx, [r13 + 0x3ff]
test r13, r13
cmovns rcx, r13
sar rcx, 0xa
lea rcx, [rcx + rcx*4]
mov edx, 1
xchg dword [r12 + rcx*8 + 8], edx
test al, al
je 0x14002cede
test r15d, r15d
jne 0x14002cede
mov ecx, dword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
cmp dword [rbp + 0x1e8], 0
jne 0x14002ce3b
lea rcx, [0x140058249]
mov rdx, rsi
call fcn.14003adf0
mov edi, 1
jmp 0x14002ce3b