Function at 0x14013bd50
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x178]
sub rsp, 0x268
mov rax, qword [0x1402ad418]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov qword [r11 + 0x10], rbx
lea rdx, [rsp + 0x40]
mov qword [r11 + 0x18], rsi
mov rdi, rcx
mov qword [r11 - 0x18], r14
mov ecx, 0x104
lea r14, [0x1401fd088]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
je 0x14013bec5
cmp ebx, 0x104
jbe 0x14013be59
mov eax, 2
mul rbx
mov rdx, 0xffffffffffffffff
cmovo rax, rdx
mov rcx, rax
call fcn.1401bc638
mov rdx, rax
mov ecx, 0x104
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14013be4f
mov r8d, ebx
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1401877c0
mov rbx, qword [rax]
mov qword [rax], r14
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14013be17
cmp eax, 0xffffffff
je 0x14013be25
sub eax, 1
mov dword [rcx], eax
jne 0x14013be25
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov eax, dword [rcx]
test eax, eax
je 0x14013be41
cmp eax, 0xffffffff
je 0x14013be4f
sub eax, 1
mov dword [rcx], eax
jne 0x14013be4f
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, rsi
call fcn.1401bbfd0
jmp 0x14013bec5
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1401877c0
mov rbx, qword [rax]
mov qword [rax], r14
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14013be8d
cmp eax, 0xffffffff
je 0x14013be9b
sub eax, 1
mov dword [rcx], eax
jne 0x14013be9b
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov eax, dword [rcx]
test eax, eax
je 0x14013beb7
cmp eax, 0xffffffff
je 0x14013beca
sub eax, 1
mov dword [rcx], eax
jne 0x14013bec5
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rbx, qword [rsp + 0x20]
mov edx, dword [rbx + 4]
mov r14, qword [rsp + 0x260]
cmp edx, 2
jl 0x14013bff9
cmp dword [rbx], 1
ja 0x14013beea
cmp qword [rbx + 0x10], 0x18
je 0x14013befe
inc edx
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.14018ae80
mov rbx, qword [rsp + 0x20]
cmp dword [rbx + 4], 1
mov rsi, rbx
jle 0x14013bfed
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x14013bf38
cmp rax, 0x18
jae 0x14013bf38
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov rbx, qword [rsp + 0x20]
mov rax, qword [rsi + 0x10]
cmp word [rax + rsi + 2], 0x3a
jne 0x14013bff9
cmp dword [rbx + 4], 0
ja 0x14013bf72
mov r8d, 0x430
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.uint_i____uint_size___
call fcn.140160ea0
mov rbx, qword [rsp + 0x20]
cmp dword [rbx + 4], 0
je 0x14013bf9a
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x14013bf9a
cmp rax, 0x18
jae 0x14013bf9a
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov rax, qword [rbx + 0x10]
movzx ecx, word [rbx + rax]
call fcn.14018fbb0
mov ebx, eax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 1
ja 0x14013bfba
cmp qword [rax + 0x10], 0x18
je 0x14013bfcc
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x20]
inc edx
xor r8d, r8d
call fcn.14018ae80
lea rax, [rsp + 0x20]
mov dword [rsp + 0x38], 0
movzx edx, bx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14002ed10
jmp 0x14013bff9
mov edx, 1
xor ecx, ecx
call fcn.140146620
movzx r8d, byte [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140139050
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x288]
mov eax, dword [rcx]
test eax, eax
je 0x14013c038
cmp eax, 0xffffffff
je 0x14013c046
sub eax, 1
mov dword [rcx], eax
jne 0x14013c046
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rax, rdi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1401bc2c0
add rsp, 0x268
pop rdi
pop rbp
ret