Function at 0x2bbf57db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x118
movups xmmword [rsp + 0xf0], xmm6
movups xmmword [rsp + 0x100], xmm7
mov rbp, qword [0x2bc041fd0]
mov rax, qword [rbp]
movsxd rbx, r8d
mov qword [rsp + 0x40], rcx
mov rdi, rdx
mov rsi, r9
cmp ebx, 1
jle 0x2bbf57ed0
xor edx, edx
mov rcx, qword [r9 + 8]
call qword [rax + 0x1468]
movzx eax, byte [rax]
cmp al, 0x2e
sete dl
cmp al, 0x78
sete cl
or dl, cl
jne 0x2bbf57e90
cmp al, 0x5e
je 0x2bbf57e90
mov rax, qword [rbp]
cmp ebx, 2
je 0x2bbf57ed0
lea r12, [rsp + 0xbc]
lea r15, [0x2bc01a3ad]
mov rdx, qword [rsi + 8]
xor ecx, ecx
mov qword [rsp + 0x30], r12
mov r9d, 8
lea r8, [0x2bc01ac60]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], r15
call qword [rax + 0x990]
test eax, eax
jne 0x2bbf57f20
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x48], eax
cmp eax, 0xc
ja case.default.0x2bbf57e87
lea rdx, [0x2bc01aa84]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
sub ebx, 1
mov rdx, qword [rsp + 0x40]
lea r9, [rsi + 8]
mov rcx, rdi
movups xmm6, xmmword [rsp + 0xf0]
movups xmm7, xmmword [rsp + 0x100]
movsxd r8, ebx
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.ConfigureContent
mov rax, qword [rbp]
mov r8, rsi
mov edx, 1
mov rcx, rdi
lea r9, [0x2bc01a7c4]
call qword [rax + 0x850]
mov dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x48]
movups xmm6, xmmword [rsp + 0xf0]
movups xmm7, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rbp]
mov rdx, qword [rsi + 8]
mov r9d, 8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r15
lea r8, [0x2bc01abe0]
mov rcx, rdi
mov dword [rsp + 0x28], 8
call qword [rax + 0x990]
jmp 0x2bbf57eec
mov rax, qword [rbp]
mov rcx, qword [rsi + 8]
xor edx, edx
mov r13d, 2
lea r14, [rsp + 0xe8]
pxor xmm6, xmm6
call qword [rax + 0x1468]
mov r15, qword [rsp + 0x40]
movdqu xmm7, xmmword [0x2bc01acf0]
mov qword [rsp + 0x40], rdi
movzx r12d, byte [rax]
mov byte [rsp + 0x48], r12b
jmp 0x2bbf58025
test rcx, rcx
je 0x2bbf57fc1
mov rdx, qword [rcx]
lea r8, [rdx - 1]
mov qword [rcx], r8
cmp rdx, 1
jle 0x2bbf58500
mov qword [rdi + 0x28], 0
mov rax, qword [rax]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rax + 0x58]
mov rax, qword [rbp]
call qword [rax + 0x1d0]
mov qword [rdi + 0x28], rax
add qword [rax], 1
mov rcx, qword [rsp + 0xe8]
xor edx, edx
xor r8d, r8d
call sym.tcl9tk90.dll_Tk_ManageGeometry
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
mov rdx, qword [rax]
cmp rdx, qword [rcx + 0x40]
je 0x2bbf58008
call sym.tcl9tk90.dll_Tk_UnmaintainGeometry
mov rcx, rdi
call sym.Unlink
mov rcx, qword [rdi]
call sym.tcl9tk90.dll_Tk_UnmapWindow
add r13, 1
cmp rbx, r13
jle 0x2bbf58930
mov r8, qword [rsi + r13*8]
mov rcx, qword [rsp + 0x40]
mov r9, r14
mov rdx, r15
call sym.tcl9tk90.dll_TkGetWindowFromObj
mov r12d, eax
test eax, eax
jne 0x2bbf57eec
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
mov rdi, rax
mov rax, qword [rax + 8]
test rax, rax
je 0x2bbf58018
cmp byte [rsp + 0x48], 0x66
mov rcx, qword [rdi + 0x28]
jne 0x2bbf57fa0
mov qword [rdi + 0x50], 0
movups xmmword [rdi + 0x30], xmm7
movups xmmword [rdi + 0x40], xmm6
test rcx, rcx
je 0x2bbf580a3
mov rax, qword [rcx]
lea rdx, [rax - 1]
mov qword [rcx], rdx
cmp rax, 1
jg 0x2bbf5809b
mov rax, qword [rbp]
call qword [rax + 0x100]
mov qword [rdi + 0x28], 0
mov eax, dword [r15 + 0x80]
add eax, eax
mov dword [rdi + 0x5c], eax
test byte [rdi + 0x68], 1
je 0x2bbf580c9
mov rax, qword [rbp]
mov rdx, rdi
lea rcx, [sym.ArrangeGrid]
call qword [rax + 0x290]
mov dword [rdi + 0x68], 0
mov dword [rdi + 0x58], 0
jmp 0x2bbf57fe1
movsxd r13, ebx
cmp ebx, 6
jle 0x2bbf580f1
and ebx, 1
jne 0x2bbf58770
cmp r13, 3
je 0x2bbf58770
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xd0]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
jne 0x2bbf57eec
mov rax, qword [rbp]
mov rcx, qword [rsi + 0x18]
call qword [rax + 0xf8]
lea r9, [rsp + 0xe8]
mov rcx, rdi
lea r8, [rsp + 0xe0]
mov r11, rax
add qword [rax], 1
mov rax, qword [rbp]
mov qword [rsp + 0x50], r11
mov rdx, r11
call qword [rax + 0x14b8]
mov r11, qword [rsp + 0x50]
test eax, eax
mov dword [rsp + 0x48], eax
jne 0x2bbf581f8
mov rax, qword [rbp]
xor edx, edx
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x50], r11
call qword [rax + 0x1468]
mov r11, qword [rsp + 0x50]
cmp byte [rax], 0x63
je 0x2bbf591a7
cmp qword [rsp + 0xe0], 0
jne 0x2bbf58e80
mov rax, qword [rbp]
lea rdx, [0x2bc01a7bf]
mov rbx, qword [rax + 0x768]
mov rax, qword [rax + 0x1220]
mov qword [rsp + 0x40], r11
lea rcx, str.no__s_indices_specified
call rax
mov rcx, rdi
mov rdx, rax
call rbx
mov rax, qword [rbp]
lea r9, str.NO_INDEX
mov qword [rsp + 0x20], 0
lea r8, str.GRID
lea rdx, [0x2bc01a225]
mov rcx, rdi
call qword [rax + 0x730]
mov r11, qword [rsp + 0x40]
mov rax, qword [r11]
lea rdx, [rax - 1]
mov qword [r11], rdx
cmp rax, 1
jg 0x2bbf57eec
mov rax, qword [rbp]
mov rcx, r11
call qword [rax + 0x100]
jmp 0x2bbf57eec
test bl, 1
je 0x2bbf58791
cmp ebx, 3
je 0x2bbf59481
lea eax, [rbx - 4]
mov qword [rsp + 0x58], rsi
lea r12, [rsi + 0x18]
mov ebx, 0xffffffff
shr eax, 1
lea rcx, [rsp + 0xd8]
mov r13d, 0xffffffff
shl rax, 4
mov qword [rsp + 0x48], rcx
lea r14, str._column
lea rax, [rsi + rax + 0x28]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xe0]
mov rsi, rax
jmp 0x2bbf582a2
mov eax, dword [rsp + 0xe0]
test eax, eax
mov rax, qword [rsp + 0x50]
cmove ebx, edx
cmovne r13d, edx
add r12, 0x10
cmp r12, rax
je 0x2bbf58d79
mov rax, qword [rbp]
mov rdx, qword [r12]
mov r8, r14
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], r15
mov r9d, 8
mov rcx, rdi
mov dword [rsp + 0x28], 8
call qword [rax + 0x990]
test eax, eax
jne 0x2bbf57eec
mov rax, qword [rbp]
mov rdx, qword [r12 + 8]
mov rcx, rdi
mov r8, qword [rsp + 0x48]
call qword [rax + 0x140]
test eax, eax
jne 0x2bbf57eec
mov edx, dword [rsp + 0xd8]
test edx, edx
jns 0x2bbf58280
mov rax, qword [rbp]
lea rcx, str._d_is_an_invalid_value:_should_NOT_be___0
mov rbx, qword [rax + 0x768]
call qword [rax + 0x1220]
mov rcx, rdi
mov rdx, rax
call rbx
mov rax, qword [rbp]
lea r9, str.NEG_INDEX
mov rcx, rdi
mov qword [rsp + 0x20], 0
lea r8, str.GRID
lea rdx, [0x2bc01a225]
call qword [rax + 0x730]
jmp 0x2bbf57eec
movsxd r13, ebx
and ebx, 0xfffffffb
cmp ebx, 3
je 0x2bbf58578
cmp r13, 5
je 0x2bbf58578
mov rax, qword [rbp]
mov r8, rsi
mov edx, 2
mov rcx, rdi
lea r9, str.window__column_row__column_row__
call qword [rax + 0x850]
jmp 0x2bbf57ef4
mov rdx, qword [rsp + 0x40]
sub ebx, 2
lea r9, [rsi + 0x10]
mov rcx, rdi
movsxd r8, ebx
call sym.ConfigureContent
mov dword [rsp + 0x48], eax
jmp 0x2bbf57ef4
cmp ebx, 3
je 0x2bbf58ae0
mov rax, qword [rbp]
mov r8, rsi
mov edx, 2
mov rcx, rdi
lea r9, [0x2bc01a811]
call qword [rax + 0x850]
jmp 0x2bbf57eec
cmp ebx, 5
je 0x2bbf5893a
mov rax, qword [rbp]
mov r8, rsi
mov edx, 2
mov rcx, rdi
lea r9, str.window_x_y
call qword [rax + 0x850]
jmp 0x2bbf57eec
cmp ebx, 3
jne 0x2bbf583b9
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xe8]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x2bbf57eec
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
cmp qword [rax + 0x20], 0
mov rbx, rax
je 0x2bbf59284
mov rcx, rax
call sym.SetGridSize
mov rcx, qword [rbx + 0x20]
mov rax, qword [rbp]
mov edx, dword [rcx + 0x1c]
mov rbx, qword [rax + 0x768]
mov eax, dword [rcx + 0x20]
cmp eax, edx
cmovl eax, edx
movsxd rdx, eax
mov eax, dword [rcx + 0x14]
mov ecx, dword [rcx + 0x10]
cmp eax, ecx
cmovl eax, ecx
movsxd rcx, eax
call sym.NewPairObj
mov rcx, rdi
mov rdx, rax
call rbx
jmp 0x2bbf57ef4
movsxd r13, ebx
cmp ebx, 4
jle 0x2bbf58868
mov rax, qword [rbp]
mov r8, rsi
mov edx, 2
mov rcx, rdi
lea r9, [0x2bc01a86b]
call qword [rax + 0x850]
jmp 0x2bbf57eec
movsxd r13, ebx
cmp ebx, 4
jle 0x2bbf587b8
mov rax, qword [rbp]
mov r8, rsi
mov edx, 2
mov rcx, rdi
lea r9, str.window__anchor_
call qword [rax + 0x850]
jmp 0x2bbf57eec
mov rax, qword [rbp]
call qword [rax + 0x100]
mov rax, qword [rdi + 8]
mov qword [rdi + 0x28], 0
test rax, rax
je 0x2bbf57fe1
jmp 0x2bbf57fc1
mov rax, qword [rbp]
mov rdx, 0xffffffffffffffff
lea rcx, str.internal_error_in_grid
mov rbx, qword [rax + 0x768]
call qword [rax + 0x1d0]
mov rcx, rdi
mov rdx, rax
call rbx
mov rax, qword [rbp]
xor r9d, r9d
lea r8, str.API_ABUSE
lea rdx, [0x2bc01a225]
mov rcx, rdi
call qword [rax + 0x730]
jmp 0x2bbf57eec
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xe8]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
jne 0x2bbf57ef4
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
mov r14, rax
cmp r13, 4
jle 0x2bbf58617
mov rax, qword [rbp]
mov rdx, qword [rsi + 0x18]
lea r8, [rsp + 0xd0]
mov rcx, rdi
call qword [rax + 0x140]
test eax, eax
jne 0x2bbf57ef4
mov rax, qword [rbp]
mov rdx, qword [rsi + 0x20]
lea r8, [rsp + 0xcc]
mov rcx, rdi
call qword [rax + 0x140]
test eax, eax
jne 0x2bbf57ef4
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0xd8], eax
cmp r13, 7
je 0x2bbf5939b
mov rbx, qword [r14 + 0x20]
test rbx, rbx
je 0x2bbf58e49
mov rcx, r14
call sym.SetGridSize
mov edx, dword [rbx + 0x10]
mov eax, dword [rbx + 0x14]
mov r10d, dword [rbx + 0x20]
cmp eax, edx
cmovl eax, edx
mov edx, dword [rbx + 0x1c]
cmp r10d, edx
cmovl r10d, edx
test eax, eax
je 0x2bbf58e49
test r10d, r10d
je 0x2bbf58e49
cmp r13, 3
je 0x2bbf591e5
movsxd rdx, dword [rsp + 0xd0]
mov r9d, dword [rsp + 0xe0]
mov r8d, dword [rsp + 0xcc]
mov r11d, dword [rsp + 0xd8]
cmp edx, r9d
jle 0x2bbf5869c
mov ecx, edx
mov dword [rsp + 0xd0], r9d
mov dword [rsp + 0xe0], edx
movsxd rdx, r9d
mov r9d, ecx
cmp r8d, r11d
jle 0x2bbf586ba
mov ecx, r8d
mov dword [rsp + 0xcc], r11d
mov dword [rsp + 0xd8], r8d
mov r8d, r11d
mov r11d, ecx
xor ecx, ecx
test edx, edx
jle 0x2bbf586d2
mov rcx, qword [rbx]
cmp eax, edx
jg 0x2bbf586ca
movsxd rdx, eax
shl rdx, 5
mov ecx, dword [rcx + rdx - 8]
xor edx, edx
test r8d, r8d
jle 0x2bbf586f1
mov rsi, qword [rbx + 8]
cmp r10d, r8d
jle 0x2bbf58e70
movsxd rdx, r8d
shl rdx, 5
mov edx, dword [rsi + rdx - 8]
xor r8d, r8d
test r9d, r9d
js 0x2bbf58717
mov rsi, qword [rbx]
cmp eax, r9d
jg 0x2bbf592b5
movsxd r8, eax
shl r8, 5
mov r8d, dword [rsi + r8 - 8]
sub r8d, ecx
movsxd r8, r8d
xor r9d, r9d
test r11d, r11d
js 0x2bbf5873e
mov r9, qword [rbx + 8]
cmp r10d, r11d
jg 0x2bbf592cc
movsxd rax, r10d
shl rax, 5
mov r9d, dword [r9 + rax - 8]
sub r9d, edx
movsxd r9, r9d
mov rax, qword [rbp]
add edx, dword [rbx + 0x2c]
add ecx, dword [rbx + 0x28]
movsxd rdx, edx
movsxd rcx, ecx
mov rsi, qword [rax + 0x768]
call sym.NewQuadObj
mov rcx, rdi
mov rdx, rax
call rsi
xor eax, eax
mov dword [rsp + 0x48], eax
jmp 0x2bbf57ef4
mov rax, qword [rbp]
mov r8, rsi
mov edx, 2
mov rcx, rdi
lea r9, str.window_index___option_value_..._
call qword [rax + 0x850]
jmp 0x2bbf57eec
mov rax, qword [rbp]
mov r8, rsi
mov edx, 2
mov rcx, rdi
lea r9, [0x2bc01a87c]
call qword [rax + 0x850]
jmp 0x2bbf57eec
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xe8]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x2bbf57eec
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
mov rbx, rax
cmp r13, 3
je 0x2bbf5921a
mov r13, qword [rax + 0x20]
test r13, r13
je 0x2bbf591d4
mov rdx, qword [rsi + 0x18]
lea r8, [r13 + 0x30]
mov rcx, rdi
mov r14d, dword [r13 + 0x30]
call sym.tcl9tk90.dll_Tk_GetAnchorFromObj
test eax, eax
jne 0x2bbf57eec
cmp r14d, dword [r13 + 0x30]
je 0x2bbf57ef4
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x2bbf58839
mov dword [rax], 1
mov eax, dword [rbx + 0x68]
test al, 1
jne 0x2bbf57ef4
or eax, 1
mov rdx, rbx
lea rcx, [sym.ArrangeGrid]
mov dword [rbx + 0x68], eax
mov rax, qword [rbp]
call qword [rax + 0x3b0]
jmp 0x2bbf57ef4
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xe8]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x2bbf57eec
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
mov rbx, rax
cmp r13, 3
je 0x2bbf5925b
mov rax, qword [rbp]
mov rdx, qword [rsi + 0x18]
mov r8d, 4
mov rcx, rdi
lea r9, [rsp + 0xe0]
call qword [rax + 0x1528]
test eax, eax
jne 0x2bbf57eec
mov eax, dword [rbx + 0x68]
xor ecx, ecx
mov edx, dword [rsp + 0xe0]
test al, 2
sete cl
cmp ecx, edx
je 0x2bbf57ef4
test edx, edx
je 0x2bbf592a5
cmp qword [rbx + 0x18], 0
je 0x2bbf5891c
mov rdx, qword [rsp + 0xe8]
lea r8, [0x2bc01a26d]
mov rcx, rdi
call sym.TkSetGeometryContainer
test eax, eax
jne 0x2bbf57eec
or dword [rbx + 0x68], 4
mov eax, dword [rbx + 0x68]
and eax, 0xfffffffd
mov dword [rbx + 0x68], eax
jmp 0x2bbf5882a
mov dword [rsp + 0x48], r12d
jmp 0x2bbf57ef4
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xe8]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
jne 0x2bbf57eec
mov r8, qword [rsi + 0x18]
mov rdx, qword [rsp + 0xe8]
lea r9, [rsp + 0xd8]
mov rcx, rdi
call sym.tcl9tk90.dll_Tk_GetPixelsFromObj
test eax, eax
jne 0x2bbf57eec
mov r8, qword [rsi + 0x20]
mov rdx, qword [rsp + 0xe8]
lea r9, [rsp + 0xe0]
mov rcx, rdi
call sym.tcl9tk90.dll_Tk_GetPixelsFromObj
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x2bbf57eec
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
mov r13, qword [rax + 0x20]
mov rbx, rax
test r13, r13
je 0x2bbf5984d
lea rsi, [sym.ArrangeGrid]
test byte [rax + 0x68], 1
je 0x2bbf589ef
mov rax, qword [rbp]
mov rcx, rsi
mov rdx, rbx
call qword [rax + 0x290]
mov rcx, rbx
call sym.ArrangeGrid
test byte [rbx + 0x68], 1
jne 0x2bbf589d1
mov rcx, rbx
call sym.SetGridSize
mov r10, qword [rbx + 0x20]
mov r9d, dword [r13 + 0x20]
or ecx, 0xffffffff
mov edx, dword [rsp + 0xd8]
mov r11d, dword [r13 + 0x1c]
mov ebx, dword [r10 + 0x28]
cmp ebx, edx
jg 0x2bbf58a60
mov eax, dword [r13 + 0x10]
mov r8d, dword [r13 + 0x14]
cmp r8d, eax
cmovl r8d, eax
mov rax, qword [r10]
sub edx, ebx
mov dword [rsp + 0xd8], edx
cmp dword [rax + 0x18], edx
jge 0x2bbf59c0c
test r8d, r8d
jle 0x2bbf59c0c
add rax, 0x38
xor ecx, ecx
add ecx, 1
cmp edx, dword [rax]
setg sil
cmp r8d, ecx
setg bl
add rax, 0x20
test sil, bl
jne 0x2bbf58a48
mov ebx, dword [r10 + 0x2c]
mov r8d, dword [rsp + 0xe0]
or eax, 0xffffffff
cmp ebx, r8d
jg 0x2bbf58abd
cmp r9d, r11d
mov rdx, qword [r10 + 8]
cmovl r9d, r11d
sub r8d, ebx
mov dword [rsp + 0xe0], r8d
cmp r8d, dword [rdx + 0x18]
jle 0x2bbf59c05
test r9d, r9d
jle 0x2bbf59c05
add rdx, 0x38
xor eax, eax
add eax, 1
cmp r8d, dword [rdx]
setg r11b
cmp r9d, eax
setg r10b
add rdx, 0x20
test r11b, r10b
jne 0x2bbf58aa3
mov rdx, qword [rbp]
movsxd rcx, ecx
mov rbx, qword [rdx + 0x768]
movsxd rdx, eax
call sym.NewPairObj
mov rcx, rdi
mov rdx, rax
call rbx
jmp 0x2bbf57ef4
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xe8]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x2bbf57eec
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
cmp qword [rax + 8], 0
mov rbx, rax
mov rax, qword [rbp]
je 0x2bbf5938d
call qword [rax + 0x1c8]
mov rsi, rax
mov rax, qword [rbp]
mov r14, qword [rax + 0xf80]
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
call sym.tcl9tk90.dll_Tk_NewWindowObj
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc01a818]
mov r13, rax
mov rax, qword [rbp]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rsi
xor ecx, ecx
mov r8, rax
call r14
mov rax, qword [rbp]
movsxd rcx, dword [rbx + 0x30]
mov r14, qword [rax + 0xf80]
call qword [rax + 0xf50]
mov rdx, 0xffffffffffffffff
lea rcx, str._column
mov r13, rax
mov rax, qword [rbp]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rsi
xor ecx, ecx
mov r8, rax
call r14
mov rax, qword [rbp]
movsxd rcx, dword [rbx + 0x34]
mov r14, qword [rax + 0xf80]
call qword [rax + 0xf50]
mov rdx, 0xffffffffffffffff
lea rcx, str._row
mov r13, rax
mov rax, qword [rbp]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rsi
xor ecx, ecx
mov r8, rax
call r14
mov rax, qword [rbp]
movsxd rcx, dword [rbx + 0x38]
mov r14, qword [rax + 0xf80]
call qword [rax + 0xf50]
mov rdx, 0xffffffffffffffff
lea rcx, str._columnspan
mov r13, rax
mov rax, qword [rbp]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rsi
xor ecx, ecx
mov r8, rax
call r14
mov rax, qword [rbp]
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rax + 0xf80]
call qword [rax + 0xf50]
mov rdx, 0xffffffffffffffff
lea rcx, str._rowspan
mov r13, rax
mov rax, qword [rbp]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rsi
xor ecx, ecx
mov r8, rax
call r14
mov r9d, dword [rbx + 0x50]
lea rdx, [0x2bc01a83e]
mov rcx, rsi
mov r8d, r9d
shr r8d, 0x1f
add r8d, r9d
sar r8d, 1
call sym.TkAppendPadAmount
mov r9d, dword [rbx + 0x54]
lea rdx, [0x2bc01a845]
mov rcx, rsi
mov r8d, r9d
shr r8d, 0x1f
add r8d, r9d
sar r8d, 1
call sym.TkAppendPadAmount
mov r9d, dword [rbx + 0x40]
mov r8d, dword [rbx + 0x48]
mov rcx, rsi
lea rdx, [0x2bc01a84c]
call sym.TkAppendPadAmount
mov r8d, dword [rbx + 0x4c]
mov r9d, dword [rbx + 0x44]
mov rcx, rsi
lea rdx, [0x2bc01a852]
call sym.TkAppendPadAmount
mov edx, dword [rbx + 0x58]
mov r8, qword [rbp]
mov eax, edx
mov r13, qword [r8 + 0xf80]
and eax, 1
je 0x2bbf58cf0
mov byte [rsp + 0xe0], 0x6e
test dl, 2
je 0x2bbf58d03
movsxd rcx, eax
add eax, 1
mov byte [rsp + rcx + 0xe0], 0x65
test dl, 4
je 0x2bbf58d16
movsxd rcx, eax
add eax, 1
mov byte [rsp + rcx + 0xe0], 0x73
and edx, 8
je 0x2bbf58d29
movsxd rdx, eax
add eax, 1
mov byte [rsp + rdx + 0xe0], 0x77
lea rcx, [rsp + 0xe0]
movsxd rdx, eax
call qword [r8 + 0x1d0]
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc01a858]
mov rbx, rax
mov rax, qword [rbp]
call qword [rax + 0x1d0]
mov rdx, rsi
xor ecx, ecx
mov r9, rbx
mov r8, rax
call r13
mov rax, qword [rbp]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x768]
jmp 0x2bbf57ef4
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0xe8]
mov rcx, rdi
call sym.tcl9tk90.dll_TkGetWindowFromObj
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x2bbf57eec
mov rcx, qword [rsp + 0xe8]
call sym.GetGrid
xor edx, edx
xor ecx, ecx
mov rsi, rax
mov rax, qword [rbp]
call qword [rax + 0x1b8]
mov rsi, qword [rsi + 0x18]
mov r12, rax
test rsi, rsi
je 0x2bbf58e0e
test ebx, ebx
jns 0x2bbf58e30
test r13d, r13d
js 0x2bbf58de6
mov eax, dword [rsi + 0x34]
cmp eax, r13d
jg 0x2bbf58e23
add eax, dword [rsi + 0x3c]
cmp eax, r13d
jle 0x2bbf58e23
mov rcx, qword [rsi]
mov rax, qword [rbp]
mov r14, qword [rax + 0x170]
call sym.tcl9tk90.dll_Tk_NewWindowObj
mov rdx, r12
mov rcx, rdi
mov r8, rax
call r14
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x2bbf58dcd
mov rax, qword [rbp]
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x768]
jmp 0x2bbf57ef4
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x2bbf58e0e
test ebx, ebx
js 0x2bbf58dd6
mov eax, dword [rsi + 0x30]
cmp eax, ebx
jg 0x2bbf58e3e
add eax, dword [rsi + 0x38]
cmp eax, ebx
jg 0x2bbf58dd1
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x2bbf58e30
jmp 0x2bbf58e0e
mov rax, qword [rbp]
xor edx, edx
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rax + 0x768]
call sym.NewQuadObj
mov rcx, rdi
mov rdx, rax
call rbx
jmp 0x2bbf58762
movsxd rdx, r10d
shl rdx, 5
mov edx, dword [rsi + rdx - 8]
jmp 0x2bbf586f1
mov dword [rsp + 0xa0], 2
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x50], r11
call sym.GetGrid
mov r11, qword [rsp + 0x50]
mov r10, rax
lea rax, [r13 - 4]
cmp rax, 1
jbe 0x2bbf5932d
cmp qword [rsp + 0xe0], 0
jle 0x2bbf59b03
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], r11
xor r14d, r14d
mov rbx, rdi
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x88], rsi
mov rsi, r14
lea rax, [rsi*8]
mov r8, qword [rsp + 0xa8]
xor ecx, ecx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe8]
mov rdx, qword [rax + rsi*8]
mov rax, qword [rbp]
call qword [rax + 0x140]
mov r9d, eax
test eax, eax
je 0x2bbf5944f
mov rax, qword [rsp + 0xe8]
xor edx, edx
mov rcx, qword [rax + rsi*8]
mov rax, qword [rbp]
call qword [rax + 0x1468]
lea rdx, [0x2bc01a9b8]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x2bbf5965d
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x20], 0
je 0x2bbf594f6
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
test rax, rax
je 0x2bbf59576
mov r9d, 1
cmp dword [rsp + 0xa0], 1
je 0x2bbf59503
movsxd rcx, dword [rax + 0x34]
movsxd rdx, dword [rax + 0x3c]
lea r8, [rcx - 1]
lea rdi, [r8 + rdx]
mov dword [rsp + 0xc0], ecx
movsxd rdx, ecx
mov qword [rsp + 0x80], rdi
cmp rcx, rdi
jg 0x2bbf59559
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0xa4], r9d
cmp rdx, 0x270f
ja 0x2bbf593ec
mov rdx, rcx
mov r8d, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
call sym.CheckSlotData.part.0
test eax, eax
jne 0x2bbf593ec
mov rax, qword [rsp + 0x58]
cmp dword [rsp + 0xa0], 1
mov esi, 4
lea rdi, [rsp + 0xc8]
mov rax, qword [rax + 0x20]
mov r14, qword [rax + 8]
cmove r14, qword [rax]
mov rax, qword [rsp + 0x88]
lea r12, [rax + 0x20]
lea rax, [rsp + 0xcc]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x60], rax
jmp 0x2bbf5907c
cmp eax, 3
je 0x2bbf590fd
cmp eax, 2
je 0x2bbf59141
cmp eax, 1
je 0x2bbf592e3
add rsi, 2
add r12, 0x10
cmp r13, rsi
jle 0x2bbf59514
mov rax, qword [rbp]
mov rdx, qword [r12]
mov r9d, 8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r15
lea r8, [0x2bc01aac0]
mov rcx, rbx
mov dword [rsp + 0x28], 8
call qword [rax + 0x990]
test eax, eax
jne 0x2bbf593e2
mov eax, dword [rsp + 0xc8]
test eax, eax
jne 0x2bbf59050
mov r9, qword [rsp + 0x60]
mov r8, qword [r12 + 8]
mov rcx, rbx
mov rdx, qword [rsp + 0xd0]
call sym.tcl9tk90.dll_Tk_GetPixelsFromObj
test eax, eax
jne 0x2bbf593e2
movsxd rax, dword [rsp + 0xc0]
mov edx, dword [rsp + 0xc4]
shl rax, 5
mov dword [r14 + rax], edx
jmp 0x2bbf5906b
mov rax, qword [rbp]
mov rdx, qword [r12 + 8]
mov rcx, rbx
mov r8, qword [rsp + 0x78]
call qword [rax + 0x140]
test eax, eax
jne 0x2bbf593e2
mov edx, dword [rsp + 0xcc]
test edx, edx
js 0x2bbf59872
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
mov dword [r14 + rax + 4], edx
jmp 0x2bbf5906b
mov rax, qword [rbp]
xor edx, edx
mov rcx, qword [r12 + 8]
call qword [rax + 0x1468]
mov rcx, rax
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
add rax, r14
mov qword [rsp + 0x70], rax
call sym.tcl9tk90.dll_Tk_GetUid
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
add rax, r14
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x2bbf5906b
cmp byte [rdx], 0
jne 0x2bbf5906b
xor edx, edx
mov qword [rax + 0x10], rdx
jmp 0x2bbf5906b
cmp qword [rsp + 0xe0], 0
jne 0x2bbf5937d
mov rax, qword [rbp]
lea rdx, [0x2bc01a7b8]
mov rbx, qword [rax + 0x768]
mov rax, qword [rax + 0x1220]
jmp 0x2bbf581b2
mov rcx, rax
call sym.InitContainerData.part.0
mov r13, qword [rbx + 0x20]
jmp 0x2bbf58804
mov dword [rsp + 0xd8], r10d
mov r11d, r10d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0xcc], 0
mov r9d, eax
mov dword [rsp + 0xd0], 0
mov dword [rsp + 0xe0], eax
jmp 0x2bbf58680
mov rdx, qword [rbp]
mov rax, qword [rax + 0x20]
mov ecx, 7
mov rbx, qword [rdx + 0x768]
mov rsi, qword [rdx + 0x1d0]
test rax, rax
je 0x2bbf5923d
mov ecx, dword [rax + 0x30]
call sym.tcl9tk90.dll_Tk_NameOfAnchor
mov rdx, 0xffffffffffffffff
mov rcx, rax
call rsi
mov rcx, rdi
mov rdx, rax
call rbx
jmp 0x2bbf57ef4
mov ecx, dword [rbx + 0x68]
mov rax, qword [rbp]
shr ecx, 1
mov rsi, qword [rax + 0x768]
xor ecx, 1
and ecx, 1
call qword [rax + 0xf50]
mov rcx, rdi
mov rdx, rax
call rsi
jmp 0x2bbf57ef4
mov rax, qword [rbp]
xor edx, edx
xor ecx, ecx
mov rbx, qword [rax + 0x768]
call sym.NewPairObj
mov rcx, rdi
mov rdx, rax
call rbx
jmp 0x2bbf57ef4
test al, 4
jne 0x2bbf5963d
or eax, 2
jmp 0x2bbf5891f
movsxd r8, r9d
shl r8, 5
mov r8d, dword [rsi + r8 + 0x18]
sub r8d, ecx
movsxd r8, r8d
jmp 0x2bbf58717
movsxd rax, r11d
shl rax, 5
mov r9d, dword [r9 + rax + 0x18]
sub r9d, edx
movsxd r9, r9d
jmp 0x2bbf5873e
mov r8, qword [r12 + 8]
mov rdx, qword [rsp + 0xd0]
lea r9, [rsp + 0xc4]
mov rcx, rbx
call sym.tcl9tk90.dll_Tk_GetPixelsFromObj
test eax, eax
jne 0x2bbf593e2
mov edx, dword [rsp + 0xc4]
test edx, edx
js 0x2bbf59872
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
mov dword [r14 + rax + 8], edx
jmp 0x2bbf5906b
cmp qword [rsp + 0xe0], 1
mov rax, qword [rbp]
je 0x2bbf5948d
mov qword [rsp + 0x40], r11
mov rbx, qword [rax + 0x768]
or rdx, 0xffffffffffffffff
lea rcx, str.must_specify_a_single_element_on_retrieval
call qword [rax + 0x1d0]
mov rcx, rdi
mov rdx, rax
call rbx
xor r11d, r11d
mov rax, qword [rbp]
lea r9, str.USAGE
mov qword [rsp + 0x20], r11
jmp 0x2bbf581dc
mov dword [rsp + 0xa0], 1
jmp 0x2bbf58e8b
mov rcx, rdi
call qword [rax + 0x6d8]
jmp 0x2bbf57ef4
mov rax, qword [rbp]
mov rdx, qword [rsi + 0x28]
lea r8, [rsp + 0xe0]
mov rcx, rdi
call qword [rax + 0x140]
test eax, eax
jne 0x2bbf57ef4
mov rax, qword [rbp]
mov rdx, qword [rsi + 0x30]
lea r8, [rsp + 0xd8]
mov rcx, rdi
call qword [rax + 0x140]
test eax, eax
je 0x2bbf58617
jmp 0x2bbf57ef4
mov r11, qword [rsp + 0x50]
jmp 0x2bbf581f8
mov r11, qword [rsp + 0x50]
mov rax, qword [rbp]
mov rdi, rbx
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], r11
mov rbx, qword [rax + 0x768]
mov rcx, qword [rdx + rcx]
mov rsi, qword [rax + 0x1220]
xor edx, edx
call qword [rax + 0x1468]
lea rcx, str.__s__is_out_of_range
mov rdx, rax
call rsi
mov rcx, rdi
mov rdx, rax
call rbx
xor ecx, ecx
mov rax, qword [rbp]
lea r9, str.INDEX_RANGE
mov qword [rsp + 0x20], rcx
jmp 0x2bbf581dc
movsxd rdx, dword [rsp + 0xc0]
xor eax, eax
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x80], rdx
mov rcx, rdx
mov dword [rsp + 0xa4], r9d
jmp 0x2bbf58fcd
or ebx, 0xffffffff
or r13d, 0xffffffff
jmp 0x2bbf58d7e
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x50], r10
mov rcx, rdi
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x40], r11
mov rdx, qword [rdx]
call qword [rax + 0x140]
mov r11, qword [rsp + 0x40]
mov r10, qword [rsp + 0x50]
test eax, eax
mov ebx, eax
je 0x2bbf59733
mov rax, qword [rbp]
xor r8d, r8d
lea rdx, str.__when_retrieving_options_only_integer_indices_are_allowed_
mov rcx, rdi
call qword [rax + 0x240]
xor r10d, r10d
mov rax, qword [rbp]
lea r9, str.INDEX_FORMAT
mov qword [rsp + 0x20], r10
jmp 0x2bbf581dc
mov rcx, rax
call sym.InitContainerData.part.0
jmp 0x2bbf58f64
movsxd rcx, dword [rax + 0x30]
movsxd rdx, dword [rax + 0x38]
lea r8, [rcx - 1]
jmp 0x2bbf58f96
mov eax, dword [rsp + 0xc0]
lea edx, [rax + 1]
mov rax, qword [rsp + 0x80]
mov dword [rsp + 0xc0], edx
movsxd rdx, edx
mov rcx, rdx
cmp rdx, rax
jle 0x2bbf58fcd
mov rax, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov r9d, dword [rsp + 0xa4]
test rax, rax
je 0x2bbf59576
mov rax, qword [rax + 0x10]
test rax, rax
je 0x2bbf59576
mov edx, r9d
mov r9d, 1
and edx, 1
test dl, dl
jne 0x2bbf58f7c
add rsi, 1
cmp rsi, qword [rsp + 0xe0]
jl 0x2bbf58eed
mov r11, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
mov rsi, r14
mov rax, qword [r11]
lea rdx, [rax - 1]
sub rax, 1
mov qword [r11], rdx
jle 0x2bbf59b19
test rsi, rsi
je 0x2bbf59602
cmp dword [rsp + 0xa0], 2
mov rcx, qword [r10 + 0x20]
je 0x2bbf59c3c
movsxd rax, dword [rcx + 0x14]
lea edx, [rax - 1]
shl rax, 5
add rsi, rax
movsxd rdx, edx
mov rax, rsi
jmp 0x2bbf595f7
cmp dword [rax - 0x1c], 0
jne 0x2bbf595fc
cmp dword [rax - 0x18], 0
jne 0x2bbf595fc
cmp dword [rax - 0x20], 0
jne 0x2bbf595fc
sub rax, 0x20
cmp qword [rax + 0x10], 0
jne 0x2bbf595fc
sub rdx, 1
test rdx, rdx
jns 0x2bbf595d6
add edx, 1
mov dword [rcx + 0x14], edx
mov rax, qword [r10 + 0x60]
test rax, rax
je 0x2bbf59611
mov dword [rax], 1
mov eax, dword [r10 + 0x68]
test al, 1
jne 0x2bbf57ef4
or eax, 1
mov rdx, r10
lea rcx, [sym.ArrangeGrid]
mov dword [r10 + 0x68], eax
mov rax, qword [rbp]
call qword [rax + 0x3b0]
jmp 0x2bbf57ef4
mov rcx, qword [rsp + 0xe8]
lea rdx, [0x2bc01a26d]
call sym.TkFreeGeometryContainer
and dword [rbx + 0x68], 0xfffffffb
mov eax, dword [rbx + 0x68]
jmp 0x2bbf592ad
mov rax, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x68]
xor ecx, ecx
lea r9, [rsp + 0xd8]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rax + rdi]
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
mov dword [rsp + 0x60], eax
jne 0x2bbf59b35
mov rcx, qword [rsp + 0xd8]
call sym.GetGrid
mov rdi, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x60]
cmp rdi, qword [rax + 8]
je 0x2bbf58f7c
mov r11, qword [rsp + 0x50]
mov rax, qword [rbp]
xor edx, edx
mov rdi, rbx
mov rsi, qword [rsp + 0x88]
mov qword [rsp + 0x40], r11
mov r12, qword [rax + 0x768]
mov rcx, qword [rsi + 0x10]
mov r13, qword [rax + 0x1220]
call qword [rax + 0x1468]
mov rsi, qword [rsp + 0x68]
xor edx, edx
mov rbx, rax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax + rsi]
mov rax, qword [rbp]
call qword [rax + 0x1468]
mov r8, rbx
lea rcx, str.the_window___s__is_not_managed_by___s_
mov rdx, rax
call r13
mov rcx, rdi
mov rdx, rax
call r12
xor r9d, r9d
mov rax, qword [rbp]
mov qword [rsp + 0x20], r9
lea r9, str.NOT_MANAGED
jmp 0x2bbf581dc
movsxd rax, dword [rsp + 0xc0]
mov rdx, rax
cmp rax, 0x270f
ja 0x2bbf59836
mov rax, qword [r10 + 0x20]
test rax, rax
je 0x2bbf59836
cmp dword [rsp + 0xa0], 2
je 0x2bbf59bf3
cmp edx, dword [rax + 0x14]
jg 0x2bbf59836
mov r12, qword [rax]
cmp r13, 4
je 0x2bbf5991e
mov rax, qword [rbp]
mov rdx, qword [rsi + 0x20]
mov qword [rsp + 0x40], r11
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x30], rcx
mov r9d, 8
lea r8, [0x2bc01aac0]
mov rcx, rdi
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], r15
call qword [rax + 0x990]
mov r11, qword [rsp + 0x40]
test eax, eax
jne 0x2bbf581f8
mov eax, dword [rsp + 0xc8]
test eax, eax
jne 0x2bbf598d1
mov rax, qword [rbp]
xor ecx, ecx
mov rsi, qword [rax + 0x768]
mov rdx, qword [rax + 0xf50]
test ebx, ebx
jne 0x2bbf597fc
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
movsxd rcx, dword [r12 + rax]
mov qword [rsp + 0x40], r11
call rdx
mov rcx, rdi
mov rdx, rax
call rsi
mov r11, qword [rsp + 0x40]
mov rax, qword [r11]
lea rdx, [rax - 1]
sub rax, 1
mov qword [r11], rdx
jg 0x2bbf57ef4
mov rax, qword [rbp]
mov rcx, r11
call qword [rax + 0x100]
jmp 0x2bbf57ef4
cmp r13, 4
je 0x2bbf59c13
mov ebx, 1
xor r12d, r12d
jmp 0x2bbf5977b
mov rax, qword [rbp]
or rdx, 0xffffffffffffffff
or rcx, 0xffffffffffffffff
mov rbx, qword [rax + 0x768]
call sym.NewPairObj
mov rcx, rdi
mov rdx, rax
call rbx
jmp 0x2bbf57ef4
mov r11, qword [rsp + 0x50]
mov rdi, rbx
mov rbx, r12
mov rax, qword [r11]
lea rdx, [rax - 1]
sub rax, 1
mov qword [r11], rdx
jg 0x2bbf5989a
mov rax, qword [rbp]
mov rcx, r11
call qword [rax + 0x100]
mov rax, qword [rbp]
mov rcx, qword [rbx]
xor edx, edx
mov rsi, qword [rax + 0x1220]
mov r12, qword [rax + 0x768]
call qword [rax + 0x1468]
lea rcx, str.invalid_arg___s_:_should_be_non_negative
mov rdx, rax
call rsi
mov rcx, rdi
mov rdx, rax
call r12
jmp 0x2bbf58320
cmp eax, 3
je 0x2bbf59bb5
cmp eax, 2
je 0x2bbf59aab
sub eax, 1
jne 0x2bbf59810
mov rax, qword [rbp]
xor ecx, ecx
mov rsi, qword [rax + 0x768]
mov rdx, qword [rax + 0xf50]
test ebx, ebx
jne 0x2bbf597fc
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
movsxd rcx, dword [r12 + rax + 8]
jmp 0x2bbf597fc
mov rax, qword [rbp]
mov qword [rsp + 0x40], r11
xor edx, edx
xor ecx, ecx
call qword [rax + 0x1b8]
mov r11, qword [rsp + 0x40]
mov rsi, rax
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
add rax, r12
mov ebx, dword [rax]
mov r9d, dword [rax + 8]
mov r13d, dword [rax + 4]
mov r15, qword [rax + 0x10]
mov rax, qword [rbp]
mov qword [rsp + 0x40], r11
or rdx, 0xffffffffffffffff
lea rcx, [0x2bc01a999]
mov dword [rsp + 0x50], r9d
mov r14, qword [rax + 0x170]
call qword [rax + 0x1d0]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call r14
mov rax, qword [rbp]
movsxd rcx, ebx
mov r14, qword [rax + 0x170]
call qword [rax + 0xf50]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call r14
mov rax, qword [rbp]
or rdx, 0xffffffffffffffff
lea rcx, str._pad
mov rbx, qword [rax + 0x170]
call qword [rax + 0x1d0]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call rbx
mov rax, qword [rbp]
movsxd rcx, dword [rsp + 0x50]
mov rbx, qword [rax + 0x170]
call qword [rax + 0xf50]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call rbx
mov rax, qword [rbp]
or rdx, 0xffffffffffffffff
lea rcx, str._uniform
mov rbx, qword [rax + 0x170]
call qword [rax + 0x1d0]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call rbx
mov rax, qword [rbp]
test r15, r15
mov r11, qword [rsp + 0x40]
mov rbx, qword [rax + 0x170]
mov rax, qword [rax + 0x1d0]
je 0x2bbf59be7
mov qword [rsp + 0x40], r11
or rdx, 0xffffffffffffffff
mov rcx, r15
call rax
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call rbx
mov rax, qword [rbp]
or rdx, 0xffffffffffffffff
lea rcx, [0x2bc01a9b0]
mov rbx, qword [rax + 0x170]
call qword [rax + 0x1d0]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call rbx
mov rax, qword [rbp]
movsxd rcx, r13d
mov rbx, qword [rax + 0x170]
call qword [rax + 0xf50]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
call rbx
mov rax, qword [rbp]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x768]
jmp 0x2bbf5980b
mov rax, qword [rbp]
lea rcx, [0x2bc01a7c3]
mov r8, qword [rax + 0x1d0]
mov rsi, qword [rax + 0x768]
test ebx, ebx
jne 0x2bbf59ae5
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
mov rcx, qword [r12 + rax + 0x10]
test rcx, rcx
jne 0x2bbf59ae5
lea rcx, [0x2bc01a7c3]
mov qword [rsp + 0x40], r11
or rdx, 0xffffffffffffffff
call r8
mov rcx, rdi
mov rdx, rax
call rsi
mov r11, qword [rsp + 0x40]
jmp 0x2bbf59810
mov rax, qword [r11]
xor esi, esi
lea rdx, [rax - 1]
sub rax, 1
mov qword [r11], rdx
jg 0x2bbf59602
mov rax, qword [rbp]
mov qword [rsp + 0x40], r10
mov rcx, r11
call qword [rax + 0x100]
mov r10, qword [rsp + 0x40]
jmp 0x2bbf595a9
mov r11, qword [rsp + 0x50]
mov rax, qword [rbp]
mov rdi, rbx
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], r11
mov rbx, qword [rax + 0x768]
mov rcx, qword [rdx + rcx]
mov rsi, qword [rax + 0x1220]
xor edx, edx
call qword [rax + 0x1468]
lea rcx, str.illegal_index___s_
mov rdx, rax
call rsi
mov rcx, rdi
mov rdx, rax
call rbx
mov rax, qword [rbp]
xor r8d, r8d
lea r9, str.GRID_INDEX
mov qword [rsp + 0x20], r8
lea rdx, [0x2bc01a225]
mov rcx, rdi
lea r8, [0x2bc01a3f8]
call qword [rax + 0x730]
mov r11, qword [rsp + 0x40]
jmp 0x2bbf581f8
mov rax, qword [rbp]
xor ecx, ecx
mov rsi, qword [rax + 0x768]
mov rdx, qword [rax + 0xf50]
test ebx, ebx
jne 0x2bbf597fc
movsxd rax, dword [rsp + 0xc0]
shl rax, 5
movsxd rcx, dword [r12 + rax + 4]
jmp 0x2bbf597fc
lea r15, [0x2bc01a7c3]
jmp 0x2bbf59a37
cmp edx, dword [rax + 0x20]
jg 0x2bbf59836
mov r12, qword [rax + 8]
jmp 0x2bbf59771
xor eax, eax
jmp 0x2bbf58abd
xor ecx, ecx
jmp 0x2bbf58a60
mov rax, qword [rbp]
mov qword [rsp + 0x40], r11
xor edx, edx
xor ecx, ecx
xor r13d, r13d
xor r15d, r15d
call qword [rax + 0x1b8]
mov r11, qword [rsp + 0x40]
xor r9d, r9d
mov rsi, rax
jmp 0x2bbf59956
movsxd rax, dword [rcx + 0x20]
lea edx, [rax - 1]
shl rax, 5
add rsi, rax
movsxd rdx, edx
mov rax, rsi
jmp 0x2bbf59c73
cmp dword [rax - 0x1c], 0
jne 0x2bbf59c78
cmp dword [rax - 0x18], 0
jne 0x2bbf59c78
cmp dword [rax - 0x20], 0
jne 0x2bbf59c78
sub rax, 0x20
cmp qword [rax + 0x10], 0
jne 0x2bbf59c78
sub rdx, 1
test rdx, rdx
jns 0x2bbf59c52
add edx, 1
mov dword [rcx + 0x20], edx
jmp 0x2bbf59602