Function at 0x14002c534
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x1400893e8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x2a8]
mov rsi, r9
mov r14, qword [rbp + 0x290]
mov rbx, r8
mov r12, qword [rbp + 0x2b0]
mov r15, rdx
mov r13, qword [rbp + 0x2c0]
mov rdi, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x2b8]
mov qword [rsp + 0x50], rax
call fcn.140031eb0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140039ea8
test al, al
je 0x14002c601
mov rax, qword [rsp + 0x50]
mov r9, r14
mov qword [rsp + 0x48], r13
mov r8, rsi
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rax, qword [rsp + 0x58]
mov rcx, r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x2a0]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x298]
mov dword [rsp + 0x20], eax
call rdi
xor r14d, r14d
test eax, eax
jne 0x14002c7dc
jmp 0x14002c604
xor r14d, r14d
call fcn.140031eb0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140039ea0
test al, al
je 0x14002c673
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x18
mov rcx, r13
mov dword [rsp + 0x50], eax
lea r8d, [rdx - 0x17]
call fcn.140032c3c
test al, al
je 0x14002c669
call fcn.140032704
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002c669
mov rdi, r14
mov rsi, r14
test rbx, rbx
je 0x14002c698
mov rcx, rbx
call fcn.140032404
xor ebx, ebx
mov rdi, rax
test rax, rax
jne 0x14002c698
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400707e0
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r15, r15
je 0x14002c6b9
mov rcx, r15
call fcn.140032404
mov rsi, rax
test rax, rax
jne 0x14002c6b9
mov rcx, rdi
xor edx, edx
call fcn.140031f58
jmp 0x14002c669
test r12, r12
je 0x14002c6dd
mov rcx, r12
call fcn.140032404
mov r14, rax
test rax, rax
jne 0x14002c6dd
xor edx, edx
mov rcx, rdi
call fcn.140031f58
mov rcx, rsi
jmp 0x14002c6b0
test rdi, rdi
je 0x14002c6e8
mov rax, qword [rdi + 8]
jmp 0x14002c6eb
mov rax, rbx
mov qword [rsp + 0x78], rax
test rsi, rsi
je 0x14002c6fb
mov rax, qword [rsi + 8]
jmp 0x14002c6fe
mov rax, rbx
mov qword [rbp - 0x80], rax
test r14, r14
je 0x14002c70d
mov rax, qword [r14 + 8]
jmp 0x14002c710
mov rax, rbx
lea rdx, [rbp]
mov qword [rsp + 0x68], rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp]
dec eax
cmp eax, 0x102
cmova rcx, rbx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 0x78]
call fcn.14003651c
xor edx, edx
lea rcx, [rbp - 0x60]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x60]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x80]
lea rax, [rsp + 0x68]
mov edx, 0xd
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14002c364
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140031f58
xor edx, edx
mov rcx, rsi
call fcn.140031f58
xor edx, edx
mov rcx, r14
call fcn.140031f58
xor edi, edi
test ebx, ebx
jne 0x14002c669
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp - 0x58], edi
jne 0x14002c673
mov eax, 1
jmp 0x14002c675