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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x52965c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x457306
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 8], 0
je 0x4575ac
push eax
lea ecx, [ebp + 8]
call fcn.00407070
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jl 0x457348
test ecx, ecx
js 0x457664
cmp word [eax], 0x22
jne 0x457348
push 1
push 0
lea ecx, [ebp + 8]
call fcn.00457080
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x457375
lea ecx, [edx - 1]
test ecx, ecx
js 0x457664
cmp ecx, edx
jg 0x457664
cmp word [eax + ecx*2], 0x22
jne 0x457375
push 1
push ecx
lea ecx, [ebp + 8]
call fcn.00457080
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x45766e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x457678
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x457682
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x45768c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x457696
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push 0x4fca10
push eax
call fcn.004046e0
mov eax, dword [ebp - 0x10]
add ebx, 0xfffffff0
add esp, 0xc
or esi, 0xffffffff
lea edi, [eax - 0x10]
cmp edi, ebx
je 0x457468
cmp dword [ebx + 0xc], 0
jl 0x45745c
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x45745c
push edi
call fcn.004056d0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457454
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x2c], eax
jmp 0x457468
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004068a0
push 8
push 0x4ff3d4
lea ecx, [ebp - 0x24]
call fcn.004068a0
mov eax, dword [ebp + 0x14]
mov edx, str.Starts_ComputerZ_Tray_when_a_user_logs_on.
test eax, eax
cmovne edx, eax
test edx, edx
jne 0x45748c
xor ecx, ecx
jmp 0x4574a0
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457491
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.004068a0
mov eax, dword [ebp + 0x18]
mov ecx, str.ComputerZ_Tray
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp + 0x10], ecx
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00455cd0
mov ebx, eax
test ebx, ebx
je 0x4574de
mov eax, dword [ebp + 0xc]
push eax
push str.Add_auto_run_task_schedule_success___s
jmp 0x4574f8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
call fcn.00455a00
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
push str.Add_auto_run_register___s
call fcn.00445870
add esp, 8
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x457518
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457536
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457550
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45756a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457584
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45764e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45764e
mov eax, dword [ebp + 0x10]
mov esi, str.ComputerZ_Tray
test eax, eax
cmovne esi, eax
push esi
call fcn.00456e30
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00426850
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x4575fa
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00426850
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x457635
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x457642
push edi
call esi
test ebx, ebx
je 0x457649
push ebx
call esi
mov ebx, 1
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 0x14
push 0x80070057
call fcn.004043b0
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
int3