Function at 0x41a720
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa8
mov eax, 0x448aab
call fcn.00424e5c
mov eax, dword [ebp + 0x10]
mov ecx, eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
call fcn.00402b29
xor ebx, ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x74], ebx
jb 0x41a74f
mov esi, dword [esi]
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x41a916
push ebx
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x78], ebx
cmp dword [ebp - 0x14], ebx
jbe 0x41a90d
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x24]
add eax, 0xa
mov dword [ebp - 0x40], eax
je 0x41a7dc
cmp eax, 0x7fffffff
ja 0x41a925
push eax
lea ecx, [ebp - 0x38]
call 0x41aa44
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
add eax, 0x14
mov dword [ebp - 0x3c], eax
je 0x41a818
cmp eax, 0x7fffffff
ja 0x41a920
push eax
lea ecx, [ebp - 0x20]
call 0x41aa8a
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x78]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x41a8d3
cmp dword [ebp - 0x2c], 1
jne 0x41a8d3
push dword [ebp - 0x38]
lea ecx, [ebp - 0x70]
call fcn.004028e6
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004028e6
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0041730c
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 4
call 0x41ae7f
push eax
add eax, 0x10
push eax
push ecx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x84]
push eax
call fcn.0040fc60
lea ecx, [ebp - 0x9c]
call fcn.00403265
lea ecx, [ebp - 0xb4]
call fcn.00403265
lea ecx, [ebp - 0x58]
call fcn.00403265
lea ecx, [ebp - 0x70]
call fcn.00403265
test edi, edi
je 0x41a8ef
sub ebx, edi
mov ecx, edi
mov edx, ebx
call fcn.004032e3
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
jmp 0x41a8f1
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040d619
mov ecx, dword [ebp - 0x78]
inc ecx
mov dword [ebp - 0x78], ecx
cmp ecx, dword [ebp - 0x14]
jb 0x41a7a9
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.00424e06
ret 0xc
call fcn.00406f4c
call fcn.00406f4c
int3