Function at 0x424ea5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x462f10
call fcn.0043b400
sub esp, 0xa0
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
push 1
lea eax, [ebp - 0x18]
pop esi
push eax
push 0x20019
push ebx
push 0x479160
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425143
lea eax, [ebp - 0x26]
mov esi, 0x4675b0
mov edi, 0x4675a8
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x4c], edi
call fcn.0040b222
lea eax, [ebp - 0x25]
push ebx
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x74], edi
call fcn.0040b222
mov esi, 0x400
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0040b7b5
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 4
call fcn.0040bbda
mov ebx, eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
mov dword [edi + 8], ebx
call fcn.0040b7b5
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 5
call fcn.0040bbda
lea ecx, [ebp - 0x14]
mov dword [edi + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push 0
push dword [ebp - 0x18]
call edi
mov ebx, eax
lea ecx, [ebp - 0x44]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040bc22
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040bc22
test bl, bl
je 0x425125
cmp dword [ebp - 0x10], esi
jae 0x424fc9
cmp dword [ebp - 0x14], esi
jb 0x425051
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
push dword [ebp - 0x14]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040b7b5
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 6
call fcn.0040bbda
mov dword [ebx + 8], eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040b7b5
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 7
call fcn.0040bbda
lea ecx, [ebp - 0x14]
mov dword [ebx + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040bc22
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.0040bc22
cmp dword [ebp - 0x1c], 2
je 0x42505d
cmp dword [ebp - 0x1c], 1
jne 0x42506d
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040abe3
test eax, eax
je 0x4250d3
inc dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0040b7b5
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.0040bbda
mov dword [ebp - 0x24], eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040b7b5
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.0040bbda
lea ecx, [ebp - 0x14]
mov dword [ebx + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x424f91
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4675b0
mov dword [esi + 0x20], 0x4675a8
call fcn.0040b297
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00406295
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00406295
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00426e7a
mov eax, esi
jmp 0x425167
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00406295
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00406295
push 1
pop esi
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push esi
push eax
push 0x47d770
call fcn.0040a9cd
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], esi
call fcn.00426e7a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8