Function at 0x670f3280
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
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 [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x28], 0
lea rax, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rcx], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
mov dword [rsp + 0x28], 1
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
or edi, 0xffffffff
test eax, eax
je 0x670f3323
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov r11, rax
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [r11], rcx
mov rax, qword [rsp + 0x30]
lock dec dword [rax]
jne 0x670f3323
mov rcx, qword [rsp + 0x30]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x670f33a9
mov esi, 0x5c
mov word [rsp + 0x20], si
lea r8d, [rsi - 0x5b]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sym.QtCoreVBox4.dll_public:_bool___cdecl_QString::endsWith_class_QChar_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64
test al, al
je 0x670f3379
nop dword [rax + rax]
mov edx, 1
mov rcx, rbx
call sym.QtCoreVBox4.dll_public:_void___cdecl_QString::chop_int____ptr64
mov word [rsp + 0x20], si
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sym.QtCoreVBox4.dll_public:_bool___cdecl_QString::endsWith_class_QChar_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64
test al, al
jne 0x670f3350
mov rdx, rbx
lea rcx, [rsp + 0x38]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const____ptr64_
mov r11, rax
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [r11], rcx
mov rax, qword [rsp + 0x38]
lock dec dword [rax]
jne 0x670f33a9
mov rcx, qword [rsp + 0x38]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rdx, qword [rbx]
mov eax, dword [rdx + 8]
test eax, eax
jne 0x670f33e9
mov r8d, edi
lea rdx, str.C:_tmp
lea rcx, [rsp + 0x40]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_
mov rdx, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x40]
lock dec dword [rcx]
jne 0x670f3456
mov rcx, qword [rsp + 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x670f3456
cmp eax, 2
jl 0x670f3456
cmp eax, 1
jle 0x670f3456
mov rax, qword [rdx + 0x10]
cmp word [rax + 2], 0x3a
jne 0x670f3456
movzx ecx, word [rax]
mov word [rsp + 0x22], cx
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x22]
call sym.QtCoreVBox4.dll_public:_class_QChar___cdecl_QChar::toUpper_void____ptr64
mov rdi, rax
mov rcx, qword [rbx]
cmp dword [rcx + 8], 0
jg 0x670f342d
xor edx, edx
mov rcx, rbx
call sym.QtCoreVBox4.dll_private:_void___cdecl_QString::expand_int____ptr64
jmp 0x670f3449
mov eax, dword [rcx]
cmp eax, 1
jne 0x670f3441
mov rcx, qword [rbx]
lea rax, [rcx + 0x1a]
cmp qword [rcx + 0x10], rax
je 0x670f3449
mov rcx, rbx
call sym.QtCoreVBox4.dll_private:_void___cdecl_QString::realloc_void____ptr64
movzx edx, word [rdi]
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov word [rcx], dx
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.671623b0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret