Function at 0x4087f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552a10
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b327c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041f790
mov ecx, eax
call fcn.0041f760
mov eax, dword [ebp - 0x20]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x408840
xor edi, edi
jmp 0x4089bd
mov eax, dword [eax + 0x48]
sub eax, 0x10
push eax
call fcn.0040ad40
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
push str.From
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xd]
add esp, 0x10
push dword [eax + 0x40]
call fcn.00406120
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
mov eax, dword [ebp - 0x20]
push dword [eax + 0x28]
push str.ExePath
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
lea eax, [ebp - 0x14]
push eax
call fcn.004549a0
add esp, 0x24
push dword [eax]
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00406ce0
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4088f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xd]
push dword [eax + 0x18]
call fcn.00405de0
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
push 0x569044
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
add esp, 0x1c
mov edi, esp
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.0040ad40
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004546e0
push dword [eax]
mov byte [ebp - 4], 3
push str.Version
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408984
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
push str.Channel
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00459dc0
add esp, 0x10
mov byte [ebp - 4], 0
mov edi, 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4089bd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4089e2
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4089e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4089e2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret