Function at 0x495770
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fadc
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
xor edi, edi
mov dword [edx], edi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], edx
mov edx, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x64], esi
mov dword [eax + 0x10], edi
cmp dword [eax + 0x14], edx
jb 0x4957d8
mov eax, dword [eax]
xor ebx, ebx
mov word [eax], bx
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], edx
jb 0x4957e7
mov ecx, dword [ecx]
xor eax, eax
mov word [ecx], ax
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], edx
jb 0x4957f6
mov esi, dword [esi]
xor ecx, ecx
mov word [esi], cx
mov dword [ebp - 0x34], edi
lea edx, [ebp - 0x34]
push edx
push 0x55ba00
push 1
push edi
push 0x56348c
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jge 0x495828
mov eax, dword [ebp - 0x34]
cmp eax, edi
jmp 0x4960a6
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xd4]
push eax
call esi
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0xd0]
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
call esi
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0xd8]
lea edx, [ebp - 0xf4]
push edx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
call esi
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xc4]
push ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], eax
call esi
mov esi, dword [ebp - 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x18]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0xa4]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0xa0]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x9c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x98]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x90]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x8c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x88]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0xc4]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0xc0]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xbc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xb8]
mov byte [ebp - 4], 5
mov dword [eax + 0xc], esi
push ecx
mov eax, dword [edx + 0x28]
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea ecx, [ebp - 0xc4]
test esi, esi
push ecx
sets bl
call edi
lea edx, [ebp - 0xf4]
push edx
call edi
lea eax, [ebp - 0xe4]
push eax
call edi
lea ecx, [ebp - 0xd4]
push ecx
call edi
test bl, bl
je 0x4959c1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4960b7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4960b7
xor edi, edi
mov dword [ebp - 0x38], edi
mov esi, dword [ebp - 0x34]
push 0x539ff0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.004926b0
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x4959e8
mov eax, dword [eax]
jmp 0x4959ea
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x38]
push edx
push eax
mov eax, dword [ecx + 0x1c]
push esi
call eax
mov esi, eax
cmp esi, edi
lea ecx, [ebp - 0x6c]
setl bl
call fcn.004937a0
test bl, bl
je 0x495a27
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x495a1d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x34]
cmp eax, edi
jmp 0x4960a6
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 8
call fcn.00493f20
add esp, 8
mov eax, dword [eax]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x495a4f
mov eax, dword [eax]
jmp 0x495a51
xor eax, eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea ecx, [ebp - 0x3c]
push ecx
push eax
push esi
call edx
mov esi, eax
cmp esi, edi
lea ecx, [ebp - 0x68]
setl bl
mov byte [ebp - 4], 8
call fcn.004937a0
mov eax, dword [ebp - 0x3c]
test bl, bl
jne 0x49605c
lea edx, [ebp - 0x78]
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
cmp esi, ebx
jge 0x495ac3
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x495aa6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x495ab9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jmp 0x4960a6
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x495ad3
mov byte [ebp - 0x4d], 1
cmp eax, ebx
jne 0x495ad6
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
mov eax, dword [ecx + 0x4c]
mov byte [ebp - 4], 0xa
call eax
mov esi, eax
cmp esi, ebx
jge 0x495b07
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x495a93
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x495a93
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
mov eax, dword [ecx + 0x24]
mov byte [ebp - 4], 0xb
call eax
mov esi, eax
mov eax, dword [ebp - 0x44]
cmp esi, ebx
jge 0x495b38
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x495af2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x495af2
lea edx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp dword [ebp - 0x80], ebx
jne 0x495bb8
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x495b5f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x495b72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x495b85
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x495b98
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x495bae
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004005
jmp 0x4960b9
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push 1
push eax
mov eax, dword [ecx + 0x20]
mov byte [ebp - 4], 0xc
call eax
mov esi, eax
mov eax, dword [ebp - 0x48]
cmp esi, ebx
jge 0x495bf1
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x495be9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x44]
jmp 0x495b26
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
mov esi, eax
cmp esi, ebx
jge 0x495c0b
mov eax, dword [ebp - 0x48]
jmp 0x495bd9
or edi, 0xffffffff
cmp word [ebp - 0x7c], di
mov dword [ebp - 0x4c], ebx
sete byte [ebp - 0x55]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x1c]
mov byte [ebp - 4], 0xd
call eax
mov esi, eax
mov eax, dword [ebp - 0x4c]
cmp esi, ebx
jge 0x495cb1
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x495c45
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x495c58
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x495c6b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x495c7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x495c91
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x495ca4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], edi
cmp eax, ebx
jmp 0x4960ad
mov ecx, dword [eax]
lea edx, [ebp - 0xb0]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
cmp esi, ebx
jge 0x495cce
mov eax, dword [ebp - 0x4c]
jmp 0x495c35
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
jne 0x495d52
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x495ceb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x495cfe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x495d11
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x495d24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x495d37
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x495d4a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], edi
jmp 0x495b9f
push eax
lea ecx, [ebp - 0x68]
call fcn.004926b0
mov eax, dword [eax]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x495d69
mov eax, dword [eax]
jmp 0x495d6b
xor eax, eax
mov esi, dword [ebp - 0x64]
push eax
mov ecx, esi
call fcn.004025d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.004937a0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
mov edi, 0x5c
push eax
mov ecx, esi
mov dword [ebp - 0x64], edi
call fcn.00401630
cmp eax, 0xffffffff
jne 0x495da2
xor eax, eax
jmp 0x495db5
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
mov dword [ebp - 0x64], edi
call fcn.00401630
inc eax
mov ecx, dword [esi + 0x10]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
mov ecx, esi
call fcn.00408740
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.00402630
lea ecx, [ebp - 0x30]
call fcn.0051c7a0
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
mov eax, dword [ecx + 0x44]
mov byte [ebp - 4], 0x10
call eax
mov esi, eax
mov eax, dword [ebp - 0x54]
cmp esi, ebx
jge 0x495e23
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x495e08
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x495e1b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x48]
jmp 0x495bd9
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, ebx
jge 0x495e3d
mov eax, dword [ebp - 0x54]
jmp 0x495df8
cmp dword [ebp - 0x74], ebx
jne 0x495e84
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x495e55
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x495e68
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x495b4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x495b4c
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
lea edx, [ebp - 0x60]
push edx
push 1
push eax
mov eax, dword [ecx + 0x20]
mov byte [ebp - 4], 0x11
call eax
mov esi, eax
cmp esi, ebx
jge 0x495ebd
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x495eb5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x54]
jmp 0x495df8
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push 0x55ba10
push eax
mov eax, dword [ecx]
mov bl, 0x12
mov byte [ebp - 4], bl
call eax
mov esi, eax
mov eax, dword [ebp - 0x5c]
test esi, esi
jns 0x495efe
mov byte [ebp - 4], 0x11
test eax, eax
je 0x495fe7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x495fe7
mov ecx, dword [eax]
lea edx, [ebp - 0xa8]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
mov eax, dword [ebp - 0x5c]
test esi, esi
jns 0x495f2f
mov byte [ebp - 4], 0x11
test eax, eax
je 0x495fe7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x495fe7
mov ecx, dword [eax]
lea edx, [ebp - 0xac]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov esi, eax
test esi, esi
jns 0x495f49
mov eax, dword [ebp - 0x5c]
jmp 0x495ee5
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x495f80
push eax
lea ecx, [ebp - 0x64]
call fcn.004926b0
mov eax, dword [eax]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x495f6a
mov eax, dword [eax]
jmp 0x495f6c
xor eax, eax
mov ecx, dword [ebp - 0x70]
push eax
call fcn.004025d0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.004937a0
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x495fb7
push eax
lea ecx, [ebp - 0x70]
call fcn.004926b0
mov eax, dword [eax]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x495fa1
mov eax, dword [eax]
jmp 0x495fa3
xor eax, eax
mov ecx, dword [ebp - 0xb4]
push eax
call fcn.004025d0
lea ecx, [ebp - 0x70]
call fcn.004937a0
cmp byte [ebp - 0x4d], 0
je 0x495fca
cmp byte [ebp - 0x55], 0
je 0x495fca
mov eax, 1
jmp 0x495fcc
xor eax, eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x495fe7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x495ffa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x49600d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x496020
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x496033
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x496046
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 8
test eax, eax
je 0x496059
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
test eax, eax
je 0x49606c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test eax, eax
je 0x4960a1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4960a1
mov eax, dword [ebp - 0x34]
test eax, eax
mov dword [ebp - 4], 0xffffffff
je 0x4960b7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 0x14