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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015452
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x1001b230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x100184fc
push 0x1001dfcc
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10007368
xor edi, edi
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x85c], edi
mov dword [ebp - 0x858], edi
mov dword [ebp - 0x854], edi
mov dword [ebp - 4], edi
mov word [ebp - 0x830], ax
mov ebx, 7
push 2
mov eax, 0x100186b0
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x820], edi
call fcn.100015f0
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 1
call fcn.10007840
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x81c], esi
jb 0x10006f66
mov edx, dword [ebp - 0x830]
push edx
call fcn.100087b1
add esp, 4
xor eax, eax
mov word [ebp - 0x830], ax
push 4
mov eax, str.Bank
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x820], edi
call fcn.100015f0
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 2
call fcn.10007840
mov byte [ebp - 4], 0
cmp dword [ebp - 0x81c], esi
jb 0x10006fbe
mov edx, dword [ebp - 0x830]
push edx
call fcn.100087b1
add esp, 4
xor eax, eax
mov word [ebp - 0x830], ax
push 3
mov eax, 0x100186c4
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x820], edi
call fcn.100015f0
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 3
call fcn.10007840
mov byte [ebp - 4], 0
cmp dword [ebp - 0x81c], esi
jb 0x10007016
mov edx, dword [ebp - 0x830]
push edx
call fcn.100087b1
add esp, 4
xor eax, eax
mov word [ebp - 0x830], ax
push 1
mov eax, 0x100186cc
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x820], edi
call fcn.100015f0
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 4
call fcn.10007840
mov byte [ebp - 4], 0
cmp dword [ebp - 0x81c], esi
jb 0x1000706e
mov edx, dword [ebp - 0x830]
push edx
call fcn.100087b1
add esp, 4
push 0x3fe
lea ecx, [ebp - 0x812]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x848], 0x200
mov word [ebp - 0x814], ax
call fcn.1000d7e0
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x84c], esi
cmp esi, 2
jge 0x1000731e
cmp esi, edi
jne 0x100070b9
lea edx, [ebp - 0x834]
push edx
push 0x20019
jmp 0x100070c5
lea eax, [ebp - 0x834]
push eax
push 0x20119
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100073c1
mov edx, dword [ebp - 0x834]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x848]
push ecx
push edi
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10007110
mov eax, dword [ebp - 0x834]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
jmp 0x10007098
xor ecx, ecx
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x840], ecx
cmp ecx, eax
jge 0x100072f5
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x838]
push edx
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x814]
push eax
push ecx
mov ecx, dword [ebp - 0x834]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x834]
lea edx, [ebp - 0x844]
push edx
push 0x20019
push edi
lea eax, [ebp - 0x814]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100073a5
xor edx, edx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x820], edi
mov word [ebp - 0x830], dx
push 0x3fe
lea ecx, [ebp - 0x412]
push edi
mov byte [ebp - 4], 6
push ecx
mov word [ebp - 0x414], ax
call fcn.1000d7e0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [ebp - 0x838]
push edx
mov edx, dword [ebp - 0x844]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x860]
push ecx
push edi
push str.DisplayName
push edx
call esi
cmp dword [ebp - 0x838], edi
je 0x10007207
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100071e5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x830]
call fcn.100079a0
lea ecx, [ebp - 0x838]
push ecx
mov ecx, dword [ebp - 0x844]
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x860]
push eax
push edi
push str.Publisher
push ecx
call esi
cmp dword [ebp - 0x838], edi
je 0x10007262
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10007240
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x830]
call fcn.100079a0
mov ecx, dword [ebp - 0x858]
mov esi, dword [ebp - 0x85c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
xor ebx, ebx
add edi, edx
cmp ebx, edi
jae 0x100072ca
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x100072a3
mov eax, dword [esi]
jmp 0x100072a5
mov eax, esi
push ecx
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.10007a80
cmp eax, 0xffffffff
jne 0x100072be
inc ebx
add esi, 0x1c
jmp 0x10007285
mov dword [ebp - 0x83c], 1
jmp 0x100072d7
cmp dword [ebp - 0x83c], 0
je 0x10007384
cmp dword [ebp - 0x81c], 8
jb 0x100072ef
mov ecx, dword [ebp - 0x830]
push ecx
call fcn.100087b1
add esp, 4
mov byte [ebp - 4], 0
xor edi, edi
mov eax, dword [ebp - 0x834]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x83c], edi
je 0x100073b6
push 0x100186b0
push 0x1001dfcc
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [ebp - 0x85c]
cmp ebx, edi
je 0x10007368
mov edi, dword [ebp - 0x858]
mov esi, ebx
cmp ebx, edi
je 0x1000735f
cmp dword [esi + 0x14], 8
jb 0x10007345
mov ecx, dword [esi]
push ecx
call fcn.100087b1
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x10007334
push ebx
call fcn.100087b1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100082f7
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x81c], 8
jb 0x1000739c
mov edx, dword [ebp - 0x830]
push edx
call fcn.100087b1
add esp, 4
mov dword [ebp - 4], 0
xor edi, edi
mov ecx, dword [ebp - 0x840]
inc ecx
mov ebx, 7
jmp 0x10007112
mov esi, dword [ebp - 0x84c]
mov ebx, 7
inc esi
jmp 0x10007098