Function at 0x180011ae0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
mov eax, 0x1040
call fcn.1800302b0
sub rsp, rax
mov rax, qword [0x18003a7d8]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
movzx ecx, word [rcx]
mov rbp, r8
mov rsi, rdx
test cx, cx
jne 0x180011b1b
xor al, al
jmp 0x180011dc8
mov qword [rsp + 0x1038], rdi
mov qword [rsp + 0x1030], r12
call fcn.180017570
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r12, rcx
movzx ecx, word [rbx]
cmp cx, 0x5c
jne 0x180011b58
cmp word [rbx + 2], cx
lea rdi, [rbx + 2]
je 0x180011b8c
call fcn.180017570
sub ax, 0x41
cmp ax, 0x19
ja 0x180011c68
cmp word [rbx + 2], 0x3a
lea rdi, [rbx + 2]
jne 0x180011c68
movzx eax, word [rbx + 4]
cmp eax, 0x5c
je 0x180011b8c
cmp eax, 0x2f
jne 0x180011c68
movzx ecx, word [rbx]
call fcn.180017570
sub ax, 0x41
cmp ax, 0x19
ja 0x180011be8
cmp word [rdi], 0x3a
jne 0x180011be8
lea rax, [r12 + 4]
cmp rbp, rax
jbe 0x180011db6
lea rdx, [0x180032cd8]
mov r8d, 4
mov rcx, rsi
call fcn.180026730
sub rsi, rbx
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
mov word [rsi + rbx + 6], ax
test ax, ax
jne 0x180011bd0
mov al, 1
jmp 0x180011db8
cmp word [rbx], 0x5c
jne 0x180011db6
cmp word [rdi], 0x5c
jne 0x180011db6
lea rax, [r12 + 6]
cmp rbp, rax
jbe 0x180011db6
lea rdx, [0x180032cd8]
mov r8d, 4
mov rcx, rsi
call fcn.180026730
lea r11, [0x180032cd0]
mov rcx, rsi
sub rcx, r11
nop dword [rax]
movzx eax, word [r11]
add r11, 2
mov word [rcx + r11 + 6], ax
test ax, ax
jne 0x180011c30
sub rsi, rdi
nop word [rax + rax]
movzx eax, word [rdi]
add rdi, 2
mov word [rsi + rdi + 0xc], ax
test ax, ax
jne 0x180011c50
mov al, 1
jmp 0x180011db8
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x180011db6
cmp eax, 0x7ff
ja 0x180011db6
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x180011d6b
cmp eax, 0x2f
je 0x180011d6b
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x180011ce2
cmp word [rsp + rcx*2 + 0x1e], 0x5c
je 0x180011ce2
lea rax, [rcx + 1]
cmp rax, 0x800
jae 0x180011ce2
xor eax, eax
lea rdi, [rsp + 0x20]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x180032c98]
mov dword [rdi - 2], eax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
lea rax, [rcx + r12 + 3]
cmp rbp, rax
jbe 0x180011db6
lea rdx, [0x180032cd8]
mov r8d, 4
mov rcx, rsi
call fcn.180026730
lea rax, [rsp + 0x20]
mov rcx, rsi
sub rcx, rax
lea rdx, [rsp + 0x20]
nop word [rax + rax]
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx + 6], ax
test ax, ax
jne 0x180011d30
cmp word [rbx], 0x2e
jne 0x180011d59
movzx eax, word [rbx + 2]
cmp eax, 0x5c
je 0x180011d55
cmp eax, 0x2f
jne 0x180011d59
add rbx, 4
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
call fcn.180017620
mov al, 1
jmp 0x180011db8
lea rax, [r12 + 6]
cmp rbp, rax
jbe 0x180011db6
lea rdx, [0x180032cd8]
mov r8d, 4
mov rcx, rsi
call fcn.180026730
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.180026730
sub rsi, rbx
movzx eax, word [rbx]
add rbx, 2
mov word [rsi + rbx + 0xa], ax
test ax, ax
jne 0x180011da1
mov al, 1
jmp 0x180011db8
xor al, al
mov rdi, qword [rsp + 0x1038]
mov r12, qword [rsp + 0x1030]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.180025eb0
add rsp, 0x1040
pop rsi
pop rbp
pop rbx
ret