Function at 0x7ff6763e1a70
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x7ff6763ea008]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
call fcn.7ff6763e1f50
test eax, eax
je 0x7ff6763e1e43
mov eax, dword [rbx]
test eax, eax
je 0x7ff6763e1ad6
mov rdx, qword [rbx + 0x28]
lea rcx, str.___Current_user_is:__ls_n
call fcn.7ff6763e1010
mov eax, dword [rbx]
test eax, eax
je 0x7ff6763e1ad6
mov rdx, qword [rbx + 0x30]
lea rcx, str.___Current_executable_is:__ls_n
call fcn.7ff6763e1010
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 1
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbx + 0x40], rax
lea rcx, [rbx + 0x40]
test rax, rax
jne 0x7ff6763e1b11
lea rbx, str.____OpenThread___failed__Err:__d__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
jmp 0x7ff6763e1e3c
mov eax, dword [rbx]
xorps xmm0, xmm0
xor edi, edi
mov dword [rbp + 0xf], eax
mov qword [rbp + 0x17], rcx
xor eax, eax
lea rcx, [rbp + 0x27]
mov dword [rbp + 0x13], edi
movups xmmword [rbp + 0x27], xmm0
lea edx, [rdi + 1]
mov qword [rbp + 0x47], rax
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
lea edx, [rdi + 1]
xor r8d, r8d
lea rcx, [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea rax, [rbp + 0x27]
mov qword [rbp - 9], 0x18
lea rsi, [rbx + 0x10]
mov qword [rbp - 1], rax
mov qword [rsp + 0x28], rsi
lea r9, [rbp + 0xf]
lea r8, [0x7ff6763e3ae0]
mov dword [rsp + 0x20], 4
xor edx, edx
mov qword [rbp + 7], 1
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x7ff6763e1bae
lea rbx, str.____CreateThread___failed__Err:__d__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
jmp 0x7ff6763e1e3c
mov edx, dword [rsi]
lea rcx, str.___Started_dummy_thread_with_id__i_n
call fcn.7ff6763e1010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
xor eax, eax
lea rcx, [rbp + 0x27]
xorps xmm0, xmm0
mov qword [rbp + 0x47], rax
movups xmmword [rbp + 0x27], xmm0
lea edx, [rax + 1]
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
lea rcx, [rbp + 0x27]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor r8d, r8d
mov qword [rbp - 9], 0x18
lea rax, [rbp + 0x27]
mov qword [rbp + 7], 1
lea r9, str.FullPowersTaskStarted
mov qword [rbp - 1], rax
lea rcx, [rbp - 9]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x7ff6763e1c54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateEvent___failed__Err:__d__n
call fcn.7ff6763e1010
jmp 0x7ff6763e1e1c
xor eax, eax
lea rcx, [rbp + 0x27]
xorps xmm0, xmm0
mov qword [rbp + 0x47], rax
movups xmmword [rbp + 0x27], xmm0
lea edx, [rax + 1]
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
lea rcx, [rbp + 0x27]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor r8d, r8d
mov qword [rbp - 9], 0x18
lea rax, [rbp + 0x27]
mov qword [rbp + 7], 1
lea r9, str.FullPowersTaskCompleted
mov qword [rbp - 1], rax
lea rcx, [rbp - 9]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x7ff6763e1cd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateEvent___failed__Err:__d__n
call fcn.7ff6763e1010
jmp 0x7ff6763e1e1c
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x7ff6763e1e43
mov r9d, dword [rsi]
lea r8, str._t__i
mov edx, 0x20
mov rcx, rax
call fcn.7ff6763e16a0
mov rcx, qword [rbx + 0x28]
mov r9, rdi
mov r8, qword [rbx + 0x30]
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.7ff6763e2680
test eax, eax
jne 0x7ff6763e1d67
lea rcx, str.____Failed_to_create_custom_scheduled_task._n
call fcn.7ff6763e1010
mov rcx, qword [rbx + 0x38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x7ff6763e1d59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____TerminateThread___failed__Err:__d__n
call fcn.7ff6763e1010
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x7ff6763e1e43
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbx + 0x18]
call fcn.7ff6763e3140
test eax, eax
jne 0x7ff6763e1dbe
lea rcx, str.____Failed_to_start_scheduled_task._n
call fcn.7ff6763e1010
mov rcx, qword [rbx + 0x38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x7ff6763e1db0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____TerminateThread___failed__Err:__d__n
call fcn.7ff6763e1010
mov rdx, qword [rbx + 0x18]
call fcn.7ff6763e3700
jmp 0x7ff6763e1e43
lea rcx, str.___Successfully_created_scheduled_task._n
call fcn.7ff6763e1010
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbx + 0x18]
call fcn.7ff6763e3700
test eax, eax
jne 0x7ff6763e1dee
lea rcx, str.____Failed_to_delete_scheduled_task._n
call fcn.7ff6763e1010
cmp dword [rbx], 0
je 0x7ff6763e1dff
lea rcx, str.___Successfully_deleted_scheduled_task._n
call fcn.7ff6763e1010
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x7ff6763e1e6a
lea rcx, str.____Couldnt_detect_tasks_process_start._n
call fcn.7ff6763e1010
mov rcx, qword [rbx + 0x38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x7ff6763e1e43
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____TerminateThread___failed__Err:__d__n
mov edx, eax
call fcn.7ff6763e1010
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.7ff6763e3c80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x7ff6763e1e84
lea rcx, str.____The_tasks_process_didnt_complete_as_expected._n
jmp 0x7ff6763e1e17
cmp dword [rbx], 0
je 0x7ff6763e1e95
lea rcx, str.___The_tasks_process_completed_successfully__resuming_dummy_thread._n
call fcn.7ff6763e1010
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rbp + 0x1f], eax
cmp eax, 0xffffffff
jne 0x7ff6763e1ebd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ResumeThread___failed__Err:__d__n
call fcn.7ff6763e1010
jmp 0x7ff6763e1f1d
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 0x1f], eax
test eax, eax
je 0x7ff6763e1edf
lea rcx, str.____Dummy_thread_failed_or_timed_out._n
call fcn.7ff6763e1010
jmp 0x7ff6763e1f1d
mov rcx, qword [rbx + 0x38]
lea rdx, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x7ff6763e1eff
lea rcx, str.____GetExitCodeThread___failed._n
call fcn.7ff6763e1010
jmp 0x7ff6763e1f1d
mov eax, dword [rbp + 0x1f]
test eax, eax
jne 0x7ff6763e1f1d
lea rcx, str.____Dummy_thread_failed._n
call fcn.7ff6763e1010
mov eax, dword [rbp + 0x1f]
test eax, eax
je 0x7ff6763e1e43
cmp dword [rbx], 0
je 0x7ff6763e1f2e
lea rcx, str.___The_dummy_thread_completed_successfully._n
call fcn.7ff6763e1010
mov rcx, rbx
call fcn.7ff6763e21f0
test eax, eax
je 0x7ff6763e1e43
mov eax, 1
jmp 0x7ff6763e1e45