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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x100df514]
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, ecx
mov dword [ebp - 0x470], esi
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x474]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x20019
mov dword [ebp - 0x474], 0
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push edx
mov byte [ebp - 0x469], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x478], eax
test eax, eax
je 0x1004f56f
call fcn.10060f90
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1004f97f
push 0x75
push str.d:jenkins.jenkinsworkspacemaster_lu_benchmark_suite_benchmark_suite_aimarkbenchmarksuite_benchmarksuiteutils.cpp
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], al
call fcn.1000eb90
push 3
push 0x100b6af0
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.1000eb90
mov byte [ebp - 4], 1
call fcn.10060f90
mov edi, eax
lea ecx, [ebp - 0x52c]
push 0x69
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.100087f0
mov esi, eax
mov byte [ebp - 4], 2
push str.RegOpenKeyEx_fail__errno_
push esi
call fcn.10009970
add esp, 8
mov ecx, esi
push dword [ebp - 0x478]
call fcn.100096e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x52c]
call fcn.10009b90
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x1004f511
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f9d0
push edx
push ecx
call fcn.10075d5a
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp edx, 0x10
jb 0x1004f979
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f560
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f9d5
push edx
push ecx
call fcn.10075d5a
add esp, 8
jmp 0x1004f979
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x480]
mov dword [ebp - 0x480], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x478], eax
test eax, eax
je 0x1004f65c
call fcn.10060f90
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1004f97f
push 0x75
push str.d:jenkins.jenkinsworkspacemaster_lu_benchmark_suite_benchmark_suite_aimarkbenchmarksuite_benchmarksuiteutils.cpp
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], al
call fcn.1000eb90
push 3
push 0x100b6af0
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 3
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.1000eb90
mov byte [ebp - 4], 4
call fcn.10060f90
mov edi, eax
lea ecx, [ebp - 0x52c]
push 0x72
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.100087f0
mov esi, eax
mov byte [ebp - 4], 5
push str.RegQueryInfoKey_fail__errno_
jmp 0x1004f4ae
xor esi, esi
mov dword [ebp - 0x47c], esi
cmp dword [ebp - 0x480], esi
jbe 0x1004f972
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10080db0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10080db0
add esp, 0x18
mov dword [ebp - 0x484], 0x104
lea eax, [ebp - 0x484]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1004f819
lea eax, [ebp - 0x488]
mov dword [ebp - 0x488], 0x208
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x48c], 1
push eax
lea eax, [ebp - 0x48c]
push eax
push 2
push str.DisplayIcon
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1004f819
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x450], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004f740
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.10018190
mov edi, dword [ebp - 0x43c]
lea eax, [ebp - 0x450]
mov edx, dword [ebp - 0x450]
cmp edi, 8
mov ecx, dword [ebp - 0x440]
cmovae eax, edx
mov dword [ebp - 4], 6
mov dword [ebp - 0x478], edx
mov dword [ebp - 0x494], eax
cmp ecx, 0xc
jb 0x1004f7d6
add ecx, 0xfffffff5
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x490], ecx
sub ecx, eax
sar ecx, 1
je 0x1004f7be
nop word [eax + eax]
cmp word [eax], 0x46
je 0x1004f831
add eax, 2
sub ecx, 1
jne 0x1004f7b0
mov edx, dword [ebp - 0x478]
mov esi, dword [ebp - 0x47c]
mov edi, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x440]
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x1004f887
mov dword [ebp - 4], eax
cmp edi, 8
jb 0x1004f819
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f80f
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f9d0
push ecx
push edx
call fcn.10075d5a
add esp, 8
inc esi
mov dword [ebp - 0x47c], esi
cmp esi, dword [ebp - 0x480]
jb 0x1004f670
jmp 0x1004f972
test eax, eax
je 0x1004f7be
mov edx, str.FancyCcV.exe
mov edi, eax
mov esi, 0xc
sub edi, edx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x1004f879
add edx, 2
sub esi, 1
jne 0x1004f843
sub eax, dword [ebp - 0x494]
mov edx, dword [ebp - 0x478]
mov esi, dword [ebp - 0x47c]
mov edi, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x440]
sar eax, 1
jmp 0x1004f7d9
mov ecx, dword [ebp - 0x490]
add eax, 2
jmp 0x1004f7a4
xor esi, esi
mov dword [ebp - 0x428], 0
cmp ecx, eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], si
cmovb eax, ecx
cmp edi, 8
lea ecx, [ebp - 0x450]
cmovae ecx, edx
push eax
push ecx
lea ecx, [ebp - 0x438]
call fcn.10018190
mov ecx, dword [ebp - 0x470]
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [ebp - 0x438]
cmp esi, eax
je 0x1004f8f6
mov ecx, esi
call fcn.100092d0
movups xmm0, xmmword [ebp - 0x438]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
jmp 0x1004f936
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x1004f936
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f92c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f9d0
push edx
push ecx
call fcn.10075d5a
add esp, 8
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x1004f972
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f968
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f9d0
push edx
push ecx
call fcn.10075d5a
add esp, 8
mov byte [ebp - 0x469], 1
mov esi, dword [ebp - 0x470]
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x1004f99a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x474], 0
cmp byte [ebp - 0x469], 0
je 0x1004f9b1
mov eax, dword [esi]
mov eax, dword [eax]
cmp dword [eax + 0x10], 0
je 0x1004f9b1
mov al, 1
jmp 0x1004f9b3
xor al, al
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.100760cb
mov esp, ebp
pop ebp
ret 8
call fcn.10083cd9
call fcn.10083cd9
int3