Function at 0x100a00c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101895f0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101dd594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10073ae0
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], 0
test ebx, ebx
je 0x100a014e
push str.IsWow64Process
push 0x1019c850
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100a0141
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0x20119
jne 0x100a0155
mov dword [ebp - 0x14], 0x20019
push ebx
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.1001d450
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.1009f3b0
add esp, 0x10
or ebx, 0xffffffff
test eax, eax
je 0x100a0285
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a0285
cmp dword [ebp - 0x30], eax
jbe 0x100a0285
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10128827
mov ecx, dword [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
lea ecx, [ecx*2 + 2]
push ecx
push 0
push ebx
call fcn.10150460
xor esi, esi
add esp, 0x10
cmp dword [ebp - 0x30], esi
je 0x100a0279
mov eax, dword [ebp - 0x2c]
push 0
push 0
push 0
inc eax
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100a026f
push ebx
lea ecx, [ebp - 0x14]
call fcn.10016670
mov ebx, dword [edi + 4]
mov byte [ebp - 4], 1
cmp dword [edi + 8], ebx
je 0x100a0241
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.1001d450
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [edi + 4], 4
jmp 0x100a024d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
push ebx
call fcn.1001bef0
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a026c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x3c]
inc esi
cmp esi, dword [ebp - 0x30]
jne 0x100a01f0
push ebx
call fcn.101282d1
add esp, 4
or ebx, 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100a0293
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100a02b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128191
mov esp, ebp
pop ebp
ret