Function at 0x40e290
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506485
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x556754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00418950
mov ecx, eax
call fcn.00418920
mov eax, dword [ebp - 0x48]
or esi, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x40e2e0
xor ebx, ebx
jmp 0x40e570
mov eax, dword [eax + 0x40]
sub eax, 0x10
push eax
call fcn.0040f630
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
push edi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x38]
sub eax, 0x10
push eax
call fcn.0040f630
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x2c], eax
push eax
push str.InstallDir
push edi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 2
call fcn.00428990
lea eax, [ebp - 0x14]
push eax
call fcn.00424b20
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
push str.InstallTime
push edi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00428990
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x20]
sub eax, 0x10
push eax
call fcn.0040f630
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
push esi
push str.ExePath
push edi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 4
call fcn.00428990
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
sub eax, 0x10
push eax
call fcn.0040f630
mov dword [ebp - 0x20], eax
add esp, 0x40
add eax, 0x10
mov dword [ebp - 0x34], eax
push eax
push str.DisplayName
push edi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 5
call fcn.00428990
add esp, 0xc
lea eax, [esi - 0x10]
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], eax
push eax
call fcn.0040f630
mov ecx, dword [ebp - 0x18]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00424860
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
push str.Version
push edi
push reloc.gdiplus.dll_Ordinal_1
call fcn.00428990
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.0040f630
mov dword [ebp - 0x1c], eax
add eax, 0x10
mov dword [ebp - 0x38], eax
push eax
push 0x5161e8
push edi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 7
call fcn.00428990
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x14]
sub eax, 0x10
push eax
call fcn.0040f630
mov dword [ebp - 0x18], eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
push eax
push str.Channel
push edi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 8
call fcn.00428990
mov eax, dword [ebp - 0x48]
add esp, 0x40
mov eax, dword [eax + 0x18]
sub eax, 0x10
push eax
call fcn.0040f630
lea esi, [eax + 0x10]
mov dword [ebp - 0x40], esi
push esi
push str.From
push edi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 9
call fcn.00428990
lea edx, [esi - 0x10]
mov byte [ebp - 4], 8
or esi, 0xffffffff
add esp, 0x14
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e490
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e4ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 6
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e4c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e4e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e4ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e51a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e538
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x40e550
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40e56b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 1
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x40e595
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x40e595
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x40e595
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret