Function at 0x413ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5517c1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5a9f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4be6
push 0x11f6
push 0x13ad7
xor ebx, ebx
mov dword [ebp - 4], ebx
sub esp, 0x1c
mov dword [ebp - 0xdc], esp
mov ecx, esp
mov dword [ebp - 0xd8], ebx
push 0x68
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x582720
mov byte [ecx], bl
call fcn.00404400
lea ecx, [ebp - 0x2c]
call fcn.004075e0
add esp, 0x28
push 6
mov eax, str.hwsips
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004042e0
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
mov dword [ebp - 0xdc], ebx
cmp dword [ebp - 0x18], edi
jae 0x413c40
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xd8]
push edx
push ebx
push 0xf013f
push ebx
push 0x581489
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x413c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
xor ecx, ecx
cmp cx, ax
je 0x413c90
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x413f44
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x413f3c
push str.HwsIpsPanel.exe
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00409720
add esp, 0xc
push 0xffffffffffffffff
mov byte [ebp - 4], 2
push ebx
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
call fcn.00403c50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], edi
jae 0x413ceb
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0xa8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0xd8]
push 1
push ebx
push str.DisplayIcon
push eax
call esi
push 0x12
push 0x581fd8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00404400
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], edi
jae 0x413d4d
lea eax, [ebp - 0x9c]
mov ecx, dword [ebp - 0x8c]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0xd8]
push 1
push ebx
push str.DisplayName
push eax
call esi
push 5
push str.2.4.6
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.00404400
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x413d94
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0xd8]
push 1
push ebx
push str.DisplayVersion
push eax
call esi
push 0x1c
push 0x5827bc
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00404400
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x413dd8
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0xd8]
push 1
push ebx
push str.Publisher
push eax
call esi
push str.HwsIpsPanel.exe_uninstall
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00409720
mov eax, dword [ebp - 0x48]
add esp, 0xc
cmp dword [ebp - 0x34], edi
jae 0x413e11
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0xd8]
push 1
push ebx
push str.UninstallPath
push eax
call esi
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x413e35
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0xd8]
push 1
push ebx
push str.UninstallString
push eax
call esi
cmp dword [ebp - 0x34], edi
jb 0x413e5f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00425301
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0x413e82
mov edx, dword [ebp - 0x64]
push edx
call fcn.00425301
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], edi
jb 0x413ea0
mov eax, dword [ebp - 0x80]
push eax
call fcn.00425301
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x88], edi
jb 0x413ec4
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00425301
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xa4], edi
jb 0x413ef1
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00425301
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0xc0], edi
jb 0x413f1e
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00425301
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0x18], edi
jb 0x413f44
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00425301
add esp, 4
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
cmp eax, ebx
je 0x413f5e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x413f76
mov edx, dword [ebp + 8]
push edx
call fcn.00425301
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523d1e
mov esp, ebp
pop ebp
ret 0x1c