Function at 0x405350
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x32c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 8]
mov ecx, 0x41
xor eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 0x4b4], ebx
lea ebp, [esi + 0x10c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x135]
mov byte [esp + 0x134], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x138]
push eax
push 0x43c09c
call fcn.00423bf0
add esp, 0xc
lea ecx, [esp + 0x134]
lea edx, [esi + 0x3a4]
push 0x43c09c
push ecx
push 0x437564
push edx
call fcn.00429590
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x10
mov dword [esp + 0x10], ebx
stosb byte es:[edi], al
push 0x43c09c
lea eax, [esp + 0x34]
push str.SOFTWARERising_s
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
call fcn.00429590
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40556d
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
push ebx
push str.installpath
push edx
mov dword [esp + 0x28], 0x104
call ebp
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1d], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x21], eax
push ecx
mov dword [esp + 0x29], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2d], eax
push edx
mov word [esp + 0x35], ax
mov byte [esp + 0x24], bl
mov byte [esp + 0x37], al
lea eax, [esp + 0x20]
push eax
push ebx
push str.type
push ecx
mov dword [esp + 0x28], 0x14
call ebp
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4054bc
lea edx, [esp + 0x1c]
push edx
call fcn.0042996d
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea eax, [esi + 8]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
mov edi, 0x104
push str.group
push edx
mov dword [esp + 0x28], edi
call ebp
lea eax, [esp + 0x10]
lea ecx, [esi + 0x4b8]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebx
push str.name
push eax
mov dword [esp + 0x28], edi
call ebp
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edi, [esi + 0x384]
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push ebx
push str.version
push eax
mov dword [esp + 0x28], 0x20
call ebp
mov ecx, esi
call fcn.00405810
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push ebx
push str.version
push eax
mov dword [esp + 0x28], 0x20
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push str.Current_Version__s
push 0x43bb00
call fcn.004042f0
add esp, 0xc
lea edx, [esi + 0x10c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x405638
mov edi, dword [esi + 0x4ac]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40561c
mov ecx, 0x40
lea edi, [esp + 0x239]
mov byte [esp + 0x238], bl
push str.XMLS
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea edx, [esp + 0x240]
push str._s_s
push edx
stosb byte es:[edi], al
call fcn.00429590
mov ecx, dword [esi + 0x4a8]
add esp, 0x10
lea eax, [esp + 0x238]
push ebx
push eax
push ecx
mov ecx, 0x43bc08
call fcn.0040b550
test eax, eax
je 0x4055fb
mov edx, dword [esi + 0x4a8]
add edx, 0x28
mov dword [esi + 0x4ac], edx
jmp 0x40561c
mov eax, dword [esi + 4]
sub eax, 8
je 0x405612
sub eax, 2
mov dword [esi + 0x4ac], 0x4374e8
jmp 0x40561c
mov dword [esi + 0x4ac], str.Rising_AntiVirus_Software_2005_NET
mov edi, dword [esi + 0x4ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x405638
mov dword [esi + 0x4b4], 1
mov eax, dword [esi + 0x4b4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32c
ret