Function at 0x459200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486000
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004027e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004027e0
mov byte [ebp - 4], 2
mov bl, 1
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.Schtasks__delete__TN_AnkRebootManager__f
call fcn.0045fcf0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov dl, bl
lea ecx, [ebp - 0x24]
call fcn.004642f0
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
cmp ecx, edi
je 0x4592ca
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x4592be
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4592be
call fcn.00403090
mov dword [ebp - 0x28], eax
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4592b6
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x4592cd
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004030f0
or esi, 0xffffffff
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4592ef
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x28], esp
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x459318
cmp ecx, dword [edi - 0x10]
jne 0x459318
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x459342
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x459882
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.deleteProactiveTasks_AnkRebootManager:
call fcn.0045fcf0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x499250
call fcn.0045e4b0
mov byte [ebp - 4], 9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x48d2ac
call fcn.0045e4b0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 2
mov edx, 0xac
lea ecx, [ebp - 0x20]
call fcn.00401380
add esp, 0x30
mov byte [ebp - 4], 0xb
push str.atemp.xml
lea ecx, [ebp - 0x28]
call fcn.0045fcf0
mov byte [ebp - 4], 0xc
push str.schtasks__create__F__TN_AnkRebootManager__XML
lea ecx, [ebp - 0x24]
call fcn.0045fcf0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x38]
call fcn.0045f3b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
push ecx
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.0045f3b0
add esp, 8
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
cmp ecx, edi
je 0x45945a
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x45944e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45944e
call fcn.00403090
mov dword [ebp - 0x30], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x459446
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x45945a
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004030f0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45947c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45949e
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4594c0
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4594e2
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 0x11], 1
push ecx
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x38], esp
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x45950f
cmp ecx, dword [edi - 0x10]
jne 0x45950f
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x459539
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x459887
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0xb
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0x34]
call fcn.004642f0
add esp, 4
mov byte [ebp - 4], 0x16
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
cmp ecx, edi
je 0x4595ae
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x4595a2
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4595a2
call fcn.00403090
mov dword [ebp - 0x38], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45959a
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x4595ae
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004030f0
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4595d0
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push str.AnkRebootManager
lea ecx, [ebp - 0x28]
call fcn.0045fcf0
mov byte [ebp - 4], 0x18
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x48e2cc
call fcn.0045fcf0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.0045f3b0
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp - 0x18]
push edx
mov edx, eax
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1c
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459650
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459672
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push str.atemp.xml
lea ecx, [ebp - 0x28]
call fcn.0045fcf0
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x20
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4596c3
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4596e5
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459707
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459729
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x459749
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004031e0
call fcn.004031e0
int3