Function at 0x40d720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e76ed
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor esi, esi
push esi
lea ecx, [esp + 0x30]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QObject__]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], esi
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QSettings::allKeys_void_]
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x20], ecx
mov edx, ecx
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
test edx, edx
jle 0x40d887
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov bl, 3
mov ecx, dword [eax + 8]
add ecx, esi
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x571a40]
mov eax, dword [eax + 8]
sub eax, dword [ecx + 8]
lea ecx, [esp + 0x1c]
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::chop_int_]
push 0x571a40
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
test al, al
je 0x40d861
lea ecx, [esp + 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
add edx, esi
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea edx, [esp + 0x24]
push edx
mov ecx, eax
mov byte [esp + 0x68], 5
call ebp
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 7
call edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 8
call edi
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x70]
call fcn.0040d950
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
inc esi
cmp esi, ecx
jl 0x40d7a1
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x64], 1
mov ebp, dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
test ecx, ecx
je 0x40d8da
mov edx, ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40d8d6
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
lea esi, [ecx + edx*4 + 0x14]
lea edi, [ecx + eax*4 + 0x14]
cmp edi, esi
je 0x40d8c6
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x40d8b3
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x40d8d6
mov edx, dword [esp + 0x20]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x64], 0
test eax, eax
je 0x40d91f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40d91f
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea edi, [eax + ecx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x40d913
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x40d904
mov edx, dword [ebx]
test edx, edx
jne 0x40d91f
push ebx
call ebp
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4