Function at 0x404900
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4168b2
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x41c060]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41c060]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov ecx, 9
mov esi, str.d1abbc6d_4c7b_4d6b_9b50_f79399dd3652
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ebx, ebx
push 0x4178a4
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebx
movsb byte es:[edi], byte [esi]
call fcn.00403bd0
push 0x417888
lea ecx, [esp + 0x2c]
mov dword [esp + 0x170], ebx
call fcn.00403bd0
push str.Kingsoft_Internet_Security_9
lea ecx, [esp + 0x30]
mov byte [esp + 0x170], 1
call fcn.00403bd0
push str.Kingsoft_Internet_Security_U
lea ecx, [esp + 0x34]
mov byte [esp + 0x170], 2
call fcn.00403bd0
push 0x4176ac
lea ecx, [esp + 0x18]
mov dword [esp + 0x170], 3
call fcn.00403bd0
push 0x103
lea eax, [esp + 0x61]
push ebx
push eax
mov byte [esp + 0x178], 4
mov dword [esp + 0x24], ebx
mov byte [esp + 0x68], bl
call fcn.004075f0
add esp, 0xc
push 0x17
push str.SoftwareClassesCLSID_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x104
call fcn.00401f50
lea eax, [esp + 0x34]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x404a00
sub eax, ecx
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401fe0
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp eax, ebx
jne 0x404a96
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x16c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404a6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401ab0
push 4
push 4
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x17c], 0xffffffff
call fcn.00408b98
mov eax, 1
jmp 0x404b90
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov edi, edi
push 0x34
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x1c]
call fcn.00401f50
mov eax, dword [esp + esi*4 + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401fe0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp eax, ebx
jne 0x404b26
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x60]
push edx
push ebx
push ebx
push str.UUID
push eax
mov dword [esp + 0x34], 0x104
call ebp
cmp eax, ebx
jne 0x404b17
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0040c08d
add esp, 8
test eax, eax
je 0x404b38
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
add esi, 1
cmp esi, 4
jl 0x404aa0
mov esi, dword [esp + 0x20]
jmp 0x404b48
mov ecx, dword [esp + 0x18]
push ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x16c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404b70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00401ab0
push 4
push 4
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x17c], 0xffffffff
call fcn.00408b98
mov eax, esi
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004075d4
add esp, 0x15c
ret