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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x73c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x738], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x22d]
push ebx
push eax
mov byte [esp + 0x234], bl
call fcn.00a7ffb0
add esp, 0xc
mov edi, str.unins.exe
mov ecx, 0xb55508
call fcn.00959ba0
test eax, eax
jne 0x872b92
push 0x104
lea ecx, [esp + 0x22c]
push ecx
push 0xaae0f8
mov edx, str.ProgressOver
mov ecx, 0xaa154c
call fcn.00958d30
add esp, 0xc
cmp byte [esp + 0x228], 0x30
jne 0x872750
lea edx, [esp + 0x120]
push str._USTR__Installation_in_Progress__ProgressOver__0_._Not_checking_UString
push edx
call fcn.00a78f30
push ebx
push 1
lea eax, [esp + 0x130]
push eax
push 0xb54ce8
call fcn.008808e0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x738]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
cmp dword [0xb56574], ebx
je 0x872797
lea ecx, [esp + 0x120]
push str._USTR__Monitor_Unload_in_Progress._Not_checking_UString
push ecx
call fcn.00a78f30
push ebx
push 1
lea edx, [esp + 0x130]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x738]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [esp + 0x22c]
push eax
push 0xaa1543
mov edx, str.UString
mov ecx, 0xaa154c
call fcn.00958d30
add esp, 0xc
mov ecx, str.UStringDefined
cmp byte [esp + 0x228], bl
je 0x8727e2
push 0xaae0f8
push 0xaa154c
call fcn.009591b0
mov dword [esp + 0x18], 1
jmp 0x8727f1
push ebx
push 0xaa154c
call fcn.009591b0
mov dword [esp + 0x18], ebx
add esp, 8
cmp byte [str.eScan_Enterprise_EDR], bl
jne 0x872829
push 0x104
push str.eScan_Enterprise_EDR
push 0xaa1543
mov edx, str.AppName
mov ecx, 0xaa154c
call fcn.00958d30
add esp, 0xc
cmp byte [str.eScan_Enterprise_EDR], bl
je 0x872938
cmp byte [str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1], bl
jne 0x872944
push 0x103
lea ecx, [esp + 0x335]
push ebx
push ecx
mov byte [esp + 0x33c], bl
call fcn.00a7ffb0
add esp, 0xc
lea edx, [esp + 0x330]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push edx
xor esi, esi
call fcn.00a78f30
add esp, 8
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x334]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x872938
push 0x103
lea edx, [esp + 0x1d]
push ebx
push edx
mov byte [esp + 0x24], bl
call fcn.00a7ffb0
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push 0x104
lea eax, [esp + 0x1c]
push eax
push ebx
push ecx
call edi
test eax, eax
jne 0x87290f
lea esp, [esp]
push str.eScan_Enterprise_EDR
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, str.eScan_Enterprise_EDR
lea ecx, [esp + 0x1c]
call fcn.0094c380
add esp, 4
test eax, eax
je 0x872916
push 0x103
lea edx, [esp + 0x1d]
push ebx
push edx
inc esi
mov byte [esp + 0x24], bl
call fcn.00a7ffb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push 0x104
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
call edi
test eax, eax
je 0x8728c0
mov edx, dword [esp + 0xc]
push edx
jmp 0x872932
lea eax, [esp + 0x18]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_s
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1
call fcn.00a78f30
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1], bl
je 0x872b92
mov esi, 0x207
push esi
lea edx, [esp + 0x335]
push ebx
push edx
mov byte [esp + 0x33c], bl
call fcn.00a7ffb0
add esp, 0xc
push esi
lea eax, [esp + 0x53d]
push ebx
push eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x544], bl
call fcn.00a7ffb0
add esp, 0xc
push str.UninstallString
lea eax, [esp + 0x10]
lea edi, [esp + 0x334]
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1
mov edx, 0x80000002
mov dword [esp + 0x18], esi
call fcn.0094c020
push str.QuietUninstallString
lea eax, [esp + 0x18]
lea edi, [esp + 0x53c]
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1
mov edx, 0x80000002
call fcn.0094c020
push ebx
lea ecx, [esp + 0x334]
push 0xab2e80
push ecx
call fcn.0095c8c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x8729f6
push ebx
mov edx, edi
push 0xab2e80
push edx
call fcn.0095c8c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x872aed
push 0x103
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.00a7ffb0
add esp, 0xc
push 0xb55508
lea ecx, [esp + 0x1c]
push str._sESREMOVE.EXE
push ecx
call fcn.00a78f30
add esp, 0xc
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1
lea edx, [esp + 0x124]
push str._USTR__eScanInstKey:___s_
push edx
call fcn.00a78f30
add esp, 0xc
push ebx
push 1
lea eax, [esp + 0x128]
push eax
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1
mov edx, str.UninstallString
mov ecx, 0x80000002
call fcn.0094bd00
lea edx, [esp + 0x18]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalleScan_Enterprise_EDR_is1
mov edx, str.QuietUninstallString
mov ecx, 0x80000002
call fcn.0094bd00
cmp dword [esp + 0x10], ebx
jne 0x872af7
cmp byte [esp + 0x330], bl
je 0x872ab1
lea eax, [esp + 0x330]
push eax
push 0xaa154c
mov ecx, str.UninstallString
call fcn.009591b0
add esp, 8
cmp byte [esp + 0x538], bl
je 0x872b92
lea ecx, [esp + 0x538]
push ecx
push 0xaa154c
mov ecx, str.QuietUninstallString
call fcn.009591b0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x738]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x10], ebx
je 0x872b92
push ebx
mov ecx, str.unins.exe
mov ebx, 0xb55508
call fcn.0095eb80
add esp, 4
push eax
push ebx
lea edx, [esp + 0x128]
push str._USTR__Deleting_unins.exe_from___s_._Result:_u
push edx
call fcn.00a78f30
push 0
push 1
lea eax, [esp + 0x138]
push eax
push 0xb54ce8
call fcn.008808e0
push 0
mov ecx, str.unins.dat
call fcn.0095eb80
add esp, 0x24
push eax
push ebx
lea ecx, [esp + 0x128]
push str._USTR__Deleting_unins.dat_from___s_._Result:_u
push ecx
call fcn.00a78f30
push 0
push 1
lea edx, [esp + 0x138]
push edx
push 0xb54ce8
call fcn.008808e0
push 0
push 0xaa154c
mov ecx, str.UninstallString
call fcn.009591b0
push 0
push 0xaa154c
mov ecx, str.QuietUninstallString
call fcn.009591b0
add esp, 0x30
mov ecx, dword [esp + 0x744]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret