Function at 0x670dc6eb
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x671b192e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6753165c]
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 edi, dword [ebp + 0x41c]
mov dword [ebp - 0x20], edi
and dword [ebp - 0x10], 0
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
and dword [ebp - 4], 0
lea eax, [ebp + 0x208]
push eax
mov ebx, 0x104
mov dword [ebp - 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
test esi, esi
je 0x670dc7da
push ebx
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x670dc78c
cmp eax, ebx
jae 0x670dc78c
push eax
lea eax, [ebp]
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 edx, eax
push 3
jmp 0x670dc7a4
push esi
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x1c]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
add esp, 0xc
mov edx, eax
push 5
mov ecx, dword [edi]
mov eax, dword [edx]
pop ebx
mov dword [edi], eax
mov dword [ebp - 0x10], ebx
mov dword [edx], ecx
test bl, 4
je 0x670dc7c3
and ebx, 0xfffffffb
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
and dword [ebp - 4], 0
test bl, 2
je 0x670dc7da
and ebx, 0xfffffffd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x670dc821
push 1
push ecx
mov eax, esp
push 0x5c
pop ecx
mov word [eax], cx
mov ecx, edi
call sym.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const
test al, al
je 0x670dc803
push 1
mov ecx, edi
call sym.Qt5Core.dll_public:_void___thiscall_QString::chop_int_
jmp 0x670dc7e2
lea eax, [ebp - 0x14]
push edi
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const__
mov edx, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [edi], eax
mov dword [edx], ecx
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [edi]
mov eax, dword [eax + 4]
test eax, eax
jne 0x670dc841
mov esi, str.C:_tmp
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push esi
push eax
mov ecx, edi
call fcn.67066a57
jmp 0x670dc893
cmp eax, 2
jl 0x670dc893
mov ecx, edi
call sym.Qt5Core.dll_public:_void___thiscall_QString::detach_void_
lea eax, [ebp - 0x1a]
mov dword [ebp - 0x18], edi
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 1
call sym.Qt5Core.dll_public:_class_QChar___thiscall_QCharRef::operator_class_QChar_void_
cmp word [eax], 0x3a
jne 0x670dc893
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
movzx esi, word [eax + ecx]
mov ecx, edi
call sym.Qt5Core.dll_public:_void___thiscall_QString::detach_void_
and dword [ebp - 0x14], 0
mov ecx, esi
mov dword [ebp - 0x18], edi
call sym.Qt5Core.dll_public:_static_unsigned_int___fastcall_QChar::toUpper_unsigned_int_
movzx ecx, ax
push ecx
lea ecx, [ebp - 0x18]
call sym.Qt5Core.dll_public:_class_QCharRef____thiscall_QCharRef::operator_class_QChar_
mov eax, edi
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.671a2acb
add ebp, 0x414
leave
ret