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

Disassembly:
push rbx
push rbp
sub rsp, 0x38
mov r10, qword [0x14046a5e8]
mov ebx, edx
cmp r10, qword [0x14046a5f8]
mov ebp, ecx
jne 0x14032880f
cmp dword [0x14045b404], 0
jne 0x140328bf8
xor ecx, ecx
call fcn.140122f90
mov ecx, 0x40
add rsp, 0x38
pop rbp
pop rbx
jmp fcn.14018aca0
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x14046a618]
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x140328840
nop dword [rax]
cmp qword [rax + 0x38], 0
je 0x14032889d
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140328830
mov qword [rsp + 0x20], r15
xor r15d, r15d
test edx, edx
je 0x140328b88
mov r11, qword [0x14046a5f0]
mov qword [rsp + 0x50], rsi
mov rsi, qword [0x14046a608]
mov qword [rsp + 0x28], r14
mov r14, qword [0x140469c60]
nop
mov rax, qword [rdi + 0x30]
dec ebx
test ebp, ebp
je 0x1403289a8
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x30]
mov r8, qword [rdx + 0x38]
mov rcx, qword [r8 + 0x10]
mov rax, qword [r8 + 0x18]
test rcx, rcx
je 0x1403288cd
mov qword [rcx + 0x18], rax
jmp 0x1403288db
lea rcx, str.E443:_Cannot_rotate_when_another_window_is_split
call qword [case.0x1400407ae.0]
mov rbx, rax
call fcn.140182a30
test eax, eax
jne 0x140328bf3
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop rbp
pop rbx
jmp fcn.140182400
mov qword [r11 + 0x20], rax
mov r10, rax
mov qword [0x14046a5e8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 0x10]
test rcx, rcx
je 0x1403288ee
mov qword [rcx + 0x10], rax
jmp 0x1403288f9
mov qword [r11 + 0x28], rax
mov qword [0x14046a5f8], rax
mov rcx, qword [rdx + 0x28]
mov rax, qword [rdx + 0x20]
test rcx, rcx
je 0x14032890c
mov qword [rcx + 0x20], rax
jmp 0x140328914
mov rcx, qword [rdx + 0x18]
mov qword [rcx + 0x30], rax
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x140328925
mov rax, qword [rdx + 0x28]
mov qword [rcx + 0x28], rax
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x14032893c
nop
mov rdx, rax
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140328930
mov rcx, qword [rdx + 0x38]
test rcx, rcx
jne 0x14032895c
mov rax, r10
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rax
mov r10, r8
mov qword [0x14046a5e8], r8
jmp 0x14032896c
mov rax, qword [rcx + 0x18]
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x10], rcx
mov qword [rcx + 0x18], r8
test rax, rax
jne 0x14032897a
mov qword [0x14046a5f8], r8
jmp 0x14032897e
mov qword [rax + 0x10], r8
mov rcx, qword [r8 + 0x30]
mov rax, qword [rdx + 0x20]
mov qword [rcx + 0x20], rax
mov qword [rdx + 0x20], rcx
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x14032899b
mov qword [rax + 0x28], rcx
mov qword [rcx + 0x28], rdx
mov r9, qword [rdx + 0x38]
jmp 0x140328aa9
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1403289bd
mov rax, rcx
mov rcx, qword [rcx + 0x20]
test rcx, rcx
jne 0x1403289b1
mov r8, qword [rax + 0x38]
mov r9, qword [r8 + 0x10]
mov rcx, qword [r8 + 0x18]
test r9, r9
je 0x1403289d4
mov qword [r9 + 0x18], rcx
jmp 0x1403289e2
mov qword [r11 + 0x20], rcx
mov r10, rcx
mov qword [0x14046a5e8], rcx
mov rdx, qword [r8 + 0x18]
mov rcx, qword [r8 + 0x10]
test rdx, rdx
je 0x1403289f5
mov qword [rdx + 0x10], rcx
jmp 0x140328a00
mov qword [r11 + 0x28], rcx
mov qword [0x14046a5f8], rcx
mov rcx, qword [rax + 0x28]
mov rdx, qword [rax + 0x20]
test rcx, rcx
je 0x140328a13
mov qword [rcx + 0x20], rdx
jmp 0x140328a1b
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x30], rdx
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140328a2c
mov rcx, qword [rax + 0x28]
mov qword [rdx + 0x28], rcx
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rdx + 0x38]
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x140328a58
mov rcx, r10
mov qword [r8 + 0x10], rdx
mov qword [r8 + 0x18], rcx
mov r10, r8
mov qword [0x14046a5e8], r8
jmp 0x140328a68
mov rcx, qword [rdx + 0x18]
mov qword [r8 + 0x18], rcx
mov qword [r8 + 0x10], rdx
mov qword [rdx + 0x18], r8
test rcx, rcx
jne 0x140328a76
mov qword [0x14046a5f8], r8
jmp 0x140328a7a
mov qword [rcx + 0x10], r8
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x30]
mov qword [rax + 0x20], rdx
mov rcx, qword [rdx + 0x28]
mov qword [rax + 0x28], rcx
mov qword [rdx + 0x28], rax
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140328aa1
mov qword [rcx + 0x20], rax
jmp 0x140328aa9
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x30], rax
mov edx, dword [r9 + 0x12c]
mov eax, dword [r8 + 0x12c]
mov dword [r9 + 0x12c], eax
mov ecx, dword [r8 + 0x3a8]
add ecx, dword [r8 + 0x120]
mov rax, qword [r8 + 0x30]
add ecx, edx
mov dword [r8 + 0x12c], edx
mov dword [rax + 0xc], ecx
mov rax, qword [r9 + 0x30]
mov ecx, dword [r9 + 0x3a8]
add ecx, dword [r9 + 0x120]
add ecx, dword [r9 + 0x12c]
mov dword [rax + 0xc], ecx
mov ecx, dword [r9 + 0x138]
mov eax, dword [r8 + 0x138]
mov dword [r9 + 0x138], eax
mov rax, qword [r8 + 0x30]
mov dword [r8 + 0x138], ecx
add ecx, dword [r8 + 0x134]
mov dword [rax + 4], ecx
mov ecx, dword [r9 + 0x134]
add ecx, dword [r9 + 0x138]
mov rax, qword [r9 + 0x30]
mov dword [rax + 4], ecx
mov ecx, dword [0x140468fd8]
test ecx, ecx
je 0x140328b58
cmp ecx, 1
je 0x140328b4d
mov eax, 1
jmp 0x140328b5b
mov eax, r15d
cmp qword [rsi], rax
setne al
jmp 0x140328b5b
mov eax, r15d
lea r8, [rsp + 0x60]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x60], r15d
mov rcx, r14
call fcn.1403245d0
test ebx, ebx
jne 0x140328870
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
mov ecx, dword [0x14045b4f4]
mov eax, dword [0x14045b4d4]
test r10, r10
je 0x140328bdb
mov edx, dword [0x14045b548]
nop
test edx, edx
jne 0x140328bcc
test ecx, ecx
jne 0x140328bcc
cmp dword [r10 + 0x33c], 0x28
jge 0x140328bcc
mov dword [r10 + 0x33c], 0x28
mov dword [r10 + 0x300], r15d
cmp eax, 0x28
jge 0x140328bcc
lea eax, [rdx + 0x28]
mov r10, qword [r10 + 0x18]
test r10, r10
jne 0x140328ba0
mov dword [0x14045b4d4], eax
mov r15, qword [rsp + 0x20]
test ecx, ecx
jne 0x140328bf3
cmp eax, 0x28
jge 0x140328bf3
mov dword [0x14045b4d4], 0x28
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop rbp
pop rbx
ret