Function at 0x461930
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xfffffffffffffff0
mov eax, dword [esi + 0xc4]
mov dword [esi + 0x420], 1
push eax
call dword [0x4d6804]
test eax, 0xc00000
jne 0x461965
push 0
mov ecx, esi
call fcn.004620c0
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x4d6844]
test eax, eax
je 0x46197c
push 1
mov ecx, esi
call fcn.004c0814
mov edx, dword [esi + 0xc4]
push 2
push edx
call fcn.004a709c
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x28
push ecx
push eax
call fcn.004a7107
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x44], eax
mov ebp, ecx
sub eax, edx
sub ecx, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x414]
xor eax, eax
mov ebx, edx
cmp ecx, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x10], 0x14f
mov dword [esp + 0x14], 0x40
jne 0x461a27
cmp dword [esi + 0x418], eax
jne 0x461a27
mov edx, dword fs:[0x2c]
mov ecx, dword [0x4f83ec]
mov edx, dword [edx + ecx*4]
mov cl, byte [edx + 0x2a2]
test cl, cl
jne 0x461a37
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jmp 0x461a37
mov dword [esp + 0x10], 0x1cc
mov dword [esp + 0x14], 0xc8
lea eax, [esp + 0xd8]
mov ecx, esi
push eax
mov dword [esp + 0xdc], 0x2c
call fcn.004be43b
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x44]
add ecx, ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x40]
add edx, ecx
add eax, ebx
mov dword [esp + 0x38], edx
cdq
sub eax, edx
mov edi, eax
lea eax, [ecx + ebp]
cdq
lea ecx, [esp + 0x28]
sub eax, edx
push ecx
push 0x20019
push 0
push str.SoftwareACD_SystemsACDSee
sar edi, 1
sar eax, 1
push 0x80000001
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
call dword [0x4d6024]
test eax, eax
jne 0x461b28
lea edx, [esp + 0x18]
lea eax, [esp + 0xac]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push str.ViewerWndPos
push edx
mov dword [esp + 0x30], 0x2c
call dword [0x4d6028]
mov ebx, eax
mov eax, dword [esp + 0x28]
push eax
call dword [0x4d6018]
test ebx, ebx
jne 0x461b28
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x34], ecx
lea eax, [ecx + edx]
mov dword [esp + 0x38], edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xd4]
add eax, edi
mov edi, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x3e0]
mov ecx, dword [esi + 0x3c4]
cmp eax, ecx
mov ebp, 0x1cc
mov ebx, 0xc8
jge 0x461d3a
test eax, eax
jl 0x461d3a
mov ecx, dword [esi + 0x3c0]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x461d3a
push 0
mov ecx, eax
call fcn.00425f70
mov edi, eax
test edi, edi
je 0x461d36
push 0xffffffffffffffff
mov ecx, edi
call fcn.0049dfa0
test eax, eax
je 0x461d36
mov edx, dword [esi + 0x2f0]
push 0xffffffffffffffff
mov eax, dword [edx + 0x58]
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 0x5c]
mov dword [esp + 0x34], ecx
mov ecx, edi
call fcn.0049dfa0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [esp + 0x2c]
fadd qword [0x4d6e18]
call fcn.004a7d38
mov edx, dword [esi + 0x2f0]
mov dword [esp + 0x2c], eax
push 0xffffffffffffffff
mov eax, dword [edx + 0x58]
mov dword [esp + 0x58], eax
mov ecx, dword [edx + 0x5c]
mov dword [esp + 0x5c], ecx
mov ecx, edi
call fcn.0049e050
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [esp + 0x54]
fadd qword [0x4d6e18]
call fcn.004a7d38
push 0x20
mov ebp, eax
call fcn.004a6ff8
push 0x21
mov dword [esp + 0x1c], eax
call fcn.004a6ff8
mov ebx, dword [0x4d67a8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x414]
test eax, eax
je 0x461c32
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x461c32
lea edx, [esp + 0x54]
push edx
push eax
call ebx
mov eax, dword [esp + 0x60]
lea edi, [eax + 1]
jmp 0x461c34
xor edi, edi
mov eax, dword [esi + 0x418]
test eax, eax
je 0x461c5c
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x461c5c
lea ecx, [esp + 0x74]
push ecx
push eax
call ebx
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
jmp 0x461c5e
xor eax, eax
add eax, edi
mov edi, dword [esp + 0x1c]
add eax, edi
add eax, ebp
cmp eax, 0x7d00
jle 0x461c76
mov eax, 0x7d00
jmp 0x461cd1
mov eax, dword [esi + 0x414]
test eax, eax
je 0x461c9e
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x461c9e
lea ecx, [esp + 0x74]
push ecx
push eax
call ebx
mov edx, dword [esp + 0x80]
lea edi, [edx + 1]
jmp 0x461ca0
xor edi, edi
mov eax, dword [esi + 0x418]
test eax, eax
je 0x461cc5
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x461cc5
lea ecx, [esp + 0x54]
push ecx
push eax
call ebx
mov edx, dword [esp + 0x60]
lea eax, [edx + 1]
jmp 0x461cc7
xor eax, eax
mov edx, dword [esp + 0x1c]
add eax, edi
add eax, edx
add eax, ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
add ecx, edx
cmp ecx, 0x7d00
jle 0x461ce8
mov ecx, 0x7d00
push eax
push ecx
push 0
lea eax, [esp + 0x70]
push 0
push eax
call dword [0x4d6848]
mov ecx, dword fs:[0x2c]
mov edx, dword [0x4f83ec]
mov eax, dword [ecx + edx*4]
xor ecx, ecx
lea edx, [esp + 0x64]
mov cl, byte [eax + 0x2a2]
push ecx
push 0xcf0000
push edx
call dword [0x4d684c]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
sub ebp, ecx
sub ebx, eax
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
mov eax, ecx
jg 0x461d46
mov eax, ebp
mov edx, dword [esp + 0x4c]
cmp edx, eax
jge 0x461d52
mov ebp, edx
jmp 0x461d58
cmp ecx, ebp
jle 0x461d58
mov ebp, ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov eax, ecx
jg 0x461d64
mov eax, ebx
mov edx, dword [esp + 0x50]
cmp edx, eax
jge 0x461d70
mov ebx, edx
jmp 0x461d76
cmp ecx, ebx
jle 0x461d76
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4f83ec]
mov edx, dword [eax + ecx*4]
mov cl, byte [edx + 0x28d]
test cl, cl
je 0x461d9e
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov dword [esp + 0x10], edi
jmp 0x461da6
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
test cl, cl
je 0x461db9
mov edi, dword [esp + 0x24]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
sub edi, eax
jmp 0x461dbd
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
add ecx, ebp
cmp ecx, eax
jle 0x461dd1
sub eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
lea edx, [edi + ebx]
cmp edx, eax
jle 0x461de0
sub eax, ebx
mov edi, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x461df0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
cmp edi, eax
jge 0x461dfa
mov edi, eax
mov eax, dword [esi + 0x1c]
push eax
call dword [0x4d6844]
test eax, eax
je 0x461e11
push 5
mov ecx, esi
call fcn.004c0814
mov ecx, dword [esp + 0x10]
push 0x114
push ebx
push ebp
push edi
push ecx
push 0
mov ecx, esi
call fcn.004c07c5
push 4
mov ecx, esi
call fcn.004c0814
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret