Function at 0x404360
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xdc
push ebx
push esi
push edi
mov ecx, 0x11
mov esi, str.SOFTWARENetwork_AssociatesTVDShared_ComponentsOn_Access_Scanner
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x15
mov esi, str.SOFTWARENetwork_AssociatesTVDShared_ComponentsOn_Access_ScannerBehaviourBlocking
lea edi, [esp + 0x90]
push 0x2000
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 5
mov esi, str.PortBlockWhiteList_
lea edi, [esp + 0x3c]
push 0x40
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40457c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x4c]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404575
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0xa8]
push 0
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404575
xor esi, esi
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x3c]
push esi
push eax
lea ecx, [esp + 0x2c]
push str._s_i
push ecx
call fcn.0040b8ea
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, 0x800
xor eax, eax
mov edi, ebx
push edx
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
push edx
call ebp
test eax, eax
jne 0x404506
cmp dword [esp + 0x14], 0x1ff7
ja 0x40455b
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ecx
lea edx, [esp + 0x30]
push 0
push edx
push eax
call ebp
test eax, eax
jne 0x404506
push 0x42a410
push ebx
call fcn.00404260
add esp, 8
test eax, eax
jne 0x40455b
cmp byte [ebx], 0
je 0x4044df
mov edi, 0x42b7dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42a410
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x404531
cmp eax, 2
jne 0x40455b
mov ecx, 0x800
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, 0x42a410
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
dec ecx
push ecx
push ebx
push 1
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [esp + 0x1c]
inc esi
cmp esi, 5
mov dword [esp + 0x1c], esi
jle 0x40442b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
add esp, 0xdc
ret