Function at 0x519280
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
push 0x30
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0051fe50
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
push 0x57ca7c
push 1
push 0
push 0x57ca6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x51968d
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x6c]
push edx
push 0x57ca8c
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 6
test eax, eax
js 0x51935a
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x519355
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x54], esi
jmp 0x51937f
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push edx
push 0x57ca8c
push 0x57ca5c
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x51966b
mov esi, dword [ebp - 0x54]
push dword [ebp - 0x74]
mov eax, dword [esi]
push esi
call dword [eax + 0x80]
mov esi, eax
test esi, esi
js 0x51966b
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov esi, eax
test esi, esi
js 0x51966b
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov esi, eax
test esi, esi
js 0x51966b
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x70]
push esi
call fcn.00415390
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x70]
cmp dword [eax - 0xc], 0
je 0x519419
mov ecx, str.SYSTEM
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x51940b
test dx, dx
je 0x519407
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x51940b
add eax, 4
add ecx, 4
test dx, dx
jne 0x5193e5
xor eax, eax
jmp 0x519410
sbb eax, eax
or eax, 1
test eax, eax
je 0x519419
push 0
push esi
jmp 0x519420
push 0
push 0x57cef0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov esi, eax
test esi, esi
js 0x51964c
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x84]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov esi, eax
test esi, esi
js 0x51964c
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov esi, eax
test esi, esi
js 0x51964c
mov eax, dword [ebp - 0x54]
push 0xa200
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, eax
test esi, esi
js 0x51964c
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0x24
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
push edx
push dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jns 0x5194bd
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x51963b
xor eax, eax
mov dword [ebp - 0x40], 0x30
mov word [ebp - 0x32], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x36], 0
movlpd qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x50]
mov word [ebp - 0x3c], ax
movzx eax, word [ebp - 0x4e]
mov word [ebp - 0x3a], ax
movzx eax, word [ebp - 0x4a]
mov word [ebp - 0x38], ax
mov ax, word [ebp + 0x28]
mov word [ebp - 0x30], ax
mov ax, word [ebp + 0x2a]
mov word [ebp - 0x2e], ax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
dec eax
cmp eax, 6
ja case.0x519530.1
jmp dword [eax*4 + 0x5196c0]
movzx eax, word [edi + 4]
mov word [ebp - 0x1c], ax
movzx eax, word [edi + 0xc]
mov dword [ebp - 0x20], 2
mov word [ebp - 0x1a], ax
jmp 0x5195cf
mov ecx, dword [edi + 4]
mov eax, 1
dec ecx
mov dword [ebp - 0x20], 3
shl eax, cl
mov dword [ebp - 0x1c], eax
mov ax, word [edi + 0xc]
mov word [ebp - 0x18], ax
jmp 0x5195cf
mov ecx, dword [edi + 4]
mov eax, 1
shl ax, cl
mov word [ebp - 0x1a], ax
movzx eax, word [edi + 0xc]
mov word [ebp - 0x18], ax
movzx eax, word [edi + 8]
mov dword [ebp - 0x20], 4
jmp 0x5195cb
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], 5
push 0xa
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
movzx ecx, word [edi + 4]
push ecx
push eax
call edx
jmp 0x5195cf
mov dword [ebp - 0x20], 6
jmp 0x5195cf
mov dword [ebp - 0x20], 7
jmp 0x5195cf
mov ax, word [edi + 4]
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x51963b
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0x2e
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x54]
push edx
push 0x57ca9c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x51962a
mov eax, dword [ebp - 0x64]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
jns 0x519625
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x51962a
mov esi, 0x50
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x51963b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x51964c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51966b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x51967c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x51968d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x5196a1
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
ret