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

Disassembly:
push 0xb4c
mov eax, 0x4831e1
call fcn.0044db5f
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
mov esi, ecx
call fcn.0044d300
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
push str.Update.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0047cef2
mov ecx, 0x49c4ec
lea esi, [ebp - 0xa30]
mov edi, eax
mov dword [ebp - 0xaa4], ebx
call fcn.00401411
mov dword [ebp - 4], ebx
cmp edi, ebx
jbe 0x4077a3
cmp edi, 3
jbe 0x407623
cmp edi, 5
ja 0x4077a3
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0xaa0]
call fcn.00402975
xor edi, edi
push str.KuaiZip_Update
lea esi, [ebp - 0xa60]
inc edi
mov byte [ebp - 4], 1
call fcn.00402975
push ebx
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
mov dword [ebp - 0xa24], esi
cmp esi, edi
jne 0x406e29
push edi
push str._nCoInitializeEx_failed:__x
call fcn.0044ba06
pop ecx
pop ecx
push edi
jmp 0x407604
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 0x406e58
push eax
push str._nCoInitializeSecurity_failed:__x
call fcn.0044ba06
pop ecx
pop ecx
cmp esi, ebx
jne 0x406e23
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x406e23
lea eax, [ebp - 0xa2c]
push eax
push 0x489a74
push edi
push ebx
push 0x489c64
mov dword [ebp - 0xa2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x406e83
push eax
push str.Failed_to_create_an_instance_of_ITaskService:__x
jmp 0x406e45
lea eax, [ebp - 0xab8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0xab8]
lea edi, [ebp - 0xaf8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xac8]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0xac8]
lea edi, [ebp - 0xae8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xad8]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0xad8]
lea edi, [ebp - 0xb08]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xb58]
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 - 0xaf8]
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 - 0xae8]
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 - 0xa2c]
lea esi, [ebp - 0xb08]
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 - 0xb58]
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 - 0xb58]
push eax
call esi
lea eax, [ebp - 0xad8]
push eax
call esi
lea eax, [ebp - 0xac8]
push eax
call esi
lea eax, [ebp - 0xab8]
mov byte [ebp - 4], 3
push eax
call esi
cmp edi, ebx
jge 0x406f7f
push edi
push str.ITaskService::Connect_failed:__x
call fcn.0044ba06
mov eax, dword [ebp - 0xa2c]
pop ecx
pop ecx
jmp 0x4075ee
push 0x491908
lea edi, [ebp - 0xa28]
mov dword [ebp - 0xa20], ebx
call fcn.00405e53
mov byte [ebp - 4], 8
mov eax, dword [eax]
cmp eax, ebx
je 0x406fa3
mov ecx, dword [eax]
jmp 0x406fa5
xor ecx, ecx
mov eax, dword [ebp - 0xa2c]
mov edx, dword [eax]
lea esi, [ebp - 0xa20]
push esi
push ecx
push eax
call dword [edx + 0x1c]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0xa28]
mov edi, eax
cmp esi, ebx
je 0x406fce
call fcn.00405efc
cmp edi, ebx
jge 0x406fda
push edi
push str.Cannot_get_Root_Folder_pointer:__x
jmp 0x406f6d
cmp dword [ebp - 0xa48], 8
mov eax, dword [ebp - 0xa5c]
jae 0x406fef
lea eax, [ebp - 0xa5c]
push eax
lea edi, [ebp - 0xa28]
call fcn.00405e53
mov byte [ebp - 4], 9
mov eax, dword [eax]
cmp eax, ebx
je 0x407009
mov eax, dword [eax]
jmp 0x40700b
xor eax, eax
mov ecx, dword [ebp - 0xa20]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x3c]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0xa28]
cmp esi, ebx
je 0x40702c
call fcn.00405efc
mov eax, dword [ebp - 0xa2c]
lea edx, [ebp - 0xa1c]
push edx
push ebx
mov dword [ebp - 0xa1c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov esi, eax
mov eax, dword [ebp - 0xa2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x407070
push esi
push str.Failed_to_create_a_task_definition:__x
call fcn.0044ba06
mov eax, dword [ebp - 0xa20]
pop ecx
pop ecx
jmp 0x4075ee
mov eax, dword [ebp - 0xa1c]
lea edx, [ebp - 0xa7c]
push edx
mov dword [ebp - 0xa7c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x4070b1
push eax
push str._nCannot_get_identification_pointer:__x
call fcn.0044ba06
mov eax, dword [ebp - 0xa20]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa1c]
jmp 0x4075ee
mov eax, dword [ebp - 0xa7c]
mov ecx, dword [eax]
push str.Author_Name
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0xa7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x4070dc
push esi
push str._nCannot_put_identification_info:__x
jmp 0x407093
mov eax, dword [ebp - 0xa1c]
lea edx, [ebp - 0xa38]
push edx
mov dword [ebp - 0xa38], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jge 0x407101
push eax
push str._nCannot_get_principal_pointer:__x
jmp 0x407093
push str.Principal1
lea edi, [ebp - 0xa28]
call fcn.00405e53
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
cmp eax, ebx
je 0x40711f
mov ecx, dword [eax]
jmp 0x407121
xor ecx, ecx
mov eax, dword [ebp - 0xa38]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0xa28]
mov edi, eax
cmp esi, ebx
je 0x407143
call fcn.00405efc
cmp edi, ebx
jge 0x407154
push edi
push str._nCannot_put_the_principal_ID:__x
call fcn.0044ba06
pop ecx
pop ecx
mov eax, dword [ebp - 0xa38]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x38]
cmp eax, ebx
jge 0x407173
push eax
push str._nCannot_put_principal_logon_type:__x
call fcn.0044ba06
pop ecx
pop ecx
mov eax, dword [ebp - 0xa38]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x48]
mov esi, eax
mov eax, dword [ebp - 0xa38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x40719e
push esi
push str._nCannot_put_principal_run_level:__x
jmp 0x407093
mov eax, dword [ebp - 0xa1c]
lea edx, [ebp - 0xa74]
push edx
mov dword [ebp - 0xa74], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jge 0x4071c6
push eax
push str._nCannot_get_settings_pointer:__x
jmp 0x407093
mov eax, dword [ebp - 0xa74]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x58]
mov esi, eax
mov eax, dword [ebp - 0xa74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x4071f1
push esi
push str._nCannot_put_setting_info:__x
jmp 0x407093
mov eax, dword [ebp - 0xa1c]
lea edx, [ebp - 0xa78]
push edx
mov dword [ebp - 0xa78], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jge 0x407219
push eax
push str._nCannot_get_trigger_collection:__x
jmp 0x407093
mov eax, dword [ebp - 0xa78]
lea edx, [ebp - 0xa6c]
push edx
push 9
mov dword [ebp - 0xa6c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0xa78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x407251
push esi
push str._nCannot_create_a_registration_trigger:__x
jmp 0x407093
mov eax, dword [ebp - 0xa6c]
lea edx, [ebp - 0xa34]
push edx
push 0x489b24
mov dword [ebp - 0xa34], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0xa6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x40728b
push esi
push str._nQueryInterface_call_failed_on_IRegistrationTrigger:__x
jmp 0x407093
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x5c]
cmp eax, ebx
jge 0x4072a9
push eax
push str._nCannot_put_trigger_ID:__x
call fcn.0044ba06
pop ecx
pop ecx
push str.Trigger1
lea edi, [ebp - 0xa28]
call fcn.00405e53
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x4072c7
mov ecx, dword [eax]
jmp 0x4072c9
xor ecx, ecx
mov eax, dword [ebp - 0xa34]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0xa28]
mov edi, eax
cmp esi, ebx
je 0x4072eb
call fcn.00405efc
cmp edi, ebx
jge 0x4072fc
push edi
push str._nCannot_put_trigger_ID:__x
call fcn.0044ba06
pop ecx
pop ecx
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
push str.PT30S
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0xa34]
lea edx, [ebp - 0xa3c]
push edx
mov dword [ebp - 0xa3c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push str.PT1H
lea edi, [ebp - 0xa28]
call fcn.00405e53
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
cmp eax, ebx
je 0x407344
mov eax, dword [eax]
jmp 0x407346
xor eax, eax
mov ecx, dword [ebp - 0xa3c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x20]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0xa28]
cmp esi, ebx
je 0x407366
call fcn.00405efc
mov eax, dword [ebp - 0xa3c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [ebp - 0xa3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x40739c
push esi
push str._nCannot_put_registration_trigger_delay:__x
jmp 0x407093
mov eax, dword [ebp - 0xa1c]
lea edx, [ebp - 0xa68]
push edx
mov dword [ebp - 0xa68], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
cmp eax, ebx
jge 0x4073c4
push eax
push str._nCannot_get_Task_collection_pointer:__x
jmp 0x407093
mov eax, dword [ebp - 0xa68]
lea edx, [ebp - 0xa70]
push edx
push ebx
mov dword [ebp - 0xa70], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov esi, eax
mov eax, dword [ebp - 0xa68]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x4073fb
push esi
push str._nCannot_create_action:__x
jmp 0x407093
mov eax, dword [ebp - 0xa70]
lea edx, [ebp - 0xa64]
push edx
push str.MbLk
mov dword [ebp - 0xa64], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0xa70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x407435
push esi
push str._nQueryInterface_call_failed_for_IExecAction:__x
jmp 0x407093
cmp dword [ebp - 0xa88], 8
mov eax, dword [ebp - 0xa9c]
jae 0x40744a
lea eax, [ebp - 0xa9c]
push eax
lea edi, [ebp - 0xa28]
call fcn.00405e53
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
cmp eax, ebx
je 0x407464
mov ecx, dword [eax]
jmp 0x407466
xor ecx, ecx
mov eax, dword [ebp - 0xa64]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0xa28]
mov edi, eax
cmp esi, ebx
je 0x407488
call fcn.00405efc
mov eax, dword [ebp - 0xa64]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jge 0x4074a3
push edi
push str._nCannot_put_the_action_executable_path:__x
jmp 0x407093
lea esi, [ebp - 0xad8]
mov dword [ebp - 0xaa8], ebx
call fcn.00405f74
mov esi, eax
lea edi, [ebp - 0xb08]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xac8]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0xac8]
lea edi, [ebp - 0xae8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xab8]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xa48], 8
mov eax, dword [ebp - 0xa5c]
lea esi, [ebp - 0xab8]
lea edi, [ebp - 0xaf8]
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 0x407513
lea eax, [ebp - 0xa5c]
push eax
lea edi, [ebp - 0xa28]
call fcn.00405e53
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
cmp eax, ebx
je 0x40752d
mov ecx, dword [eax]
jmp 0x40752f
xor ecx, ecx
lea esi, [ebp - 0xaa8]
push esi
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xb08]
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 - 0xa20]
lea esi, [ebp - 0xae8]
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 - 0xaf8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
push dword [ebp - 0xa1c]
movsd dword es:[edi], dword [esi]
push ecx
push eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x44]
mov esi, dword [ebp - 0xa28]
mov edi, eax
cmp esi, ebx
je 0x407591
call fcn.00405efc
mov dword [ebp - 0xa28], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xab8]
push eax
call esi
lea eax, [ebp - 0xac8]
push eax
call esi
lea eax, [ebp - 0xad8]
push eax
mov byte [ebp - 4], 3
call esi
cmp edi, ebx
jge 0x4075c5
push edi
push str._nError_saving_the_Task_:__x
jmp 0x407093
push str._n_Success__Task_successfully_registered.
call fcn.0044ba06
mov eax, dword [ebp - 0xa20]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xaa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xa24], ebx
jne 0x407602
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
xor ebx, ebx
lea esi, [ebp - 0xa60]
call fcn.00402d9d
push 1
lea esi, [ebp - 0xaa0]
call fcn.00402d9d
jmp 0x40778d
lea eax, [ebp - 0x218]
push eax
call fcn.0047f3e0
pop ecx
test eax, eax
je 0x407639
call fcn.0047f596
xor eax, eax
push 0x7fe
mov word [ebp - 0xa18], ax
lea eax, [ebp - 0xa16]
push ebx
push eax
call fcn.0044d300
add esp, 0xc
call fcn.0044bb82
push 0x3b
cdq
pop ecx
idiv ecx
push edx
call fcn.0044bb82
push 7
pop ecx
cdq
idiv ecx
lea eax, [ebp - 0xa18]
add edx, 0xa
push edx
push str._d:_d___interactive__every:M_T_W_Th_F_S_Su
push 0x400
push eax
call fcn.0044b8ed
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa30]
push str._s___s_
push eax
call fcn.00404880
push 0x38
lea eax, [ebp - 0xb40]
push ebx
push eax
call fcn.0044d300
mov eax, dword [ebp - 0xa30]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0xb30], eax
add esp, 0x1c
lea eax, [ebp - 0xb44]
mov edi, str.at.exe
push eax
mov dword [ebp - 0xb44], 0x3c
mov dword [ebp - 0xb34], edi
mov dword [ebp - 0xb28], ebx
mov dword [ebp - 0xb40], 0x40
call esi
call fcn.0044bb82
push 0x3b
cdq
pop ecx
idiv ecx
push edx
call fcn.0044bb82
push 3
pop ecx
cdq
idiv ecx
lea eax, [ebp - 0xa18]
add edx, 0x13
push edx
push str._d:_d___interactive__every:M_T_W_Th_F_S_Su
push 0x400
push eax
call fcn.0044b8ed
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa30]
push str._s___s_
push eax
call fcn.00404880
add esp, 0x10
mov dword [ebp - 0xb44], 0x3c
mov eax, dword [ebp - 0xa30]
mov dword [ebp - 0xb30], eax
lea eax, [ebp - 0xb44]
push eax
mov dword [ebp - 0xb34], edi
mov dword [ebp - 0xb28], ebx
mov dword [ebp - 0xb40], 0x40
call esi
mov dword [ebp - 0xaa4], eax
mov eax, dword [ebp - 0xa30]
add eax, 0xfffffff0
call fcn.004027bb
mov eax, dword [ebp - 0xaa4]
jmp 0x4077b3
mov eax, dword [ebp - 0xa30]
add eax, 0xfffffff0
call fcn.004027bb
xor eax, eax
call fcn.0044dbe2
ret