Function at 0x442c20
Capabilities:
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5d00
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.Install_RTP_Server
push 0x515488
call fcn.0048d4b0
add esp, 4
mov ecx, ebx
call fcn.00442520
mov eax, dword [0x5153f0]
test eax, eax
je 0x442c8b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x442c8b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetServicesQQPCrtp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442e98
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442ce9
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.RtpFlag
push eax
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x110
test eax, eax
je 0x442d09
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.Type
push eax
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 1
test eax, eax
je 0x442d29
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.ErrorControl
push eax
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 2
test eax, eax
je 0x442dae
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.Start
push eax
call edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442dae
push 0x28
push str.QQPCMgr_RTP_Service
push 1
push 0
push 0x4f03d0
push eax
call edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442dae
push 0x26
push str.COM_Infrastructure
push 1
push 0
push 0x4f0868
push eax
call edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442dae
push 0x18
push str.LocalSystem
push 1
push 0
push str.ObjectName
push eax
call edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442dae
push 0x1a
push 0x4f08a4
push 1
push 0
push str.Description
push eax
call edi
push 0x4eecc0
lea ecx, [ebp - 0x14]
call fcn.0041c970
mov byte [ebp - 4], 1
mov edx, dword [ebx + 4]
test edx, edx
jne 0x442dca
xor ecx, ecx
jmp 0x442ddf
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442dd0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0041c490
push 0xf
push str.QQPCRtp.exe___r
lea ecx, [ebp - 0x14]
call fcn.0041c490
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442e35
mov ecx, dword [ebp - 0x14]
mov esi, ecx
lea edx, [esi + 2]
mov dword [ebp - 0x18], edx
nop word [eax + eax]
mov dx, word [esi]
add esi, 2
test dx, dx
jne 0x442e10
sub esi, dword [ebp - 0x18]
sar esi, 1
lea edx, [esi*2 + 2]
push edx
push ecx
push 1
push 0
push str.ImagePath
push eax
call edi
lea eax, [ebp - 0x18]
push eax
push str.DeleteFlag
lea ecx, [ebp - 0x10]
call fcn.004338c0
test eax, eax
je 0x442e6f
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442e5d
push str.DeleteFlag
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.rtp_have_DeleteFlag
push 0x515488
call fcn.0048d4b0
add esp, 8
push dword [ebx + 4]
mov ecx, ebx
call fcn.00442640
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442e98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Install_RTP_Server_end
push 0x515488
call fcn.0048d4b0
mov eax, dword [ebp - 0x10]
add esp, 8
test eax, eax
je 0x442eb8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret