Function at 0x41729d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5e5620]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 8]
push ebx
push str.SoftwareSysinternals_s
push 0x104
push eax
call fcn.0040411b
add esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x417565
push ebx
call fcn.00417075
mov dword [ebp + 0xc], eax
pop ecx
test eax, eax
jne 0x417565
call fcn.004175f8
test eax, eax
je 0x417307
call fcn.004177c9
mov dword [ebp + 0xc], eax
jmp 0x41755f
call fcn.004176a0
test eax, eax
jne 0x4175be
call fcn.0041770b
test eax, eax
jne 0x4175be
push esi
push edi
push 0x3e8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
xor eax, eax
inc eax
push eax
push str.Riched32.dll
lea esi, [edi + 0x12]
call fcn.00412f25
xor eax, eax
mov dword [edi], 0x80c808d0
push 2
pop ecx
mov dword [edi + 0xa], eax
mov dword [edi + 0xe], 0xb40138
mov word [edi + 8], ax
mov word [esi], ax
add esi, ecx
push str.License_Agreement
mov word [esi], ax
add esi, ecx
push esi
call fcn.00416e04
push 8
lea esi, [esi + eax*2]
pop eax
mov word [esi], ax
add esi, 2
push str.MS_Shell_Dlg
push esi
call fcn.00416e04
lea eax, [esi + eax*2]
push eax
call fcn.00416df6
push 7
pop ecx
push 3
mov word [eax + 8], cx
lea esi, [eax + 0x12]
pop ecx
mov word [eax + 0xa], cx
mov ecx, 0x12a
push 0xe
mov word [eax + 0xc], cx
pop ecx
mov dword [esi], 0x82ffff
add esi, 4
mov word [eax + 0xe], cx
mov ecx, 0x1f6
push str.You_can_also_use_the__accepteula_command_line_switch_to_accept_the_EULA.
push esi
mov word [eax + 0x10], cx
mov dword [eax], 0x50000000
call fcn.00416e04
xor ecx, ecx
lea eax, [esi + eax*2]
mov word [eax], cx
add eax, 2
inc word [edi + 8]
push eax
call fcn.00416df6
push 0x32
pop ecx
push 0xe
mov word [eax + 0xc], cx
lea esi, [eax + 0x12]
pop ecx
mov word [eax + 0xe], cx
xor ecx, ecx
mov dword [esi], 0x80ffff
inc ecx
add esi, 4
mov dword [eax + 8], 0x9f00c9
push str.Agree
push esi
mov word [eax + 0x10], cx
mov dword [eax], 0x50010000
call fcn.00416e04
lea eax, [esi + eax*2]
xor ecx, ecx
mov word [eax], cx
add eax, 2
inc word [edi + 8]
push eax
call fcn.00416df6
push 0x32
pop ecx
push 0xe
mov word [eax + 0xc], cx
lea esi, [eax + 0x12]
pop ecx
mov word [eax + 0xe], cx
push 2
pop ecx
mov dword [eax + 8], 0x9f00ff
mov word [eax + 0x10], cx
mov dword [eax], 0x50010000
mov eax, 0xffff
mov word [esi], ax
add esi, ecx
lea eax, [ecx + 0x7e]
push str.Decline
mov word [esi], ax
add esi, ecx
push esi
call fcn.00416e04
xor ecx, ecx
lea eax, [esi + eax*2]
mov word [eax], cx
add eax, 2
inc word [edi + 8]
push eax
call fcn.00416df6
add esp, 0x40
lea esi, [eax + 0x12]
mov dword [eax], 0x50010000
push 7
pop ecx
mov word [eax + 8], cx
mov ecx, 0x9f
push 0x32
mov word [eax + 0xa], cx
pop ecx
mov word [eax + 0xc], cx
push 0xe
pop ecx
mov word [eax + 0xe], cx
mov ecx, 0x1f5
mov word [eax + 0x10], cx
mov eax, 0xffff
push 2
pop ecx
mov word [esi], ax
add esi, ecx
push str.Print
lea eax, [ecx + 0x7e]
mov word [esi], ax
add esi, ecx
push esi
call fcn.00416e04
xor ecx, ecx
lea eax, [esi + eax*2]
mov word [eax], cx
add eax, 2
inc word [edi + 8]
push eax
call fcn.00416df6
push 7
pop ecx
push 0xe
mov word [eax + 8], cx
lea esi, [eax + 0x12]
pop ecx
mov word [eax + 0xa], cx
mov ecx, 0x1f4
mov dword [eax + 0xc], 0x8c012a
mov word [eax + 0x10], cx
mov dword [eax], 0x50a11844
push str.RICHEDIT
push esi
call fcn.00416e04
push str.Decline
lea esi, [esi + eax*2]
push esi
call fcn.00416e04
add esp, 0x1c
xor ecx, ecx
mov word [esi + eax*2], cx
inc word [edi + 8]
push ebx
push 0x416e26
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 0x4175a9
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4175a9
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.0054d24a
leave
ret
call fcn.0041782c
int3