Function at 0x40cd00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp - 0x40]
add edx, 0x20
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40cd48
xor eax, eax
jmp 0x40cf5f
cmp dword [ebp + 0xc], 0
je 0x40ce2a
push 4
mov ecx, dword [ebp - 0x40]
add ecx, 4
push ecx
push 4
push 0
push str.Enabled
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov eax, dword [ebp - 0x40]
add eax, 0x2d0
push eax
push 4
push 0
push str.ShowTitle
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov edx, dword [ebp - 0x40]
add edx, 0x2d4
push edx
push 4
push 0
push str.ShowText
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.004011a4
mov edx, dword [ebp - 0x40]
add edx, 0x2e8
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
push 0x10
mov ecx, dword [ebp - 0x40]
add ecx, 0x2e8
push ecx
push 3
push 0
push 0x447ff0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x40]
call fcn.004011b8
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x2f8], eax
push 4
mov edx, dword [ebp - 0x40]
add edx, 0x2f8
push edx
push 4
push 0
push str.Index
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40cf50
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.Enabled
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ce69
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.ShowTitle
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ce96
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x2d0], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.ShowText
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40cec3
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x2d4], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.Index
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40cef0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x2f8], eax
mov dword [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x18], 3
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x447ff0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40cf50
mov eax, dword [ebp - 0x40]
add eax, 0x2e8
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 8