Function at 0x14005ab20
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
test rdx, rdx
je 0x14005adce
cmp word [rdx], 0
je 0x14005adce
lea rdx, str.Exist
mov rcx, rbx
call fcn.1400d0944
test eax, eax
jne 0x14005ab79
cmp word [rdi], ax
je 0x14005ab6f
mov rcx, rdi
call fcn.140082a80
mov edx, eax
jmp 0x14005abd5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
jmp 0x14005abd5
lea rdx, str.Close
mov rcx, rbx
call fcn.1400d0944
test eax, eax
jne 0x14005ac22
mov rcx, rdi
call fcn.140082a80
mov edi, eax
test eax, eax
je case.0x14005ac5f.67
mov r8d, eax
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je case.0x14005ac5f.67
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
test ebx, ebx
cmovne esi, edi
mov edx, esi
mov rcx, qword [0x140134210]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400014b0
mov eax, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x140134210]
lea rdx, [0x1400fb96c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b0830
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Priority
mov rcx, rbx
call fcn.1400d0944
test eax, eax
jne 0x14005acd5
movzx ecx, word [rsi]
call fcn.1400dd2e8
movzx eax, ax
add eax, 0xffffffbf
cmp eax, 0x11
ja case.0x14005ac5f.67
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x5adf0]
add rcx, rdx
jmp rcx
mov ebx, 0x40
jmp 0x14005ac89
mov ebx, 0x4000
jmp 0x14005ac89
mov ebx, SafeArrayAllocDescriptor
jmp 0x14005ac89
mov ebx, 0x8000
jmp 0x14005ac89
mov ebx, 0x80
jmp 0x14005ac89
mov ebx, 0x100
cmp word [rdi], 0
je 0x14005ac99
mov rcx, rdi
call fcn.140082a80
jmp 0x14005ac9f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
test eax, eax
je case.0x14005ac5f.67
mov r8d, eax
xor edx, edx
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je case.0x14005ac5f.67
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x14005abc1
lea rdx, str.Wait
mov rcx, rbx
call fcn.1400d0944
test eax, eax
jne 0x14005aced
lea ebp, [rax + 4]
jmp 0x14005ad07
lea rdx, str.WaitClose
mov rcx, rbx
call fcn.1400d0944
test eax, eax
jne 0x14005adce
lea ebp, [rax + 5]
cmp word [rsi], 0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r15
je 0x14005ad39
mov rcx, rsi
xor r14b, r14b
call fcn.140023cb0
mulsd xmm0, qword [0x14011c6c0]
cvttsd2si esi, xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
jmp 0x14005ad43
mov r15d, dword [rsp + 0x58]
mov r14b, 1
xor esi, esi
mov rcx, rdi
call fcn.140082a80
mov ebx, eax
cmp ebp, 4
jne 0x14005ad84
test eax, eax
je 0x14005ad88
mov rcx, qword [0x140134210]
mov rdx, rbx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400014b0
mov eax, 1
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
test eax, eax
je 0x14005adad
test r14b, r14b
jne 0x14005ad9e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [r15 + rsi]
sub ecx, eax
cmp ecx, 4
jle 0x14005ad56
mov edx, 1
lea ecx, [rdx + 0x63]
call fcn.140001940
jmp 0x14005ad43
mov rcx, qword [0x140134210]
lea rdx, [0x1400fb96c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14005ad6d
mov r9, rbx
lea rdx, str.Parameter_1_invalid.
xor r8d, r8d
mov rcx, rbp
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
jmp fcn.140051140