Function at 0x424eec
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x462fc0
call fcn.0043b410
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 str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42518a
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.0040b2ce
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.0040b2ce
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.0040b824
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 4
call fcn.0040bc49
mov ebx, eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
mov dword [edi + 8], ebx
call fcn.0040b824
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 5
call fcn.0040bc49
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.0040bc91
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040bc91
test bl, bl
je 0x42516c
cmp dword [ebp - 0x10], esi
jae 0x425010
cmp dword [ebp - 0x14], esi
jb 0x425098
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
push dword [ebp - 0x14]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040b824
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 6
call fcn.0040bc49
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.0040b824
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 7
call fcn.0040bc49
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.0040bc91
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.0040bc91
cmp dword [ebp - 0x1c], 2
je 0x4250a4
cmp dword [ebp - 0x1c], 1
jne 0x4250b4
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040ac8f
test eax, eax
je 0x42511a
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.0040b824
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.0040bc49
mov dword [ebp - 0x24], eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040b824
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.0040bc49
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 0x424fd8
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.0040b343
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0040632e
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040632e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0042606a
mov eax, esi
jmp 0x4251ae
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0040632e
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0040632e
push 1
pop esi
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push esi
push eax
push 0x47d770
call fcn.0040aa79
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], esi
call fcn.0042606a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8