Function at 0x51dc40
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5765cd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d6024]
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.00524550
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
push 0x5834ac
push 1
push 0
push 0x58349c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x51e04d
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 0x5834bc
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 0x51dd1a
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x51dd15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x54], esi
jmp 0x51dd3f
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push edx
push 0x5834bc
push 0x58348c
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x51e02b
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 0x51e02b
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 0x51e02b
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 0x51e02b
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x70]
push esi
call fcn.004154d0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x70]
cmp dword [eax - 0xc], 0
je 0x51ddd9
mov ecx, 0x590564
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x51ddcb
test dx, dx
je 0x51ddc7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x51ddcb
add eax, 4
add ecx, 4
test dx, dx
jne 0x51dda5
xor eax, eax
jmp 0x51ddd0
sbb eax, eax
or eax, 1
test eax, eax
je 0x51ddd9
push 0
push esi
jmp 0x51dde0
push 0
push 0x583918
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov esi, eax
test esi, esi
js 0x51e00c
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 0x51e00c
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov esi, eax
test esi, esi
js 0x51e00c
mov eax, dword [ebp - 0x54]
push 0xa200
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, eax
test esi, esi
js 0x51e00c
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 0x51de7d
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 0x51dffb
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.0x51def0.1
jmp dword [eax*4 + 0x51e080]
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 0x51df8f
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 0x51df8f
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 0x51df8b
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 0x51df8f
mov dword [ebp - 0x20], 6
jmp 0x51df8f
mov dword [ebp - 0x20], 7
jmp 0x51df8f
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 0x51dffb
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0x2e
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x54]
push edx
push 0x5834cc
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x51dfea
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 0x51dfe5
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x51dfea
mov esi, 0x50
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x51dffb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x51e00c
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 0x51e02b
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 0x51e03c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x51e04d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x51e061
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.0052223b
mov esp, ebp
pop ebp
ret