Function at 0x4cbe70
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 0x5de541
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x689140]
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 0x4cbeec
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 0x4cbef1
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.00459b90
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.004555c0
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 0x4cbf9b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4cbf9b
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], 0xffffffff
call fcn.0043b3f0
mov eax, dword [ebp - 0x30]
dec eax
cmp eax, 0xa
ja case.0x4cbfc1.2
movzx eax, byte [eax + 0x4cc1fc]
jmp dword [eax*4 + 0x4cc1e4]
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 0x4cbfed
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 0x4cbff7
sub esi, edx
lea edx, [ebp - 0x284]
sar esi, 1
mov dword [ecx + 4], esi
lea ecx, [ebp - 0x28]
call fcn.00455ce0
add esp, 8
lea ecx, [ebp - 0x284]
call fcn.0043b3f0
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.0059860b
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 0x4cc08d
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 0x4cc097
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x284]
call fcn.00455850
add esp, 8
lea ecx, [ebp - 0x284]
mov esi, eax
call fcn.0043b3f0
mov dword [edi], esi
mov byte [edi + 0x18], 4
jmp 0x4cc03a
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 0x4cc0fa
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 0x4cc104
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea edx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00455a40
add esp, 0xc
lea ecx, [ebp - 0x284]
call fcn.0043b3f0
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.00428f60
jmp 0x4cc042
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
call fcn.004cc3d0
push eax
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.004ac030
lea ecx, [ebp - 0x28]
call fcn.00434510
jmp 0x4cc042
mov ecx, dword [ebp - 0x34]
call fcn.004cc510
mov dword [ebp - 0x28], eax
mov ecx, edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], edx
push eax
call fcn.004a9000
jmp 0x4cc042
push 0x32
lea ecx, [ebp - 0x48]
call fcn.00447e70
push 0x68501c
mov eax, ecx
push eax
call fcn.00599dcb
nop dword [eax]
iretd