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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
mov rax, qword [0x2bc041fd0]
mov rax, qword [rax]
mov ebp, edx
mov r12d, r8d
mov qword [rsp + 0x150], rcx
mov edx, 0x28
mov dword [rsp + 0x168], r9d
lea rcx, [0x2bc063bf0]
mov r14d, r12d
call qword [rax + 0x998]
shl r14d, 0x10
movzx edx, bp
mov r8d, r12d
mov rsi, rax
mov eax, dword [rax + 8]
mov edi, dword [rsp + 0x168]
or r14d, edx
mov r9d, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x150]
mov edx, ebp
xor edi, eax
and eax, 0x187f00
and r9d, 0xffe780ff
and edi, 0x187f00
or r9d, eax
mov dword [rsi + 8], r9d
call sym.GenerateEnterLeave
test eax, eax
je 0x2bbf94d40
mov word [rsi + 0xc], bp
mov word [rsi + 0xe], r12w
lea rax, [rsp + 0x40]
mov r15d, 1
mov r13, rsi
mov qword [rsp + 0x38], rax
nop dword [rax + rax]
mov ecx, r15d
call sym.tcl9tk90.dll_Tk_GetButtonMask
mov ebx, eax
test edi, eax
je 0x2bbf94e39
test dword [rsp + 0x168], eax
je 0x2bbf94f20
mov rdx, qword [r13 + 0x18]
test rdx, rdx
je 0x2bbf95030
mov esi, dword [r13 + 8]
mov r8d, 4
mov r9, qword [rdx]
movsxd r11, dword [rdx + 0x10]
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x34], r8d
mov eax, dword [r9 + 0x90]
mov r8, qword [r9 + 0xe0]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x44], eax
mov rax, r11
shl rax, 4
mov dword [rsp + 0x48], 0
sub rax, r11
lea rax, [r8 + rax*8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
call sym.tcl9tk90.dll_TkpGetMS
mov rdx, qword [rsp + 0x28]
mov dword [rsp + 0x84], esi
mov rsi, qword [rsp + 0x38]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x7c], ebp
mov rcx, rsi
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x88], r15d
call sym.tcl9tk90.dll_TkChangeEventWindow
mov rcx, rsi
xor edx, edx
call sym.tcl9tk90.dll_Tk_QueueWindowEvent
mov r8d, dword [rsp + 0x34]
mov esi, dword [r13 + 8]
cmp r8d, 4
je 0x2bbf94f18
not ebx
and ebx, esi
mov dword [r13 + 8], ebx
mov dword [r13 + 0xc], r14d
add r15d, 1
cmp r15d, 0xa
jne 0x2bbf94d58
mov rdi, qword [r13 + 0x18]
mov rsi, r13
test rdi, rdi
je 0x2bbf950e0
mov rcx, rdi
call sym.UpdateCursor
cmp bp, word [rsi + 0xc]
je 0x2bbf95098
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x2bbf950b0
mov rdx, qword [rbx]
movsxd rcx, dword [rbx + 0x10]
mov dword [rsp + 0x40], 6
mov edi, dword [rsi + 8]
mov dword [rsp + 0x48], 0
mov eax, dword [rdx + 0x90]
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x44], eax
mov rax, rcx
shl rax, 4
sub rax, rcx
mov rcx, qword [rdx + 0xe0]
lea rax, [rcx + rax*8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
call sym.tcl9tk90.dll_TkpGetMS
mov dword [rsp + 0x84], edi
mov rdx, rbx
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x80], r12d
mov byte [rsp + 0x88], 0
call sym.tcl9tk90.dll_TkChangeEventWindow
xor edx, edx
mov rcx, rdi
call sym.tcl9tk90.dll_Tk_QueueWindowEvent
mov dword [rsi + 0xc], r14d
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
or ebx, esi
jmp 0x2bbf94e31
mov esi, dword [r13 + 8]
mov eax, esi
and eax, 0x187f00
cmp eax, ebx
je 0x2bbf95080
mov rdx, qword [r13 + 0x18]
test rdx, rdx
jne 0x2bbf94f68
mov rdx, qword [r13]
test rdx, rdx
jne 0x2bbf95070
cmp qword [rsp + 0x150], 0
je 0x2bbf94e2d
mov r8d, 5
jmp 0x2bbf95062
mov r8, qword [rdx]
movsxd r9, dword [rdx + 0x10]
mov qword [rsp + 0x28], rdx
not ebx
mov dword [rsp + 0x40], 5
mov eax, dword [r8 + 0x90]
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], eax
mov rax, r9
shl rax, 4
sub rax, r9
mov r9, qword [r8 + 0xe0]
lea rax, [r9 + rax*8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
call sym.tcl9tk90.dll_TkpGetMS
mov rdx, qword [rsp + 0x28]
mov dword [rsp + 0x84], esi
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x88], r15d
call sym.tcl9tk90.dll_TkChangeEventWindow
xor edx, edx
mov rcx, rsi
call sym.tcl9tk90.dll_Tk_QueueWindowEvent
mov r9d, dword [r13 + 8]
mov rax, qword [r13 + 0x18]
mov r8d, r12d
mov qword [r13 + 0x18], 0
mov rcx, qword [rsp + 0x150]
mov edx, ebp
and r9d, ebx
mov qword [r13 + 0x10], rax
mov dword [r13 + 8], r9d
call sym.GenerateEnterLeave
mov dword [r13 + 0xc], r14d
jmp 0x2bbf94e39
mov rdx, qword [r13]
test rdx, rdx
je 0x2bbf95160
mov esi, dword [r13 + 8]
mov r8d, 4
test esi, 0x187f00
je 0x2bbf95108
cmp qword [rsp + 0x150], 0
je 0x2bbf94d8e
mov rdx, qword [rsp + 0x150]
jmp 0x2bbf94d8e
mov r8d, 5
jmp 0x2bbf95053
mov rcx, qword [r13]
call sym.tcl9tk90.dll_TkpSetCapture
mov esi, dword [r13 + 8]
jmp 0x2bbf94f33
cmp r12w, word [rsi + 0xe]
je 0x2bbf94eff
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x2bbf94e76
mov rbx, qword [rsi]
test rbx, rbx
je 0x2bbf950c7
cmp qword [rsp + 0x150], 0
je 0x2bbf94e76
test rdi, rdi
je 0x2bbf94efb
mov rbx, rdi
jmp 0x2bbf94e76
mov rdx, qword [r13]
test rdx, rdx
je 0x2bbf95150
mov rcx, qword [rsp + 0x150]
call sym.tcl9tk90.dll_TkPositionInTree
cmp eax, 1
je 0x2bbf95150
mov rdi, qword [r13]
jmp 0x2bbf94e57
mov rcx, qword [rsp + 0x150]
call sym.tcl9tk90.dll_TkPositionInTree
mov rcx, qword [rsp + 0x150]
cmp eax, 1
je 0x2bbf95126
mov rcx, qword [r13]
mov qword [r13 + 0x18], rcx
call sym.tcl9tk90.dll_TkpSetCapture
mov rdx, qword [r13 + 0x18]
mov esi, dword [r13 + 8]
test rdx, rdx
je 0x2bbf95176
mov r8d, 4
jmp 0x2bbf94d8e
mov rdi, qword [rsp + 0x150]
jmp 0x2bbf94e57
mov rax, qword [rsp + 0x150]
mov qword [r13 + 0x18], rax
mov rcx, rax
call sym.tcl9tk90.dll_TkpSetCapture
jmp 0x2bbf9512f
mov rdx, qword [r13]
test rdx, rdx
jne 0x2bbf95199
cmp qword [rsp + 0x150], 0
je 0x2bbf94f18
mov r8d, 4
jmp 0x2bbf95062
mov r8d, 4
jmp 0x2bbf95053