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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5524f1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x72a82c
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x34]
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 0x4e2976
push str.QSettings:_RegQueryInfoKey___failed
push eax
call fcn.0041a900
mov edi, dword [ebp + 8]
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0x72a82c
mov dword [edi], eax
mov eax, dword [0x72a82c]
mov dword [ebp - 4], 1
test eax, eax
je 0x4e2c1b
cmp eax, 0xffffffff
je 0x4e2c43
or eax, 0xffffffff
mov ecx, 0x72a82c
lock xadd dword [ecx], eax
cmp eax, 1
jmp 0x4e2c14
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 0x4e298f
mov ebx, dword [ebp - 0x34]
jmp 0x4e2994
mov ebx, dword [ebp - 0x38]
mov eax, ecx
push 0
lea eax, [eax*2 + 2]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041c6b0
xor edi, edi
or esi, 0xffffffff
test ebx, ebx
jle 0x4e2bb6
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x10], 0x6f6ba0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [ecx + 4]
shr eax, 1
cmp dword [ebp + 0x10], 1
mov dword [ebp - 0x20], eax
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
jne 0x4e2a25
cmp edx, 1
je 0x4e29ea
test edx, edx
jne 0x4e29f0
cmp dword [eax + 0xc], 0x10
je 0x4e2a07
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 4]
shr eax, 0x1f
inc ecx
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041dff0
mov eax, dword [ebp - 0x14]
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 edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x4e2a67
cmp edx, 1
je 0x4e2a2e
test edx, edx
jne 0x4e2a34
cmp dword [eax + 0xc], 0x10
je 0x4e2a4b
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 4]
shr eax, 0x1f
inc ecx
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041dff0
mov eax, dword [ebp - 0x14]
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 edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4e2b6f
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.00406d40
add esp, 0xc
mov ecx, dword [eax]
mov dword [eax], 0x6f6ba0
mov eax, dword [ebp - 0x1c]
or eax, 0xa
mov dword [ebp - 0x3c], ecx
test al, 4
je 0x4e2ad5
and eax, 0xfffffffb
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
test eax, eax
je 0x4e2ac3
cmp eax, 0xffffffff
je 0x4e2ad2
mov eax, dword [ebp - 0x30]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e2ad2
push 4
push 2
push dword [ebp - 0x30]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
and eax, 0xfffffffd
mov dword [ebp - 4], 3
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x4e2b03
cmp eax, 0xffffffff
je 0x4e2b12
mov eax, dword [ebp - 0x24]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e2b12
push 4
push 2
push dword [ebp - 0x24]
call fcn.004016c0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x40]
test eax, eax
je 0x4e2b3c
cmp eax, 0xffffffff
je 0x4e2b49
mov eax, esi
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x4e2b49
push 4
push 2
push ecx
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x4e2b61
push 0x770ddc
push 1
lea ecx, [ebp - 0x10]
call fcn.00403500
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403cd0
jmp 0x4e2b7d
push str.QSettings:_RegEnumValue_failed
push eax
call fcn.0041a900
add esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4e2b9e
cmp eax, 0xffffffff
je 0x4e2bad
mov eax, dword [ebp - 0x10]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e2bad
push 4
push 2
push dword [ebp - 0x10]
call fcn.004016c0
add esp, 0xc
inc edi
cmp edi, ebx
jl 0x4e29c0
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0x72a82c
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x4e2be6
cmp eax, 0xffffffff
je 0x4e2bf5
mov eax, dword [ebp - 0x14]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4e2bf5
push 4
push 1
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x4e2c1b
cmp eax, 0xffffffff
je 0x4e2c43
mov eax, dword [ebp - 0x18]
lock xadd dword [eax], esi
cmp esi, 1
setne al
test al, al
jne 0x4e2c43
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add eax, 4
add ecx, 4
lea eax, [esi + eax*4]
lea ecx, [esi + ecx*4]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00407b50
push esi
call fcn.0041fb10
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret