Function at 0x3001730
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x300f92e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x130], ebx
push eax
push 0xf003f
push ebx
push str.Software
push 0x80000001
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x3001c35
lea ecx, [esp + 0x18]
call fcn.03001f90
mov ecx, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x18], ecx
jne 0x3001c35
mov dword [esp + 0x10], ebx
push 0x2001f
push str.VisioneerPageViewer
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 1
call fcn.03002020
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp eax, ebx
mov edi, 0x100
jne 0x3001840
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x300182b
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
call fcn.030015b0
cmp eax, ebx
jne 0x3001840
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x30017f7
lea ecx, [esp + 0x10]
call fcn.03001f90
mov ecx, dword [esp + 0x18]
push str.VisioneerPageViewer
push ecx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x18]
push 0x2001f
push str.VisioneerPaperPort
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 2
call fcn.03002020
cmp eax, ebx
jne 0x30018e3
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x30018ce
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.030015b0
cmp eax, ebx
jne 0x30018e3
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x300189a
lea ecx, [esp + 0x10]
call fcn.03001f90
mov eax, dword [esp + 0x18]
push str.VisioneerPaperPort
push eax
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x18]
push 0x2001f
push str.VisioneerPaperPort_Desktop_Group
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 3
call fcn.03002020
cmp eax, ebx
jne 0x3001986
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x3001971
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.030015b0
cmp eax, ebx
jne 0x3001986
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x300193d
lea ecx, [esp + 0x10]
call fcn.03001f90
mov edx, dword [esp + 0x18]
push str.VisioneerPaperPort_Desktop_Group
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
push 0x2001f
push str.VisioneerPaperPort_Desktop_View
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 4
call fcn.03002020
cmp eax, ebx
jne 0x3001a29
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x3001a14
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
call fcn.030015b0
cmp eax, ebx
jne 0x3001a29
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x30019e0
lea ecx, [esp + 0x10]
call fcn.03001f90
mov ecx, dword [esp + 0x18]
push str.VisioneerPaperPort_Desktop_View
push ecx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x18]
push 0x2001f
push str.VisioneerPaperPort_Linkbar
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 5
call fcn.03002020
cmp eax, ebx
jne 0x3001acc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x3001ab7
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.030015b0
cmp eax, ebx
jne 0x3001acc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x3001a83
lea ecx, [esp + 0x10]
call fcn.03001f90
mov eax, dword [esp + 0x18]
push str.VisioneerPaperPort_Linkbar
push eax
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x18]
push 0x2001f
push str.VisioneerPaperPort_SimpleSearch
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 6
call fcn.03002020
cmp eax, ebx
jne 0x3001b6f
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x3001b5a
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.030015b0
cmp eax, ebx
jne 0x3001b6f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x3001b26
lea ecx, [esp + 0x10]
call fcn.03001f90
mov edx, dword [esp + 0x18]
push str.VisioneerPaperPort_SimpleSearch
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
push 0x2001f
push str.VisioneerPersistentDataEasyLinks
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 7
call fcn.03002020
cmp eax, ebx
jne 0x3001c12
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x3001bfd
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
call fcn.030015b0
cmp eax, ebx
jne 0x3001c12
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x3001bc9
lea ecx, [esp + 0x10]
call fcn.03001f90
mov ecx, dword [esp + 0x18]
push str.VisioneerPersistentDataEasyLinks
push ecx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x3001c35
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push edx
push 0xf003f
push ebx
push str.Software
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x3001f5b
lea ecx, [esp + 0x18]
call fcn.03001f90
mov ecx, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x18], ecx
jne 0x3001f5b
push str.VisioneerPaperPort
lea ecx, [esp + 0x1c]
call fcn.030015b0
push str.VisioneerPersistentData
lea ecx, [esp + 0x1c]
call fcn.030015b0
push str.VisioneerShared
lea ecx, [esp + 0x1c]
call fcn.030015b0
mov edi, str.PaperPortDirectories
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.SoftwareScansoft
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 5]
push eax
call fcn.0300758f
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x3001f5b
mov dword [esp + 0x14], ebx
or ecx, 0xffffffff
mov edi, str.SoftwareScansoft
xor eax, eax
mov byte [esp + 0x130], 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], ebx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x3012120
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.PaperPortDirectories
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
mov ecx, edx
push eax
push 0xf003f
and ecx, 3
push ebx
push ebp
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x3001df9
lea ecx, [esp + 0x14]
call fcn.03001f90
mov ecx, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x14], ecx
jne 0x3001df9
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
push str.MaxProgram
push ebx
call fcn.03002070
test eax, eax
jne 0x3001dea
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jbe 0x3001dea
inc eax
mov dword [esp + 0x1c], eax
add eax, 0x40
push eax
call fcn.0300758f
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x24], esi
je 0x3001dee
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push str.MaxProgram
push esi
call fcn.03002070
test eax, eax
je 0x3001dee
push esi
call fcn.03007526
add esp, 4
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
call fcn.03001f90
jmp 0x3001dfd
mov esi, dword [esp + 0x24]
push ebp
call fcn.03007526
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], bl
call fcn.03001f90
cmp esi, ebx
je 0x3001f5b
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push 0xf003f
push ebx
push ebx
push str.VisioneerPaperPortDirectories
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 9
call fcn.03001fb0
test eax, eax
jne 0x3001e92
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi - 1], 0x5c
jne 0x3001e6b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + esi - 1], bl
push str.MaxProgram
push esi
lea ecx, [esp + 0x18]
call fcn.030020a0
push str.MaxUtilities
push esi
lea ecx, [esp + 0x18]
call fcn.030020a0
lea ecx, [esp + 0x10]
call fcn.03001f90
mov edx, dword [esp + 0x18]
push ebx
push ebx
push 0xf003f
push ebx
push ebx
push str.VisioneerPaperPort6.5
push edx
lea ecx, [esp + 0x2c]
call fcn.03001fb0
test eax, eax
jne 0x3001f39
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi - 1], 0x5c
je 0x3001ef3
mov edi, 0x3012120
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.PaprPort.exe
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.030020a0
lea ecx, [esp + 0x10]
call fcn.03001f90
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x18]
call fcn.03001f90
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.03001f90
push esi
call fcn.03007526
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x130], 0xffffffff
call fcn.03001f90
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret