Function at 0x499783
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0x74
mov eax, 0x50b13a
call fcn.004d2c4d
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x20]
and dword [ebp - 0x58], 0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x58]
push eax
push 0x51df3c
push 1
push 0
push 0x51df5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x499af4
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x60]
and dword [ebp - 0x60], 0
mov esi, dword [ebp - 0x6c]
push edx
mov ecx, dword [eax]
push 0x51df2c
push esi
push eax
call dword [ecx + 0x18]
and dword [ebp - 0x54], 0
test eax, eax
js 0x499801
mov eax, dword [ebp - 0x60]
and dword [ebp - 0x60], 0
mov dword [ebp - 0x54], eax
jmp 0x499826
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
push edx
push 0x51df2c
push 0x51df4c
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x499ada
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
mov esi, eax
test esi, esi
js 0x499ada
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov esi, eax
test esi, esi
js 0x499ada
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov esi, eax
test esi, esi
js 0x499ada
push edi
lea ecx, [ebp - 0x68]
call fcn.00409419
mov eax, dword [ebp - 0x68]
cmp dword [eax - 0xc], 0
je 0x4998a1
push 0x529cbc
lea ecx, [ebp - 0x68]
call fcn.004451dc
test eax, eax
je 0x4998a1
mov eax, dword [ebp - 0x54]
push 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor edi, edi
jmp 0x4998b2
mov eax, dword [ebp - 0x54]
xor edi, edi
push edi
push 0x51f97c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov esi, eax
test esi, esi
js 0x499acb
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov esi, eax
test esi, esi
js 0x499acb
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov esi, eax
test esi, esi
js 0x499acb
mov eax, dword [ebp - 0x54]
push 0x2200
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, eax
test esi, esi
js 0x499acb
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x5c], edi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18]
test eax, eax
jns 0x499935
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x499abe
push 0x30
pop esi
push esi
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.004d3e90
xor eax, eax
mov word [ebp - 0x40], si
mov word [ebp - 0x50], ax
lea edi, [ebp - 0x4e]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ax, word [ebp - 0x50]
mov word [ebp - 0x3c], ax
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x3a], ax
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x38], ax
mov ax, word [ebp + 0x30]
mov word [ebp - 0x30], ax
mov ax, word [ebp + 0x32]
mov word [ebp - 0x2e], ax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
sub eax, 1
je 0x499a50
sub eax, 1
je 0x499a37
sub eax, 1
je 0x499a1a
sub eax, 1
je 0x4999f8
sub eax, 1
je 0x4999ef
sub eax, 1
je 0x4999e6
sub eax, 1
jne 0x499a50
mov eax, dword [ebp - 0x54]
movzx ecx, word [ebx + 4]
push 0xa
mov dword [ebp - 0x20], 5
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x28]
jmp 0x499a5f
mov dword [ebp - 0x20], 7
jmp 0x499a5f
mov dword [ebp - 0x20], 6
jmp 0x499a5f
mov ecx, dword [ebx + 4]
xor eax, eax
inc eax
mov dword [ebp - 0x20], 4
shl ax, cl
mov word [ebp - 0x1a], ax
mov ax, word [ebx + 0xc]
mov word [ebp - 0x18], ax
mov ax, word [ebx + 8]
jmp 0x499a5b
mov ecx, dword [ebx + 4]
xor eax, eax
inc eax
mov dword [ebp - 0x20], 3
dec ecx
shl eax, cl
mov dword [ebp - 0x1c], eax
mov ax, word [ebx + 0xc]
mov word [ebp - 0x18], ax
jmp 0x499a5f
mov ax, word [ebx + 4]
mov word [ebp - 0x1c], ax
mov ax, word [ebx + 0xc]
mov dword [ebp - 0x20], 2
mov word [ebp - 0x1a], ax
jmp 0x499a5f
mov ax, word [ebx + 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 0x499abe
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x64]
and dword [ebp - 0x64], 0
push edx
push 0x51dfa0
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
js 0x499ab1
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 0x499aae
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x499ab1
push 0x50
pop esi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x499abe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x499acb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x499ae7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x499af4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x499b01
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.004d2bf7
ret