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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 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.140038570
movsxd rbx, eax
test eax, eax
jne 0x14003fb17
mov r9, rbp
lea rdx, str.Parameter_1_invalid.
xor r8d, r8d
mov rcx, r14
call fcn.1400358e0
jmp 0x14003fba8
cmp ebx, 1
je 0x14003fd24
cmp ebx, 2
je 0x14003fca2
cmp ebx, 3
je 0x14003fc09
lea eax, [rbx - 4]
cmp eax, 1
ja 0x14003fc05
cmp word [rsi], 0
mov qword [rsp + 0x60], r15
je 0x14003fb6b
mov rcx, rsi
xor bpl, bpl
call fcn.140015680
mulsd xmm0, qword [0x1400ea2f8]
cvttsd2si esi, xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
jmp 0x14003fb75
mov r14d, dword [rsp + 0x30]
mov bpl, 1
xor esi, esi
mov r15, rbx
mov rcx, rdi
call fcn.1400627c0
mov ebx, eax
cmp r15, 4
jne 0x14003fbbb
test eax, eax
je 0x14003fbbf
mov rcx, qword [0x140100ee0]
mov rdx, rbx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001460
mov eax, 1
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
test eax, eax
je 0x14003fbe4
test bpl, bpl
jne 0x14003fbd5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [r14 + rsi]
sub ecx, eax
cmp ecx, 5
jle 0x14003fb8c
mov edx, 1
lea ecx, [rdx + 0x63]
call fcn.1400018c0
jmp 0x14003fb78
mov rcx, qword [0x140100ee0]
lea rdx, [0x1400cc0a4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008ac50
jmp 0x14003fba3
xor eax, eax
jmp 0x14003fba8
movzx ecx, word [rsi]
call fcn.1400afcd8
movzx eax, ax
add eax, 0xffffffbf
cmp eax, 0x11
ja case.0x14003fc33.67
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x3fd40]
add rcx, rdx
jmp rcx
mov ebx, 0x40
jmp 0x14003fc5d
mov ebx, 0x4000
jmp 0x14003fc5d
mov ebx, SafeArrayAllocDescriptor
jmp 0x14003fc5d
mov ebx, 0x8000
jmp 0x14003fc5d
mov ebx, 0x80
jmp 0x14003fc5d
mov ebx, 0x100
cmp word [rdi], 0
je 0x14003fc6d
mov rcx, rdi
call fcn.1400627c0
jmp 0x14003fc73
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
test eax, eax
je case.0x14003fc33.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.0x14003fc33.67
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x14003fcd3
mov rcx, rdi
call fcn.1400627c0
mov edi, eax
test eax, eax
je case.0x14003fc33.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.0x14003fc33.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 [0x140100ee0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001460
mov eax, 1
jmp 0x14003fba8
mov rcx, qword [0x140100ee0]
lea rdx, [0x1400cc0a4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008ac50
jmp 0x14003fba8
cmp word [rdi], 0
je 0x14003fd36
mov rcx, rdi
call fcn.1400627c0
mov edx, eax
jmp 0x14003fce7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
jmp 0x14003fce7