Function at 0x670e6c60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x67160af2
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x672699e0]
xor eax, esp
mov dword [esp + 0x220], eax
push esi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x23c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], esi
mov dword [esi], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x20]
push edx
push 0x104
mov dword [esp + 0x23c], 0
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x670e6d1b
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [esi], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670e6d1b
mov edx, dword [esp + 0xc]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x670e6d95
mov ecx, 0x5c
push 1
lea edx, [esp + 0xe]
mov word [esp + 0xe], cx
push edx
mov ecx, esi
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670e6d65
nop
push 1
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QString::chop_int_
push 1
lea ecx, [esp + 0xe]
mov eax, 0x5c
push ecx
mov ecx, esi
mov word [esp + 0x12], ax
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670e6d40
lea edx, [esp + 0xc]
push esi
push edx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const__
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [esi], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
add esp, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670e6d95
mov edx, dword [esp + 0xc]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x670e6dd6
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push str.C:_tmp
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [esi], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670e6e23
mov edx, dword [esp + 0xc]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670e6e23
cmp eax, 2
jl 0x670e6e23
mov eax, ecx
cmp dword [eax + 8], 1
jle 0x670e6dec
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 2]
jmp 0x670e6dee
xor eax, eax
cmp ax, 0x3a
jne 0x670e6e23
mov ecx, dword [ecx + 0xc]
mov dx, word [ecx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xe]
mov word [esp + 0xe], dx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
call sym.QtCore4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
push eax
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_class_QCharRef____thiscall_QCharRef::operator_class_QChar_const__
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.671509a6
add esp, 0x230
ret