Function at 0x4251c2
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x463198
call fcn.0043b5c0
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 0x425460
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.0040b2c0
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.0040b2c0
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.0040b853
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 4
call fcn.0040bc78
mov ebx, eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
mov dword [edi + 8], ebx
call fcn.0040b853
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 5
call fcn.0040bc78
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.0040bcc0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040bcc0
test bl, bl
je 0x425442
cmp dword [ebp - 0x10], esi
jae 0x4252e6
cmp dword [ebp - 0x14], esi
jb 0x42536e
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
push dword [ebp - 0x14]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040b853
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 6
call fcn.0040bc78
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.0040b853
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 7
call fcn.0040bc78
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.0040bcc0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.0040bcc0
cmp dword [ebp - 0x1c], 2
je 0x42537a
cmp dword [ebp - 0x1c], 1
jne 0x42538a
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040ac81
test eax, eax
je 0x4253f0
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.0040b853
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.0040bc78
mov dword [ebp - 0x24], eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040b853
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.0040bc78
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 0x4252ae
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.0040b335
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00406320
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00406320
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00427144
mov eax, esi
jmp 0x425484
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00406320
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00406320
push 1
pop esi
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push esi
push eax
push 0x47d8e0
call fcn.0040aa6b
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], esi
call fcn.00427144
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8