Function at 0x413be0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550af1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5a8f00]
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 0x581708
mov byte [ecx], bl
call fcn.00404410
lea ecx, [ebp - 0x2c]
call fcn.004075e0
add esp, 0x28
push 6
mov eax, str.hwsccp
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004042f0
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
mov dword [ebp - 0xdc], ebx
cmp dword [ebp - 0x18], edi
jae 0x413c80
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xd8]
push edx
push ebx
push 0xf013f
push ebx
push 0x580469
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x413cd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
xor ecx, ecx
cmp cx, ax
je 0x413cd0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x413f84
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x413f7c
push 0x5813c8
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.00403c30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], edi
jae 0x413d2b
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 0x16
push 0x580fb8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00404410
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], edi
jae 0x413d8d
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.1.2.0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.00404410
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x413dd4
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 0x5817a4
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00404410
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x413e18
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.HwsCcpPanel.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 0x413e51
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 0x413e75
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 0x413e9f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042465c
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 0x413ec2
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042465c
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 0x413ee0
mov eax, dword [ebp - 0x80]
push eax
call fcn.0042465c
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 0x413f04
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.0042465c
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 0x413f31
mov edx, dword [ebp - 0xb8]
push edx
call fcn.0042465c
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 0x413f5e
mov eax, dword [ebp - 0xd4]
push eax
call fcn.0042465c
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 0x413f84
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042465c
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 0x413f9e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x413fb6
mov edx, dword [ebp + 8]
push edx
call fcn.0042465c
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.00523079
mov esp, ebp
pop ebp
ret 0x1c