Function at 0x525a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x5c0f4d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x71c56c]
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.00525370
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.005254c0
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.004906d0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5260cc
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x5260cc
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x4c], 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004906d0
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 0x525b10
mov ecx, dword [ebp + 0x20]
push edi
mov byte [ecx + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5260d3
mov eax, dword [ebp - 0x34]
cmp eax, 1
je 0x525b2a
cmp eax, 2
je 0x525b2a
cmp eax, 7
mov eax, dword [ebp + 0x10]
jne 0x525b33
add eax, 4
jmp 0x525b30
mov eax, dword [ebp + 0x10]
add eax, 2
mov dword [ebp + 0x10], eax
push 0
push eax
lea ecx, [ebp]
call fcn.00459bf0
mov eax, dword [ebp]
mov byte [ebp - 4], 3
test eax, eax
je 0x525b4e
cmp dword [eax], 1
jle 0x525b5b
push 1
push dword [ebp + 8]
lea ecx, [ebp]
call fcn.0045b800
mov esi, dword [ebp + 4]
lea ecx, [ebp - 0x18]
call fcn.004906d0
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 0x525bb1
mov ecx, dword [ebp + 0x20]
mov byte [ecx + 0x18], 0
mov ecx, dword [ebp]
or esi, 0xffffffff
test ecx, ecx
je 0x525ba5
mov eax, esi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x525ba5
push 4
push eax
push dword [ebp]
call fcn.004597e0
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5260d6
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xb
ja case.0x525bc4.6
movzx eax, byte [ecx + 0x526150]
jmp dword [eax*4 + 0x526138]
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 0x525c17
mov eax, dword [ebp + 4]
mov ecx, 0x5cebe4
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x30]
push ecx
push eax
call fcn.004ae6d0
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.004d93a0
mov ebx, dword [ebp + 0x20]
add esp, 8
mov ecx, ebx
push eax
call fcn.00522290
lea ecx, [ebp + 0x4c]
call fcn.004c3ec0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x525c5c
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x525c5c
push 4
push 2
push dword [ebp + 0x14]
call fcn.004597e0
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 0x526119
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 0x525f40
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp + 4]
mov ecx, 0x5cebe4
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ecx + edi*2]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.004ae6d0
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 0x525f31
mov edi, dword [ebp + 0x30]
mov ecx, edi
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0x38], ecx
test ebx, ebx
je 0x525df2
cmp dword [ebx], 1
mov ebx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x30]
jg 0x525df2
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 0x525da9
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 0x525d56
mov eax, 1
lock xadd dword [esi], eax
inc dword [ebp + 0x30]
or ebx, 0xffffffff
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x525d6b
cmp dword [eax], 1
mov esi, dword [ebp + 0x14]
jle 0x525d79
push 0
push 0
push 0
lea ecx, [ebp + 0x28]
call fcn.00479b10
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 5
test esi, esi
je 0x525cb0
mov eax, ebx
lock xadd dword [esi], eax
cmp eax, 1
jne 0x525cb0
push 4
push 2
push esi
call fcn.004597e0
add esp, 0xc
jmp 0x525cb0
test edi, edi
jne 0x525def
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 0x525def
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 0x525de6
mov eax, 1
lock xadd dword [esi], eax
sub dword [ebp + 0x2c], 0xc
jmp 0x525d56
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 0x525e18
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 0x525e28
test ecx, ecx
jne 0x525e28
mov al, 1
jmp 0x525e2a
xor al, al
mov byte [ebp + 0x27], al
movzx edi, al
test ebx, ebx
je 0x525e9e
cmp dword [ebx], 1
jg 0x525e9b
cmp edi, 1
jne 0x525e67
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
add ecx, 0xf
and ecx, 0xfffffffc
sub eax, ecx
cmp eax, 0xc
jge 0x525e96
push 0
push 1
push edi
lea ecx, [ebp + 0x28]
call fcn.0045dae0
test al, al
je 0x525e9b
mov esi, dword [ebp + 0x14]
jmp 0x525eab
test al, al
jne 0x525e51
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 0x525e51
mov esi, dword [ebp + 0x14]
jmp 0x525eab
mov esi, dword [ebp + 0x14]
push 0
push 1
push edi
lea ecx, [ebp + 0x28]
call fcn.00479b10
cmp byte [ebp + 0x27], 0
je 0x525ed4
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 0x525efc
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.00478e90
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 0x525d59
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x525d5c
push 4
push 2
push ecx
call fcn.004597e0
add esp, 0xc
jmp 0x525d5c
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.004d9160
mov ecx, dword [ebp + 0x20]
add esp, 8
push eax
call fcn.00522290
lea ecx, [ebp + 0x34]
call fcn.004c3ec0
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x525fbb
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x525fbb
mov eax, dword [ebp + 0x30]
mov esi, dword [ebp + 0x2c]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x525fa9
mov ecx, dword [esi]
test ecx, ecx
je 0x525fa2
mov eax, ebx
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x525fa2
push 4
push 2
push dword [esi]
call fcn.004597e0
add esp, 0xc
add esi, 0xc
cmp esi, edi
jne 0x525f83
push 4
push 0xc
push dword [ebp + 0x28]
call fcn.004597e0
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 0x526116
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 0x526032
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
cdq
sub eax, edx
mov edx, 0x5cebe4
sar eax, 1
test ecx, ecx
push eax
cmovne edx, ecx
lea eax, [ebp - 0x30]
push edx
push eax
call fcn.004ae6d0
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.004d93a0
mov ebx, dword [ebp + 0x20]
add esp, 8
mov ecx, ebx
push eax
call fcn.00522290
lea ecx, [ebp + 0x34]
jmp 0x525c35
mov eax, dword [ebp + 4]
mov ecx, 0x5cebe4
mov ebx, dword [ebp + 0x20]
test eax, eax
cmovne ecx, eax
push dword [ecx]
mov ecx, ebx
call fcn.004c3ae0
mov byte [ebx + 0x18], 1
jmp 0x525c5c
mov eax, dword [ebp + 4]
mov ecx, 0x5cebe4
mov ebx, dword [ebp + 0x20]
test eax, eax
cmovne ecx, eax
push dword [ecx + 4]
push dword [ecx]
mov ecx, ebx
call fcn.004c3e20
mov byte [ebx + 0x18], 1
jmp 0x525c5c
movaps xmm0, xmmword [0x5cecd0]
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], 0x5c7218
call fcn.0049b510
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov byte [eax + 0x18], 0
jmp 0x525b82
mov eax, dword [ebp + 0x20]
mov byte [eax + 0x18], 0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x5260f7
mov eax, esi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x5260f7
push 4
push 2
push dword [ebp - 0x24]
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x526116
lock xadd dword [eax], esi
cmp esi, 1
jne 0x526116
push 4
push 2
push dword [ebp - 0x18]
call fcn.004597e0
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.0058e709
lea esp, [ebp + 0x68]
pop ebp
ret 0xc