Function at 0x402770
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov dl, byte [0x40bee4]
push ebx
push ebp
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x21d]
mov byte [esp + 0x21c], dl
mov byte [esp + 0x1c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x1d]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
mov ebp, 0x200
push eax
push 0xf003f
push ebx
push str.SoftwareIntelProunstlServices
push 0x80000002
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x402846
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x20]
push ebx
lea ecx, [esp + 0x22c]
push eax
push ecx
push ebx
push edx
call esi
test eax, eax
jne 0x40283b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x22c]
inc ebx
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
call esi
test eax, eax
je 0x402807
test ebx, ebx
jne 0x402846
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx + 4]
shl eax, 5
push eax
call fcn.004049b0
add esp, 4
mov ebp, eax
test ebx, ebx
jbe 0x4028cc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
xor ebx, ebx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ebx
lea eax, [esp + 0x20]
push ebx
push eax
push ebp
push ebx
push ecx
mov dword [esp + 0x34], 0x20
mov dword [esp + 0x30], 0x200
call esi
test eax, eax
jne 0x4028c1
mov edi, ebp
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x20]
add edi, 0x20
push 0
inc ebx
push ecx
push edi
push ebx
push edx
mov dword [esp + 0x34], 0x20
mov dword [esp + 0x30], 0x200
call esi
test eax, eax
je 0x40288d
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, ebx
or ecx, 0xffffffff
shl edx, 5
add edx, ebp
mov edi, str.E100B
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
shl edx, 5
add edx, ebp
mov edi, str.E1000
or ecx, 0xffffffff
inc ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
shl edx, 5
mov edi, str.E100SERVER
or ecx, 0xffffffff
add edx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
shl edx, 5
mov edi, 0x40bee4
or ecx, 0xffffffff
add edx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret