Function at 0x102e7b59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, esi
and eax, 0x200
mov dword [ebp - 0x410], ebx
or eax, 0
push edi
mov edi, dword [ebp + 0x14]
je 0x102e7cb5
and dword [ebp - 0x40c], 0
lea eax, [ebp - 0x40c]
push eax
push 1
push dword [0x106429ec]
call fcn.10114b62
test eax, eax
jne 0x102e7cb5
lea eax, [ebp - 0x414]
xor ecx, ecx
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x41c], ecx
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
jmp 0x102e7c81
and dword [ebp - 0x408], 0
cmp dword [ebp - 0x420], 1
jne 0x102e7c4e
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x102e7c4e
cmp dword [edi], eax
jbe 0x102e7c4e
push eax
push dword [ebx]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.102dea90
test al, al
je 0x102e7c4e
push dword [ebp - 0x424]
mov ebx, dword [ebp - 0x414]
lea eax, [ebp - 0x408]
push eax
mov eax, dword [edi]
shr ebx, 1
dec ebx
add eax, ebx
add eax, eax
push eax
call fcn.100125e0
test eax, eax
jns 0x102e7d5f
mov ebx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x204]
inc eax
push ecx
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x41c], eax
push ecx
push 0
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x404]
push ecx
push eax
push dword [ebp - 0x40c]
mov dword [ebp - 0x418], 0x100
mov dword [ebp - 0x414], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x102e7bec
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and esi, 0x400
or esi, 0
je 0x102e7dbb
push 0x100
lea eax, [ebp - 0x204]
push eax
push dword [0x106429e8]
call fcn.10114292
lea eax, [ebp - 0x204]
push eax
call fcn.10113ed3
and dword [ebp - 0x408], 0
mov ebx, eax
test ebx, ebx
je 0x102e7dbb
push dword [ebp - 0x424]
mov ecx, dword [edi]
lea eax, [ebp - 0x408]
add ecx, ebx
push eax
add ecx, ecx
push ecx
call fcn.100125e0
test eax, eax
js 0x102e7dbb
lea esi, [ebx + ebx]
push esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x408]
call fcn.1027ad2a
mov eax, dword [edi]
add eax, eax
push eax
mov eax, dword [ebp - 0x410]
push dword [eax]
mov eax, dword [ebp - 0x408]
add eax, esi
push eax
call fcn.1027ad2a
mov ecx, dword [ebp - 0x410]
add esp, 0x18
mov eax, dword [ebp - 0x408]
mov dword [ecx], eax
add dword [edi], ebx
jmp 0x102e7db7
lea esi, [ebx + ebx]
push esi
lea eax, [ebp - 0x204]
push eax
mov eax, dword [edi]
add eax, ebx
add eax, eax
push eax
push dword [ebp - 0x408]
call fcn.102cf6ea
mov eax, dword [edi]
mov ecx, dword [ebp - 0x410]
add eax, eax
push eax
push dword [ecx]
mov ecx, dword [ebp - 0x408]
push eax
add ecx, esi
push ecx
call fcn.102cf6ea
mov eax, dword [ebp - 0x410]
add esp, 0x20
mov ecx, dword [ebp - 0x408]
push dword [ebp - 0x40c]
mov dword [eax], ecx
add dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x102e7dbd
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret