Function at 0x4afac0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4eb147
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodes84AAB8E17B4FE3244884F5CFCD1110B9
lea ecx, [esp + 0x20]
mov dword [esp + 0xb4], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0x4f7fc4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0xbc], 2
call fcn.004029f0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xbc], 3
call fcn.004028f0
add esp, 0xc
lea ecx, [esp + 0x74]
mov byte [esp + 0xb0], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebp, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x70]
call ebp
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0xb4], 6
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QSettings::childKeys_void_]
push 0x4f81e4
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov byte [esp + 0xb0], 8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
jne 0x4afcfc
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x64]
call fcn.004af890
add esp, 4
mov byte [esp + 0xb0], 9
mov esi, dword [eax]
cmp dword [esp + 0x18], esi
je 0x4afc2b
mov eax, esi
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4afc14
mov ebx, dword [esp + 0x18]
call fcn.00409b30
mov dword [esp + 0x18], esi
test byte [esi + 0x10], 1
jne 0x4afc2b
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
call fcn.004099e0
mov byte [esp + 0xb0], 8
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4afc4d
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4afc4d
mov ebx, dword [esp + 0x60]
call fcn.00409b30
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
jne 0x4afcfc
mov esi, dword [esp + 0xb8]
push 0x4f81e4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], 1
mov byte [esp + 0xb0], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4afcad
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4afcad
mov ebx, dword [esp + 0x18]
call fcn.00409b30
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 5
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, esi
jmp 0x4b025c
push 0x4f81e4
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
xor esi, esi
test ecx, ecx
jle 0x4afe0c
mov edi, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::toLower_void_]
mov edx, dword [eax + 8]
add edx, esi
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push str.default
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 0xc
call edi
push 1
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x43]
push ecx
mov ecx, eax
mov byte [esp + 0xbc], 0xd
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QString_const___enum_Qt::CaseSensitivity_]
movzx edx, byte [eax]
neg edx
sbb edx, edx
test eax, edx
lea ecx, [esp + 0x58]
sete bl
mov byte [esp + 0xb0], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0xb0], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
jne 0x4afde2
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 0xa
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 0x4afd2d
jmp 0x4afe0c
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
add edx, esi
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 8], 0
jne 0x4afefe
mov ebp, dword [esp + 0xb8]
push 0x4f81e4
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 1
mov byte [esp + 0xb0], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4afeaf
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4afeaf
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea edi, [eax + edx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x4afe9f
jmp 0x4afe90
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x4afe90
mov eax, dword [ebx]
test eax, eax
jne 0x4afeaf
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 5
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, ebp
jmp 0x4b025c
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::trimmed_void_]
push eax
lea edx, [esp + 0x70]
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Products_
push edx
mov byte [esp + 0xbc], 0xe
call fcn.00402970
add esp, 0xc
push str.InstallProperties
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xbc], 0xf
call fcn.004029f0
add esp, 0xc
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0xb0], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x50]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0x4f7fc4
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0xbc], 0x13
call fcn.004029f0
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xbc], 0x14
call fcn.004028f0
add esp, 0xc
lea ecx, [esp + 0x78]
mov byte [esp + 0xb0], 0x16
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
call ebp
push str.InstallLocation
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x94]
mov byte [esp + 0xb0], 0x18
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0xbc], 0x19
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
mov byte [esp + 0xb0], 0x1a
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov byte [esp + 0xb0], 0x1c
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x84]
call esi
lea ecx, [esp + 0x94]
mov byte [esp + 0xb0], 0x1d
call esi
mov bl, 0x1e
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [esp + 0x28]
cmp dword [edx + 8], 0
jne 0x4b00e4
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.InstallLocation
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov byte [esp + 0xb8], 0x1f
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xbc], bl
call fcn.004af2f0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x20
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.NokiaMusicPlayer.exe
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.004029f0
add esp, 0xc
mov ecx, dword [esp + 0xbc]
push 0x4f81e4
mov byte [esp + 0xb4], 0x21
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_char_const__]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0xbc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 1
mov byte [esp + 0xb0], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0xb0], 0x16
mov edi, dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x7c]
call edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 0x13
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb0], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b0211
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4b0211
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea ebx, [eax + edx*4 + 0x14]
mov ebp, eax
cmp ebx, esi
je 0x4b0200
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, ebx
jne 0x4b01f1
mov eax, dword [ebp]
test eax, eax
jne 0x4b0211
push ebp
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 5
call edi
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret