Function at 0x51cb60
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f518
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d0074]
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.00523880
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
push 0x57dc70
push 1
push 0
push 0x57dc90
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x51cf6d
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 0x57dc60
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 0x51cc3a
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x51cc35
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x54], esi
jmp 0x51cc5f
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push edx
push 0x57dc60
push 0x57dc80
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x51cf4b
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 0x51cf4b
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 0x51cf4b
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 0x51cf4b
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x70]
push esi
call fcn.004127e0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x70]
cmp dword [eax - 0xc], 0
je 0x51ccf9
mov ecx, str.SYSTEM
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x51cceb
test dx, dx
je 0x51cce7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x51cceb
add eax, 4
add ecx, 4
test dx, dx
jne 0x51ccc5
xor eax, eax
jmp 0x51ccf0
sbb eax, eax
or eax, 1
test eax, eax
je 0x51ccf9
push 0
push esi
jmp 0x51cd00
push 0
push 0x57df48
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov esi, eax
test esi, esi
js 0x51cf2c
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 0x51cf2c
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov esi, eax
test esi, esi
js 0x51cf2c
mov eax, dword [ebp - 0x54]
push 0xa200
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, eax
test esi, esi
js 0x51cf2c
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0x28
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 0x51cd9d
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 0x51cf1b
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.0x51ce10.1
jmp dword [eax*4 + 0x51cfa0]
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 0x51ceaf
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 0x51ceaf
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 0x51ceab
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 0x51ceaf
mov dword [ebp - 0x20], 6
jmp 0x51ceaf
mov dword [ebp - 0x20], 7
jmp 0x51ceaf
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 0x51cf1b
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0x34
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x54]
push edx
push 0x57dca0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x51cf0a
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 0x51cf05
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x51cf0a
mov esi, 0x50
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x51cf1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x51cf2c
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 0x51cf4b
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 0x51cf5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x51cf6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x51cf81
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.005214e1
mov esp, ebp
pop ebp
ret