Function at 0x52c0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x5c75cd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x72b01c]
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.0052ba00
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.0052bb50
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.00496d70
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52c75c
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x52c75c
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x4c], 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00496d70
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 0x52c1a0
mov ecx, dword [ebp + 0x20]
push edi
mov byte [ecx + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x52c763
mov eax, dword [ebp - 0x34]
cmp eax, 1
je 0x52c1ba
cmp eax, 2
je 0x52c1ba
cmp eax, 7
mov eax, dword [ebp + 0x10]
jne 0x52c1c3
add eax, 4
jmp 0x52c1c0
mov eax, dword [ebp + 0x10]
add eax, 2
mov dword [ebp + 0x10], eax
push 0
push eax
lea ecx, [ebp]
call fcn.004602a0
mov eax, dword [ebp]
mov byte [ebp - 4], 3
test eax, eax
je 0x52c1de
cmp dword [eax], 1
jle 0x52c1eb
push 1
push dword [ebp + 8]
lea ecx, [ebp]
call fcn.00461eb0
mov esi, dword [ebp + 4]
lea ecx, [ebp - 0x18]
call fcn.00496d70
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 0x52c241
mov ecx, dword [ebp + 0x20]
mov byte [ecx + 0x18], 0
mov ecx, dword [ebp]
or esi, 0xffffffff
test ecx, ecx
je 0x52c235
mov eax, esi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c235
push 4
push eax
push dword [ebp]
call fcn.0045fe90
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x52c766
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xb
ja case.0x52c254.6
movzx eax, byte [ecx + 0x52c7e0]
jmp dword [eax*4 + 0x52c7c8]
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 0x52c2a7
mov eax, dword [ebp + 4]
mov ecx, 0x5e0b28
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x30]
push ecx
push eax
call fcn.004b4d80
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.004dfa50
mov ebx, dword [ebp + 0x20]
add esp, 8
mov ecx, ebx
push eax
call fcn.00528920
lea ecx, [ebp + 0x4c]
call fcn.004ca570
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x52c2ec
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c2ec
push 4
push 2
push dword [ebp + 0x14]
call fcn.0045fe90
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 0x52c7a9
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 0x52c5d0
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp + 4]
mov ecx, 0x5e0b28
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ecx + edi*2]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.004b4d80
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 0x52c5c1
mov edi, dword [ebp + 0x30]
mov ecx, edi
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0x38], ecx
test ebx, ebx
je 0x52c482
cmp dword [ebx], 1
mov ebx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x30]
jg 0x52c482
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 0x52c439
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 0x52c3e6
mov eax, 1
lock xadd dword [esi], eax
inc dword [ebp + 0x30]
or ebx, 0xffffffff
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x52c3fb
cmp dword [eax], 1
mov esi, dword [ebp + 0x14]
jle 0x52c409
push 0
push 0
push 0
lea ecx, [ebp + 0x28]
call fcn.004801c0
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 5
test esi, esi
je 0x52c340
mov eax, ebx
lock xadd dword [esi], eax
cmp eax, 1
jne 0x52c340
push 4
push 2
push esi
call fcn.0045fe90
add esp, 0xc
jmp 0x52c340
test edi, edi
jne 0x52c47f
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 0x52c47f
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 0x52c476
mov eax, 1
lock xadd dword [esi], eax
sub dword [ebp + 0x2c], 0xc
jmp 0x52c3e6
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 0x52c4a8
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 0x52c4b8
test ecx, ecx
jne 0x52c4b8
mov al, 1
jmp 0x52c4ba
xor al, al
mov byte [ebp + 0x27], al
movzx edi, al
test ebx, ebx
je 0x52c52e
cmp dword [ebx], 1
jg 0x52c52b
cmp edi, 1
jne 0x52c4f7
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
add ecx, 0xf
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jge 0x52c526
push 0
push 1
push edi
lea ecx, [ebp + 0x28]
call fcn.00464190
test al, al
je 0x52c52b
mov esi, dword [ebp + 0x14]
jmp 0x52c53b
test al, al
jne 0x52c4e1
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 0x52c4e1
mov esi, dword [ebp + 0x14]
jmp 0x52c53b
mov esi, dword [ebp + 0x14]
push 0
push 1
push edi
lea ecx, [ebp + 0x28]
call fcn.004801c0
cmp byte [ebp + 0x27], 0
je 0x52c564
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 0x52c58c
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.0047f540
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 0x52c3e9
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x52c3ec
push 4
push 2
push ecx
call fcn.0045fe90
add esp, 0xc
jmp 0x52c3ec
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.004df810
mov ecx, dword [ebp + 0x20]
add esp, 8
push eax
call fcn.00528920
lea ecx, [ebp + 0x34]
call fcn.004ca570
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x52c64b
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c64b
mov eax, dword [ebp + 0x30]
mov esi, dword [ebp + 0x2c]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x52c639
mov ecx, dword [esi]
test ecx, ecx
je 0x52c632
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c632
push 4
push 2
push dword [esi]
call fcn.0045fe90
add esp, 0xc
add esi, 0xc
cmp esi, edi
jne 0x52c613
push 4
push 0xc
push dword [ebp + 0x28]
call fcn.0045fe90
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 0x52c7a6
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 0x52c6c2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
cdq
sub eax, edx
mov edx, 0x5e0b28
sar eax, 1
test ecx, ecx
push eax
cmovne edx, ecx
lea eax, [ebp - 0x30]
push edx
push eax
call fcn.004b4d80
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.004dfa50
mov ebx, dword [ebp + 0x20]
add esp, 8
mov ecx, ebx
push eax
call fcn.00528920
lea ecx, [ebp + 0x34]
jmp 0x52c2c5
mov eax, dword [ebp + 4]
mov ecx, 0x5e0b28
mov ebx, dword [ebp + 0x20]
test eax, eax
cmovne ecx, eax
push dword [ecx]
mov ecx, ebx
call fcn.004ca190
mov byte [ebx + 0x18], 1
jmp 0x52c2ec
mov eax, dword [ebp + 4]
mov ecx, 0x5e0b28
mov ebx, dword [ebp + 0x20]
test eax, eax
cmovne ecx, eax
push dword [ecx + 4]
push dword [ecx]
mov ecx, ebx
call fcn.004ca4d0
mov byte [ebx + 0x18], 1
jmp 0x52c2ec
movaps xmm0, xmmword [0x5e0c10]
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], 0x5cd218
call fcn.004a1bc0
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov byte [eax + 0x18], 0
jmp 0x52c212
mov eax, dword [ebp + 0x20]
mov byte [eax + 0x18], 0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x52c787
mov eax, esi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x52c787
push 4
push 2
push dword [ebp - 0x24]
call fcn.0045fe90
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x52c7a6
lock xadd dword [eax], esi
cmp esi, 1
jne 0x52c7a6
push 4
push 2
push dword [ebp - 0x18]
call fcn.0045fe90
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.00594d69
lea esp, [ebp + 0x68]
pop ebp
ret 0xc