Function at 0x1400056a4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r8
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rsi, r8
mov r13, rdx
mov rbx, rcx
mov rcx, r8
call fcn.140002de4
mov rcx, r13
call fcn.1400054a0
mov r14d, eax
xor edi, edi
test eax, eax
je 0x1400057bc
lea rdx, [r14*2]
add rdx, r13
mov r8d, edi
movzx ecx, word [rdx]
test cx, cx
je 0x1400057b5
lea r15d, [rdi + 0x5c]
cmp cx, 0x2e
jne 0x140005763
test r8d, r8d
je 0x14000572a
lea eax, [r8 - 1]
cmp word [rdx + rax*2], r15w
je 0x14000572a
cmp word [rdx + rax*2], 0x2f
jne 0x140005763
lea r9d, [r8 + 2]
lea eax, [r9 - 1]
movzx eax, word [rdx + rax*2]
test ax, ax
je 0x140005772
cmp ax, r15w
je 0x140005772
cmp ax, 0x2f
je 0x140005772
cmp ax, 0x2e
jne 0x140005763
cmp word [rdx + r9*2], di
je 0x140005772
cmp word [rdx + r9*2], r15w
je 0x140005772
cmp word [rdx + r9*2], 0x2f
je 0x140005772
inc r8d
movzx ecx, word [rdx + r8*2]
test cx, cx
je 0x1400057b5
jmp 0x14000570d
lea rcx, [rsp + 0x30]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x30]
call fcn.14000556c
test al, al
je 0x1400057ab
cmp r14d, dword [rsi + 8]
jae 0x14000579d
mov dword [rsi + 8], r14d
mov rcx, qword [rsi]
mov word [rcx + r14*2], di
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140003194
nop
mov rcx, qword [rsp + 0x30]
call fcn.14003d378
mov al, 1
jmp 0x1400059a2
lea rcx, [rsp + 0x20]
call fcn.140002ca8
nop
test rbx, rbx
je 0x1400057db
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140002de4
jmp 0x14000581b
mov dword [rsp + 0x28], edi
mov rax, qword [rsp + 0x20]
mov word [rax], di
mov word [rsp + 0x40], di
lea rdx, [rsp + 0x40]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140002de4
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x140005992
mov r15d, 0x5c
mov r14d, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
test r14d, r14d
je 0x140005871
cmp word [rbx + r14*2 - 2], r15w
je 0x140005871
cmp word [rbx + r14*2 - 2], 0x2f
je 0x140005871
cmp dword [rsp + 0x2c], r14d
jne 0x14000585c
lea rcx, [rsp + 0x20]
call fcn.140002b48
mov r14d, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov eax, r14d
mov word [rbx + rax*2], r15w
inc r14d
mov word [rbx + r14*2], di
mov dword [rsp + 0x28], r14d
mov rcx, rbx
call fcn.140005300
test al, al
je 0x14000588d
call fcn.14000540c
mov esi, eax
test eax, eax
jne 0x1400058fa
jmp 0x140005997
call fcn.140005130
test al, al
je 0x14000589d
mov esi, 3
jmp 0x1400058fa
cmp word [rbx], r15w
je 0x1400058ad
cmp word [rbx], 0x2f
jne 0x140005997
cmp word [rbx + 2], r15w
je 0x1400058bf
cmp word [rbx + 2], 0x2f
jne 0x140005997
lea r9, [rbx + 4]
mov rcx, r9
call fcn.1400050a0
mov r8d, eax
test eax, eax
js 0x140005997
lea rcx, [r8 + 1]
lea rcx, [r9 + rcx*2]
call fcn.1400050a0
test eax, eax
js 0x140005997
lea esi, [r8 + 2]
add esi, eax
je 0x140005997
add esi, 2
lea rcx, [rsp + 0x30]
call fcn.140002ca8
nop
cmp word [r13], r15w
je 0x140005934
cmp word [r13], 0x2f
je 0x140005934
mov r15d, esi
lea rdx, [rbx + r15*2]
lea rcx, [rsp + 0x30]
call fcn.140003134
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.140003134
jmp 0x140005945
lea rdx, [r13 + 2]
lea rcx, [rsp + 0x30]
call fcn.140002de4
mov r15d, esi
lea rcx, [rsp + 0x30]
call fcn.14000556c
test al, al
je 0x140005986
cmp esi, r14d
jae 0x140005961
mov dword [rsp + 0x28], esi
mov word [rbx + r15*2], di
lea rdx, [rsp + 0x20]
mov rcx, qword [rbp + 0x190]
call fcn.140002e78
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp + 0x190]
call fcn.140003194
mov dil, 1
mov rcx, qword [rsp + 0x30]
call fcn.14003d378
jmp 0x140005997
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14003d378
mov al, dil
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret