Function at 0x1000cea0
Capabilities:
Delete registry key
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1030
call fcn.1007d160
mov eax, dword [0x100bae20]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x1014], ecx
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x100c], ecx
mov ecx, dword [str.SoftwareOpenCVHighGUIWindows_]
mov dword [ebp - 0x1010], edx
mov edx, dword [ebp + 0x18]
lea esi, [ebp - 0x404]
sub esi, ecx
push edi
mov dword [ebp - 0x1008], edx
xor ebx, ebx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x1000cef1
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000cf00
lea edi, [ebp - 0x404]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x1000cf10
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x1018]
push eax
and ecx, 3
push 0x20019
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebx
lea ecx, [ebp - 0x404]
push ecx
push 0x80000001
call esi
test eax, eax
je 0x1000d095
mov eax, dword [str.SoftwareOpenCVHighGUIWindows_]
or esi, 0xffffffff
lea edx, [ebp - 0x804]
xor edi, edi
mov dword [ebp - 0x1030], esi
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1000cf70
lea eax, [ebp - 0x804]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000cf83
push ebx
sub eax, edx
lea edx, [ebp - 0x101c]
push edx
push ebx
push 0x4001f
push ebx
push ebx
mov byte [ebp + eax - 0x805], bl
push ebx
lea eax, [ebp - 0x804]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000d13a
mov edi, edi
lea ecx, [ebp - 0x1024]
push ecx
mov ecx, dword [ebp - 0x101c]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x1028]
push edx
lea eax, [ebp - 0x1004]
push eax
push edi
push ecx
mov dword [ebp - 0x1028], 0x400
mov dword [ebp - 0x1024], ebx
mov dword [ebp - 0x1020], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
je 0x1000d007
cmp eax, 0xea
jne 0x1000d048
mov eax, dword [ebp - 0x1020]
mov ecx, dword [ebp - 0x1024]
inc edi
cmp esi, eax
ja 0x1000d022
jne 0x1000cfc0
cmp dword [ebp - 0x1030], ecx
jbe 0x1000cfc0
mov esi, eax
mov dword [ebp - 0x1030], ecx
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x1004]
mov byte [ebp + eax - 0xc04], cl
inc eax
cmp cl, bl
jne 0x1000d030
jmp 0x1000cfc0
cmp edi, 0x64
jb 0x1000d061
mov eax, dword [ebp - 0x101c]
lea edx, [ebp - 0xc04]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x101c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
push ebx
lea edx, [ebp - 0x1018]
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x404]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x1000d0bf
mov ecx, dword [ebp - 0x1018]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
lea edx, [ebp - 0x1018]
push edx
push 0x20006
push ebx
lea eax, [ebp - 0x404]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x1000d13a
mov edx, dword [ebp - 0x1018]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x1014]
push ecx
push 4
push ebx
push str.Left
push edx
call esi
mov ecx, dword [ebp - 0x1018]
push 4
lea eax, [ebp - 0x1010]
push eax
push 4
push ebx
push 0x10086aa8
push ecx
call esi
mov eax, dword [ebp - 0x1018]
push 4
lea edx, [ebp - 0x100c]
push edx
push 4
push ebx
push str.Width
push eax
call esi
mov edx, dword [ebp - 0x1018]
push 4
lea ecx, [ebp - 0x1008]
push ecx
push 4
push ebx
push str.Height
push edx
call esi
mov eax, dword [ebp - 0x1018]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007cee0
mov esp, ebp
pop ebp
ret