Function at 0x10c71b0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x68
push 0x10e0190
call fcn.010ccb40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
xor edi, edi
mov dword [ebp - 0x60], edi
mov eax, dword [ebp - 0x74]
mov dword [eax], edi
mov eax, dword [ebp - 0x68]
mov dword [eax], edi
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x78]
push eax
push 0x30
lea eax, [ebp - 0x4c]
push eax
push 2
push dword [ebp - 0x70]
call dword [sym.imp.ntdll.dll_NtQueryKey]
mov dword [ebp - 0x50], eax
cmp eax, edi
jge 0x10c7207
cmp eax, 0x80000005
jne 0x10c7370
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x6c], esi
cmp esi, edi
jne 0x10c7219
mov dword [ebp - 0x50], edi
jmp 0x10c7370
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x5c]
push ecx
push 2
push eax
call fcn.010c370e
mov dword [ebp - 0x50], eax
test eax, eax
jl 0x10c7245
mov eax, dword [ebp - 0x5c]
mul esi
lea ecx, [ebp - 0x5c]
push ecx
push edx
push eax
call fcn.010c36dc
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov dword [ebp - 0x54], ebx
cmp dword [ebp - 0x50], ebx
jl 0x10c7370
mov eax, esi
push 4
pop ecx
mul ecx
lea ecx, [ebp - 0x54]
push ecx
push edx
push eax
call fcn.010c36dc
mov dword [ebp - 0x50], eax
cmp eax, ebx
jl 0x10c7370
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x54]
call fcn.010c370e
mov dword [ebp - 0x50], eax
cmp eax, ebx
jl 0x10c7370
mov eax, dword fs:[0x18]
push dword [ebp - 0x54]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
mov ebx, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
call ebx
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x10c72b5
mov dword [ebp - 0x50], 0xc000009a
jmp 0x10c7370
lea esi, [eax + esi*4]
push 0x1a
pop eax
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp - 0x34]
push eax
call fcn.010c370e
mov dword [ebp - 0x50], eax
test eax, eax
jl 0x10c7370
mov eax, dword fs:[0x18]
push dword [ebp - 0x64]
push 0
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call ebx
mov edi, eax
test edi, edi
je 0x10c72a9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
xor ebx, ebx
cmp dword [ebp - 0x6c], ebx
jbe 0x10c735f
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x64]
push edi
push 0
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.ntdll.dll_NtEnumerateKey]
mov dword [ebp - 0x50], eax
cmp eax, 0x8000001a
je 0x10c73b9
test eax, eax
jl 0x10c7370
mov eax, dword [edi + 0xc]
inc eax
inc eax
cmp eax, dword [ebp - 0x54]
ja 0x10c73bf
mov eax, dword [ebp - 0x58]
mov dword [eax + ebx*4], esi
push dword [edi + 0xc]
lea eax, [edi + 0x10]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, dword [edi + 0xc]
xor eax, eax
mov word [esi], ax
inc esi
inc esi
push 0xfffffffffffffffe
pop eax
sub eax, dword [edi + 0xc]
add dword [ebp - 0x54], eax
inc ebx
cmp ebx, dword [ebp - 0x6c]
jb 0x10c72fc
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
mov eax, dword [ebp - 0x68]
mov dword [eax], ebx
and dword [ebp - 0x50], 0
xor esi, esi
cmp edi, esi
je 0x10c738a
mov eax, dword fs:[0x18]
push edi
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 0x50], esi
jge 0x10c73aa
cmp dword [ebp - 0x58], esi
je 0x10c73aa
mov eax, dword fs:[0x18]
push dword [ebp - 0x58]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 0x50], 0xc000017d
jne 0x10c73ed
mov dword [ebp - 4], esi
int3
test ebx, ebx
je 0x10c7370
jmp 0x10c735f
mov dword [ebp - 0x50], 0xc0000023
jmp 0x10c7370
mov eax, dword [ebp - 0x50]
call fcn.010ccb88
ret 0xc