Function at 0x1002c800
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007bf97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x434], 0
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0
push 0x219
mov byte [esp + 0x43c], 1
call fcn.10001450
add esp, 8
test eax, eax
je 0x1002c888
push 0x219
push eax
lea ecx, [esp + 0x20]
call fcn.10004800
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SOFTWARESohu_RDDownload
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002ca6c
mov byte [esp + 0x28], al
mov ecx, 0xff
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push str.FeedsToAdd
push eax
mov dword [esp + 0x38], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002ca6c
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002c903
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.100048d0
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0xfde9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x440], 2
call fcn.1001f630
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x438], 3
call fcn.10004aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x434], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1002c987
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002c990
sub eax, edx
mov dword [esp + 0x14], eax
je 0x1002ca46
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWARESohu_RDDownload
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.FeedsToAdd
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, dword [esp + 0xc]
push str.FeedsToAdd
push eax
call esi
push str.http:__rss.news.sohu.com
lea ecx, [esp + 0x18]
call fcn.100084d0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x168]
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push eax
push ecx
mov byte [esp + 0x44c], 4
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
push eax
mov byte [esp + 0x438], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x168]
lea ecx, [esp + 0x28]
push ecx
push 1
push eax
call fcn.10008760
mov esi, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x434], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1002ca6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x434], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002ca92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x434], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002cab7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x42c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret