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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536998
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x589644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45b568
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 0x45b870
push eax
lea ecx, [ebp - 0x10]
call fcn.004108d0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jl 0x45b5aa
test ecx, ecx
js 0x45b8d4
cmp word [eax], 0x22
jne 0x45b5aa
push 1
push 0
lea ecx, [ebp - 0x10]
call fcn.0045b2a0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x45b5d7
lea ecx, [edx - 1]
test ecx, ecx
js 0x45b8d4
cmp ecx, edx
jg 0x45b8d4
cmp word [eax + ecx*2], 0x22
jne 0x45b5d7
push 1
push ecx
lea ecx, [ebp - 0x10]
call fcn.0045b2a0
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x45b8de
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x45b8e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x45b8f2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x45b8fc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x45b906
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push 0x54ed30
push eax
call fcn.00413040
mov eax, dword [ebp - 0x14]
lea ecx, [ebx - 0x10]
add esp, 0xc
or esi, 0xffffffff
lea edi, [eax - 0x10]
cmp edi, ecx
je 0x45b717
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
mov dword [ebp + 8], edx
jl 0x45b70b
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x45b70b
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x45b6b8
cmp ecx, dword [edi]
jne 0x45b6b8
mov ebx, edi
lock inc dword [eax]
jmp 0x45b6e7
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x45b910
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
lea eax, [edi + 0x10]
mov ecx, dword [edi + 4]
inc ecx
push ecx
push eax
push ecx
lea eax, [ebx + 0x10]
push eax
call fcn.0040c8c0
add esp, 0x10
mov ecx, dword [ebp + 8]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45b703
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x45b717
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00412460
push 0x14
push str._autorun___fromtask
lea ecx, [ebp - 0x24]
call fcn.00412460
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x45b73f
lea ecx, [ebp + 0xb]
call fcn.00459c00
mov edx, eax
test edx, edx
jne 0x45b73f
xor ecx, ecx
jmp 0x45b753
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b744
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.00412460
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x45b76e
mov eax, ebx
jmp 0x45b776
lea ecx, [ebp + 0x13]
call fcn.00459b20
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00459fa0
mov dword [ebp + 0x10], eax
test eax, eax
je 0x45b79d
mov eax, dword [ebp + 0xc]
push eax
push str.Add_auto_run_task_schedule_success___s
call fcn.0045cb30
mov ebx, dword [ebp + 0x10]
jmp 0x45b7c8
test ebx, ebx
jne 0x45b7ab
lea ecx, [ebp + 0x13]
call fcn.00459ce0
mov ebx, eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.00459dc0
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
push str.Add_auto_run_register___s
call fcn.0045cb30
add esp, 8
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45b7e3
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 0x45b801
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 0x45b81b
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 0x45b835
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 0x45b84f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45b8be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45b8be
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x45b87b
mov eax, edi
jmp 0x45b883
lea ecx, [ebp + 0xf]
call fcn.00459960
push eax
mov ecx, ebx
call fcn.0045b050
test edi, edi
jne 0x45b899
lea ecx, [ebp + 0xf]
call fcn.00459a40
mov edi, eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
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.00408f30
push 0x80004005
call fcn.00408f30
push 0x80004005
call fcn.00408f30
push 0x80004005
call fcn.00408f30
push 0x80004005
call fcn.00408f30
push 0x80004005
call fcn.00408f30
call fcn.00409520
int3