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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x284
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movups xmm0, xmmword [0x40d3de]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x40d3ce]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [str.SoftwareMicrosoftOLE_]
movups xmmword [ebp - 0x90], xmm0
movsd xmm0, qword [0x40d3fc]
movsd qword [ebp - 0x2a], xmm0
movups xmm0, xmmword [str.EnableDCOM]
movups xmmword [ebp - 0x38], xmm0
movsd xmm0, qword [0x40d424]
movsd qword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x40d414]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [str.EnableRemoteConnect]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x18], 0x59
mov dword [ebp - 0x20], 0x4e
xor eax, eax
cmp ecx, 0x111
je 0x4031f5
cmp ecx, 0x110
jne 0x4032aa
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x90]
push esi
push edi
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
test eax, eax
je 0x403130
push esi
push edi
push 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
mov dword [ebp - 0x14], 0x200
lea edi, [ebp - 0x14]
lea ebx, [ebp - 0x290]
lea esi, [ebp - 0x38]
push edi
push ebx
push 0
push 2
push esi
push 0
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x403174
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x18]
push 4
push eax
push 1
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
xor eax, eax
cmp word [ebp - 0x290], 0x59
sete al
push eax
push 0x3f3
push dword [ebp + 8]
call dword [sym.imp.user32.dll_CheckDlgButton]
mov dword [ebp - 0x14], 0x200
lea esi, [ebp - 0x60]
push edi
push ebx
push 0
push 2
push esi
push 0
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x4031cb
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x18]
push 4
push eax
push 1
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
xor eax, eax
cmp word [ebp - 0x290], 0x59
sete al
push eax
push 0x3f4
push dword [ebp + 8]
call dword [sym.imp.user32.dll_CheckDlgButton]
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x4032a5
mov ecx, dword [ebp + 0x10]
cmp cx, 2
je 0x40329c
movzx ecx, cx
cmp ecx, 1
jne 0x4032aa
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x90]
push eax
push ecx
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push 0x3f3
push edi
call dword [sym.imp.user32.dll_IsDlgButtonChecked]
cmp eax, 1
lea ecx, [ebp - 0x18]
lea edi, [ebp - 0x20]
mov eax, edi
cmove eax, ecx
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ebx
push eax
push 1
push 0
push ecx
push dword [ebp - 0x1c]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x10]
push 0x3f4
push dword [ebp + 8]
call dword [sym.imp.user32.dll_IsDlgButtonChecked]
cmp eax, 1
lea eax, [ebp - 0x18]
cmove edi, eax
lea eax, [ebp - 0x60]
push ebx
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.advapi32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
push 1
push dword [ebp + 8]
jmp 0x40329f
push 2
push edi
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret 0x10