Function at 0x1400a8b44
Capabilities:
Acquire debug privileges
Check for time delay via gettickcount
Create thread
Resume thread
Terminate thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 8], ecx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov r15d, ecx
lea rcx, [0x140135c60]
mov edi, r9d
mov rbp, r8
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [rsp + 0x108]
mov dword [rsp + 0x68], edi
xor edi, edi
mov al, cl
and cl, 0xf
mov dword [rsp + 0x50], r15d
and al, 0xc0
mov byte [rsp + 0x70], cl
mov byte [rsp + 0x108], cl
mov byte [rsp + 0xf8], al
mov eax, dword [rsp + 0x100]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x6c], eax
lea rax, [0x1401357b0]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea r8, [0x1400a8a44]
mov edx, 0x20000
xor ecx, ecx
mov dword [rsp + 0x20], 0x10004
mov dword [rsp + 0x74], 1
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
mov qword [rsp + 0x48], rax
cmp rax, rdi
jne 0x1400a8c1c
lea rcx, [0x140135c60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1400a901e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rsi
mov rbx, rax
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12, str.32770
mov qword [rsp + 0x40], r12
mov rsi, rdi
mov r14, rbp
mov r13, rdi
cmp r15d, 2
jne 0x1400a8c8c
lea r14, [0x140121fe8]
mov r12, rdi
mov qword [rsp + 0x40], rdi
lea r13, [0x140121fd8]
movzx eax, word [0x140136194]
mov ecx, 4
mov dword [rsp + 0xe8], edi
mov bl, dil
test cl, al
jne 0x1400a8cc4
or ax, cx
lea edx, [rcx - 2]
lea rcx, str.SeDebugPrivilege
xor r8d, r8d
mov bl, 1
mov word [0x140136194], ax
call fcn.14001c028
mov ebp, 0xa
sub ebp, 1
js 0x1400a8d0b
mov rdx, r14
mov rcx, r12
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8d0b
cmp r13, rdi
je 0x1400a8cfb
mov rdx, r13
mov rcx, r12
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8d0b
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rsi, rdi
je 0x1400a8cc9
mov ebp, 0xa
cmp rsi, rdi
jne 0x1400a8d7f
sub ebp, 1
js 0x1400a8d55
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8d7f
cmp r13, rdi
je 0x1400a8d45
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8d7f
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rsi, rdi
je 0x1400a8d15
cmp rsi, rdi
jne 0x1400a8d7f
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call fcn.1400dd080
mov rsi, rax
mov r12d, 0x5a
mov ebp, r12d
cmp rsi, rdi
jne 0x1400a8e23
mov r15, qword [rsp + 0x40]
sub ebp, 1
js 0x1400a8dd8
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8dd8
cmp r13, rdi
je 0x1400a8dc8
mov rdx, r13
mov rcx, r15
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8dd8
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rsi, rdi
je 0x1400a8d96
mov r15d, dword [rsp + 0xe0]
jmp 0x1400a8e1e
sub r12d, 1
js 0x1400a8e23
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8e23
cmp r13, rdi
je 0x1400a8e13
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
jne 0x1400a8e23
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rsi, rdi
je 0x1400a8de2
mov r13, qword [rsp + 0xf0]
cmp r15d, 2
jne 0x1400a8e42
cmp rsi, rdi
je 0x1400a8e42
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
cmp r15d, 1
jne 0x1400a8e64
cmp rsi, rdi
je 0x1400a8e64
mov rax, qword [0x140134a30]
cmp rax, rdi
je 0x1400a8e64
mov qword [rax], rsi
cmp byte [rsp + 0xf8], 0x80
je 0x1400a8f6f
cmp r15d, 1
jne 0x1400a8e81
cmp rsi, rdi
je 0x1400a8f6f
cmp r15d, 2
jne 0x1400a8ee6
mov r12d, dword [rsp + 0x100]
cmp r12d, edi
jg 0x1400a8ece
cmp bl, dil
je 0x1400a900f
mov eax, 0xfffb
lea edx, [r15 + 2]
lea rcx, str.SeDebugPrivilege
and word [0x140136194], ax
xor r8d, r8d
call fcn.14001c028
jmp 0x1400a900f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, r12d
jge 0x1400a8ed9
mov al, byte [0x14013224f]
cmp al, dil
jg 0x1400a8ec1
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
jmp 0x1400a8f6f
mov al, byte [0x14013224f]
cmp al, dil
jle 0x1400a8f38
mov r12d, dword [rsp + 0x100]
cmp r12d, edi
jle 0x1400a8f0b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, r12d
jge 0x1400a8f46
mov rcx, qword [rsp + 0x40]
mov rdx, r13
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp rax, rdi
je 0x1400a8f38
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11b, byte [0x14013224f]
cmp r11b, dil
jg 0x1400a8ef9
mov rax, qword [rsp + 0x78]
cmp rax, rdi
je 0x1400a8f57
mov ecx, dword [rax]
jmp 0x1400a8f59
movzx eax, byte [rsp + 0x108]
mov dword [rsp + 0xe8], eax
jmp 0x1400a8f60
mov ecx, edi
mov dword [rsp + 0xe8], ecx
mov rax, qword [0x140134a30]
cmp rax, rdi
je 0x1400a8f6f
mov qword [rax], rdi
mov rax, qword [rsp + 0x78]
cmp rax, rdi
je 0x1400a8f7f
mov dword [rax], 0xffffffff
cmp rsi, rdi
je 0x1400a8fc9
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
mov ebp, 0x111
lea r8d, [r9 + 2]
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, ebp
lea r8d, [r9 + 7]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rsi, qword [rsp + 0x48]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0xe8]
cmp bl, dil
je 0x1400a900d
xor r8d, r8d
mov eax, 0xfffb
lea rcx, str.SeDebugPrivilege
and word [0x140136194], ax
lea edx, [r8 + 4]
call fcn.14001c028
mov edi, esi
lea rcx, [0x140135c60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret