Function at 0x14006d760
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.140034d80
movsxd rbx, eax
test eax, eax
jne 0x14006d7a7
mov r9, rbp
lea rdx, str.Parameter_1_invalid.
xor r8d, r8d
mov rcx, r14
call fcn.140062de0
jmp 0x14006d855
mov ecx, ebx
sub ecx, 1
je 0x14006d9e1
sub ecx, 1
je 0x14006d95f
sub ecx, 1
je 0x14006d8c6
sub ecx, 1
je 0x14006d7d5
cmp ecx, 1
je 0x14006d7d5
xor eax, eax
jmp 0x14006d855
cmp word [rsi], 0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r15
je 0x14006d807
mov rcx, rsi
xor bpl, bpl
call fcn.1400320e0
mulsd xmm0, qword [0x1401467d8]
cvttsd2si esi, xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
jmp 0x14006d811
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.140099840
mov ebx, eax
cmp r12, 4
jne 0x14006d868
test eax, eax
je 0x14006d86c
mov rcx, qword [0x140160738]
mov rdx, rbx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001570
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 0x14006d8a5
test bpl, bpl
jne 0x14006d882
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [r15 + rsi]
sub ecx, eax
cmp ecx, 5
jle 0x14006d834
cmp dword [0x140163c90], r14d
mov ecx, WSAAsyncSelect
jne 0x14006d89a
lea edx, [rcx - 0x63]
call fcn.140001a10
jmp 0x14006d820
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14006d820
mov rcx, qword [0x140160738]
lea rdx, [0x14012054c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d5e90
jmp 0x14006d84b
movzx ecx, word [rsi]
call fcn.140102c88
movzx eax, ax
add eax, 0xffffffbf
cmp eax, 0x11
ja case.0x14006d8f0.67
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x6da00]
add rcx, rdx
jmp rcx
mov ebx, 0x40
jmp 0x14006d91a
mov ebx, 0x4000
jmp 0x14006d91a
mov ebx, SafeArrayAllocDescriptor
jmp 0x14006d91a
mov ebx, 0x8000
jmp 0x14006d91a
mov ebx, 0x80
jmp 0x14006d91a
mov ebx, 0x100
cmp word [rdi], 0
je 0x14006d92a
mov rcx, rdi
call fcn.140099840
jmp 0x14006d930
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
test eax, eax
je case.0x14006d8f0.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.0x14006d8f0.67
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x14006d990
mov rcx, rdi
call fcn.140099840
mov edi, eax
test eax, eax
je case.0x14006d8f0.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.0x14006d8f0.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 [0x140160738]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001570
mov eax, 1
jmp 0x14006d855
mov rcx, qword [0x140160738]
lea rdx, [0x14012054c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400d5e90
jmp 0x14006d855
cmp word [rdi], 0
je 0x14006d9f3
mov rcx, rdi
call fcn.140099840
mov edx, eax
jmp 0x14006d9a4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
jmp 0x14006d9a4