Function at 0x4ec810
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54317b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x864
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x83d], cl
sub esp, 0x18
mov ecx, esp
push 0xc
push str.AppAutoStart
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
movzx ecx, byte [ebp - 0x83d]
xor ecx, 1
inc ecx
call fcn.004ec500
xor eax, eax
mov dword [ebp - 0x838], 0
add esp, 0x18
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 7
mov word [ebp - 0x838], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x820]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4eca89
xor ecx, ecx
mov dword [ebp - 0x858], 0
push eax
lea eax, [ebp - 0x820]
mov word [ebp - 0x858], cx
push eax
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
call fcn.00408270
push str.__autostart
lea edx, [ebp - 0x858]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x870]
call fcn.004175c0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x838]
cmp eax, esi
je 0x4ec968
mov ecx, eax
call fcn.00408210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x838], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x828], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x85c]
cmp ecx, 8
jb 0x4ec9a8
mov edx, dword [ebp - 0x870]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ec99e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ecae2
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebp - 0x844]
xor eax, eax
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
cmp ecx, 8
jb 0x4eca05
mov edx, dword [ebp - 0x858]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ec9fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ecae2
push ecx
push edx
call fcn.00517162
add esp, 8
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], 0
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4eca89
cmp byte [ebp - 0x83d], al
je 0x4eca6c
mov eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x838]
cmp dword [ebp - 0x824], 8
cmovae ecx, dword [ebp - 0x838]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.NeatDM
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4eca7d
push str.NeatDM
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x824]
cmp ecx, 8
jb 0x4ecac5
mov edx, dword [ebp - 0x838]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ecabb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ecae7
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0051eb64
call fcn.0051eb64
int3