Function at 0x53f5e0
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, esp
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esi + 0xf8], eax
xor edi, edi
lea ebx, [esi + 0xf4]
mov dword [ebx], edi
push ebx
push 0x5894f0
push 1
push edi
push 0x592838
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebx], edi
jne 0x53f6b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esi + 0x80]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea edi, [esi + 0x98]
mov ecx, edi
push ebx
push 0x1c8
push str.UpdateSchedulerTaskImpl
push 1
call fcn.00501b30
lea ecx, [esi + 0xd4]
push 0x58904c
push str.Failed_to_get_task_service
call fcn.004fc970
mov ecx, edi
call fcn.00501b70
cmp byte [ebx + 0xb], 0
jns 0x53f684
push dword [esi + 0x80]
call fcn.004cf0d6
add esp, 4
xor ebx, ebx
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x53f6a0
mov dword [esi + 0xf4], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xf8]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esi + 0x94]
mov dword [edi], 0xffffffff
mov ecx, edi
call fcn.0053fa20
xor ebx, ebx
cmp dword [edi], 0
je 0x53f686
lea eax, [esi + 0x90]
mov dword [eax], ebx
mov ecx, dword [esi + 0xf4]
mov edx, dword [ecx]
push eax
push ebx
push ecx
call dword [edx + 0x24]
test eax, eax
jns 0x53f78e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esi + 0x80]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea edi, [esi + 0x98]
mov ecx, edi
push ebx
push 0x1d3
push str.UpdateSchedulerTaskImpl
push 1
call fcn.00501b30
lea ecx, [esi + 0xd4]
push 0x589066
push str.Failed_to_create_new_task
call fcn.004fc970
mov ecx, edi
call fcn.00501b70
cmp byte [ebx + 0xb], 0
jns 0x53f74f
push dword [esi + 0x80]
call fcn.004cf0d6
add esp, 4
xor ebx, ebx
mov eax, dword [esi + 0x90]
test eax, eax
je 0x53f76b
mov dword [esi + 0x90], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x94]
test eax, eax
je 0x53f686
mov dword [esi + 0x94], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x53f686
mov dword [esi + 8], esp
mov edi, dword [ebp + 8]
push eax
push eax
mov ebx, esp
mov eax, dword [esi + 0x90]
mov dword [ebx + 4], eax
test eax, eax
je 0x53f7ab
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebx], edi
call fcn.0053fcf0
add esp, 8
mov esp, dword [esi + 8]
test al, al
je 0x53f94f
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x80]
movdqa xmmword [eax], xmm0
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
push eax
call ebx
lea eax, [esi + 0x70]
pcmpeqd xmm0, xmm0
movdqa xmmword [eax], xmm0
push eax
call ebx
lea eax, [esi + 0x60]
pcmpeqd xmm0, xmm0
movdqa xmmword [eax], xmm0
push eax
call ebx
cmp byte [edi + 0x30], 0
je 0x53f93c
mov word [esi + 0x98], 8
push str.NT_AUTHORITYSYSTEM
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0xa0], eax
test eax, eax
je 0x53fa05
lea ebx, [esi + 0x98]
push ebx
lea eax, [esi + 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x53fa0f
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esi + 0xc], 5
mov dword [esi + 0x5c], 0
mov eax, dword [esi + 0x94]
movaps xmm0, xmmword [esi + 0x70]
movaps xmmword [esi + 0x40], xmm0
movaps xmm0, xmmword [esi + 0x80]
movaps xmmword [esi + 0x30], xmm0
movaps xmm0, xmmword [esi + 0x60]
movaps xmmword [esi + 0x20], xmm0
cmp byte [edi + 0xb], 0
jns 0x53f876
mov edi, dword [edi]
mov ecx, dword [esi + 0x90]
mov dword [esi + 8], ecx
test edi, edi
mov dword [esi + 0x10], eax
je 0x53f948
push edi
call fcn.004d00f2
add esp, 4
lea ebx, [esi + 0x98]
mov ecx, ebx
push eax
push edi
call fcn.00444f20
mov eax, dword [ebx]
mov ebx, dword [esi + 0x10]
mov ecx, dword [ebx]
sub esp, 0x48
movaps xmm0, xmmword [esi + 0x40]
movups xmmword [esp + 0x34], xmm0
movaps xmm0, xmmword [esi + 0x30]
movups xmmword [esp + 0x20], xmm0
movaps xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x10], xmm0
lea edx, [esi + 0x5c]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0xc], 6
call dword [ecx + 0x44]
mov edi, eax
lea ecx, [esi + 0x98]
call fcn.00444f60
test edi, edi
js 0x53f994
test edi, edi
setns bl
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x53f91c
mov dword [esi + 0x5c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esi + 0x60]
push eax
call edi
lea eax, [esi + 0x70]
push eax
call edi
lea eax, [esi + 0x80]
push eax
call edi
jmp 0x53f751
mov dword [esi + 0xc], 3
jmp 0x53f846
xor eax, eax
jmp 0x53f893
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esi + 0x80]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea edi, [esi + 0x98]
mov ecx, edi
push ebx
push 0x1d8
push str.UpdateSchedulerTaskImpl
push 1
call fcn.00501b30
lea ecx, [esi + 0xd4]
push 0x589084
push str.Failed_to_set_task_properties
jmp 0x53f72f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esi + 0x14]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea ecx, [esi + 0x98]
push ebx
push 0x1ea
push str.UpdateSchedulerTaskImpl
push 1
call fcn.00501b30
lea ecx, [esi + 0xd4]
push 0x5890ca
push str.Failed_to_register_task__hr
call fcn.004fc970
lea ecx, [esi + 0xa0]
push edi
call fcn.005404f0
lea ecx, [esi + 0x98]
call fcn.00501b70
cmp byte [ebx + 0xb], 0
jns 0x53f903
push dword [esi + 0x14]
call fcn.004cf0d6
add esp, 4
jmp 0x53f903
push 0x8007000e
call fcn.004d2440
push eax
call fcn.004d2440
int3