Function at 0x1001c1a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x58], ecx
mov eax, dword [0x10056dd4]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x50], 7
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x54], 1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
call fcn.100245c2
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10021f2f
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x4c], 4
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0xc], 2
jle 0x1001c35d
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x44]
or edx, 0x20019
push edx
push 0
push str.SoftwareWebCamS6000
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001c35d
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 0
push str.PropertyPage
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
and edx, 0xff00
shr edx, 8
mov byte [ebp - 0x36], dl
mov eax, dword [ebp - 0x1c]
and eax, 0xff
mov byte [ebp - 0x35], al
movzx ecx, byte [ebp - 0x36]
cmp ecx, 0x20
jge 0x1001c35d
movzx edx, byte [ebp - 0x36]
cmp edx, 0x10
jl 0x1001c35d
movzx eax, byte [ebp - 0x35]
and eax, 1
jne 0x1001c2e8
cmp dword [ebp - 0xc], 1
jle 0x1001c2e8
push 0
mov ecx, dword [ebp - 0xc]
sub ecx, 1
push ecx
push 0x466
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, byte [ebp - 0x35]
and eax, 2
jne 0x1001c30f
cmp dword [ebp - 0xc], 2
jle 0x1001c30f
push 0
mov ecx, dword [ebp - 0xc]
sub ecx, 2
push ecx
push 0x466
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, byte [ebp - 0x35]
and eax, 4
jne 0x1001c336
cmp dword [ebp - 0xc], 3
jle 0x1001c336
push 0
mov ecx, dword [ebp - 0xc]
sub ecx, 3
push ecx
push 0x466
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, byte [ebp - 0x35]
and eax, 8
jne 0x1001c35d
cmp dword [ebp - 0xc], 4
jle 0x1001c35d
push 0
mov ecx, dword [ebp - 0xc]
sub ecx, 4
push ecx
push 0x466
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x280
push 0
mov eax, dword [ebp - 0x58]
add eax, 0x64
push eax
call fcn.1002d330
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp - 0x58]
add ecx, 0x284
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
push 0x11
mov eax, dword [ebp - 0x58]
push eax
call fcn.1001e3b0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1001c7e7
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0
je 0x1001c7e7
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x28], 3
jne 0x1001c431
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x3c], 1
jne 0x1001c411
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x54], 0
je 0x1001c411
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x54], 2
push 6
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x48], 1
jmp 0x1001c42c
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x54], 1
push 7
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x48], 0
jmp 0x1001c4e6
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x28]
and eax, 1
je 0x1001c476
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x54], 0
je 0x1001c476
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x54], 2
push 6
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 4], ecx
jmp 0x1001c4d7
mov edx, dword [ebp - 0x28]
and edx, 2
je 0x1001c4ab
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], 1
push 7
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 2
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 4], edx
jmp 0x1001c4d7
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], 1
push 7
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 2
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], 2
mov edx, dword [ebp - 0x20]
push edx
push 0x11
mov eax, dword [ebp - 0x58]
push eax
call fcn.1001e4b0
mov ecx, dword [ebp - 0x34]
push ecx
push 0x175
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.10006270
mov ecx, eax
call fcn.10012870
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x48], 1
jne 0x1001c524
push 1
push 0x175
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
sub edx, 1
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 0x1d
ja case.default.0x1001c543
mov eax, dword [ebp - 0x5c]
jmp dword [eax*4 + 0x1001ca48]
push 1
push 0x147
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x148
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x149
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x14a
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x14b
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x14c
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x14d
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x14e
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x14f
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x150
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x151
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x152
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x153
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x154
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x155
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x156
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x157
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x158
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x159
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x15a
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x15b
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x15c
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x15d
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x15e
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x15f
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x160
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x161
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x162
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x163
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp case.default.0x1001c543
push 1
push 0x164
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp 0x1001c812
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 0
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x60], 1
push 5
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x58]
add eax, 0x2a4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x12
mov edx, dword [ebp - 0x58]
push edx
call fcn.1001e3b0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1001c9cf
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x1001c9cf
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], 3
jne 0x1001c8d9
mov dword [ebp - 4], 1
cmp dword [ebp - 0x10], 1
jne 0x1001c89c
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x54], 0
push 2
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 8], 1
jmp 0x1001c8d4
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x54], 1
push 3
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x18], 0
je 0x1001c8cd
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x58], 1
push 4
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 8], 0
jmp 0x1001c960
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
and eax, 1
je 0x1001c90b
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x54], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1001c951
mov ecx, dword [ebp - 0x24]
and ecx, 2
je 0x1001c951
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x54], 1
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x18], 0
je 0x1001c951
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x58], 1
push 4
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov ecx, dword [ebp - 0x20]
push ecx
push 0x12
mov edx, dword [ebp - 0x58]
push edx
call fcn.1001e4b0
mov eax, dword [ebp - 4]
push eax
push 0x13c
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.10006270
mov ecx, eax
call fcn.10012870
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 4]
push edx
push 0x189
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x13c
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
cmp dword [ebp - 8], 1
jne 0x1001c9cd
push 1
push 0x13c
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.100061f0
jmp 0x1001c9fa
mov edx, dword [ebp - 0x20]
mov dword [edx], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x5c], 1
push 1
mov ecx, dword [ebp - 0x58]
call fcn.1001eb90
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
call fcn.10017610
mov ecx, dword [ebp - 0x58]
call fcn.1001e5b0
push 0x280
mov ecx, dword [ebp - 0x58]
add ecx, 0x64
push ecx
mov edx, dword [ebp - 0x58]
add edx, 0x2e4
push edx
call fcn.1002faf0
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x58]
call fcn.10021bb0
push 5
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ecx + 0x20]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10