Function at 0x67152070
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x67299417
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x674c7008]
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 - 0x30], 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 edi, eax
or ebx, 0xffffffff
test edi, edi
je 0x671521da
push 0x104
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x67152125
cmp eax, 0x104
jae 0x67152125
push eax
lea eax, [ebp]
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 edi, eax
lea edx, [ebx + 4]
jmp 0x67152140
push edi
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 edi, eax
mov edx, 5
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [ebp - 0x10], edx
mov dword [edi], ecx
test dl, 4
je 0x67152193
mov eax, dword [ebp - 0x14]
and edx, 0xfffffffb
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x67152175
cmp eax, 0xffffffff
je 0x67152190
mov eax, dword [ebp - 0x14]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67152190
mov eax, dword [ebp - 0x14]
cmp eax, 0x674c7cb4
je 0x67152190
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push eax
call edi
mov edx, dword [ebp - 0x10]
add esp, 4
jmp 0x67152199
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 4], 0
test dl, 2
je 0x671521da
mov eax, dword [ebp - 0x1c]
and edx, 0xfffffffd
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x671521ca
cmp eax, 0xffffffff
je 0x671521da
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x671521da
mov eax, dword [ebp - 0x1c]
cmp eax, 0x674c7cb4
je 0x671521da
push eax
call edi
add esp, 4
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x67152254
mov edi, 0x5c
push 1
push ecx
mov eax, esp
mov ecx, esi
mov word [eax], di
call sym.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const
test al, al
je 0x6715220a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
dec eax
push eax
call sym.Qt5Core.dll_public:_void___thiscall_QString::resize_int_
jmp 0x671521e7
lea eax, [ebp - 0x18]
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
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x67152244
cmp eax, 0xffffffff
je 0x67152254
mov eax, dword [ebp - 0x18]
lock xadd dword [eax], ebx
dec ebx
setne al
test al, al
jne 0x67152254
mov eax, dword [ebp - 0x18]
cmp eax, 0x674c7cb4
je 0x67152254
push eax
call edi
add esp, 4
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x67152270
push str.C:_tmp
push 6
mov ecx, esi
call fcn.67093570
jmp 0x67152302
cmp eax, 2
jl 0x67152302
mov eax, dword [ecx]
cmp eax, 1
je 0x67152284
test eax, eax
jne 0x6715228c
mov eax, dword [esi]
cmp dword [eax + 0xc], 0x10
je 0x6715229c
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 edi, dword [esi]
cmp dword [edi + 4], 1
jle 0x67152302
mov eax, dword [edi + 0xc]
cmp word [eax + edi + 2], 0x3a
jne 0x67152302
movzx eax, word [edi + eax]
lea ecx, [ebp - 0x12]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x22]
push eax
call sym.Qt5Core.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
movzx eax, word [eax]
mov word [ebp - 0x18], ax
mov eax, dword [edi]
cmp eax, 1
je 0x671522d5
test eax, eax
jne 0x671522dd
mov eax, dword [esi]
cmp dword [eax + 0xc], 0x10
je 0x671522ed
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 dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 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.67284a63
lea esp, [ebp + 0x414]
pop ebp
ret