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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rcx
mov rsi, r9
mov rcx, rdx
mov rdi, r8
mov rbp, rdx
call fcn.140034860
movsxd rbx, eax
test eax, eax
jne 0x1400689c7
mov r9, rbp
lea rdx, str.Parameter_1_invalid.
xor r8d, r8d
mov rcx, r14
call fcn.14005f950
jmp 0x140068a75
mov ecx, ebx
sub ecx, 1
je 0x140068c02
sub ecx, 1
je 0x140068b80
sub ecx, 1
je 0x140068ae6
sub ecx, 1
je 0x1400689f5
cmp ecx, 1
je 0x1400689f5
xor eax, eax
jmp 0x140068a75
cmp word [rsi], 0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r15
je 0x140068a27
mov rcx, rsi
xor bpl, bpl
call fcn.140031da0
mulsd xmm0, qword [0x1401144a8]
cvttsd2si esi, xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
jmp 0x140068a31
mov r15d, dword [rsp + 0x30]
mov bpl, 1
xor esi, esi
mov r14d, dword gs:[0x48]
mov r12, rbx
nop dword [rax]
mov rcx, rdi
call fcn.140096ee0
mov ebx, eax
cmp r12, 4
jne 0x140068a88
test eax, eax
je 0x140068a8c
mov rcx, qword [0x140127a38]
mov rdx, rbx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001540
mov eax, 1
mov r12, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
test eax, eax
je 0x140068ac5
test bpl, bpl
jne 0x140068aa2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [r15 + rsi]
sub ecx, eax
cmp ecx, 5
jle 0x140068a54
cmp dword [0x14012af90], r14d
mov ecx, WSAAsyncSelect
jne 0x140068aba
lea edx, [rcx - 0x63]
call fcn.1400019e0
jmp 0x140068a40
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140068a40
mov rcx, qword [0x140127a38]
lea rdx, [0x1400ef8b4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d3520
jmp 0x140068a6b
movzx ecx, word [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx eax, ax
add eax, 0xffffffbf
cmp eax, 0x11
ja case.0x140068b11.67
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x68c20]
add rcx, rdx
jmp rcx
mov ebx, 0x40
jmp 0x140068b3b
mov ebx, 0x4000
jmp 0x140068b3b
mov ebx, SafeArrayAllocDescriptor
jmp 0x140068b3b
mov ebx, 0x8000
jmp 0x140068b3b
mov ebx, 0x80
jmp 0x140068b3b
mov ebx, 0x100
cmp word [rdi], 0
je 0x140068b4b
mov rcx, rdi
call fcn.140096ee0
jmp 0x140068b51
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
test eax, eax
je case.0x140068b11.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.0x140068b11.67
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x140068bb1
mov rcx, rdi
call fcn.140096ee0
mov edi, eax
test eax, eax
je case.0x140068b11.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.0x140068b11.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 [0x140127a38]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001540
mov eax, 1
jmp 0x140068a75
mov rcx, qword [0x140127a38]
lea rdx, [0x1400ef8b4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d3520
jmp 0x140068a75
cmp word [rdi], 0
je 0x140068c14
mov rcx, rdi
call fcn.140096ee0
mov edx, eax
jmp 0x140068bc5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
jmp 0x140068bc5