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

Disassembly:
push rbp
push rsi
sub rsp, 0x188
mov eax, dword [0x140112058]
mov rsi, rdx
cmp dword [0x1401156c8], eax
mov rbp, rcx
jl 0x14004a43d
mov eax, 4
add rsp, 0x188
pop rsi
pop rbp
ret
mov qword [rsp + 0x1a0], rbx
mov rbx, qword [0x1401156c0]
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x178], r12
movzx r12d, byte [0x140115543]
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x170], r13
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
mov byte [0x140115543], 1
jne 0x14004a48d
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14004a49b
mov rcx, rbx
call fcn.140001510
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x14004a4b7
test byte [rbx + 0x21], 4
je 0x14004a4b1
mov rdx, rbx
call fcn.14004e8c0
mov rdx, qword [rbx + 8]
jmp 0x14004a521
cmp al, 2
jne 0x14004a51a
mov rdx, qword [0x140119888]
test rdx, rdx
jne 0x14004a521
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14004a4f3
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rcx, [0x1400e0678]
lea rdx, [0x1400e0684]
cmovne rdx, rcx
jmp 0x14004a521
xor edx, edx
lea rcx, [0x140119870]
call fcn.140006390
mov ecx, 0xffffffff
lea rdx, [0x1400e0684]
cmp rax, rcx
cmovne rdx, qword [0x140119880]
jmp 0x14004a521
lea rdx, [0x140117b68]
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor ebx, ebx
mov r9b, 0x65
mov r8b, 1
mov word [rsp + 0x15e], bx
xor edx, edx
xor ecx, ecx
call fcn.140004e00
mov r14, qword [0x1401196f0]
mov eax, dword [0x140119798]
mov r13, qword [0x1401196f8]
mov r15d, dword [0x140119794]
mov dword [rsp + 0x1b0], eax
mov qword [0x1401196f8], r14
mov dword [0x140119798], r15d
mov qword [0x1401196f0], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401197ec], eax
mov dword [0x1401197e8], eax
mov dword [0x140119794], eax
cmp byte [rbp], 5
mov rdi, qword [rbp + 0x18]
jne 0x14004a61e
mov rax, qword [0x140112060]
mov qword [0x1401192c0], rdi
cmp byte [rax + 0x139], bl
je 0x14004a5fa
movsxd rax, dword [0x140116720]
lea rbx, [0x140000000]
mov qword [rbx + rax*8 + 0x116d70], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x140116720]
mov dword [rbx + rdx*4 + 0x116730], eax
inc edx
cmp edx, 0x190
mov eax, 0
cmovge edx, eax
mov dword [0x140116720], edx
xor r9d, r9d
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.14008f1f0
mov ebx, eax
cmp eax, 1
jne 0x14004a66d
mov rcx, rdi
call fcn.1400483e0
mov ebx, eax
jmp 0x14004a66d
lea rax, [rsp + 0x1b8]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea r8, [0x1400e0708]
mov dword [rsp + 0x20], 1
mov rdx, rdi
mov dword [rsp + 0x50], ebx
mov rcx, rdi
mov qword [rsp + 0x40], rsi
call fcn.1400a9aa0
mov ebx, eax
test eax, eax
je 0x14004a66d
mov rax, qword [rsp + 0x1b8]
neg rax
sbb ebx, ebx
add ebx, 4
mov rax, qword [0x140112060]
mov rcx, qword [rax + 0xf8]
mov eax, dword [rsp + 0x1b0]
mov qword [0x1401156d0], rcx
lea rcx, [rsp + 0x60]
mov qword [0x1401196f0], r14
mov dword [0x140119794], r15d
mov qword [0x1401196f8], r13
mov dword [0x140119798], eax
call fcn.140005040
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 [0x140115543], r12b
mov r12, qword [rsp + 0x178]
add rsp, 0x188
pop rsi
pop rbp
ret