Function at 0x408884
Capabilities:
Create process on windows
Schedule task via at
Schedule task via itaskservice

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x12c
mov eax, 0x450a25
call fcn.0042fb3d
xor eax, eax
push 0x206
mov word [ebp + 0x800], ax
xor ebx, ebx
lea eax, [ebp + 0x802]
push ebx
push eax
mov esi, ecx
call fcn.0042f410
add esp, 0xc
push 0x104
lea eax, [ebp + 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push str.Update.exe
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0044641d
mov esi, eax
mov eax, dword [0x4673ec]
mov ecx, 0x4673ec
mov dword [ebp - 0x8c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], ebx
cmp esi, ebx
jbe 0x4091bc
cmp esi, 3
jbe 0x409065
cmp esi, 5
ja 0x4091bc
lea eax, [ebp + 0x800]
push eax
lea esi, [ebp - 0x84]
call fcn.0040217f
xor edi, edi
push str.KuaiZip_Update
lea esi, [ebp - 0x4c]
inc edi
mov byte [ebp - 4], 1
call fcn.0040217f
push ebx
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x408988
push edi
push str._nCoInitializeEx_failed:__x
call fcn.0042eb69
pop ecx
pop ecx
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.0040273f
push ebx
push edi
jmp 0x409055
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x4089b7
push eax
push str._nCoInitializeSecurity_failed:__x
call fcn.0042eb69
pop ecx
pop ecx
cmp esi, ebx
jne 0x408977
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x408977
lea eax, [ebp - 0x20]
push eax
push 0x4540f0
push edi
push ebx
push 0x4542e0
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4089dc
push eax
push str.Failed_to_create_an_instance_of_ITaskService:__x
jmp 0x4089a4
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0xac]
lea edi, [ebp - 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xbc]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0xec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x138]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x138]
lea edi, [ebp - 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x9c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 7
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xdc]
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 - 0xec]
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 - 0x20]
lea esi, [ebp - 0xcc]
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 - 0x9c]
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 esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [ebp - 0x9c]
push eax
call esi
lea eax, [ebp - 0x138]
push eax
call esi
lea eax, [ebp - 0xbc]
push eax
call esi
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 3
push eax
call esi
cmp edi, ebx
jge 0x408ad2
push edi
push str.ITaskService::Connect_failed:__x
call fcn.0042eb69
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
jmp 0x409036
push 0x45d6a0
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.0040bb73
mov byte [ebp - 4], 8
mov eax, dword [eax]
cmp eax, ebx
je 0x408af0
mov eax, dword [eax]
jmp 0x408af2
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
lea esi, [ebp - 0x14]
push esi
push eax
push ecx
call dword [edx + 0x1c]
lea edi, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040bb33
cmp esi, ebx
jge 0x408b1a
push esi
push str.Cannot_get_Root_Folder_pointer:__x
jmp 0x408ac3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x408b26
lea eax, [ebp - 0x48]
push eax
lea edi, [ebp - 0x1c]
call fcn.0040bb73
mov byte [ebp - 4], 9
mov eax, dword [eax]
cmp eax, ebx
je 0x408b3d
mov ecx, dword [eax]
jmp 0x408b3f
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x3c]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040bb33
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
push edx
push ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov esi, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408b8b
push esi
push str.Failed_to_create_a_task_definition:__x
call fcn.0042eb69
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
jmp 0x409036
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x408bbd
push eax
push str._nCannot_get_identification_pointer:__x
call fcn.0042eb69
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
jmp 0x409036
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push str.Author_Name
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408be2
push esi
push str._nCannot_put_identification_info:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jge 0x408bfe
push eax
push str._nCannot_get_principal_pointer:__x
jmp 0x408ba5
push str.Principal1
lea edi, [ebp - 0x1c]
call fcn.0040bb73
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
cmp eax, ebx
je 0x408c19
mov ecx, dword [eax]
jmp 0x408c1b
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
lea edi, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040bb33
cmp esi, ebx
jge 0x408c44
push esi
push str._nCannot_put_the_principal_ID:__x
call fcn.0042eb69
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x38]
cmp eax, ebx
jge 0x408c60
push eax
push str._nCannot_put_principal_logon_type:__x
call fcn.0042eb69
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x48]
mov esi, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408c85
push esi
push str._nCannot_put_principal_run_level:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jge 0x408ca4
push eax
push str._nCannot_get_settings_pointer:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x58]
mov esi, eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408cc9
push esi
push str._nCannot_put_setting_info:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x68], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jge 0x408ce8
push eax
push str._nCannot_get_trigger_collection:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x60]
push edx
push 9
mov dword [ebp - 0x60], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408d14
push esi
push str._nCannot_create_a_registration_trigger:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x24]
push edx
push 0x4541a0
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408d42
push esi
push str._nQueryInterface_call_failed_on_IRegistrationTrigger:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x5c]
cmp eax, ebx
jge 0x408d5d
push eax
push str._nCannot_put_trigger_ID:__x
call fcn.0042eb69
pop ecx
pop ecx
push str.Trigger1
lea edi, [ebp - 0x1c]
call fcn.0040bb73
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x408d78
mov ecx, dword [eax]
jmp 0x408d7a
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
lea edi, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040bb33
cmp esi, ebx
jge 0x408da3
push esi
push str._nCannot_put_trigger_ID:__x
call fcn.0042eb69
pop ecx
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push str.PT30S
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push str.PT1H
lea edi, [ebp - 0x1c]
call fcn.0040bb73
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
cmp eax, ebx
je 0x408ddc
mov ecx, dword [eax]
jmp 0x408dde
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040bb33
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408e21
push esi
push str._nCannot_put_registration_trigger_delay:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
cmp eax, ebx
jge 0x408e40
push eax
push str._nCannot_get_Task_collection_pointer:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x64]
push edx
push ebx
mov dword [ebp - 0x64], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov esi, eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408e6b
push esi
push str._nCannot_create_action:__x
jmp 0x408ba5
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x50]
push edx
push str.MbLk
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408e99
push esi
push str._nQueryInterface_call_failed_for_IExecAction:__x
jmp 0x408ba5
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
jae 0x408ea5
lea eax, [ebp - 0x80]
push eax
lea edi, [ebp - 0x1c]
call fcn.0040bb73
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
cmp eax, ebx
je 0x408ebc
mov ecx, dword [eax]
jmp 0x408ebe
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
lea edi, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040bb33
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x408eee
push esi
push str._nCannot_put_the_action_executable_path:__x
jmp 0x408ba5
push 8
pop eax
push 0x45c234
mov dword [ebp - 0x88], ebx
mov word [ebp - 0x9c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x94], eax
cmp eax, ebx
jne 0x408f1d
push 0x8007000e
call fcn.0042c980
lea esi, [ebp - 0x9c]
lea edi, [ebp - 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xbc]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0xec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xac]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
lea esi, [ebp - 0xac]
lea edi, [ebp - 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jae 0x408f77
lea eax, [ebp - 0x48]
push eax
lea edi, [ebp - 0x1c]
call fcn.0040bb73
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
cmp eax, ebx
je 0x408f8e
mov ecx, dword [eax]
jmp 0x408f90
xor ecx, ecx
lea esi, [ebp - 0x88]
push esi
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xcc]
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 eax, dword [ebp - 0x14]
lea esi, [ebp - 0xec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push ecx
push eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x44]
lea edi, [ebp - 0x1c]
mov esi, eax
call fcn.0040bb33
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xac]
push eax
call edi
lea eax, [ebp - 0xbc]
push eax
call edi
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 3
call edi
cmp esi, ebx
jge 0x409013
push esi
push str._nError_saving_the_Task_:__x
jmp 0x408ba5
push str._n_Success__Task_successfully_registered.
call fcn.0042eb69
mov eax, dword [ebp - 0x14]
pop ecx
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]
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x18], ebx
jne 0x409047
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.0040273f
push ebx
push 1
lea esi, [ebp - 0x84]
call fcn.0040273f
jmp 0x4091a9
lea eax, [ebp + 0x800]
push eax
call fcn.0044c6b4
pop ecx
test eax, eax
je 0x40907b
call fcn.0044c86a
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
call fcn.0042ec40
push 0x3b
cdq
pop ecx
idiv ecx
push edx
call fcn.0042ec40
push 7
pop ecx
cdq
idiv ecx
lea eax, [ebp]
add edx, 0xa
push edx
push str._d:_d___interactive__every:M_T_W_Th_F_S_Su
push 0x400
push eax
call fcn.0042d11d
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp]
push eax
push str._s___s_
lea eax, [ebp - 0x2c]
call fcn.004061c2
push 0x38
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.0042f410
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x114], eax
add esp, 0x2c
lea eax, [ebp - 0x128]
mov edi, str.at.exe
push eax
mov dword [ebp - 0x128], 0x3c
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x124], 0x40
call esi
call fcn.0042ec40
push 0x3b
cdq
pop ecx
idiv ecx
push edx
call fcn.0042ec40
push 3
pop ecx
cdq
idiv ecx
lea eax, [ebp]
add edx, 0x13
push edx
push str._d:_d___interactive__every:M_T_W_Th_F_S_Su
push 0x400
push eax
call fcn.0042d11d
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp]
push eax
push str._s___s_
lea eax, [ebp - 0x2c]
call fcn.004061c2
mov eax, dword [ebp - 0x2c]
add esp, 0x20
mov dword [ebp - 0x128], 0x3c
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], ebx
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x124], 0x40
call esi
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.004015fa
mov eax, dword [ebp - 0x8c]
jmp 0x4091c6
add eax, 0xfffffff0
call fcn.004015fa
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0xa0c
leave
ret