Function at 0x14004cfa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
sub rsp, 0x188
mov eax, dword [0x140145a78]
mov rsi, rdx
cmp dword [0x14014a3b8], eax
mov rbp, rcx
jl 0x14004cfcd
mov eax, 4
add rsp, 0x188
pop rsi
pop rbp
ret
mov qword [rsp + 0x1a0], rbx
mov rbx, qword [0x14014a3b0]
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x178], r12
movzx r12d, byte [0x14014a233]
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x170], r13
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
mov byte [0x14014a233], 1
jne 0x14004d01d
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14004d02b
mov rcx, rbx
call fcn.140001510
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x14004d047
test byte [rbx + 0x21], 4
je 0x14004d041
mov rdx, rbx
call fcn.140051510
mov rdx, qword [rbx + 8]
jmp 0x14004d0b1
cmp al, 2
jne 0x14004d0aa
mov rdx, qword [0x14014e578]
test rdx, rdx
jne 0x14004d0b1
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14004d083
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rcx, [0x14010d280]
lea rdx, [0x14010d28c]
cmovne rdx, rcx
jmp 0x14004d0b1
xor edx, edx
lea rcx, [0x14014e560]
call fcn.140006370
mov ecx, 0xffffffff
lea rdx, [0x14010d28c]
cmp rax, rcx
cmovne rdx, qword [0x14014e570]
jmp 0x14004d0b1
lea rdx, [0x14014c858]
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
call fcn.1400eadcc
xor ebx, ebx
mov r9b, 0x65
mov r8b, 1
mov word [rsp + 0x15e], bx
xor edx, edx
xor ecx, ecx
call fcn.140004df0
mov r14, qword [0x14014e3e0]
mov eax, dword [0x14014e488]
mov r13, qword [0x14014e3e8]
mov r15d, dword [0x14014e484]
mov dword [rsp + 0x1b0], eax
mov qword [0x14014e3e8], r14
mov dword [0x14014e488], r15d
mov qword [0x14014e3e0], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14014e4dc], eax
mov dword [0x14014e4d8], eax
mov dword [0x14014e484], eax
cmp byte [rbp], 5
mov rdi, qword [rbp + 0x18]
jne 0x14004d1ad
mov rax, qword [0x140145a80]
mov qword [0x14014dfb0], rdi
cmp byte [rax + 0x139], bl
je 0x14004d189
movsxd rax, dword [0x14014b410]
lea rbx, [0x140000000]
mov qword [rbx + rax*8 + 0x14ba60], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x14014b410]
mov dword [rbx + rdx*4 + 0x14b420], eax
inc edx
cmp edx, 0x190
mov eax, 0
cmovge edx, eax
mov dword [0x14014b410], edx
xor r9d, r9d
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400910f0
mov ebx, eax
cmp eax, 1
jne 0x14004d1fc
mov rcx, rdi
call fcn.140049ae0
mov ebx, eax
jmp 0x14004d1fc
lea rax, [rsp + 0x1b8]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea r8, [0x14010d310]
mov dword [rsp + 0x20], 1
mov rdx, rdi
mov dword [rsp + 0x50], ebx
mov rcx, rdi
mov qword [rsp + 0x40], rsi
call fcn.1400aded0
mov ebx, eax
test eax, eax
je 0x14004d1fc
mov rax, qword [rsp + 0x1b8]
neg rax
sbb ebx, ebx
add ebx, 4
mov rax, qword [0x140145a80]
mov rcx, qword [rax + 0xf8]
mov eax, dword [rsp + 0x1b0]
mov qword [0x14014a3c0], rcx
lea rcx, [rsp + 0x60]
mov qword [0x14014e3e0], r14
mov dword [0x14014e484], r15d
mov qword [0x14014e3e8], r13
mov dword [0x14014e488], eax
call fcn.140005030
mov r15, qword [rsp + 0x160]
mov eax, ebx
mov rbx, qword [rsp + 0x1a0]
mov r14, qword [rsp + 0x168]
mov r13, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x180]
mov byte [0x14014a233], r12b
mov r12, qword [rsp + 0x178]
add rsp, 0x188
pop rsi
pop rbp
ret