Function at 0x4cc4f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dfe91
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], edx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov eax, dword [edx]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x284], eax
mov byte [ebp - 0x280], 0
mov byte [ebp - 0x58], 0
lea esi, [edx + 0x90]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 7
mov eax, esi
mov dword [ebp - 0x38], esi
jbe 0x4cc56c
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc571
sub ecx, edx
mov dword [ebp - 0x2c], 0
sar ecx, 1
lea eax, [ebp - 0x24]
push ecx
push 1
mov dword [ebp - 0x30], ecx
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x284]
movlpd qword [ebp - 0x24], xmm0
call fcn.00459960
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 1
xor edx, edx
cmp byte [ebp - 0x58], 1
push edx
cmovne eax, edx
mov dword [ebp - 0x48], str.Cannot_query_registry_value_type
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
push edx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
push eax
push edx
push ecx
push dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movups xmm0, xmmword [ebp - 0x48]
sub esp, 0x10
mov ecx, eax
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00455390
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp byte [ebp - 0x20], cl
mov eax, dword [ebp - 0x24]
cmove eax, ecx
test eax, eax
je 0x4cc61b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4cc61b
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], 0xffffffff
call fcn.0043b4f0
mov eax, dword [ebp - 0x30]
dec eax
cmp eax, 0xa
ja case.0x4cc641.2
movzx eax, byte [eax + 0x4cc87c]
jmp dword [eax*4 + 0x4cc864]
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x280], 0
mov byte [ebp - 0x58], 0
mov eax, dword [ecx]
mov dword [ebp - 0x284], eax
mov dword [ebp - 4], 3
cmp dword [esi + 0x14], 7
jbe 0x4cc66d
mov esi, dword [esi]
sub esp, 8
lea edx, [esi + 2]
mov ecx, esp
mov dword [ecx], esi
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4cc677
sub esi, edx
lea edx, [ebp - 0x284]
sar esi, 1
mov dword [ecx + 4], esi
lea ecx, [ebp - 0x28]
call fcn.00455ab0
add esp, 8
lea ecx, [ebp - 0x284]
call fcn.0043b4f0
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov byte [edi + 0x18], 9
mov byte [edi + 0x20], 0
mov byte [edi + 0x28], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x280], 0
mov byte [ebp - 0x58], 0
mov eax, dword [ecx]
mov dword [ebp - 0x284], eax
add ecx, 0x90
mov dword [ebp - 4], 4
cmp dword [ecx + 0x14], 7
jbe 0x4cc70d
mov ecx, dword [ecx]
sub esp, 8
lea esi, [ecx + 2]
mov edx, esp
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc717
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x284]
call fcn.00455620
add esp, 8
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.0043b4f0
mov dword [edi], esi
mov byte [edi + 0x18], 4
jmp 0x4cc6ba
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x280], 0
mov byte [ebp - 0x58], 0
mov eax, dword [ecx]
mov dword [ebp - 0x284], eax
add ecx, 0x90
mov dword [ebp - 4], 5
cmp dword [ecx + 0x14], 7
jbe 0x4cc77a
mov ecx, dword [ecx]
sub esp, 8
lea esi, [ecx + 2]
mov edx, esp
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc784
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea edx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00455810
add esp, 0xc
lea ecx, [ebp - 0x284]
call fcn.0043b4f0
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebp - 0x50]
mov dword [edi + 0x14], 0
mov word [ebp - 0x50], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [edi + 0x10], xmm0
mov byte [edi + 0x18], 7
mov byte [edi + 0x20], al
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov byte [edi + 0x28], 1
call fcn.00428f30
jmp 0x4cc6c2
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
call fcn.004cca50
push eax
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.004ac9c0
lea ecx, [ebp - 0x28]
call fcn.00434610
jmp 0x4cc6c2
mov ecx, dword [ebp - 0x34]
call fcn.004ccb90
mov dword [ebp - 0x28], eax
mov ecx, edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], edx
push eax
call fcn.004a99c0
jmp 0x4cc6c2
push 0x32
lea ecx, [ebp - 0x48]
call fcn.00447a50
push 0x685e44
mov eax, ecx
push eax
call fcn.0059b61b
nop dword [eax]
dec edi
invalid