Function at 0x4032a1
Capabilities:
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00402c0d
push eax
lea ecx, [ebp - 0x418]
call fcn.0040189d
lea ecx, [ebp - 0x418]
call fcn.00402f35
test eax, eax
jns 0x4032e4
push str.3E9B6824_12DB_43CA_983D_B1A32D32F509
lea ecx, [ebp - 0x418]
call fcn.00402d8f
push ebx
push esi
push edi
push 0x28
call fcn.00404724
mov ebx, eax
xor edi, edi
pop ecx
test ebx, ebx
je 0x4032fe
mov dword [ebx], edi
mov dword [ebx + 0xc], edi
jmp 0x403300
mov ebx, edi
mov esi, dword [ebp - 0x418]
lea ecx, [ebx + 0xc]
push esi
mov dword [ebx + 4], 0xb
mov dword [ebx + 8], edi
call fcn.0040421f
mov ecx, ebx
mov dword [ebx + 0x20], str._soap:Envelope______xmlns:soap_http:__schemas.xmlsoap.org_soap_envelope________xmlns:xsi_http:__www.w3.org_2001_XMLSchema_instance_______xmlns:xsd_http:__www.w3.org_2001_XMLSchema_______xmlns:soapenc_http:__schemas.xmlsoap.org_soap_encoding______soap:Body______CountUpdateDownloaded_xmlns_http:__www.hp.com_Ipg_It_Support_HPSUMetrics__________PackageId__packageId__PackageId________ResultId__resultId__ResultId________Session__session__Session_______CountUpdateDownloaded_____soap:Body___soap:Envelope_
mov dword [ebx + 0x24], str.SOAPAction:__http:__www.hp.com_Ipg_It_Support_HPSUMetrics_CountUpdateDownloaded__r_n
call fcn.0040372f
push 0x28
call fcn.00404724
mov ebx, eax
pop ecx
test ebx, ebx
je 0x403343
mov dword [ebx], edi
mov dword [ebx + 0xc], edi
jmp 0x403345
mov ebx, edi
push esi
lea ecx, [ebx + 0xc]
mov dword [ebx + 4], 0xb
mov dword [ebx + 8], 8
call fcn.0040421f
mov ecx, ebx
mov dword [ebx + 0x20], str._soap:Envelope______xmlns:soap_http:__schemas.xmlsoap.org_soap_envelope________xmlns:xsi_http:__www.w3.org_2001_XMLSchema_instance_______xmlns:xsd_http:__www.w3.org_2001_XMLSchema_______xmlns:soapenc_http:__schemas.xmlsoap.org_soap_encoding______soap:Body______CountUpdateInstalled_xmlns_http:__www.hp.com_Ipg_It_Support_HPSUMetrics__________PackageId__packageId__PackageId________ResultId__resultId__ResultId________Session__session__Session_______CountUpdateInstalled_____soap:Body___soap:Envelope_
mov dword [ebx + 0x24], str.SOAPAction:__http:__www.hp.com_Ipg_It_Support_HPSUMetrics_CountUpdateInstalled__r_n
call fcn.0040372f
lea eax, [ebp - 0x41c]
push eax
push 0xf003f
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4033af
push str.HPSoftwareUpdate
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4033ee
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._sHpUpdateHpUpdate.session
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.00402dca
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040466c
mov esp, ebp
pop ebp
ret 0x10