Function at 0x4cc970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557f86
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 - 0x2c], ecx
xor esi, esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0xc]
push edi
push eax
call fcn.004cc2f0
add esp, 8
push 1
push 0xffffffffffffffff
push ecx
mov eax, esp
mov dword [ebp - 4], esi
mov ecx, 0x5c
mov word [eax], cx
mov ecx, edi
call fcn.00409aa0
or esi, 1
cmp eax, 0xffffffff
jne 0x4cc9d9
mov dword [ebp - 0x18], 0x6e6190
jmp 0x4cc9e6
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00409b40
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 0x5c]
or eax, 0x20019
push eax
push 0
call fcn.0040dd20
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or esi, 0xffffffff
test eax, eax
jne 0x4cca4d
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x4cca4d
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040dd20
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4ccac1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp + 0x13], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4cca70
cmp eax, 0xffffffff
je 0x4cca7f
mov eax, dword [ebp - 0x18]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cca7f
push 4
push 2
push dword [ebp - 0x18]
call fcn.00403d20
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4cca9c
cmp eax, 0xffffffff
je 0x4ccaab
mov ecx, dword [ebp - 0x1c]
lock xadd dword [ecx], esi
dec esi
setne cl
test cl, cl
jne 0x4ccaab
push 4
push 2
push dword [ebp - 0x1c]
call fcn.00403d20
add esp, 0xc
mov al, byte [ebp + 0x13]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x30]
cmp eax, 1
je 0x4ccadb
cmp eax, 2
je 0x4ccadb
cmp eax, 7
mov eax, dword [ebp - 0x10]
jne 0x4ccae4
add eax, 4
jmp 0x4ccae1
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
push 0
push eax
lea ecx, [ebp + 0xc]
call fcn.004298a0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
cmp ecx, 1
je 0x4ccb04
test ecx, ecx
jne 0x4ccb0a
cmp dword [eax + 0xc], 0x10
je 0x4ccb21
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
inc ecx
shr eax, 0x1f
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042ae60
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
add esi, eax
call fcn.0040dd20
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 0x4ccb53
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp + 0x13], 0
jmp 0x4cce9a
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xb
ja case.0x4ccb66.6
movzx eax, byte [ecx + 0x4ccef0]
jmp dword [eax*4 + 0x4cced8]
mov dword [ebp + 8], 0x6e6190
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
je 0x4ccba7
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.00420fa0
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x28]
add esp, 0xc
mov dword [eax], edx
call fcn.00401a70
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4ccbe4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0049fc60
mov ecx, dword [esi]
add esp, 8
mov edx, dword [esi + 4]
mov dword [ebp - 0x4c], ecx
movups xmm0, xmmword [eax]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x5c]
movups xmmword [esi], xmm0
mov dword [ebp - 0x48], edx
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [eax], xmm0
call fcn.00481b10
lea ecx, [ebp + 8]
call fcn.00401a70
jmp 0x4cce8d
mov dword [ebp - 0x28], 0x6e61b8
cmp dword [ebp - 0x10], 0
mov esi, edi
mov byte [ebp - 4], 4
je 0x4ccd28
xor edx, edx
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x38]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + edx*2]
add ecx, eax
lea eax, [ebp - 0x24]
push ecx
push eax
call fcn.00409480
add esp, 0xc
mov ecx, dword [eax]
mov dword [eax], 0x6e6190
mov eax, dword [ebp - 0x14]
or eax, 0xa
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
test al, 4
je 0x4ccc75
and eax, 0xfffffffb
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
test eax, eax
je 0x4ccc65
cmp eax, 0xffffffff
je 0x4ccc72
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
setne al
test al, al
jne 0x4ccc72
push 4
push 2
push edi
call fcn.00403d20
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 4
test al, 2
je 0x4cccb5
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x4ccca6
cmp eax, 0xffffffff
je 0x4cccb5
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cccb5
push 4
push 2
push dword [ebp - 0x24]
call fcn.00403d20
add esp, 0xc
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
inc ecx
mov byte [ebp - 4], 6
mov eax, dword [esi + 4]
add ecx, eax
mov dword [ebp + 8], ecx
test eax, eax
je 0x4ccd19
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406720
mov ecx, dword [esi]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4ccd04
mov edx, dword [ebp + 8]
cmp ecx, 0xffffffff
je 0x4ccc13
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x4ccc13
push 4
push 2
push eax
call fcn.00403d20
mov edx, dword [ebp + 8]
add esp, 0xc
jmp 0x4ccc13
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00401a70
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4ccd65
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0049fa20
mov ecx, dword [edi]
add esp, 8
mov edx, dword [edi + 4]
mov dword [ebp - 0x4c], ecx
movups xmm0, xmmword [eax]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x5c]
movups xmmword [edi], xmm0
mov dword [ebp - 0x48], edx
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [eax], xmm0
call fcn.00481b10
lea ecx, [ebp - 0x28]
call fcn.00405d90
jmp 0x4cce8f
mov dword [ebp + 8], 0x6e6190
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 7
je 0x4ccba7
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ecx + 0xc]
add eax, ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00420fa0
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x34]
jmp 0x4ccb9d
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4cce8d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push dword [ecx + eax]
lea ecx, [ebp - 0x5c]
call fcn.00481840
movups xmm0, xmmword [ebp - 0x5c]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x44], eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [ebp - 0x5c], xmm0
jmp 0x4cce88
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4cce8d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push dword [ecx + eax + 4]
push dword [ecx + eax]
lea ecx, [ebp - 0x4c]
call fcn.00481900
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x4c]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 8]
movups xmmword [esi], xmm0
jmp 0x4cce77
movaps xmm0, xmmword [0x591920]
lea eax, [ebp - 0x60]
push ecx
push str.QSettings:_Unknown_data__d_type_in_Windows_registry
push eax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x591860
call fcn.00429430
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov esi, edi
test edx, edx
je 0x4cce8f
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x44], 0x80000000
mov dword [ebp - 0x4c], 0
movups xmm0, xmmword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx + 8]
movups xmmword [edx], xmm0
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [ebp - 0x4c], xmm0
call fcn.00481b10
mov esi, edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp + 0x13], 1
mov eax, dword [ebp + 0xc]
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x4ccec3
cmp eax, esi
je 0x4cca51
mov eax, dword [ebp + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4cca51
push 4
push 1
push dword [ebp + 0xc]
call fcn.00403d20
add esp, 0xc
jmp 0x4cca51