Function at 0x14002da60
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 rbx, rcx
mov r14, qword [rbp + 0x310]
mov r15, qword [rbp + 0x300]
call fcn.140052870
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
mov rax, rdx
call qword [0x14006a010]
cmp byte [rax + 4], 0
je 0x14002db0d
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], r14
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, rbx
call qword [0x14006a010]
mov edi, 1
test eax, eax
jne 0x14002db3b
lea rcx, [0x1400593fc]
mov rdx, rsi
call fcn.14003b540
call fcn.140052870
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
mov rax, rdx
call qword [0x14006a010]
xor edi, edi
cmp dword [rax], 0
jg 0x14002db51
mov eax, edi
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 0x18
mov rcx, r14
mov r8d, 1
call fcn.14004e3c0
call fcn.14004e240
test al, al
je 0x14002df32
mov r12, qword [0x140066a18]
test r12, r12
je 0x14002df32
mov dword [rbp + 0x260], ebx
lea rbx, [rbp - 0x30]
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefc
xor ecx, ecx
mov qword [rbp + 0x268], rcx
mov dword [rbp + 0x264], eax
cmp eax, 0xfffffefd
mov eax, 0
cmovae rax, rbx
mov qword [rbp + 0x258], rax
lea rcx, [rbp + 0x248]
mov qword [rcx], r12
add r12, qword [r12 + 0x10]
mov qword [rcx + 8], r12
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.14004ff90
mov qword [rbp + 0x270], rax
test rax, rax
je 0x14002df2c
mov rax, qword [rbp + 0x270]
mov qword [rax], 0xd
mov dword [rax + 0x60], 5
mov dword [rax + 0x6c], 0xb0
test rsi, rsi
je 0x14002dc73
mov rcx, rsi
call fcn.1400426b0
add eax, eax
mov qword [rbp + 0x268], rax
cmp eax, 0x400
ja 0x14002df2c
mov r8d, dword [rbp + 0x268]
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0x6c]
jmp 0x14002dc7b
mov eax, 0xb0
xor r8d, r8d
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002df2c
mov rbx, qword [rbp + 0x270]
add rcx, rbx
mov rdx, rsi
call fcn.14002e960
mov eax, dword [rbx + 0x6c]
mov rcx, qword [rbp + 0x268]
add eax, ecx
add eax, 7
and eax, 0xfffffff8
mov dword [rbx + 0x78], eax
mov dword [rbx + 0x70], ecx
mov dword [rbx + 0x68], 1
test r13, r13
je 0x14002dcee
mov rcx, r13
call fcn.1400426b0
mov r12, rax
add r12d, r12d
cmp r12d, 0x400
ja 0x14002df2c
mov r8d, r12d
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0x78]
jmp 0x14002dcf4
xor r8d, r8d
xor r12d, r12d
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002df2c
mov rbx, qword [rbp + 0x270]
add rcx, rbx
mov rdx, r13
call fcn.14002e960
mov eax, dword [rbx + 0x78]
add eax, r12d
add eax, 7
and eax, 0xfffffff8
mov dword [rbx + 0x84], eax
mov dword [rbx + 0x7c], r12d
mov dword [rbx + 0x74], 1
cmp dword [rbp + 0x264], 0xfffffefd
jae 0x14002dd4a
xor r8d, r8d
xor r12d, r12d
jmp 0x14002dd79
mov rcx, qword [rbp + 0x258]
call fcn.1400426b0
mov r12, rax
add r12d, r12d
cmp r12d, 0x400
ja 0x14002df2c
mov r8d, r12d
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0x84]
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002df2c
mov rbx, qword [rbp + 0x270]
add rcx, rbx
mov rdx, qword [rbp + 0x258]
call fcn.14002e960
mov eax, dword [rbx + 0x84]
add eax, r12d
add eax, 7
and eax, 0xfffffff8
mov dword [rbx + 0x90], eax
mov dword [rbx + 0x88], r12d
mov dword [rbx + 0x80], 1
test r15, r15
je 0x14002ddfa
mov rcx, r15
call fcn.1400426b0
mov r12, rax
add r12d, r12d
cmp r12d, 0x400
ja 0x14002df2c
mov r8d, r12d
mov rax, qword [rbp + 0x270]
mov eax, dword [rax + 0x90]
jmp 0x14002de00
xor r8d, r8d
xor r12d, r12d
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002df2c
mov r13, qword [rbp + 0x270]
add rcx, r13
mov rdx, r15
call fcn.14002e960
mov eax, dword [r13 + 0x90]
add eax, r12d
add eax, 7
and eax, 0xfffffff8
mov dword [r13 + 0x9c], eax
mov dword [r13 + 0x94], r12d
mov dword [r13 + 0x8c], 1
mov dword [rbp + 0x238], 0x18
mov qword [rbp + 0x240], r14
test r14, r14
je 0x14002df2c
cmp eax, 0x3e8
ja 0x14002df2c
mov ecx, eax
add rcx, r13
mov r8d, 0x18
mov rdx, r14
call fcn.14002e960
mov r14, qword [rbp + 0x270]
mov dword [r14 + 4], 1
mov eax, dword [r14 + 0x9c]
add eax, 0x1f
and eax, 0xfffffff8
mov dword [r14 + 0xa8], eax
mov dword [r14 + 0xa0], 0x18
mov dword [r14 + 0x98], 6
lea rcx, [rbp + 0x248]
lea r8, [rbp + 0x1e0]
mov rdx, r14
call fcn.140050110
cmp eax, 0xa
je 0x14002df2c
mov r12d, eax
mov r15d, dword [r14 + 0x9c]
lea rcx, [rbp + 0x238]
call fcn.14003c160
mov r14d, eax
lea rcx, [rbp + 0x238]
call fcn.14003c170
mov rdx, qword [rbp + 0x270]
add rdx, r15
mov r8d, r14d
mov rcx, rax
call fcn.14002e960
lea rcx, [rbp + 0x248]
mov rdx, qword [rbp + 0x270]
call fcn.1400500d0
test r12d, r12d
je 0x14002df3f
mov ebx, dword [rbp + 0x260]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002db3b
mov ecx, dword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
cmp dword [rbp + 0x1e8], 0
jne 0x14002db3b
lea rcx, [0x1400593fc]
mov rdx, rsi
call fcn.14003b830
mov edi, 1
jmp 0x14002db3b