Function at 0x51c2a0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f248
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.00522fa0
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
push 0x57dc80
push 1
push 0
push 0x57dca0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x51c6ad
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 0x57dc70
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 0x51c37a
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x51c375
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x54], esi
jmp 0x51c39f
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push edx
push 0x57dc70
push 0x57dc90
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x51c68b
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 0x51c68b
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 0x51c68b
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 0x51c68b
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x70]
push esi
call fcn.004144e0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x70]
cmp dword [eax - 0xc], 0
je 0x51c439
mov ecx, str.SYSTEM
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x51c42b
test dx, dx
je 0x51c427
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x51c42b
add eax, 4
add ecx, 4
test dx, dx
jne 0x51c405
xor eax, eax
jmp 0x51c430
sbb eax, eax
or eax, 1
test eax, eax
je 0x51c439
push 0
push esi
jmp 0x51c440
push 0
push 0x57e030
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov esi, eax
test esi, esi
js 0x51c66c
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 0x51c66c
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov esi, eax
test esi, esi
js 0x51c66c
mov eax, dword [ebp - 0x54]
push 0xa200
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, eax
test esi, esi
js 0x51c66c
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 0x51c4dd
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 0x51c65b
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.0x51c550.1
jmp dword [eax*4 + 0x51c6e0]
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 0x51c5ef
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 0x51c5ef
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 0x51c5eb
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 0x51c5ef
mov dword [ebp - 0x20], 6
jmp 0x51c5ef
mov dword [ebp - 0x20], 7
jmp 0x51c5ef
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 0x51c65b
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0x34
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x54]
push edx
push 0x57dcb0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x51c64a
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 0x51c645
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x51c64a
mov esi, 0x50
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x51c65b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x51c66c
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 0x51c68b
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 0x51c69c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x51c6ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x51c6c1
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.00520c02
mov esp, ebp
pop ebp
ret