Function at 0x47f570
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4eb6aa
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x56e01c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x274], ecx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x24], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x34], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x20], eax
mov edx, 1
lock xadd dword [eax], edx
push 1
push 0x1a
lea eax, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x284], 3
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
test eax, eax
je 0x47f6c0
push 0xffffffffffffffff
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x278], 4
call ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x274], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_char_]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5c
call esi
mov ebx, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QChar_]
lea ecx, [esp + 0x28]
call ebx
mov eax, dword [edi + 0x158]
add edi, 0x158
cmp dword [eax + 8], 0
jne 0x47f684
call fcn.004acdb0
push edi
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5c
call esi
lea ecx, [esp + 0x28]
call ebx
push str.ImageStore
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_char_const__]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5c
call esi
lea ecx, [esp + 0x28]
call ebx
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 8], 0
je 0x47fa92
lea eax, [esp + 0x27c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.004028f0
add esp, 0xc
push 0x4f7fc4
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x280], 5
call fcn.004029f0
add esp, 0xc
push str.Settings.xml
push eax
lea ecx, [esp + 0x30]
mov bl, 6
push ecx
mov byte [esp + 0x280], bl
call fcn.004029f0
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x278], 7
call ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x274], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x274], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x274], 8
test esi, esi
je 0x47f789
mov ecx, esi
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QDomDocument::constructor_void_]
jmp 0x47f78b
xor esi, esi
mov byte [esp + 0x274], 3
test esi, esi
je 0x47fa92
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push esi
call fcn.004b38e0
test al, al
je 0x47fa81
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Version
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov byte [esp + 0x27c], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push str.UISettings
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [esp + 0x30]
push eax
push esi
mov byte [esp + 0x284], 3
call fcn.004b3420
lea edi, [esp + 0x20]
mov byte [esp + 0x274], 0xa
call fcn.0040ef70
mov byte [esp + 0x274], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47f82d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47f82d
mov ebx, dword [esp + 0x28]
call fcn.00409b30
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
mov ebp, dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
cmp edx, 1
jne 0x47f87d
push 0x505b74
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov byte [esp + 0x274], 0xb
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
lea ecx, [eax + ecx*4 + 0x14]
mov dword [esp + 0x20], 1
call ebp
test eax, eax
jne 0x47f87d
mov bl, 1
jmp 0x47f87f
xor bl, bl
mov dword [esp + 0x274], 3
test byte [esp + 0x18], 1
je 0x47f8a0
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x47fa81
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.AutoLaunch
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov byte [esp + 0x27c], 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push str.GeneralSettings
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea edx, [esp + 0x30]
push edx
push esi
mov byte [esp + 0x284], 3
call fcn.004b3420
lea edi, [esp + 0x20]
mov byte [esp + 0x274], 0xd
call fcn.0040ef70
mov byte [esp + 0x274], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47f91a
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47f91a
mov ebx, dword [esp + 0x28]
call fcn.00409b30
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
cmp edx, 1
jne 0x47f961
push 0x4f7e10
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov byte [esp + 0x274], 0xe
or dword [esp + 0x18], 2
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
lea ecx, [eax + ecx*4 + 0x14]
call ebp
test eax, eax
jne 0x47f961
mov bl, 1
jmp 0x47f963
xor bl, bl
mov dword [esp + 0x274], 3
test byte [esp + 0x18], 2
je 0x47f97f
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x47fa81
push 0
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QObject__]
mov bl, 0xf
lea ecx, [esp + 0x4c]
mov byte [esp + 0x274], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
mov edi, eax
push 0x4f7e10
lea edx, [esp + 0x20]
push 0x571a40
push edx
mov byte [esp + 0x280], 0x10
call fcn.004029f0
add esp, 0xc
push edi
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 0x11
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x278], 0x12
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov byte [esp + 0x274], 0x14
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x3c]
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0x15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x274], 0x16
call edi
mov edx, dword [esp + 0x18]
cmp dword [edx + 8], 0
jle 0x47fa5e
push 0x571b04
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004757f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x274], 3
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
mov ecx, esi
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QDomDocument::destructor_void_]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x274], 2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47fab4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x47fab4
mov ebx, dword [esp + 0x20]
call fcn.00409b30
lea ecx, [esp + 0x34]
mov byte [esp + 0x274], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x274], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x27c]
mov dword [esp + 0x274], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004ce3bb
add esp, 0x264
ret 4