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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5867ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45fa28
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 0x45fce5
push eax
lea ecx, [ebp - 0x10]
call fcn.00409d20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jl 0x45fa6a
test ecx, ecx
js 0x45fd49
cmp word [eax], 0x22
jne 0x45fa6a
push 1
push 0
lea ecx, [ebp - 0x10]
call fcn.0045f7a0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x45fa97
lea ecx, [edx - 1]
test ecx, ecx
js 0x45fd49
cmp ecx, edx
jg 0x45fd49
cmp word [eax + ecx*2], 0x22
jne 0x45fa97
push 1
push ecx
lea ecx, [ebp - 0x10]
call fcn.0045f7a0
call fcn.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x45fd53
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
call fcn.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x45fd5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x45fd67
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x45fd71
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x45fd7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push str.__s_
push eax
call fcn.0040a910
mov eax, dword [ebp - 0x18]
add edi, 0xfffffff0
add esp, 0xc
or esi, 0xffffffff
lea edx, [eax - 0x10]
mov dword [ebp - 0x1c], edx
cmp edx, edi
je 0x45fb90
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x45fb81
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x45fb81
push edx
call fcn.0040c760
add esp, 4
mov dword [ebp + 8], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45fb79
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x30], eax
jmp 0x45fb8d
push dword [eax - 0xc]
lea ecx, [ebp - 0x30]
push eax
call fcn.0040bf90
mov ebx, dword [ebp - 0x14]
push 0x14
push 0x54c324
lea ecx, [ebp - 0x28]
call fcn.0040bf90
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x45fbb8
lea ecx, [ebp + 0xb]
call fcn.0045e130
mov edx, eax
test edx, edx
jne 0x45fbb8
xor ecx, ecx
jmp 0x45fbcf
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fbc0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040bf90
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x45fbea
mov eax, edi
jmp 0x45fbf2
lea ecx, [ebp + 0x13]
call fcn.0045e050
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, ebx
call fcn.0045e4d0
mov ebx, eax
test ebx, ebx
je 0x45fc0f
mov eax, dword [ebp + 0xc]
push eax
push str.Add_auto_run_task_schedule_success___s
jmp 0x45fc35
test edi, edi
jne 0x45fc1d
lea ecx, [ebp + 0x13]
call fcn.0045e210
mov edi, eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0045e2f0
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
push str.Add_auto_run_register___s
call fcn.0044a960
mov edx, dword [ebp - 0x1c]
add esp, 8
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fc58
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], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fc76
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 0x45fc90
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 0x45fcaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fcc4
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 0x45fd33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45fd33
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x45fcf0
mov eax, edi
jmp 0x45fcf8
lea ecx, [ebp + 0xf]
call fcn.0045de90
push eax
mov ecx, ebx
call fcn.0045f550
test edi, edi
jne 0x45fd0e
lea ecx, [ebp + 0xf]
call fcn.0045df70
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.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
int3