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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
mov edi, 0x74
push esi
mov esi, 0x630065
push ebx
push ecx
sub esp, 0x2c4
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x288], 0x4d004f
movdqu xmm0, xmmword [str.SoftwareMicrosoftOLE_]
mov edx, dword [ecx + 8]
xor ecx, ecx
mov dword [ebp - 0x258], esi
mov word [ebp - 0x284], cx
movups xmmword [ebp - 0x248], xmm0
movdqu xmm0, xmmword [0x410280]
mov dword [ebp - 0x254], edi
movups xmmword [ebp - 0x238], xmm0
movdqu xmm0, xmmword [0x410290]
mov dword [ebp - 0x2a0], 0x59
movups xmmword [ebp - 0x228], xmm0
movdqu xmm0, xmmword [str.EnableDCEnableRemoteConn]
mov dword [ebp - 0x29c], 0x4e
movups xmmword [ebp - 0x298], xmm0
movdqu xmm0, xmmword [0x4102b0]
movups xmmword [ebp - 0x278], xmm0
movdqu xmm0, xmmword [0x4102c0]
movups xmmword [ebp - 0x268], xmm0
cmp eax, 0x110
je 0x402fa0
cmp eax, 0x111
jne 0x402f8a
movzx eax, dx
cmp dx, 1
je 0x403130
cmp eax, 2
je 0x403100
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea edi, [ebp - 0x2a8]
lea esi, [ebp - 0x248]
mov dword [esp], 0x80000002
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x403270
mov eax, dword [ebp - 0x2a8]
lea edx, [ebp - 0x298]
lea edi, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0x200
lea esi, [ebp - 0x218]
mov dword [esp + 8], edx
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegGetValueW]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [ebp - 0x2ac], eax
call eax
lea edx, [ebp - 0x298]
sub esp, 0x1c
test eax, eax
jne 0x4032e8
mov edx, dword [sym.imp.user32.dll_CheckDlgButton]
xor eax, eax
cmp word [ebp - 0x218], 0x59
mov dword [esp], ebx
sete al
mov dword [esp + 4], 0x3f3
mov dword [ebp - 0x2b0], edx
mov dword [esp + 8], eax
call edx
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2a4], 0x200
sub esp, 0xc
mov dword [esp + 0x14], esi
lea esi, [ebp - 0x278]
mov dword [esp], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], esi
mov dword [esp + 4], 0
call eax
mov edx, dword [ebp - 0x2b0]
sub esp, 0x1c
test eax, eax
jne 0x403290
xor eax, eax
cmp word [ebp - 0x218], 0x59
mov dword [esp], ebx
sete al
mov dword [esp + 4], 0x3f4
mov dword [esp + 8], eax
call edx
mov eax, dword [ebp - 0x2a8]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], ebx
mov dword [esp + 4], 2
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea eax, [ebp - 0x2a8]
mov dword [esp], 0x80000002
lea esi, [ebp - 0x2a0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2a4], 4
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov ecx, dword [sym.imp.user32.dll_IsDlgButtonChecked]
mov edi, dword [ebp - 0x2a4]
sub esp, 0xc
mov dword [ebp - 0x2b0], ecx
mov dword [esp], ebx
mov dword [esp + 4], 0x3f3
call ecx
lea edx, [ebp - 0x29c]
sub esp, 8
cmp eax, 1
mov eax, edx
cmove eax, esi
mov dword [esp + 0x14], edi
mov edi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x298]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 8], 0
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x2b0]
sub esp, 0x18
mov dword [ebp - 0x2ac], eax
mov dword [esp], ebx
mov dword [esp + 4], 0x3f4
call ecx
lea edx, [ebp - 0x29c]
sub esp, 8
cmp eax, 1
mov eax, dword [ebp - 0x2ac]
cmovne esi, edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x278]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x2a8]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 4], 1
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
jmp 0x402fcc
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2ac], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2a4], 4
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x2ac]
sub esp, 0x18
jmp 0x4030b6
lea eax, [ebp - 0x2a0]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2a4], 4
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
jmp 0x403033