Function at 0x439f00
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c916e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x51eee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0043aa80
test al, al
jne 0x439f66
push 0x28
call fcn.004a5340
add esp, 4
mov edi, eax
xor esi, esi
nop
call fcn.004a6f99
add eax, dword [0x520340]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x439f40
mov eax, dword [edi + 0x24]
push edi
mov dword [0x520340], eax
call fcn.004a7190
add esp, 4
mov ecx, dword [0x520340]
xor bl, bl
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 7
jne 0x439f93
push 4
call fcn.004a5bed
mov ecx, dword [0x520340]
add esp, 4
mov dword [eax], ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x4ddd90
push 1
push 0
push 0x4ddda0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x439ffa
push eax
push str.EnumScheduledTasks_CoCreateInstance__d
push dword [ebp + 0xc]
call fcn.00406160
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x43a876
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x43a03d
push str.EnumScheduledTasks_pITS_null
push dword [ebp + 0xc]
call fcn.00406160
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x43a876
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x14]
test eax, eax
js 0x43a840
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x43a840
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x43a7f6
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 0x13
lea esp, [esp]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43a7f6
jmp 0x43a0b0
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov edx, dword [0x520340]
mov byte [ebp - 4], 2
lea eax, [edx + 2]
lea ecx, [edx + 1]
imul eax, ecx
imul eax, edx
cdq
idiv esi
cmp edx, 8
jne 0x43a135
push 0xac
push 0xab
push str._d__d_n
call fcn.004a80de
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4]
test edx, edx
jne 0x43a146
xor ecx, ecx
jmp 0x43a15f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x43a150
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a150
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00409950
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
mov esi, dword [eax]
push ecx
mov ecx, dword [ebp - 0x10]
push 0x4ddd80
push dword [edx + ecx*4]
mov byte [ebp - 4], 3
push eax
call dword [esi + 0x18]
test eax, eax
js 0x43a2b1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43a2b1
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x84]
test eax, eax
js 0x43a1e4
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x43a1e4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a1c6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00409950
push dword [ebp - 0x28]
call edi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x8c]
test eax, eax
js 0x43a22e
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x43a22e
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x43a210
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a210
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00409950
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x7c]
test eax, eax
js 0x43a296
cmp dword [ebp - 0x24], 0
je 0x43a296
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x43a257
xor eax, eax
jmp 0x43a26f
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a260
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x50]
call fcn.00409950
push dword [ebp - 0x2c]
call edi
mov eax, dword [ebp - 0x50]
cmp dword [eax - 0xc], 0
jne 0x43a296
push 0x13
push str.NT_AUTHORITYSYSTEM
lea ecx, [ebp - 0x50]
call fcn.00409950
call fcn.0043aae0
test al, al
jne 0x43a2b1
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x54]
cmp eax, ecx
jae 0x43a4aa
mov edi, dword [ebx]
cmp edi, eax
ja 0x43a4aa
mov edx, dword [ebx + 8]
mov esi, eax
sub esi, edi
cmp ecx, edx
jne 0x43a322
mov eax, edx
sub eax, ecx
sar eax, 4
cmp eax, 1
jae 0x43a322
sub ecx, edi
sar ecx, 4
mov eax, 0xfffffff
sub eax, ecx
cmp eax, 1
jb 0x43a831
inc ecx
sub edx, edi
sar edx, 4
mov dword [ebp - 0x28], ecx
mov ecx, edx
shr ecx, 1
mov eax, 0xfffffff
sub eax, ecx
cmp eax, edx
jae 0x43a311
xor edx, edx
jmp 0x43a313
add edx, ecx
cmp edx, dword [ebp - 0x28]
mov ecx, ebx
cmovb edx, dword [ebp - 0x28]
push edx
call fcn.0043a980
mov eax, dword [ebx + 4]
and esi, 0xfffffff0
add esi, dword [ebx]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x43a6da
mov edi, dword [esi]
sub edi, 0x10
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x43a365
cmp ecx, dword [edi]
jne 0x43a365
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43a3a7
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x43a83b
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a7195
mov edi, dword [ebp - 0x30]
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov edi, dword [esi + 4]
sub edi, 0x10
mov byte [ebp - 4], 5
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x43a3da
cmp ecx, dword [edi]
jne 0x43a3da
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43a41c
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x43a83b
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a7195
mov edi, dword [ebp - 0x30]
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea eax, [edi + 0x10]
mov dword [ecx + 4], eax
mov edi, dword [esi + 8]
sub edi, 0x10
mov byte [ebp - 4], 6
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x43a450
cmp ecx, dword [edi]
jne 0x43a450
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43a492
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x43a83b
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a7195
mov edi, dword [ebp - 0x30]
add esp, 0x10
lea eax, [edi + 0x10]
mov edi, dword [ebp - 0x28]
mov dword [edi + 8], eax
mov esi, dword [esi + 0xc]
mov byte [ebp - 4], 7
sub esi, 0x10
jmp 0x43a671
mov edx, dword [ebx + 8]
cmp ecx, edx
jne 0x43a4fe
mov eax, edx
sub eax, ecx
sar eax, 4
cmp eax, 1
jae 0x43a4fe
mov esi, dword [ebx]
sub ecx, esi
sar ecx, 4
mov eax, 0xfffffff
sub eax, ecx
cmp eax, 1
jb 0x43a831
sub edx, esi
sar edx, 4
lea edi, [ecx + 1]
mov ecx, edx
shr ecx, 1
mov eax, 0xfffffff
sub eax, ecx
cmp eax, edx
jae 0x43a4ef
xor edx, edx
jmp 0x43a4f1
add edx, ecx
cmp edx, edi
cmovb edx, edi
push edx
mov ecx, ebx
call fcn.0043a980
mov edi, dword [ebx + 4]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 8
test edi, edi
je 0x43a6da
mov esi, dword [ebp - 0x54]
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x43a53a
cmp ecx, dword [esi]
jne 0x43a53a
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43a57c
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x43a83b
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a7195
mov esi, dword [ebp - 0x30]
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [edi], eax
mov esi, dword [ebp - 0x50]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x43a5ac
cmp ecx, dword [esi]
jne 0x43a5ac
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43a5ee
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x43a83b
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a7195
mov esi, dword [ebp - 0x30]
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [edi + 4], eax
mov esi, dword [ebp - 0x4c]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xa
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x43a61f
cmp ecx, dword [esi]
jne 0x43a61f
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43a661
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x43a83b
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a7195
mov esi, dword [ebp - 0x30]
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [edi + 8], eax
mov esi, dword [ebp - 0x48]
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x43a692
cmp ecx, dword [esi]
jne 0x43a692
mov eax, 1
lock xadd dword [edx], eax
jmp 0x43a6d4
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x43a83b
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004a7195
mov esi, dword [ebp - 0x30]
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add dword [ebx + 4], 0x10
push dword [ecx + eax*4]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call edi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x43a700
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a721
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a73e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a75b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a778
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov esi, 0x13
test eax, eax
jne 0x43a0b0
push dword [ebp - 0x18]
call edi
call fcn.00428610
test al, al
jne 0x43a7db
mov ax, word [0x4ddea4]
movq xmm0, qword [str.IHaLIk64e]
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a7b3
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a5340
push eax
call fcn.004a7190
add esp, 8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x43a0a0
mov eax, dword [ebp - 0x20]
mov bl, 1
mov byte [ebp - 4], 0
test eax, eax
je 0x43a809
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x43a876
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.004a5290
call fcn.0040c2e0
push eax
push str.EnumScheduledTasks_Enum__d
push dword [ebp + 0xc]
call fcn.00406160
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov byte [ebp - 4], 0
test eax, eax
je 0x43a862
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x43a876
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret