Function at 0x14000c9d0
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov rcx, r8
call fcn.1400045f0
movzx ecx, word [rdi]
xor r12d, r12d
cmp cx, 0x5c
je 0x14000ca27
cmp cx, 0x2f
jne 0x14000ca58
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x14000ca37
cmp ax, 0x2f
jne 0x14000ca58
cmp word [rdi + 4], 0x2e
jne 0x14000ca58
movzx eax, word [rdi + 6]
cmp ax, 0x5c
je 0x14000ca4e
cmp ax, 0x2f
jne 0x14000ca58
mov ebx, 4
jmp 0x14000cb09
mov esi, 3
cmp cx, 0x5c
je 0x14000ca69
cmp cx, 0x2f
jne 0x14000ca9c
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x14000ca79
cmp ax, 0x2f
jne 0x14000ca9c
cmp word [rdi + 4], 0x3f
jne 0x14000ca9c
movzx eax, word [rdi + 6]
cmp ax, 0x5c
je 0x14000ca90
cmp ax, 0x2f
jne 0x14000ca9c
mov rcx, rdi
call fcn.14000cff0
mov ebx, eax
jmp 0x14000cb05
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x14000caae
lea eax, [rcx - 0x41]
cmp ax, 0x19
ja 0x14000cac9
cmp word [rdi + 2], 0x3a
jne 0x14000cac9
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x14000cac5
cmp ax, 0x2f
jne 0x14000cac9
mov ebx, esi
jmp 0x14000cb05
cmp cx, 0x5c
je 0x14000cada
cmp cx, 0x2f
je 0x14000cada
mov ebx, r12d
jmp 0x14000cb05
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x14000caf1
cmp ax, 0x2f
je 0x14000caf1
mov ebx, 1
jmp 0x14000cb05
lea rcx, [rdi + 4]
call fcn.14000cf70
lea ecx, [rax + 2]
mov ebx, r12d
test eax, eax
cmovne ebx, ecx
test ebx, ebx
je 0x14000cb6c
mov eax, ebx
lea rsi, [rax + rax]
lea r10, [rsi + rdi]
mov rcx, r10
call fcn.14000c820
test al, al
je 0x14000cb65
mov rdx, r10
lea rcx, [rsp + 0x40]
call fcn.140004220
nop
lea rcx, [rsp + 0x40]
call fcn.14000dba0
test al, al
je 0x14000cb5b
cmp ebx, dword [r14 + 8]
jae 0x14000cb4d
mov dword [r14 + 8], ebx
mov rax, qword [r14]
mov word [rsi + rax], r12w
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400048b0
nop
mov rcx, qword [rsp + 0x40]
call fcn.1400c79bc
mov al, 1
jmp 0x14000cd8c
lea rcx, [rsp + 0x20]
call fcn.1400042b0
nop
test r15, r15
je 0x14000cb8b
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.1400045f0
jmp 0x14000cbce
mov dword [rsp + 0x28], r12d
mov rax, qword [rsp + 0x20]
mov word [rax], r12w
mov word [rsp + 0x60], r12w
lea rdx, [rsp + 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400045f0
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x14000cd7a
mov ecx, dword [rsp + 0x28]
mov r10, qword [rsp + 0x20]
test ecx, ecx
je 0x14000cc26
mov eax, ecx
movzx edx, word [r10 + rcx*2 - 2]
cmp dx, 0x5c
je 0x14000cc26
cmp dx, 0x2f
je 0x14000cc26
cmp dword [rsp + 0x2c], ecx
jne 0x14000cc08
lea rcx, [rsp + 0x20]
call fcn.140005060
mov ecx, dword [rsp + 0x28]
mov r10, qword [rsp + 0x20]
mov eax, ecx
mov edx, 0x5c
mov word [r10 + rax*2], dx
inc ecx
mov eax, ecx
mov word [r10 + rcx*2], r12w
mov dword [rsp + 0x28], ecx
mov r10, qword [rsp + 0x20]
movzx ecx, word [r10]
cmp cx, 0x5c
je 0x14000cc36
cmp cx, 0x2f
jne 0x14000cc73
movzx eax, word [r10 + 2]
cmp ax, 0x5c
je 0x14000cc47
cmp ax, 0x2f
jne 0x14000cc73
cmp word [r10 + 4], 0x3f
jne 0x14000cc73
movzx eax, word [r10 + 6]
cmp ax, 0x5c
je 0x14000cc60
cmp ax, 0x2f
jne 0x14000cc73
mov rcx, r10
call fcn.14000cff0
mov esi, eax
test eax, eax
jne 0x14000ccd9
jmp 0x14000cd7f
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x14000cc85
lea eax, [rcx - 0x41]
cmp ax, 0x19
ja 0x14000cc9e
cmp word [r10 + 2], 0x3a
jne 0x14000cc9e
movzx eax, word [r10 + 4]
cmp ax, 0x5c
je 0x14000ccd9
cmp ax, 0x2f
je 0x14000ccd9
cmp cx, 0x5c
je 0x14000ccae
cmp cx, 0x2f
jne 0x14000cd7f
movzx eax, word [r10 + 2]
cmp ax, 0x5c
je 0x14000ccc3
cmp ax, 0x2f
jne 0x14000cd7f
lea rcx, [r10 + 4]
call fcn.14000cf70
mov esi, eax
test eax, eax
je 0x14000cd7f
add esi, 2
lea rcx, [rsp + 0x30]
call fcn.1400042b0
nop
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x14000cd17
cmp ax, 0x2f
je 0x14000cd17
mov ebx, esi
mov rax, qword [rsp + 0x20]
lea rdx, [rax + rbx*2]
lea rcx, [rsp + 0x30]
call fcn.140004a60
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140004a60
jmp 0x14000cd27
lea rdx, [rdi + 2]
lea rcx, [rsp + 0x30]
call fcn.1400045f0
mov ebx, esi
lea rcx, [rsp + 0x30]
call fcn.14000dba0
test al, al
jne 0x14000cd39
xor bl, bl
jmp 0x14000cd69
cmp esi, dword [rsp + 0x28]
jae 0x14000cd4d
mov dword [rsp + 0x28], esi
mov rax, qword [rsp + 0x20]
mov word [rax + rbx*2], r12w
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140004400
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400048b0
mov bl, 1
mov rcx, qword [rsp + 0x30]
call fcn.1400c79bc
mov r10, qword [rsp + 0x20]
jmp 0x14000cd81
mov r10, qword [rsp + 0x20]
xor bl, bl
mov rcx, r10
call fcn.1400c79bc
movzx eax, bl
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400c7aa0
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret