Function at 0xc1c060
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x201c
call fcn.00c26db0
push ebx
push ebp
mov ebp, dword [esp + 0x2034]
xor eax, eax
push esi
push edi
mov bl, byte [ebp + 0xa]
mov ax, word [ebp + 8]
and ebx, 0xff
shl ebx, 0x10
or ebx, eax
cmp word [ebp + 0x14], 0
je 0xc1c0aa
xor edx, edx
lea ecx, [esp + 0x2c]
mov dx, word [ebp + 6]
push ecx
lea eax, [ebp + 0x18]
push edx
push eax
call fcn.00c1c020
add esp, 0xc
jmp 0xc1c0de
mov ax, word [ebp + 6]
test ax, ax
je 0xc1c0d0
mov ecx, eax
lea esi, [ebp + 0x18]
and ecx, 0xffff
lea edi, [esp + 0x2c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and eax, 0xffff
shr eax, 1
mov word [esp + eax*2 + 0x2c], 0
cmp ebx, 4
mov byte [esp + 0x13], 0
ja 0xc1c0f4
lea eax, [ebp + 0xc]
mov dword [esp + 0x14], eax
jmp 0xc1c1a7
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x2034]
lea edx, [ebx + 4]
mov eax, dword [ecx + edi]
lea esi, [ecx + edi]
neg eax
cmp edx, eax
mov dword [esp + 0x1c], esi
jbe 0xc1c1ff
push ebx
call fcn.00c271d3
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
xor ebp, ebp
add esp, 4
add eax, edi
cmp word [esi + 6], bp
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], ebp
jbe 0xc1c1a0
add eax, 4
mov dword [esp + 0x20], eax
jmp 0xc1c148
mov edi, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
mov eax, 0xfffffff8
mov edx, dword [ecx]
add edx, edi
sub eax, dword [edx]
lea ecx, [eax + ebp]
cmp ecx, ebx
jbe 0xc1c162
mov eax, ebx
sub eax, ebp
lea esi, [edx + 4]
mov edx, dword [esp + 0x14]
mov ecx, eax
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x1c]
and ecx, 3
add ebp, eax
mov eax, dword [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov cx, word [edx + 6]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
jb 0xc1c141
mov ebp, dword [esp + 0x203c]
lea eax, [ebx + 2]
mov byte [esp + 0x12], 0
push eax
mov dword [esp + 0x28], eax
call fcn.00c271d3
add esp, 4
mov edi, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x2044]
push edi
push ecx
lea edx, [esp + 0x38]
push 0
push edx
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0xc1c2ab
test eax, eax
jne 0xc1c208
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jne 0xc1c2ab
jmp 0xc1c221
add esi, 4
mov dword [esp + 0x14], esi
jmp 0xc1c1a7
cmp dword [ebp + 0x10], 6
je 0xc1c217
push 0
push str.Hidden_from_Windows_API.
jmp 0xc1c25b
mov byte [esp + 0x12], 1
jmp 0xc1c2d4
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
cmp edx, eax
je 0xc1c24b
mov eax, dword [esp + 0x2038]
mov edx, dword [esp + 0x2044]
push 0
push str.Type_mismatch_between_Windows_API_and_raw_hive_data.
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
push edx
jmp 0xc1c2c8
mov esi, dword [esp + 0x14]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0xc1c273
push eax
push str.Data_mismatch_between_Windows_API_and_raw_hive_data.
mov ecx, dword [esp + 0x2040]
mov eax, dword [esp + 0x204c]
push ebx
lea edx, [esp + 0x38]
push ecx
push edx
push eax
jmp 0xc1c2c8
mov edx, dword [esp + 0x204c]
mov eax, dword [esp + 0x2048]
lea ecx, [esp + 0x2c]
push 0xc1bf40
mov dword [esp + 0x20], ecx
push 4
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00c2860d
add esp, 0x14
test eax, eax
jne 0xc1c2d4
push eax
push str.Hidden_from_Windows_API.
jmp 0xc1c2b2
push 0
push str.Windows_API_length_not_consistent_with_raw_hive_data.
mov edx, dword [esp + 0x2040]
mov ecx, dword [esp + 0x204c]
push ebx
lea eax, [esp + 0x38]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x2048]
call fcn.00c1dce0
mov edx, dword [esp + 0x18]
push edx
call fcn.00c271c8
mov al, byte [esp + 0x17]
add esp, 4
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0xc1c2fa
mov eax, dword [esp + 4]
push eax
call fcn.00c271c8
add esp, 4
mov al, byte [esp + 2]
add esp, 0x201c
ret