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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b35bd
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x100e2524]
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 0x1005195f
call fcn.10063090
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x10051d6f
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.1000f000
push 3
push 0x100b9b00
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.1000f000
mov byte [ebp - 4], 1
call fcn.10063090
mov edi, eax
lea ecx, [ebp - 0x52c]
push 0x69
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10008c30
mov esi, eax
mov byte [ebp - 4], 2
push str.RegOpenKeyEx_fail__errno_
push esi
call fcn.10009db0
add esp, 8
mov ecx, esi
push dword [ebp - 0x478]
call fcn.10009b20
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x52c]
call fcn.10009fe0
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x10051901
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100518f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051dc0
push edx
push ecx
call fcn.1007819a
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 0x10051d69
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051950
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051dc5
push edx
push ecx
call fcn.1007819a
add esp, 8
jmp 0x10051d69
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 0x10051a4c
call fcn.10063090
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x10051d6f
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.1000f000
push 3
push 0x100b9b00
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.1000f000
mov byte [ebp - 4], 4
call fcn.10063090
mov edi, eax
lea ecx, [ebp - 0x52c]
push 0x72
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10008c30
mov esi, eax
mov byte [ebp - 4], 5
push str.RegQueryInfoKey_fail__errno_
jmp 0x1005189e
xor esi, esi
mov dword [ebp - 0x47c], esi
cmp dword [ebp - 0x480], esi
jbe 0x10051d62
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100832e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100832e0
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 0x10051c09
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 0x10051c09
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 0x10051b30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.100185f0
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 0x10051bc6
add ecx, 0xfffffff5
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x490], ecx
sub ecx, eax
sar ecx, 1
je 0x10051bae
nop word [eax + eax]
cmp word [eax], 0x46
je 0x10051c21
add eax, 2
sub ecx, 1
jne 0x10051ba0
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 0x10051c77
mov dword [ebp - 4], eax
cmp edi, 8
jb 0x10051c09
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10051bff
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051dc0
push ecx
push edx
call fcn.1007819a
add esp, 8
inc esi
mov dword [ebp - 0x47c], esi
cmp esi, dword [ebp - 0x480]
jb 0x10051a60
jmp 0x10051d62
test eax, eax
je 0x10051bae
mov edx, str.FancyCcV.exe
mov edi, eax
mov esi, 0xc
sub edi, edx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x10051c69
add edx, 2
sub esi, 1
jne 0x10051c33
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 0x10051bc9
mov ecx, dword [ebp - 0x490]
add eax, 2
jmp 0x10051b94
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.100185f0
mov ecx, dword [ebp - 0x470]
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [ebp - 0x438]
cmp esi, eax
je 0x10051ce6
mov ecx, esi
call fcn.10009710
movups xmm0, xmmword [ebp - 0x438]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
jmp 0x10051d26
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x10051d26
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10051d1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051dc0
push edx
push ecx
call fcn.1007819a
add esp, 8
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x10051d62
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10051d58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051dc0
push edx
push ecx
call fcn.1007819a
add esp, 8
mov byte [ebp - 0x469], 1
mov esi, dword [ebp - 0x470]
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x10051d8a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x474], 0
cmp byte [ebp - 0x469], 0
je 0x10051da1
mov eax, dword [esi]
mov eax, dword [eax]
cmp dword [eax + 0x10], 0
je 0x10051da1
mov al, 1
jmp 0x10051da3
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.1007850b
mov esp, ebp
pop ebp
ret 8
call fcn.10086209
call fcn.10086209
int3