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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d911b
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x511070]
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 - 0x654], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x664], ecx
lea ecx, [ebp - 0x64c]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x64c], 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
call esi
test eax, eax
je 0x469ff5
push eax
push str._vc_runtime__SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push 0x515488
call fcn.0048d4b0
add esp, 0xc
xor eax, eax
jmp 0x46a2d7
xor eax, eax
mov dword [ebp - 0x650], 0x104
xor edi, edi
mov word [ebp - 0x18], ax
push edi
push edi
push edi
push edi
mov word [ebp - 0x438], ax
mov word [ebp - 0x228], ax
mov dword [ebp - 0x658], eax
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x644], eax
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [ebp - 0x64c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x46a2c9
nop dword [eax]
inc edi
test eax, eax
je 0x46a075
cmp eax, 0xea
jne 0x46a2c9
jmp 0x46a177
lea eax, [ebp - 0x644]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x64c]
call esi
test eax, eax
jne 0x46a2b0
lea eax, [ebp - 0x658]
mov dword [ebp - 0x658], 0x208
push eax
lea eax, [ebp - 0x640]
push eax
push 0
push 0
push 0x4f03d0
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x46a0fb
push dword [ebp - 0x644]
call ebx
cmp esi, 0xea
je 0x46a171
cmp esi, 2
je 0x46a171
lea eax, [ebp - 0x220]
push eax
push 0x4f8748
jmp 0x46a2bc
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x648]
call fcn.0041c970
mov eax, dword [ebp - 0x654]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x46a144
mov eax, dword [ebp - 0x648]
cmp dword [eax - 0xc], 0
jl 0x46a144
push ecx
push eax
call fcn.004a81de
add esp, 8
test eax, eax
je 0x46a144
sub eax, dword [ebp - 0x648]
sar eax, 1
jns 0x46a1b4
push dword [ebp - 0x644]
call ebx
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x648]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a171
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x650]
mov dword [ebp - 0x650], 0x104
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [ebp - 0x64c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x46a060
jmp 0x46a2c9
lea eax, [ebp - 0x65c]
mov dword [ebp - 0x65c], 0x208
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push 0x4f2d70
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x46a23f
push dword [ebp - 0x644]
call ebx
mov eax, dword [ebp - 0x654]
push dword [eax]
lea eax, [ebp - 0x220]
push esi
push eax
push str._vc_runtime___ws
push 0x515488
call fcn.0048d4b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x648]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a2c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46a2c9
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x654]
push dword [eax]
push str._vc_runtime____ws_
push 0x515488
call fcn.0048d4b0
lea edx, [ebp - 0x430]
add esp, 0x18
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x46a277
mov ecx, dword [ebp - 0x664]
lea eax, [ebp - 0x430]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0041ccd0
push dword [ebp - 0x644]
mov dword [ebp - 0x660], 1
call ebx
jmp 0x46a211
lea eax, [ebp - 0x220]
push eax
push 0x4f8728
push 0x515488
call fcn.0048d4b0
add esp, 0xc
push dword [ebp - 0x64c]
call ebx
mov eax, dword [ebp - 0x660]
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.004a5d13
mov esp, ebp
pop ebp
ret 0x10