Function at 0x4595d8
Capabilities:
Schedule task via itaskscheduler
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb54
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 1]
call fcn.00447312
call fcn.004012e4
test al, al
push dword [ebp + 8]
je 0x459b44
lea eax, [ebp - 0xb50]
push str.NCH_SoftwareSwitch_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x5de950
push 1
xor esi, esi
push esi
push 0x5de960
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0xc], esi
je 0x45970f
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xf4]
push eax
call ebx
lea esi, [ebp - 0xf4]
lea edi, [ebp - 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x104]
lea edi, [ebp - 0x128]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xe4]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0xe4]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa4]
push eax
movsd dword es:[edi], dword [esi]
call ebx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x128]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0xa4]
push eax
call ebx
lea eax, [ebp - 0xe4]
push eax
call ebx
lea eax, [ebp - 0x104]
push eax
call ebx
lea eax, [ebp - 0xf4]
push eax
call ebx
test esi, esi
mov eax, dword [ebp - 0xc]
jge 0x459724
test eax, eax
je 0x45970f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 1], 0
je 0x45971b
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
lea edx, [ebp - 8]
push edx
xor edi, edi
push 0x5c56a4
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
mov eax, dword [ebp - 0xc]
jge 0x459743
cmp eax, edi
jmp 0x459707
lea edx, [ebp - 0x10]
push edx
push edi
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jge 0x459763
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
jmp 0x45973f
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x459773
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x459795
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
jmp 0x459758
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
push 0x5bc6b8
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
jl 0x459787
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x459787
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x4c]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
call esi
lea eax, [ebp - 0x4c]
push eax
call ebx
cmp eax, edi
jge 0x4597e8
push eax
call fcn.005a56e0
lea eax, [ebp - 0x3c]
push eax
call ebx
cmp eax, edi
jge 0x4597f8
push eax
call fcn.005a56e0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x38]
mov esi, eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
jge 0x459835
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x3c]
push eax
call ebx
lea eax, [ebp - 0x4c]
push eax
call ebx
jmp 0x45975e
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x459812
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov esi, str.PT5M
push esi
push eax
call dword [ecx + 0x80]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x24], edi
jl 0x459812
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
test eax, eax
jl 0x459812
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
jl 0x459812
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x459812
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x24]
push edx
push 1
mov dword [ebp - 0x24], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
jl 0x459812
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x18]
push edx
push 0x5de980
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, edi
jl 0x459812
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push str.Trigger1
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x4c]
test eax, eax
jl 0x459812
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 0x278d00
lea esi, [ebp - 0x538]
lea edi, [ebp - 0x330]
call fcn.0049e7a2
mov eax, esi
push eax
mov eax, edi
push eax
push str._sT_s
mov esi, 0x104
lea edi, [ebp - 0x740]
call fcn.004a9039
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add esp, 0xc
mov edx, edi
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
lea esi, [ebp - 0x538]
lea edi, [ebp - 0x330]
call fcn.0049e7a2
mov eax, esi
push eax
mov eax, edi
push eax
push str._sT_s
mov esi, 0x104
lea edi, [ebp - 0x948]
call fcn.004a9039
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add esp, 0xc
mov edx, edi
push edx
push eax
call dword [ecx + 0x3c]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jge 0x4599f8
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x3c]
push eax
call ebx
lea eax, [ebp - 0x4c]
push eax
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x459705
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
xor esi, esi
push edx
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test eax, eax
jge 0x459a36
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x3c]
push eax
call ebx
lea eax, [ebp - 0x4c]
push eax
call ebx
mov eax, dword [ebp - 0xc]
cmp eax, esi
jmp 0x459707
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
push esi
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edi, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jl 0x459a0e
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push str.MbLk
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jl 0x459a0e
mov eax, dword [ebp - 0x2c]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x459a9d
cmp word [eax], si
je 0x459a9d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x34]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jl 0x459a0e
and dword [ebp - 0x28], 0
push 0x5b07d8
lea esi, [ebp - 0x70]
call fcn.004595ad
lea esi, [ebp - 0x28]
push esi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 3
sub esp, 0x10
mov edi, esp
mov ecx, dword [ebp - 8]
lea esi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xb50]
push eax
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x44]
mov esi, eax
lea eax, [ebp - 0x70]
push eax
call ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jl 0x4599e4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x3c]
push eax
call ebx
lea eax, [ebp - 0x4c]
push eax
call ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x459d46
jmp 0x459d40
lea eax, [ebp - 0x330]
push str.Switch_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor esi, esi
push esi
push esi
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x28]
push eax
push 0x5de920
push 1
push esi
push 0x5de940
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x45970f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x330]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x28]
lea edx, [ebp + 0x10]
push edx
push 0x5de910
push 0x5de930
lea edx, [ebp - 0x330]
push edx
mov dword [ebp + 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x45970f
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x45970f
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push 0x2000
push eax
call dword [ecx + 0x70]
cmp edi, esi
je 0x459c00
cmp word [edi], si
je 0x459c00
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x88]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
mov edi, 0x5abb0c
push edi
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, esi
jl 0x459c71
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
cmp dword [ebp + 0xc], esi
je 0x459c71
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push edi
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push dword [ebp + 0x14]
or dword [ebp - 0x74], 0xffffffff
lea eax, [ebp - 0x94]
push eax
call fcn.0058fed5
push 0x30
lea eax, [ebp - 0xd4]
push esi
push eax
call fcn.005970f0
mov eax, dword [ebp - 0x80]
add eax, 0x76c
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x84]
add esp, 0x14
inc eax
mov word [ebp - 0xce], ax
mov ax, word [ebp - 0x88]
mov word [ebp - 0xcc], ax
mov ax, word [ebp - 0x8c]
mov word [ebp - 0xc4], ax
mov ax, word [ebp - 0x90]
mov word [ebp - 0xc2], ax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xd4]
push edx
mov word [ebp - 0xd4], 0x30
mov dword [ebp - 0xb4], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push edi
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and word [ebp - 0x32e], 0
lea eax, [ebp - 0x330]
push eax
push dword [ebp + 8]
mov esi, str.Scheduler
push esi
mov word [ebp - 0x330], 0x31
call fcn.00457ac7
push dword [ebp + 8]
call fcn.00457a4f
test al, al
jne 0x459d83
push 1
push dword [ebp + 8]
push esi
call fcn.004351cd
cmp byte [ebp - 1], 0
je 0x459d8f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
jmp 0x45971d