Function at 0x52da20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x5c8f6d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x72cec4]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x70]
mov esi, dword [ebp + 0x78]
mov ebx, dword [ebp + 0x74]
mov dword [ebp + 0x20], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0052d360
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.0052d4b0
add esp, 0x10
mov eax, dword [edi + 0x90]
lea ecx, [ebp + 0xc]
push ecx
or eax, 0x20019
mov byte [ebp - 4], 1
push eax
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp + 0xc], 0
call fcn.00498670
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52e0bc
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x52e0bc
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x4c], 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00498670
lea ecx, [ebp + 0x10]
push ecx
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x52db00
mov ecx, dword [ebp + 0x20]
push edi
mov byte [ecx + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x52e0c3
mov eax, dword [ebp - 0x34]
cmp eax, 1
je 0x52db1a
cmp eax, 2
je 0x52db1a
cmp eax, 7
mov eax, dword [ebp + 0x10]
jne 0x52db23
add eax, 4
jmp 0x52db20
mov eax, dword [ebp + 0x10]
add eax, 2
mov dword [ebp + 0x10], eax
push 0
push eax
lea ecx, [ebp]
call fcn.00461b90
mov eax, dword [ebp]
mov byte [ebp - 4], 3
test eax, eax
je 0x52db3e
cmp dword [eax], 1
jle 0x52db4b
push 1
push dword [ebp + 8]
lea ecx, [ebp]
call fcn.004637a0
mov esi, dword [ebp + 4]
lea ecx, [ebp - 0x18]
call fcn.00498670
lea ecx, [ebp + 0x10]
push ecx
push esi
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x52dba1
mov ecx, dword [ebp + 0x20]
mov byte [ecx + 0x18], 0
mov ecx, dword [ebp]
or esi, 0xffffffff
test ecx, ecx
je 0x52db95
mov eax, esi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52db95
push 4
push eax
push dword [ebp]
call fcn.00461780
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x52e0c6
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xb
ja case.0x52dbb4.6
movzx eax, byte [ecx + 0x52e140]
jmp dword [eax*4 + 0x52e128]
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
cmp dword [ebp + 0x10], 0
mov byte [ebp - 4], 4
je 0x52dc07
mov eax, dword [ebp + 4]
mov ecx, 0x5e4db8
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x30]
push ecx
push eax
call fcn.004b6680
add esp, 0xc
lea ecx, [ebp + 0x14]
push eax
call fcn.004029a0
lea ecx, [ebp - 0x30]
call fcn.004019e0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.004e1380
mov ebx, dword [ebp + 0x20]
add esp, 8
mov ecx, ebx
push eax
call fcn.0052a280
lea ecx, [ebp + 0x4c]
call fcn.004cbe90
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x52dc4c
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52dc4c
push 4
push 2
push dword [ebp + 0x14]
call fcn.00461780
add esp, 0xc
lea ecx, [ebp]
call fcn.004019c0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
call fcn.004019e0
lea ecx, [ebp - 0x18]
call fcn.004019e0
mov eax, ebx
jmp 0x52e109
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
or ebx, 0xffffffff
mov byte [ebp - 4], 5
cmp dword [ebp + 0x10], 0
je 0x52df30
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp + 4]
mov ecx, 0x5e4db8
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ecx + edi*2]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.004b6680
add esp, 0xc
mov eax, dword [ebp + 0x1c]
inc edi
add edi, eax
mov byte [ebp - 4], 6
mov dword [ebp + 0xc], edi
test eax, eax
je 0x52df21
mov edi, dword [ebp + 0x30]
mov ecx, edi
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0x38], ecx
test ebx, ebx
je 0x52dde2
cmp dword [ebx], 1
mov ebx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x30]
jg 0x52dde2
mov esi, dword [ebp + 0x2c]
lea eax, [ebx + 0xf]
and eax, 0xfffffffc
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
mov ecx, esi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebx + 8]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
sub eax, edi
je 0x52dd99
lea eax, [edi + edi*2]
lea ecx, [esi + eax*4]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx], esi
mov dword [ecx + 8], eax
test esi, esi
je 0x52dd46
mov eax, 1
lock xadd dword [esi], eax
inc dword [ebp + 0x30]
or ebx, 0xffffffff
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x52dd5b
cmp dword [eax], 1
mov esi, dword [ebp + 0x14]
jle 0x52dd69
push 0
push 0
push 0
lea ecx, [ebp + 0x28]
call fcn.00481ac0
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 5
test esi, esi
je 0x52dca0
mov eax, ebx
lock xadd dword [esi], eax
cmp eax, 1
jne 0x52dca0
push 4
push 2
push esi
call fcn.00461780
add esp, 0xc
jmp 0x52dca0
test edi, edi
jne 0x52dddf
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x44]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x52dddf
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [ecx - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx - 0xc], esi
mov dword [ecx - 4], eax
test esi, esi
je 0x52ddd6
mov eax, 1
lock xadd dword [esi], eax
sub dword [ebp + 0x2c], 0xc
jmp 0x52dd46
mov ecx, dword [ebp - 0x38]
movq xmm0, qword [ebp + 0x14]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
test esi, esi
je 0x52de08
mov eax, 1
lock xadd dword [esi], eax
mov edi, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x28]
mov byte [ebp - 4], 7
test edi, edi
je 0x52de18
test ecx, ecx
jne 0x52de18
mov al, 1
jmp 0x52de1a
xor al, al
mov byte [ebp + 0x27], al
movzx edi, al
test ebx, ebx
je 0x52de8e
cmp dword [ebx], 1
jg 0x52de8b
cmp edi, 1
jne 0x52de57
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
add ecx, 0xf
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jge 0x52de86
push 0
push 1
push edi
lea ecx, [ebp + 0x28]
call fcn.00465a80
test al, al
je 0x52de8b
mov esi, dword [ebp + 0x14]
jmp 0x52de9b
test al, al
jne 0x52de41
mov esi, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
lea eax, [esi + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esi + 8]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
sub eax, dword [ebp + 0x30]
cmp eax, 1
jl 0x52de41
mov esi, dword [ebp + 0x14]
jmp 0x52de9b
mov esi, dword [ebp + 0x14]
push 0
push 1
push edi
lea ecx, [ebp + 0x28]
call fcn.00481ac0
cmp byte [ebp + 0x27], 0
je 0x52dec4
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x18]
mov dword [ecx - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx - 0xc], esi
mov dword [ecx - 4], eax
xor ecx, ecx
sub dword [ebp + 0x2c], 0xc
inc dword [ebp + 0x30]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
jmp 0x52deec
lea eax, [ebp + 0x28]
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x50], eax
lea ecx, [ebp + 0x50]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
call fcn.00480e30
mov ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x5c]
add dword [ecx + 8], eax
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x52dd49
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52dd4c
push 4
push 2
push ecx
call fcn.00461780
add esp, 0xc
jmp 0x52dd4c
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 5
call fcn.004019e0
mov edi, dword [ebp - 0x3c]
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.004e1140
mov ecx, dword [ebp + 0x20]
add esp, 8
push eax
call fcn.0052a280
lea ecx, [ebp + 0x34]
call fcn.004cbe90
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x52dfab
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52dfab
mov eax, dword [ebp + 0x30]
mov esi, dword [ebp + 0x2c]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x52df99
mov ecx, dword [esi]
test ecx, ecx
je 0x52df92
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52df92
push 4
push 2
push dword [esi]
call fcn.00461780
add esp, 0xc
add esi, 0xc
cmp esi, edi
jne 0x52df73
push 4
push 0xc
push dword [ebp + 0x28]
call fcn.00461780
mov edi, dword [ebp - 0x3c]
add esp, 0xc
lea ecx, [ebp]
call fcn.004019c0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
call fcn.004019e0
lea ecx, [ebp - 0x18]
call fcn.004019e0
jmp 0x52e106
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
cmp dword [ebp + 0x10], 0
mov byte [ebp - 4], 8
je 0x52e022
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
cdq
sub eax, edx
mov edx, 0x5e4db8
sar eax, 1
test ecx, ecx
push eax
cmovne edx, ecx
lea eax, [ebp - 0x30]
push edx
push eax
call fcn.004b6680
add esp, 0xc
lea ecx, [ebp + 0x14]
push eax
call fcn.004029a0
lea ecx, [ebp - 0x30]
call fcn.004019e0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.004e1380
mov ebx, dword [ebp + 0x20]
add esp, 8
mov ecx, ebx
push eax
call fcn.0052a280
lea ecx, [ebp + 0x34]
jmp 0x52dc25
mov eax, dword [ebp + 4]
mov ecx, 0x5e4db8
mov ebx, dword [ebp + 0x20]
test eax, eax
cmovne ecx, eax
push dword [ecx]
mov ecx, ebx
call fcn.004cbab0
mov byte [ebx + 0x18], 1
jmp 0x52dc4c
mov eax, dword [ebp + 4]
mov ecx, 0x5e4db8
mov ebx, dword [ebp + 0x20]
test eax, eax
cmovne ecx, eax
push dword [ecx + 4]
push dword [ecx]
mov ecx, ebx
call fcn.004cbdf0
mov byte [ebx + 0x18], 1
jmp 0x52dc4c
movaps xmm0, xmmword [0x5e4ea0]
lea eax, [ebp + 0x50]
push ecx
push str.QSettings:_Unknown_data__d_type_in_Windows_registry
push eax
movups xmmword [ebp + 0x50], xmm0
mov dword [ebp + 0x60], 0x5cf218
call fcn.004a34c0
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov byte [eax + 0x18], 0
jmp 0x52db72
mov eax, dword [ebp + 0x20]
mov byte [eax + 0x18], 0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x52e0e7
mov eax, esi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52e0e7
push 4
push 2
push dword [ebp - 0x24]
call fcn.00461780
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x52e106
lock xadd dword [eax], esi
cmp esi, 1
jne 0x52e106
push 4
push 2
push dword [ebp - 0x18]
call fcn.00461780
add esp, 0xc
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.00596709
lea esp, [ebp + 0x68]
pop ebp
ret 0xc