Function at 0x51d5d0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d8024]
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.00524130
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
push 0x5852dc
push 1
push 0
push 0x5852cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x51d9dd
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 0x5852ec
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 0x51d6aa
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x51d6a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x54], esi
jmp 0x51d6cf
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push edx
push 0x5852ec
push 0x5852bc
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x51d9bb
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 0x51d9bb
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 0x51d9bb
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 0x51d9bb
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x70]
push esi
call fcn.004152f0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x70]
cmp dword [eax - 0xc], 0
je 0x51d769
mov ecx, str.SYSTEM
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x51d75b
test dx, dx
je 0x51d757
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x51d75b
add eax, 4
add ecx, 4
test dx, dx
jne 0x51d735
xor eax, eax
jmp 0x51d760
sbb eax, eax
or eax, 1
test eax, eax
je 0x51d769
push 0
push esi
jmp 0x51d770
push 0
push 0x585748
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov esi, eax
test esi, esi
js 0x51d99c
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 0x51d99c
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov esi, eax
test esi, esi
js 0x51d99c
mov eax, dword [ebp - 0x54]
push 0xa200
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, eax
test esi, esi
js 0x51d99c
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 0x51d80d
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 0x51d98b
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.0x51d880.1
jmp dword [eax*4 + 0x51da10]
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 0x51d91f
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 0x51d91f
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 0x51d91b
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 0x51d91f
mov dword [ebp - 0x20], 6
jmp 0x51d91f
mov dword [ebp - 0x20], 7
jmp 0x51d91f
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 0x51d98b
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0x2e
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x54]
push edx
push 0x5852fc
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x51d97a
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 0x51d975
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x51d97a
mov esi, 0x50
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x51d98b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x51d99c
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 0x51d9bb
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 0x51d9cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x51d9dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x51d9f1
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.00521dac
mov esp, ebp
pop ebp
ret