Function at 0x670dc3f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x67153378
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x67256a20]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
mov eax, dword [0x67256a20]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov esi, dword [esp + 0x240]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 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 + 0x24]
push edx
push 0x104
mov dword [esp + 0x240], ebx
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
je 0x670dc4b8
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x23c], 1
call fcn.6705f610
mov edx, dword [esp + 0x10]
mov byte [esp + 0x238], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dc4b8
mov ecx, dword [esp + 0x10]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esi]
cmp dword [edx + 8], ebx
je 0x670dc547
push 1
lea ecx, [esp + 0x12]
mov eax, 0x5c
push ecx
mov ecx, esi
mov word [esp + 0x16], ax
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670dc505
nop
push 1
mov ecx, esi
call sym.QtCore4.dll_public:_void___thiscall_QString::chop_int_
push 1
lea eax, [esp + 0x12]
mov edx, 0x5c
push eax
mov ecx, esi
mov word [esp + 0x16], dx
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670dc4e0
lea ecx, [esp + 0x10]
push esi
push ecx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const__
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x23c], 2
call fcn.6705f610
mov edx, dword [esp + 0x10]
mov byte [esp + 0x238], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670dc547
mov ecx, dword [esp + 0x10]
push ecx
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]
cmp eax, ebx
jne 0x670dc566
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esp + 0x14], str.C:_tmp
call fcn.6701a840
jmp 0x670dc5af
cmp eax, 2
jl 0x670dc5af
mov eax, ecx
cmp dword [eax + 8], 1
jle 0x670dc57c
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 2]
jmp 0x670dc57e
xor eax, eax
cmp ax, 0x3a
jne 0x670dc5af
mov ecx, dword [ecx + 0xc]
mov dx, word [ecx]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x12]
mov word [esp + 0x12], dx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
call sym.QtCore4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
push eax
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_class_QCharRef____thiscall_QCharRef::operator_class_QChar_const__
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.671438b2
add esp, 0x230
ret