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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x648], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x658], ecx
lea ecx, [ebp - 0x63c]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x63c], 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
call esi
test eax, eax
je 0x4d9ae5
push eax
push str._vc_runtime__SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push 0x550bb8
call fcn.0048d900
add esp, 0xc
xor eax, eax
jmp 0x4d9d67
xor eax, eax
mov dword [ebp - 0x644], 0x104
xor edi, edi
mov word [ebp - 0x14], ax
push edi
push edi
push edi
push edi
mov word [ebp - 0x220], ax
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x63c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x4d9d59
nop dword [eax]
inc edi
test eax, eax
je 0x4d9b65
cmp eax, 0xea
jne 0x4d9d59
jmp 0x4d9c39
lea eax, [ebp - 0x638]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x63c]
call esi
test eax, eax
jne 0x4d9d40
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x208
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push 0
push 0x51ba34
push dword [ebp - 0x638]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4d9be3
push dword [ebp - 0x638]
call ebx
cmp esi, 0xea
je 0x4d9c33
cmp esi, 2
je 0x4d9c33
lea eax, [ebp - 0x21c]
push eax
push 0x524c50
jmp 0x4d9d4c
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x640]
call fcn.0044f140
mov ecx, dword [ebp - 0x648]
push 0
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x640]
call fcn.0048ccb0
test eax, eax
jns 0x4d9c76
push dword [ebp - 0x638]
call ebx
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c080
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x644]
mov dword [ebp - 0x644], 0x104
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x63c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x4d9b50
jmp 0x4d9d59
lea eax, [ebp - 0x650]
mov dword [ebp - 0x650], 0x208
push eax
lea eax, [ebp - 0x634]
push eax
push 0
push 0
push 0x51e19c
push dword [ebp - 0x638]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4d9ce0
push dword [ebp - 0x638]
call ebx
mov eax, dword [ebp - 0x648]
push dword [eax]
lea eax, [ebp - 0x21c]
push esi
push eax
push str._vc_runtime___ws
push 0x550bb8
call fcn.0048d900
add esp, 0x14
lea ecx, [ebp - 0x640]
call fcn.0044c080
jmp 0x4d9d59
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x648]
push dword [eax]
push str._vc_runtime____ws_
push 0x550bb8
call fcn.0048d900
mov ecx, dword [ebp - 0x658]
lea eax, [ebp - 0x634]
add esp, 0x18
push eax
call fcn.0044f4c0
push dword [ebp - 0x638]
mov dword [ebp - 0x654], 1
call ebx
lea ecx, [ebp - 0x640]
call fcn.0044c080
jmp 0x4d9d59
lea eax, [ebp - 0x21c]
push eax
push 0x524c20
push 0x550bb8
call fcn.0048d900
add esp, 0xc
push dword [ebp - 0x63c]
call ebx
mov eax, dword [ebp - 0x654]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 0x10