Function at 0x401a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x46f20c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push ebx
push str.SoftwareSysinternals_s
push 0x104
push eax
mov dword [ebp - 0x210], 0
call fcn.00401e40
add esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x401c84
push ebx
call fcn.00401410
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x401c84
call fcn.00401520
test eax, eax
je 0x401a6f
call fcn.00401970
mov dword [ebp + 0xc], eax
jmp 0x401c7e
call fcn.004015e0
test eax, eax
jne 0x401cdf
call fcn.00401660
test eax, eax
jne 0x401cdf
push esi
push edi
push 0x3e8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push 1
push str.Riched32.dll
lea esi, [edi + 0x12]
call fcn.00401090
xor eax, eax
mov dword [edi], 0x80c808d0
mov dword [edi + 0xa], eax
mov dword [edi + 0xe], 0xb40138
mov word [edi + 8], ax
mov dword [esi], eax
add esi, 4
push str.License_Agreement
push esi
call fcn.004010f0
push str.MS_Shell_Dlg
lea esi, [esi + eax*2]
mov eax, 8
mov word [esi], ax
add esi, 2
push esi
call fcn.004010f0
lea eax, [esi + eax*2]
push eax
call fcn.004010e0
lea esi, [eax + 0x12]
mov ecx, 0x1f6
mov dword [esi], 0x82ffff
add esi, 4
push str.You_can_also_use_the__accepteula_command_line_switch_to_accept_the_EULA.
push esi
mov dword [eax + 8], 0x30007
mov dword [eax + 0xc], 0xe012a
mov word [eax + 0x10], cx
mov dword [eax], 0x50000000
call fcn.004010f0
xor ecx, ecx
mov word [esi + eax*2], cx
inc word [edi + 8]
lea eax, [esi + eax*2]
add eax, 2
push eax
call fcn.004010e0
lea esi, [eax + 0x12]
mov ecx, 1
mov dword [esi], 0x80ffff
add esi, 4
push str.Agree
push esi
mov dword [eax + 8], 0x9f00c9
mov dword [eax + 0xc], 0xe0032
mov word [eax + 0x10], cx
mov dword [eax], 0x50010000
call fcn.004010f0
xor ecx, ecx
mov word [esi + eax*2], cx
inc word [edi + 8]
lea eax, [esi + eax*2]
add eax, 2
push eax
call fcn.004010e0
lea esi, [eax + 0x12]
mov ecx, 2
mov dword [esi], 0x80ffff
add esi, 4
push str.Decline
push esi
mov dword [eax + 8], 0x9f00ff
mov dword [eax + 0xc], 0xe0032
mov word [eax + 0x10], cx
mov dword [eax], 0x50010000
call fcn.004010f0
xor ecx, ecx
mov word [esi + eax*2], cx
inc word [edi + 8]
lea eax, [esi + eax*2]
add eax, 2
push eax
call fcn.004010e0
add esp, 0x40
mov dword [eax + 0x12], 0x80ffff
lea esi, [eax + 0x12]
mov ecx, 0x1f5
add esi, 4
mov dword [eax + 8], 0x9f0007
push str.Print
push esi
mov dword [eax + 0xc], 0xe0032
mov word [eax + 0x10], cx
mov dword [eax], 0x50010000
call fcn.004010f0
xor ecx, ecx
mov word [esi + eax*2], cx
inc word [edi + 8]
lea eax, [esi + eax*2]
add eax, 2
push eax
call fcn.004010e0
mov ecx, 0x1f4
push str.RICHEDIT
lea esi, [eax + 0x12]
mov dword [eax + 8], 0xe0007
push esi
mov dword [eax + 0xc], 0x8c012a
mov word [eax + 0x10], cx
mov dword [eax], 0x50a11844
call fcn.004010f0
push str.Decline
lea esi, [esi + eax*2]
push esi
call fcn.004010f0
add esp, 0x1c
xor ecx, ecx
mov word [esi + eax*2], cx
inc word [edi + 8]
push ebx
push 0x401140
push ecx
push edi
push ecx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp + 0xc], 0
je 0x401cc8
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x401cc8
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push str.EulaAccepted
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp + 0xc], eax
pop ebx
setne al
xor ecx, ebp
call fcn.00409118
mov esp, ebp
pop ebp
ret
call fcn.004019d0
int3