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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557d27
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x6f9540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 1
mov esi, dword [ebp + 8]
mov dword [esi], 0x6e61b8
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 1
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4cb283
push str.QSettings:_RegQueryInfoKey___failed
push eax
call fcn.00427830
add esp, 8
mov eax, esi
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 - 0x28]
mov eax, dword [ebp - 0x2c]
inc ecx
inc eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0x10], 1
mov dword [ebp - 0x2c], eax
jne 0x4cb29c
mov edi, dword [ebp - 0x34]
jmp 0x4cb2a1
mov edi, dword [ebp - 0x38]
mov eax, ecx
push 0
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30], edi
push eax
lea ecx, [ebp - 0x14]
call fcn.004298a0
xor edx, edx
mov dword [ebp - 4], 1
or ebx, 0xffffffff
mov dword [ebp - 0x1c], edx
test edi, edi
jle 0x4cb4c0
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x10], 0x6e6190
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
shr ecx, 1
cmp dword [ebp + 0x10], 1
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
jne 0x4cb338
cmp ecx, 1
je 0x4cb2fa
test ecx, ecx
jne 0x4cb300
cmp dword [eax + 0xc], 0x10
je 0x4cb31a
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
inc ecx
shr eax, 0x1f
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042ae60
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push 0
push 0
push 0
push 0
add ecx, eax
lea eax, [ebp - 0x20]
push eax
push ecx
push edx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x4cb37d
cmp ecx, 1
je 0x4cb341
test ecx, ecx
jne 0x4cb347
cmp dword [eax + 0xc], 0x10
je 0x4cb361
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
inc ecx
shr eax, 0x1f
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042ae60
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push 0
push 0
push 0
push 0
add ecx, eax
lea eax, [ebp - 0x20]
push eax
push ecx
push edx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4cb474
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.00409480
add esp, 0xc
mov esi, dword [eax]
mov dword [eax], 0x6e6190
mov eax, dword [ebp - 0x18]
or eax, 0xa
mov dword [ebp - 0x18], eax
test al, 4
je 0x4cb3e1
and eax, 0xfffffffb
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x4cb3d1
cmp eax, 0xffffffff
je 0x4cb3de
mov eax, ebx
lock xadd dword [edi], eax
dec eax
setne al
test al, al
jne 0x4cb3de
push 4
push 2
push edi
call fcn.00403d20
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 2
test al, 2
je 0x4cb420
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x4cb411
cmp eax, 0xffffffff
je 0x4cb420
mov eax, dword [ebp - 0x24]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cb420
push 4
push 2
push dword [ebp - 0x24]
call fcn.00403d20
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ecx]
test eax, eax
je 0x4cb43f
cmp eax, 0xffffffff
je 0x4cb44c
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x4cb44c
push 4
push 2
push ecx
call fcn.00403d20
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x4cb464
push 0x593e6c
push 1
lea ecx, [ebp - 0x10]
call fcn.00405f50
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00406720
jmp 0x4cb482
push str.QSettings:_RegEnumValue_failed
push eax
call fcn.00427830
add esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4cb4a1
cmp eax, 0xffffffff
je 0x4cb4b0
mov eax, dword [ebp - 0x10]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cb4b0
push 4
push 2
push dword [ebp - 0x10]
call fcn.00403d20
add esp, 0xc
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x30]
jl 0x4cb2d0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4cb4dd
cmp eax, 0xffffffff
je 0x4cb4ec
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], ebx
dec ebx
setne al
test al, al
jne 0x4cb4ec
push 4
push 1
push dword [ebp - 0x14]
call fcn.00403d20
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret