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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d898
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x440], esi
xor eax, eax
mov dword [ebp - 0x43c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push str.IsWow64Process
push 0x43ff74
mov dword [ebp - 4], eax
mov dword [ebp - 0x43c], 1
mov dword [ebp - 0x434], eax
mov byte [ebp - 0x435], al
mov dword [ebp - 0x42c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40db73
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x40db73
cmp dword [ebp - 0x42c], 0
setne al
jmp 0x40db79
mov al, byte [ebp - 0x435]
cmp byte [ebp + 0xc], 0
je 0x40dbef
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test al, al
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
jne 0x40dbc3
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft_EdgeWebView
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x40dc20
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft_EdgeWebView
push SysReAllocString
call edi
jmp 0x40dc18
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallMicrosoft_EdgeWebView
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x40dc20
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallMicrosoft_EdgeWebView
push SysReAllocString
call edi
jmp 0x40dc18
test al, al
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
jne 0x40dc08
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft_Edge
jmp 0x40dc0d
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallMicrosoft_Edge
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40dde8
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0041d260
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x42c]
add esp, 0xc
mov dword [ebp - 0x430], 1
mov dword [ebp - 0x42c], 0
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x434]
call edi
test eax, eax
jne 0x40dde8
cmp dword [ebp - 0x42c], eax
jbe 0x40dde8
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x458]
call fcn.0040d490
cmp dword [eax + 0x14], 8
mov ecx, eax
mov dword [ebp - 4], 1
jb 0x40dcab
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0040e140
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0
call fcn.00402d70
cmp dword [esi + 0x10], 0
je 0x40dde8
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0041d260
add esp, 0xc
mov dword [ebp - 0x42c], 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Version
push dword [ebp - 0x434]
call edi
test eax, eax
jne 0x40ddc6
cmp dword [ebp - 0x42c], eax
jbe 0x40ddc6
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40dd31
mov edx, dword [esi]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x40dd63
lea eax, [edi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x40dd5d
nop dword [eax]
cmp eax, edx
je 0x40dd63
sub eax, 2
cmp word [eax], 0x5c
jne 0x40dd50
sub eax, edx
sar eax, 1
jmp 0x40dd66
or eax, 0xffffffff
cmp eax, edi
jae 0x40dd98
push 0x440220
lea ecx, [ebp - 0x458]
call fcn.0040d490
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040d6a0
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0
call fcn.00402d70
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x458]
call fcn.0040d490
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0040d6a0
lea ecx, [ebp - 0x458]
call fcn.00402d70
jmp 0x40dddc
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40ddd7
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret