Function at 0x14007c550
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x380
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14027c048]
xor rax, rsp
mov qword [rsp + 0x378], rax
lea r12, [rsp + 0x270]
mov qword [rsp + 0x258], r12
mov qword [rsp + 0x260], 0
mov qword [rsp + 0x268], 0x104
lea rdx, [rsp + 0x258]
mov rcx, r14
call fcn.140076980
mov rax, qword [rsp + 0x260]
cmp rax, 4
jb 0x14007c5ef
mov rcx, qword [rsp + 0x258]
cmp dword [rcx], 0x2f3f2f2f
jne 0x14007c5ef
lea rcx, [rsp + 0x258]
mov edx, 3
call fcn.140078cb0
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x258]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
mov rcx, rsi
mov edx, 0xfde9
mov r9, rdi
call fcn.140080380
cmp dword [rsi], 0
jne 0x14007c863
xor r15d, r15d
mov rcx, r14
xor edx, edx
call fcn.140079860
mov ebp, eax
test al, al
jne 0x14007c647
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14007c72d
mov r15d, eax
add r15, qword [rdi + 8]
cmp r15, rbx
jae 0x14007c68b
mov dword [rsi], 0
mov eax, dword [0x1402b90c0]
mov ecx, dword [0x1402b92f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007c89b
lea rax, [0x14027b498]
mov qword [rsi + 8], rax
jmp 0x14007c863
cmp qword [rsp + 0x260], 4
jb 0x14007c6a6
mov rax, qword [rsp + 0x258]
cmp dword [rax], 0x5c3f5c5c
je 0x14007c650
test bpl, bpl
jne 0x14007c6c4
lea rdx, [rsp + 0x258]
mov rcx, rsi
call fcn.14007b610
cmp dword [rsi], 0
jne 0x14007c863
lea rbx, [rsp + 0x258]
mov rcx, rbx
mov edx, 3
call fcn.140078cb0
mov rcx, rbx
mov dl, 1
mov r8d, 3
call fcn.1400799c0
movups xmm0, xmmword [rsp + 0x258]
movups xmmword [rsp + 0x28], xmm0
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x28]
xor r8d, r8d
call fcn.140076ee0
mov rax, qword [rsp + 0x50]
cmp rax, 3
jb 0x14007c742
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rcx]
cmp edx, 0x5c
je 0x14007c725
cmp edx, 0x2f
jne 0x14007c747
cmp byte [rcx + 1], dl
sete dl
jmp 0x14007c749
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edx, eax
call fcn.14008e840
jmp 0x14007c863
mov rcx, qword [rsp + 0x48]
xor edx, edx
xor r8d, r8d
cmp byte [rcx + rax - 1], 0x3a
cmove r8, rcx
test dl, dl
cmovne r8, rcx
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], 0x208
mov dword [rsp + 0x50], 0x5c3f5c5c
mov qword [rsp + 0x40], 4
cmp byte [r8 + 1], 0x3a
jne 0x14007c7b8
mov r15, qword [rsp + 0x258]
mov r14, qword [rsp + 0x260]
lea r8, [r14 + 4]
cmp r8, 0x209
jb 0x14007c7ff
lea rcx, [rsp + 0x38]
mov r9d, 1
mov rdx, rbx
call fcn.1400218c0
jmp 0x14007c810
mov r15, qword [rsp + 0x258]
mov rax, qword [rsp + 0x260]
mov dword [rsp + 0x54], 0x5c434e55
mov qword [rsp + 0x40], 8
lea r14, [rax - 2]
lea r8, [rax + 6]
cmp r8, 0x209
jb 0x14007c806
lea rcx, [rsp + 0x38]
mov r9d, 1
mov rdx, rbx
call fcn.1400218c0
jmp 0x14007c80c
test r14, r14
jne 0x14007c810
jmp 0x14007c825
cmp rax, 2
je 0x14007c825
add r15, 2
mov rcx, qword [rsp + 0x38]
add rcx, qword [rsp + 0x40]
mov rdx, r15
mov r8, r14
call fcn.1401a77b0
add r14, qword [rsp + 0x40]
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x28]
mov rcx, rsi
mov edx, 0xfde9
mov r9, rdi
call fcn.140080380
mov rcx, qword [rsp + 0x38]
cmp rcx, rbx
je 0x14007c863
call qword [0x140276c98]
mov rcx, qword [rsp + 0x258]
cmp rcx, r12
je 0x14007c876
call qword [0x140276c98]
mov rcx, qword [rsp + 0x378]
xor rcx, rsp
call fcn.1401a5de0
mov rax, rsi
add rsp, 0x380
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1402b90c0]
call fcn.1401a5bcc
cmp dword [0x1402b90c0], 0xffffffff
jne 0x14007c67b
lea rcx, [fcn.140005fc0]
call fcn.1401a5e00
lea rcx, [0x1402b90c0]
call fcn.1401a5c34
jmp 0x14007c67b