Function at 0x523b90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0b0e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push 0
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push 0
push 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x523c3e
push str.QSettings:_RegQueryInfoKey___failed
push eax
call fcn.004991a0
mov eax, dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
inc ecx
mov esi, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
cmp esi, 1
jne 0x523c5c
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
jmp 0x523c64
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, ecx
push 0
lea eax, [eax*2 + 2]
push eax
lea ecx, [ebp - 0x60]
call fcn.00459bf0
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x20], edx
jle 0x52405b
nop dword [eax + eax]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x58]
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 2
cmp esi, 1
jne 0x523ced
test eax, eax
je 0x523cc6
cmp dword [eax], esi
jle 0x523cd4
mov ecx, dword [ebp - 0x58]
push 1
push ecx
lea ecx, [ebp - 0x60]
call fcn.0045b800
mov edx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x5c]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x523d1e
test eax, eax
je 0x523cf9
cmp dword [eax], 1
jle 0x523d07
mov ecx, dword [ebp - 0x58]
push 1
push ecx
lea ecx, [ebp - 0x60]
call fcn.0045b800
mov edx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x5c]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x524112
mov eax, dword [ebp - 0x5c]
mov ecx, 0x5cebe4
push dword [ebp - 0x1c]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x78]
push ecx
push eax
call fcn.0048bab0
add esp, 0xc
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
or eax, 0xa
mov dword [ebp - 0x14], eax
test al, 4
je 0x523d95
and dword [ebp - 0x14], 0xfffffffb
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x523d95
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x523d95
push 4
push 2
push ecx
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 2
test al, 2
je 0x523dce
and dword [ebp - 0x14], 0xfffffffd
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x523dce
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x523dce
push 4
push 2
push dword [ebp - 0x78]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], ebx
test ecx, ecx
je 0x523dfc
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x523dfc
push 4
push 2
push ecx
call fcn.004597e0
add esp, 0xc
cmp dword [ebp - 0x4c], 0
jne 0x523e11
push 0x64405c
push 1
lea ecx, [ebp - 0x54]
call fcn.00487640
mov esi, dword [ebp - 0x40]
mov edx, esi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x2c], edx
test edi, edi
je 0x523ed6
cmp dword [edi], 1
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x40]
jg 0x523ed6
mov ebx, dword [ebp - 0x44]
lea eax, [edi + 0xf]
and eax, 0xfffffffc
mov ecx, ebx
sub ecx, eax
mov dword [ebp - 0x38], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [edi + 8]
sar edx, 1
sub eax, esi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
je 0x523e8a
lea eax, [esi + esi*2]
lea ecx, [ebx + eax*4]
mov eax, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x523e82
mov eax, 1
lock xadd dword [ecx], eax
inc dword [ebp - 0x40]
jmp 0x524005
test esi, esi
jne 0x523ed3
mov ecx, ebx
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x38]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x523ed3
mov eax, dword [ebp - 0x54]
mov dword [ebx - 0xc], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebx - 0xc]
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx - 4], eax
test ecx, ecx
je 0x523ec7
mov eax, 1
lock xadd dword [ecx], eax
sub dword [ebp - 0x44], 0xc
inc dword [ebp - 0x40]
jmp 0x524005
mov edx, dword [ebp - 0x2c]
movq xmm0, qword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], eax
test ecx, ecx
je 0x523efc
mov eax, 1
lock xadd dword [ecx], eax
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x48]
mov byte [ebp - 4], 4
test esi, esi
je 0x523f0c
test edx, edx
jne 0x523f0c
mov al, 1
jmp 0x523f0e
xor al, al
mov byte [ebp - 0xd], al
movzx ebx, al
test edi, edi
je 0x523f75
cmp dword [edi], 1
jg 0x523f75
cmp ebx, 1
jne 0x523f35
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
add ecx, 0xf
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jmp 0x523f62
test al, al
jne 0x523f64
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
lea eax, [esi + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esi + 8]
sub eax, dword [ebp - 0x40]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
cmp eax, 1
jge 0x523f82
push 0
push 1
push ebx
lea ecx, [ebp - 0x48]
call fcn.0045dae0
test al, al
jne 0x523f82
push 0
push 1
push ebx
lea ecx, [ebp - 0x48]
call fcn.00479b10
cmp byte [ebp - 0xd], 0
je 0x523fae
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x6c]
mov dword [ecx - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx - 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx - 4], eax
xor ecx, ecx
sub dword [ebp - 0x44], 0xc
inc dword [ebp - 0x40]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
jmp 0x523fdf
lea eax, [ebp - 0x48]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x2c]
call fcn.00478e90
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x80]
add dword [ecx + 8], eax
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x524005
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x524005
push 4
push 2
push ecx
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x524011
cmp dword [eax], 1
jle 0x52401f
push 0
push 0
push 0
lea ecx, [ebp - 0x48]
call fcn.00479b10
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x524045
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x524045
push 4
push 2
push dword [ebp - 0x54]
call fcn.004597e0
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x20]
jl 0x523c90
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x48], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 8], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
test ecx, ecx
je 0x5240fe
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x5240a5
push 4
push eax
push dword [ebp - 0x60]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x5240fe
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x5240fe
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x5240ef
mov ecx, dword [esi]
test ecx, ecx
je 0x5240e8
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x5240e8
push 4
push 2
push dword [esi]
call fcn.004597e0
add esp, 0xc
add esi, 0xc
cmp esi, edi
jne 0x5240c8
push 4
push 0xc
push dword [ebp - 0x48]
call fcn.004597e0
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.QSettings:_RegEnumValue_failed
push eax
call fcn.004991a0
mov ecx, dword [ebp - 0x54]
add esp, 8
mov byte [ebp - 4], 1
test ecx, ecx
je 0x52404b
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52404b
push 4
push 2
push dword [ebp - 0x54]
call fcn.004597e0
add esp, 0xc
jmp 0x52404b