Function at 0x6713f330
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x6727cc17
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x674c412c]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x41c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0
mov dword [esi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
lea eax, [ebp + 0x208]
mov dword [ebp - 4], 0
push eax
push 0x104
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
or edi, 0xffffffff
test ebx, ebx
je 0x6713f487
push 0x104
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x6713f3e5
cmp eax, 0x104
jae 0x6713f3e5
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
mov ebx, eax
lea edx, [edi + 4]
jmp 0x6713f400
push ebx
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x14]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
mov ebx, eax
mov edx, 5
mov ecx, dword [esi]
mov eax, dword [ebx]
mov dword [esi], eax
mov dword [ebp - 0x10], edx
mov dword [ebx], ecx
test dl, 4
je 0x6713f447
mov eax, dword [ebp - 0x14]
and edx, 0xfffffffb
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x6713f435
cmp eax, 0xffffffff
je 0x6713f444
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713f444
push 4
push 2
push dword [ebp - 0x14]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test dl, 2
je 0x6713f487
mov eax, dword [ebp - 0x18]
and edx, 0xfffffffd
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x6713f478
cmp eax, 0xffffffff
je 0x6713f487
mov eax, dword [ebp - 0x18]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6713f487
push 4
push 2
push dword [ebp - 0x18]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x6713f4f5
mov ebx, 0x5c
push 1
push ecx
mov eax, esp
mov ecx, esi
mov word [eax], bx
call sym.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const
test al, al
je 0x6713f4b2
push 1
mov ecx, esi
call sym.Qt5Core.dll_public:_void___thiscall_QString::chop_int_
jmp 0x6713f494
lea eax, [ebp - 0x1c]
push esi
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const__
mov ecx, dword [esi]
mov edx, eax
add esp, 8
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x6713f4e6
cmp eax, 0xffffffff
je 0x6713f4f5
mov eax, dword [ebp - 0x1c]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x6713f4f5
push 4
push 2
push dword [ebp - 0x1c]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x6713f50e
push str.C:_tmp
push 6
mov ecx, esi
call fcn.6708b6e0
jmp 0x6713f58d
cmp eax, 2
jl 0x6713f58d
mov eax, dword [ecx]
cmp eax, 1
je 0x6713f51e
test eax, eax
jne 0x6713f526
mov eax, dword [esi]
cmp dword [eax + 0xc], 0x10
je 0x6713f536
mov eax, dword [esi]
mov ecx, esi
push 0
mov eax, dword [eax + 4]
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [esi]
cmp dword [eax + 4], 1
jle 0x6713f58d
mov ecx, dword [eax + 0xc]
cmp word [ecx + eax + 2], 0x3a
jne 0x6713f58d
movzx ecx, word [ecx + eax]
call sym.Qt5Core.dll_public:_static_unsigned_int___fastcall_QChar::toUpper_unsigned_int_
movzx edi, ax
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x6713f562
test eax, eax
jne 0x6713f56a
mov eax, dword [esi]
cmp dword [eax + 0xc], 0x10
je 0x6713f57a
mov eax, dword [esi]
mov ecx, esi
push 0
mov eax, dword [eax + 4]
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
call sym.Qt5Core.dll_public:_class_QCharRef____thiscall_QCharRef::operator_short_int_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.67267c3b
lea esp, [ebp + 0x414]
pop ebp
ret