Function at 0x42fc10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov ecx, 0x19
xor eax, eax
push edi
mov edi, 0x86f568
rep stosd dword es:[edi], eax
mov ecx, 0x40
mov edi, 0xa67600
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SOFTWAREKretztechnik_AG3D_VIEW4.0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42fe3d
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push esi
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
mov ebx, 0x100
push str.Serial
push ecx
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x42fca7
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x86f568
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.DicomDir
push eax
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x42fcee
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0xa67600
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.MemoryUsage
push eax
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x42fd53
mov esi, str.small
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42fd40
test cl, cl
je 0x42fd3c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42fd40
add eax, 2
add esi, 2
test cl, cl
jne 0x42fd1c
xor eax, eax
jmp 0x42fd45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fd53
mov dword [0x870e34], 1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.ContourTest
push eax
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x42fdb8
mov esi, 0x4741fc
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42fda5
test cl, cl
je 0x42fda1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42fda5
add eax, 2
add esi, 2
test cl, cl
jne 0x42fd81
xor eax, eax
jmp 0x42fdaa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fdb8
mov dword [0x870e74], 1
mov eax, dword [0x870e34]
test eax, eax
jne 0x42fe2a
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.Filter
push eax
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x42fe2a
mov esi, 0x4741fc
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x42fe17
test cl, cl
je 0x42fe13
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x42fe17
add eax, 2
add esi, 2
test cl, cl
jne 0x42fdef
xor eax, eax
jmp 0x42fe1c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fe2a
mov dword [0x870e30], 1
call fcn.0042fe50
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10c
ret