Function at 0x670f3480
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x672bfab0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x30], 0
lea rax, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rsp + 0x20], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
or rbx, 0xffffffffffffffff
test eax, eax
je 0x670f35a3
cmp esi, 0x104
jbe 0x670f356a
mov eax, 2
mul rsi
cmovo rax, rbx
mov rcx, rax
call fcn.671620f4
mov r12, rax
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x670f3560
mov r8d, esi
mov rdx, r12
lea rcx, [rsp + 0x38]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov r11, rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov qword [r11], rcx
mov rax, qword [rsp + 0x38]
lock dec dword [rax]
jne 0x670f3560
mov rcx, qword [rsp + 0x38]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rcx, r12
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x670f35a3
mov r8d, esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov r11, rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov qword [r11], rcx
mov rax, qword [rsp + 0x40]
lock dec dword [rax]
jne 0x670f35a3
mov rcx, qword [rsp + 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax + 8]
cmp ecx, 2
jl 0x670f3622
cmp ecx, 1
jle 0x670f3622
mov rcx, qword [rax + 0x10]
cmp word [rcx + 2], 0x3a
jne 0x670f3622
movzx eax, word [rcx]
mov word [rsp + 0x2a], ax
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x2a]
call sym.QtCoreVBox4.dll_public:_class_QChar___cdecl_QChar::toUpper_void____ptr64
mov rsi, rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 8], 0
jg 0x670f35f3
xor edx, edx
lea rcx, [rsp + 0x20]
call sym.QtCoreVBox4.dll_private:_void___cdecl_QString::expand_int____ptr64
jmp 0x670f3613
mov ecx, dword [rax]
cmp ecx, 1
jne 0x670f3609
mov r11, qword [rsp + 0x20]
lea rax, [r11 + 0x1a]
cmp qword [r11 + 0x10], rax
je 0x670f3618
lea rcx, [rsp + 0x20]
call sym.QtCoreVBox4.dll_private:_void___cdecl_QString::realloc_void____ptr64
mov r11, qword [rsp + 0x20]
movzx ecx, word [rsi]
mov rax, qword [r11 + 0x10]
mov word [rax], cx
xor eax, eax
mov byte [rsp + 0x28], al
movzx r8d, al
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.670e1d00
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x20]
lock dec dword [rcx]
jne 0x670f3655
mov rcx, qword [rsp + 0x20]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.671623b0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret