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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8b2e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x72cec4]
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 0x52bc2e
push str.QSettings:_RegQueryInfoKey___failed
push eax
call fcn.004a1150
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 0x52bc4c
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
jmp 0x52bc54
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.00461b90
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x20], edx
jle 0x52c04b
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 0x52bcdd
test eax, eax
je 0x52bcb6
cmp dword [eax], esi
jle 0x52bcc4
mov ecx, dword [ebp - 0x58]
push 1
push ecx
lea ecx, [ebp - 0x60]
call fcn.004637a0
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 0x52bd0e
test eax, eax
je 0x52bce9
cmp dword [eax], 1
jle 0x52bcf7
mov ecx, dword [ebp - 0x58]
push 1
push ecx
lea ecx, [ebp - 0x60]
call fcn.004637a0
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 0x52c102
mov eax, dword [ebp - 0x5c]
mov ecx, 0x5e4db8
push dword [ebp - 0x1c]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x78]
push ecx
push eax
call fcn.00493a60
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 0x52bd85
and dword [ebp - 0x14], 0xfffffffb
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x52bd85
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52bd85
push 4
push 2
push ecx
call fcn.00461780
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 2
test al, 2
je 0x52bdbe
and dword [ebp - 0x14], 0xfffffffd
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x52bdbe
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52bdbe
push 4
push 2
push dword [ebp - 0x78]
call fcn.00461780
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 0x52bdec
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52bdec
push 4
push 2
push ecx
call fcn.00461780
add esp, 0xc
cmp dword [ebp - 0x4c], 0
jne 0x52be01
push 0x65a22c
push 1
lea ecx, [ebp - 0x54]
call fcn.0048f5f0
mov esi, dword [ebp - 0x40]
mov edx, esi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x2c], edx
test edi, edi
je 0x52bec6
cmp dword [edi], 1
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x40]
jg 0x52bec6
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 0x52be7a
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 0x52be72
mov eax, 1
lock xadd dword [ecx], eax
inc dword [ebp - 0x40]
jmp 0x52bff5
test esi, esi
jne 0x52bec3
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 0x52bec3
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 0x52beb7
mov eax, 1
lock xadd dword [ecx], eax
sub dword [ebp - 0x44], 0xc
inc dword [ebp - 0x40]
jmp 0x52bff5
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 0x52beec
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 0x52befc
test edx, edx
jne 0x52befc
mov al, 1
jmp 0x52befe
xor al, al
mov byte [ebp - 0xd], al
movzx ebx, al
test edi, edi
je 0x52bf65
cmp dword [edi], 1
jg 0x52bf65
cmp ebx, 1
jne 0x52bf25
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
add ecx, 0xf
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jmp 0x52bf52
test al, al
jne 0x52bf54
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 0x52bf72
push 0
push 1
push ebx
lea ecx, [ebp - 0x48]
call fcn.00465a80
test al, al
jne 0x52bf72
push 0
push 1
push ebx
lea ecx, [ebp - 0x48]
call fcn.00481ac0
cmp byte [ebp - 0xd], 0
je 0x52bf9e
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 0x52bfcf
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.00480e30
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 0x52bff5
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52bff5
push 4
push 2
push ecx
call fcn.00461780
add esp, 0xc
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x52c001
cmp dword [eax], 1
jle 0x52c00f
push 0
push 0
push 0
lea ecx, [ebp - 0x48]
call fcn.00481ac0
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x52c035
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c035
push 4
push 2
push dword [ebp - 0x54]
call fcn.00461780
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 0x52bc80
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 0x52c0ee
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c095
push 4
push eax
push dword [ebp - 0x60]
call fcn.00461780
add esp, 0xc
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x52c0ee
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c0ee
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x52c0df
mov ecx, dword [esi]
test ecx, ecx
je 0x52c0d8
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c0d8
push 4
push 2
push dword [esi]
call fcn.00461780
add esp, 0xc
add esi, 0xc
cmp esi, edi
jne 0x52c0b8
push 4
push 0xc
push dword [ebp - 0x48]
call fcn.00461780
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.004a1150
mov ecx, dword [ebp - 0x54]
add esp, 8
mov byte [ebp - 4], 1
test ecx, ecx
je 0x52c03b
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c03b
push 4
push 2
push dword [ebp - 0x54]
call fcn.00461780
add esp, 0xc
jmp 0x52c03b