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

Disassembly:
sub esp, 0x214
mov eax, dword [0x4240c0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
mov ebp, dword [esp + 0x21c]
push ebp
lea eax, [esp + 0x10]
push str.SoftwareSysinternals_s
push eax
mov dword [esp + 0x10], 0
call fcn.00403433
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x401529
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x224]
push ecx
push 0
push 0
push str.EulaAccepted
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x220], 0
jne 0x4017ed
push ebx
push esi
push edi
push 0x3e8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push str.Riched32.dll
lea edi, [esi + 0x12]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor eax, eax
mov word [esi + 0xa], ax
xor ecx, ecx
mov edx, 0x138
mov word [esi + 0xe], dx
mov word [esi + 0xc], cx
mov eax, 0xb4
mov word [esi + 0x10], ax
mov word [esi + 8], cx
mov dword [esi], 0x80c808d0
xor edx, edx
mov word [edi], dx
add edi, 2
xor eax, eax
mov word [edi], ax
add edi, 2
push edi
mov ecx, str.License_Agreement
call fcn.00401470
lea edi, [edi + eax*2]
mov ecx, 8
mov word [edi], cx
add edi, 2
push edi
mov ecx, str.MS_Shell_Dlg
call fcn.00401470
lea eax, [edi + eax*2]
call fcn.00401460
mov edx, 7
mov word [eax + 8], dx
mov ecx, 3
mov word [eax + 0xa], cx
mov edx, 0x12a
mov word [eax + 0xc], dx
mov ecx, 0xe
mov word [eax + 0xe], cx
mov edx, 0x1f6
mov word [eax + 0x10], dx
mov dword [eax], 0x50000000
lea edi, [eax + 0x12]
mov eax, 0xffff
mov word [edi], ax
add edi, 2
mov ecx, 0x82
mov word [edi], cx
add edi, 2
push edi
mov ecx, str.You_can_also_use_the__accepteula_command_line_switch_to_accept_the_EULA.
call fcn.00401470
lea eax, [edi + eax*2]
xor edx, edx
mov word [eax], dx
mov ebx, 1
add word [esi + 8], bx
add eax, 2
call fcn.00401460
mov ecx, 0xc9
mov word [eax + 8], cx
mov edx, 0x9f
mov word [eax + 0xa], dx
mov ecx, 0x32
mov edx, 0xe
mov word [eax + 0xc], cx
mov word [eax + 0xe], dx
mov ecx, ebx
lea edi, [eax + 0x12]
mov edx, 0xffff
mov word [eax + 0x10], cx
mov dword [eax], 0x50010000
mov word [edi], dx
add edi, 2
mov eax, 0x80
mov word [edi], ax
add edi, 2
push edi
mov ecx, str.Agree
call fcn.00401470
lea eax, [edi + eax*2]
xor ecx, ecx
mov word [eax], cx
add word [esi + 8], bx
add eax, 2
call fcn.00401460
mov edx, 0xff
mov word [eax + 8], dx
mov ecx, 0x9f
mov word [eax + 0xa], cx
mov edx, 0x32
mov word [eax + 0xc], dx
mov edx, 2
mov ecx, 0xe
mov word [eax + 0xe], cx
mov word [eax + 0x10], dx
mov dword [eax], 0x50010000
lea edi, [eax + 0x12]
mov eax, 0xffff
mov word [edi], ax
add edi, edx
mov ecx, 0x80
mov word [edi], cx
add edi, edx
push edi
mov ecx, str.Decline
call fcn.00401470
lea eax, [edi + eax*2]
xor edx, edx
mov word [eax], dx
add word [esi + 8], bx
add eax, 2
call fcn.00401460
mov ecx, 7
mov word [eax + 8], cx
mov edx, 0x9f
mov word [eax + 0xa], dx
mov ecx, 0x32
mov word [eax + 0xc], cx
mov edx, 0xe
mov word [eax + 0xe], dx
lea edi, [eax + 0x12]
mov ecx, 0x1f5
mov word [eax + 0x10], cx
mov dword [eax], 0x50010000
mov edx, 0xffff
mov word [edi], dx
add edi, 2
mov eax, 0x80
mov word [edi], ax
add edi, 2
push edi
mov ecx, str.Print
call fcn.00401470
lea eax, [edi + eax*2]
xor ecx, ecx
mov word [eax], cx
add word [esi + 8], bx
add eax, 2
call fcn.00401460
mov edx, 7
mov word [eax + 8], dx
mov ecx, 0xe
mov word [eax + 0xa], cx
mov edx, 0x12a
mov ecx, 0x8c
mov word [eax + 0xc], dx
lea edi, [eax + 0x12]
mov word [eax + 0xe], cx
mov edx, 0x1f4
push edi
mov ecx, str.RICHEDIT
mov word [eax + 0x10], dx
mov dword [eax], 0x50a11844
call fcn.00401470
lea edi, [edi + eax*2]
push edi
mov ecx, str.Decline
call fcn.00401470
add esp, 0x20
push ebp
xor ecx, ecx
push 0x401300
push ecx
push esi
mov word [edi + eax*2], cx
add word [esi + 8], bx
push ecx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push esi
mov dword [esp + 0x230], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x22c], 0
pop edi
pop esi
pop ebx
je 0x40180b
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0x224]
push edx
push 4
push 0
push str.EulaAccepted
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
xor eax, eax
cmp dword [esp + 0x220], eax
pop ebp
setne al
xor ecx, esp
call fcn.00403600
add esp, 0x214
ret