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

Disassembly:
sub esp, 0xce0
mov eax, dword [0x42f560]
xor eax, esp
mov dword [esp + 0xcdc], eax
mov eax, dword [esp + 0xce4]
push ebx
xor ebx, ebx
push edi
mov edi, ecx
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov byte [esp + 0xa8], bl
mov byte [esp + 0x28], bl
mov byte [esp + 0x68], bl
mov dword [esp + 0x20], ebx
push esi
mov edx, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ad80
mov ecx, dword [esp + 0x10]
push 0x400
lea eax, [esp + 0xf0]
push eax
push ebx
push ecx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40ad71
lea ebx, [ebx]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0xf8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ad46
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x4f0]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push str.InstallLocation
push eax
mov byte [esp + 0x504], bl
mov dword [esp + 0x30], 0x400
call ebp
test eax, eax
jne 0x40ad37
lea ecx, [esp + 0x4ec]
push ecx
call dword [sym.imp.USER32.dll_CharLowerA]
lea edx, [esp + 0x4ec]
push str.k7_computingk7tsecurity
push edx
call fcn.00418380
add esp, 8
test eax, eax
je 0x40ad37
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x8f0]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.DisplayName
push edx
mov byte [esp + 0x904], bl
mov dword [esp + 0x30], 0x400
call ebp
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp byte [esp + 0xac], bl
jne 0x40ad71
mov edx, dword [esp + 0x10]
push 0x400
lea ecx, [esp + 0xf0]
push ecx
inc esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x40ac70
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
cmp byte [esp + 0xac], bl
jne 0x40ada3
mov eax, dword [esp + 0x24]
inc eax
add edi, 4
mov dword [esp + 0x24], eax
cmp eax, 2
jb 0x40ac26
jmp 0x40b057
cmp byte [esp + 0x8ec], bl
je 0x40b057
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov edx, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
push str.InstallerProducts
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40aec9
mov ecx, dword [esp + 0x10]
push 0x400
lea eax, [esp + 0xf0]
push eax
push ebx
push ecx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40aeba
lea ebx, [ebx]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0xf8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ae92
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x4f0]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push 0x42957c
push eax
mov byte [esp + 0x504], bl
mov dword [esp + 0x30], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ae83
lea ecx, [esp + 0x4ec]
push ecx
lea edx, [esp + 0x8f0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40ae83
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x2c], bl
jne 0x40aeba
mov ecx, dword [esp + 0x10]
push 0x400
lea eax, [esp + 0xf0]
push eax
inc esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x40ae00
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x2c], bl
jne 0x40aee1
inc ebp
add edi, 4
cmp ebp, 2
jb 0x40adb6
jmp 0x40b057
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
push str.InstallerUpgradeCodes
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40afdf
mov eax, dword [esp + 0x10]
push 0x400
lea edx, [esp + 0xf0]
push edx
push ebx
push eax
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40afd0
jmp 0x40af30
mov edx, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40afa8
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4f0]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push ebx
lea edx, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x504], bl
mov dword [esp + 0x30], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40af99
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x6c], bl
jne 0x40afd0
mov edx, dword [esp + 0x10]
push 0x400
lea ecx, [esp + 0xf0]
push ecx
inc esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x40af30
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x6c], bl
jne 0x40aff4
inc ebp
add edi, 4
cmp ebp, 2
jb 0x40aee7
jmp 0x40b057
mov edx, dword [esp + 0x28]
cmp edx, ebx
je 0x40b011
lea eax, [esp + 0x8ec]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40b007
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xb4]
push ecx
push str.Removing_Product_Info:__s_s_s_n
call fcn.0040b8e0
add esp, 0x10
xor ebp, ebp
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + ebp*4]
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x70]
lea edi, [esp + 0x30]
call fcn.0040a790
inc ebp
add esp, 4
cmp ebp, 2
jb 0x40b032
mov eax, dword [esp + 0x10]
pop esi
pop ebp
cmp eax, ebx
je 0x40b068
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
pop edi
cmp eax, ebx
pop ebx
je 0x40b079
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xcdc]
xor ecx, esp
mov eax, 1
call fcn.00416a72
add esp, 0xce0
ret