Function at 0x1000c9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100211e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10029210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.Console0
push SysReAllocString
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000cbc9
push ebx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x1000cbc9
mov esi, dword [ebp - 0x18]
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x2c], esi
neg ecx
or ecx, eax
push ecx
call fcn.1000eee4
mov edi, eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], eax
call fcn.1000eee4
add esp, 8
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x24], ebx
jbe 0x1000cbb0
jmp 0x1000ca7a
xor ebx, ebx
mov eax, dword [ebp - 0x18]
inc eax
push eax
push ebx
push edi
mov dword [ebp - 0x2c], eax
call fcn.10016660
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push ebx
push esi
mov dword [ebp - 0x28], eax
call fcn.10016660
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push esi
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
lea edx, [ebp - 0x2c]
push edx
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push edi
push 0x10025930
lea edi, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.1000d2f0
push 0xa44
call fcn.1000f5f7
mov edi, eax
mov ecx, 0x291
push 0x1c
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
call fcn.1000f5f7
mov esi, dword [ebp - 0x10]
mov ebx, eax
mov ecx, 7
add esi, 0xa44
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [edi + 0x208]
push ecx
mov dword [ebp - 0x40], ebx
call fcn.1000eee4
mov edx, dword [edi + 0x208]
mov esi, eax
mov eax, dword [ebp - 0x10]
push edx
add eax, 0xa60
push eax
push esi
call fcn.10017550
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
add esp, 0x20
add eax, 0x14
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x424]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 0x428]
mov dword [ebx + 0xc], edx
mov ecx, dword [eax + 0x430]
mov dword [ebx + 0x18], ecx
mov dword [ebx], eax
lea eax, [ebp - 0x40]
call fcn.1000ce60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000cb9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x24]
jb 0x1000ca78
push edi
call fcn.1000f9b9
push esi
call fcn.1000f9b9
mov ecx, dword [ebp - 0x14]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4