Function at 0x4022e0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461de0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x70], ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x6c], esi
lea eax, [ebp - 0x20]
push eax
push 0x46b2b4
push 1
push 0
mov dword [ebp - 4], 0
push 0x46b2d4
mov dword [ebp - 0x20], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor ecx, ecx
mov edx, eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
test edx, edx
js 0x4023bc
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40235f
push 0x80004003
call fcn.00444100
cmp dword [edi + 0x14], 8
jb 0x402369
mov edx, dword [edi]
jmp 0x40236b
mov edx, edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x402383
push 0x80004003
call fcn.00444100
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402390
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x18], 0
jb 0x40239f
mov edi, dword [edi]
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push 0x46b2a4
push 0x46b2c4
push edi
push esi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x6c]
mov edx, eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
test edx, edx
js 0x4025a3
test ecx, ecx
jne 0x4023e4
push 0x80004003
call fcn.00444100
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x24], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov edx, eax
test edx, edx
js 0x4025a0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x2c
lea eax, [ebp - 0x54]
push 0
push eax
mov dword [ebp - 0x58], 0x30
call fcn.00420820
movzx eax, word [ebp - 0x62]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [ebp - 0x50], ax
movzx eax, word [ebp - 0x66]
mov word [ebp - 0x52], ax
movzx eax, word [ebp - 0x68]
mov word [ebp - 0x54], ax
add esp, 0xc
cmp byte [0x47f624], 0
mov eax, 1
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], ax
jne 0x40246d
call edi
push eax
call fcn.0041a487
add esp, 4
mov byte [0x47f624], 1
call fcn.0041a464
cmp byte [0x47f624], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x46d8c8]
mulsd xmm0, qword [0x46d8d8]
cvttsd2si eax, xmm0
mov word [ebp - 0x48], ax
jne 0x4024ad
call edi
push eax
call fcn.0041a487
add esp, 4
mov byte [0x47f624], 1
call fcn.0041a464
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x40], 0xb4
mulsd xmm0, qword [0x46d8c8]
mov dword [ebp - 0x44], 0x5a0
mulsd xmm0, qword [0x46d8e0]
cvttsd2si eax, xmm0
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4024f1
push 0x80004003
call fcn.00444100
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
push eax
call dword [ecx + 0xc]
mov edx, eax
test edx, edx
js 0x4025a0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x402516
push 0x80004003
call fcn.00444100
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x14], 8
jb 0x402521
mov edx, dword [edx]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x80]
mov edx, eax
test edx, edx
js 0x4025a0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x402542
push 0x80004003
call fcn.00444100
cmp dword [ebx + 0x14], 8
jb 0x40254a
mov ebx, dword [ebx]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x88]
mov edx, eax
test edx, edx
js 0x4025a0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40256b
push 0x80004003
call fcn.00444100
mov ecx, dword [eax]
push 0x2000
push eax
call dword [ecx + 0x70]
mov edx, eax
test edx, edx
js 0x4025a0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40258d
push 0x80004003
call fcn.00444100
cmp dword [esi + 0x14], 8
jb 0x402595
mov esi, dword [esi]
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x78]
mov edx, eax
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
test edx, edx
js 0x4025fe
test ecx, ecx
jne 0x4025be
push 0x80004003
call fcn.00444100
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
push 0x4643c0
push ecx
call dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x1c]
test edx, edx
js 0x4025f9
test eax, eax
jne 0x4025ea
push 0x80004003
call fcn.00444100
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
test edx, edx
setns bl
mov byte [ebp - 4], 2
test eax, eax
je 0x402612
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x402626
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x402634
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x402648
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 ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00419056
mov esp, ebp
pop ebp
ret