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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d76db
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 0x468e95
push eax
push str._vc_runtime__SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push 0x515408
call fcn.0048be90
add esp, 0xc
xor eax, eax
jmp 0x469177
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 0x469169
nop dword [eax]
inc edi
test eax, eax
je 0x468f15
cmp eax, 0xea
jne 0x469169
jmp 0x469017
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 0x469150
lea eax, [ebp - 0x658]
mov dword [ebp - 0x658], 0x208
push eax
lea eax, [ebp - 0x640]
push eax
push 0
push 0
push 0x4ef380
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x468f9b
push dword [ebp - 0x644]
call ebx
cmp esi, 0xea
je 0x469011
cmp esi, 2
je 0x469011
lea eax, [ebp - 0x220]
push eax
push 0x4f8298
jmp 0x46915c
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x648]
call fcn.0041c9e0
mov eax, dword [ebp - 0x654]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x468fe4
mov eax, dword [ebp - 0x648]
cmp dword [eax - 0xc], 0
jl 0x468fe4
push ecx
push eax
call fcn.004a6c3e
add esp, 8
test eax, eax
je 0x468fe4
sub eax, dword [ebp - 0x648]
sar eax, 1
jns 0x469054
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 0x469011
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 0x468f00
jmp 0x469169
lea eax, [ebp - 0x65c]
mov dword [ebp - 0x65c], 0x208
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push 0x4f2240
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4690df
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 0x515408
call fcn.0048be90
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 0x469169
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x469169
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 0x515408
call fcn.0048be90
lea edx, [ebp - 0x430]
add esp, 0x18
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x469117
mov ecx, dword [ebp - 0x664]
lea eax, [ebp - 0x430]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0041cd40
push dword [ebp - 0x644]
mov dword [ebp - 0x660], 1
call ebx
jmp 0x4690b1
lea eax, [ebp - 0x220]
push eax
push 0x4f8278
push 0x515408
call fcn.0048be90
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.004a474b
mov esp, ebp
pop ebp
ret 0x10