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

Disassembly:
sub esp, 0x110
mov eax, dword [0x445654]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
mov ebp, dword [esp + 0x118]
push ebp
lea eax, [esp + 0x10]
push str.SoftwareSysinternals_s
push eax
mov dword [esp + 0x10], 0
call fcn.00412953
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x404da9
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x120]
push ecx
push 0
push 0
push str.EulaAccepted
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 0x11c], 0
jne 0x40506d
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_LoadLibraryA]
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.00404cf0
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.00404cf0
lea eax, [edi + eax*2]
call fcn.00404ce0
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.00404cf0
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.00404ce0
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.00404cf0
lea eax, [edi + eax*2]
xor ecx, ecx
mov word [eax], cx
add word [esi + 8], bx
add eax, 2
call fcn.00404ce0
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.00404cf0
lea eax, [edi + eax*2]
xor edx, edx
mov word [eax], dx
add word [esi + 8], bx
add eax, 2
call fcn.00404ce0
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.00404cf0
lea eax, [edi + eax*2]
xor ecx, ecx
mov word [eax], cx
add word [esi + 8], bx
add eax, 2
call fcn.00404ce0
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.00404cf0
lea edi, [edi + eax*2]
push edi
mov ecx, str.Decline
call fcn.00404cf0
add esp, 0x20
push ebp
xor ecx, ecx
push 0x404b80
push ecx
push esi
mov word [edi + eax*2], cx
add word [esi + 8], bx
push ecx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
mov dword [esp + 0x12c], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x128], 0
pop edi
pop esi
pop ebx
je 0x40508b
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0x120]
push edx
push 4
push 0
push str.EulaAccepted
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
xor eax, eax
cmp dword [esp + 0x11c], eax
pop ebp
setne al
xor ecx, esp
call fcn.00411a73
add esp, 0x110
ret