Function at 0x46d410
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4e4c50
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x56e01c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov dword [esp + 0x28], esi
push 0
mov ecx, esi
mov dword [esp + 0x250], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QThread::constructor_class_QObject__]
mov dword [esi + 8], vtable.ICANotify.0
mov dword [esi], vtable.MessagesThread.0
mov dword [esi + 8], vtable.MessagesThread.1.0
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
lea edi, [esi + 0xc]
mov dword [edi], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov byte [esp + 0x24c], 2
mov ebp, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QMutex::constructor_enum_QMutex::RecursionMode_]
push 0
lea ecx, [esi + 0x18]
call ebp
push 0
lea ecx, [esi + 0x24]
mov byte [esp + 0x250], 3
call ebp
mov al, byte [esp + 0x25c]
lea ecx, [esp + 0x254]
mov byte [esp + 0x24c], 4
push ecx
mov ecx, edi
mov byte [esi + 0x20], al
mov byte [esi + 0x21], 0
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov dl, byte [esp + 0x258]
lea ecx, [esp + 0x1c]
mov byte [esi + 0x14], dl
mov byte [esi + 0x15], 0
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QDomDocument::constructor_void_]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x20], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edi, [esp + 0x20]
mov byte [esp + 0x24c], 6
call fcn.004acdb0
push 1
push 0x1a
lea edx, [esp + 0x3c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46d728
push 0xffffffffffffffff
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
lea edx, [esp + 0x14]
mov byte [esp + 0x24c], 7
mov edi, dword [sym.imp.QtCore4.dll_public:_static_class_QChar___cdecl_QDir::separator_void_]
push edx
call edi
movzx eax, word [eax]
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call dword [0x4f49f4]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
push str.ContactsEditor
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x250], 9
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_class_QString_const__const]
test al, al
lea ecx, [esp + 0x14]
sete bl
mov byte [esp + 0x24c], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x46d604
push str.ContactsEditor
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x250], 0xa
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::mkpath_class_QString_const__const]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x14]
push edx
call edi
movzx eax, word [eax]
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_]
push str.ContactsEditor
lea ecx, [esp + 0x1c]
call dword [0x4f4350]
lea ecx, [esp + 0x14]
push ecx
call edi
movzx edx, word [eax]
add esp, 4
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_]
push str.Settings.xml
lea ecx, [esp + 0x1c]
call dword [0x4f4350]
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x20]
push ecx
call fcn.004b38e0
test al, al
je 0x46d704
push 0xa
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.NameOrder
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.GeneralSettings
mov byte [esp + 0x260], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x264], 8
call fcn.004b3420
mov byte [esp + 0x254], 0xc
mov eax, dword [eax]
mov ecx, dword [eax + 8]
lea ecx, [eax + ecx*4 + 0x14]
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
mov edi, eax
mov byte [esp + 0x24c], 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46d6f8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x46d6f8
mov ebx, dword [esp + 0x14]
call fcn.00409b30
cmp edi, 0x9c4a
jne 0x46d704
mov byte [esi + 0x15], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24c], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x24c], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 4
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QDomDocument::destructor_void_]
lea ecx, [esp + 0x254]
mov dword [esp + 0x24c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004ce3bb
add esp, 0x240
ret 0xc