Function at 0x2bbf14750
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, 0x3b8
cmp qword [r8 + 0x58], 0
mov qword [rsp + 0x410], r8
mov rbx, rcx
mov r11, rdx
mov qword [rsp + 0x418], r9
je 0x2bbf14a43
movsxd rdx, dword [rdx]
lea rsi, [0x2bbffd3a0]
mov edi, dword [rsi + rdx*4]
mov rax, rdx
cmp edx, 0x27
jg 0x2bbf14a43
test edi, edi
je 0x2bbf14a43
test edi, 0xa0007
jne 0x2bbf14a57
test dil, 8
je 0x2bbf147c1
mov ecx, dword [r11 + 0x54]
mov dword [rbx + 0x2090], ecx
mov rsi, qword [rsp + 0x410]
mov rsi, qword [rsi + 8]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rsp + 0x410]
mov rcx, qword [rsi + 0x50]
mov rsi, qword [rcx + 0x90]
lea rcx, [rdx + rdx*2]
lea r10, [rdx + rcx*4]
shl r10, 4
mov qword [rsp + 0xa0], rsi
lea r15, [rbx + r10]
cmp eax, 0x1c
ja case.0x2bbf14816.0
lea rdx, [0x2bbffc66c]
mov eax, eax
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
test al, 2
je 0x2bbf15a60
and eax, 0xfffffffd
mov byte [rdx + 0x2c], al
mov rax, qword [rsp + 0x400]
cmp qword [rdi + 0x10], 0
mov rax, qword [rax + 0x2080]
je 0x2bbf1484e
mov r12d, r12d
cmp r12, r13
cmovl r12, r13
cmp rbx, r13
jg 0x2bbf15a10
mov rcx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov r13, rax
mov r12d, r12d
mov rbx, qword [rsp + 0x400]
mov rsi, qword [rsp + 0x60]
test rax, rax
je 0x2bbf1487d
mov qword [r13], r12
cmp rcx, rbp
je 0x2bbf14888
mov rax, qword [rsi]
call qword [rax + 0x30]
cmp qword [rsp + 0xf8], 0
je 0x2bbf14a43
mov rdi, qword [rbx + 0x21e8]
mov rax, qword [rsi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x10c8]
mov rbp, rax
mov rax, qword [rsp + 0xa0]
mov r13, qword [rax + 0x150]
mov eax, dword [rax + 0x158]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x410]
mov r8d, dword [rax + 0x10]
cmp qword [rsp + 0x48], r13
je 0x2bbf15bfb
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x48]
mov rcx, rdi
mov qword [rax + 0x150], rbx
mov rdx, qword [rbx + 0x10]
mov dword [rax + 0x158], r8d
call sym.ChangeScreen
mov rbx, qword [rsp + 0xa0]
mov rax, qword [rsi]
mov rcx, rbx
call qword [rax + 0x658]
mov r15d, dword [rbx + 0x160]
mov rax, rbx
mov r12, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xf8]
mov rbx, r13
mov qword [rsp + 0x48], rbp
mov rbp, rsi
mov r13d, r15d
mov rsi, rax
mov r15, rbx
add r14, r12
jmp 0x2bbf149b0
mov rcx, r12
call sym.strlen
mov rbx, rax
test r13d, r13d
jne 0x2bbf14967
add dword [rsi + 0x15c], 1
mov rax, qword [rbp]
mov rcx, rdi
call qword [rax + 0x230]
mov rax, qword [rbp]
mov rdx, r12
mov r8, rbx
mov r9d, 0x20000
mov rcx, rdi
lea r12, [r12 + rbx + 1]
call qword [rax + 0x928]
mov r13d, dword [rsi + 0x160]
test r13d, r13d
jne 0x2bbf149a5
sub dword [rsi + 0x15c], 1
test eax, 0xfffffffb
jne 0x2bbf15c0d
cmp r12, r14
jb 0x2bbf14950
mov rax, r15
mov rsi, rbp
mov rbp, qword [rsp + 0x48]
mov r15d, r13d
mov r13, rax
test r15d, r15d
jne 0x2bbf14a11
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x15c]
test edx, edx
je 0x2bbf14a11
cmp qword [rax + 0x150], r13
je 0x2bbf15e6d
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rsp + 0x50]
mov rcx, rdi
mov rdx, qword [r13 + 0x10]
mov qword [rax + 0x150], r13
mov dword [rax + 0x158], r8d
call sym.ChangeScreen
mov rax, qword [rsi]
mov rdx, rbp
mov rcx, rdi
call qword [rax + 0x10d0]
mov rax, qword [rsi]
mov rcx, qword [rsp + 0xa8]
call qword [rax + 0x3d0]
mov rax, qword [rsi]
mov rcx, qword [rsp + 0xa0]
call qword [rax + 0x6d0]
nop
add rsp, 0x3b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [r11 + 0x44]
mov dword [rbx + 0x2090], ecx
jmp 0x2bbf147c1
mov qword [rbx + 0x268], 0
mov qword [rbx + 0x338], 0
mov ebp, dword [r11 + 0x30]
test ebp, ebp
jne 0x2bbf15e00
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
mov rax, qword [r11 + 0x18]
cmp qword [r15 + 0x18], rax
je 0x2bbf15d5e
mov dword [r15 + 0xcc], 1
mov eax, 1
movdqu xmm1, xmmword [r11]
mov dword [r15 + 0xc8], eax
movups xmmword [r15], xmm1
movdqu xmm2, xmmword [r11 + 0x10]
movups xmmword [r15 + 0x10], xmm2
movdqu xmm3, xmmword [r11 + 0x20]
movups xmmword [r15 + 0x20], xmm3
movdqu xmm4, xmmword [r11 + 0x30]
movups xmmword [r15 + 0x30], xmm4
movdqu xmm5, xmmword [r11 + 0x40]
movups xmmword [r15 + 0x40], xmm5
movdqu xmm1, xmmword [r11 + 0x50]
movups xmmword [r15 + 0x50], xmm1
movdqu xmm2, xmmword [r11 + 0x60]
movups xmmword [r15 + 0x60], xmm2
movdqu xmm3, xmmword [r11 + 0x70]
movups xmmword [r15 + 0x70], xmm3
movdqu xmm4, xmmword [r11 + 0x80]
movups xmmword [r15 + 0x80], xmm4
movdqu xmm5, xmmword [r11 + 0x90]
movups xmmword [r15 + 0x90], xmm5
movdqu xmm1, xmmword [r11 + 0xa0]
movups xmmword [r15 + 0xa0], xmm1
movdqu xmm2, xmmword [r11 + 0xb0]
movups xmmword [r15 + 0xb0], xmm2
test dil, 1
jne 0x2bbf15c96
test dil, 2
je 0x2bbf15c75
mov eax, dword [r11 + 0x48]
mov qword [r15 + 0xc0], rax
lea rax, [rbx + 0x2098]
mov qword [rsp + 0x408], r11
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xf0]
mov rcx, rax
mov qword [rsp + 0xa8], rax
mov rax, qword [rsi]
mov qword [rbx + 0x2088], r15
call qword [rax + 0x3e0]
mov rax, qword [rsp + 0x418]
mov rcx, rbp
mov r11, qword [rsp + 0x408]
cmp rax, 0x20
lea rdi, [rax*8]
jbe 0x2bbf14be1
mov rax, qword [rsi]
mov rcx, rdi
call qword [rax + 0x28]
mov r11, qword [rsp + 0x408]
mov rcx, rax
xor edx, edx
mov r8, rdi
mov qword [rsp + 0x408], r11
call sym.memset
mov r13, qword [rbx + 0x2080]
mov r11, qword [rsp + 0x408]
mov rcx, rax
test r13, r13
je 0x2bbf15cbf
cmp qword [r13], 0
je 0x2bbf15bd3
cmp qword [rsp + 0x418], 0
jle 0x2bbf15beb
mov r14, qword [rsp + 0x420]
mov qword [rsp + 0x50], r15
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x408], r11
mov rdx, rax
mov qword [rsp + 0x70], rbp
mov r10, r14
mov r14, rcx
mov qword [rsp + 0x60], rcx
mov rdi, r10
mov rcx, r13
mov qword [rsp + 0x80], rsi
mov rsi, rbx
mov rbx, r9
test rcx, rcx
je 0x2bbf14d19
mov r12, qword [rcx]
mov r8, r12
shl r8, 4
lea r13, [rcx + r8 + 0x10]
test r12, r12
jle 0x2bbf14d19
mov qword [rsp + 0x58], rdx
mov r15, rdi
mov rbp, rbx
mov rdi, r13
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea r13, [rdi - 0x10]
mov rdx, rsi
mov r9, rdi
mov qword [rsp + 0x38], 0
mov rax, qword [r15]
mov r8, r13
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
call sym.MatchPatterns
mov rcx, qword [r14]
mov rdx, rax
mov rbx, rax
call sym.IsBetterMatch
test eax, eax
je 0x2bbf14cec
mov qword [r14], rbx
cmp qword [rdi], 0
je 0x2bbf14cfe
lea rax, [r12 + 1]
cmp rbp, rax
cmovl rbp, rax
mov rdi, r13
sub r12, 1
jne 0x2bbf14ca0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsi + 0x2080]
mov rbx, rbp
mov rdi, r15
add rdx, 1
add rdi, 8
add r14, 8
cmp qword [rsp + 0x418], rdx
jne 0x2bbf14c69
mov qword [rsp + 0x68], rbx
mov r13, rcx
mov rbx, rsi
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov r11, qword [rsp + 0x408]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xb8], rbp
mov r12, qword [rsp + 0x420]
mov rbp, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x1dc]
mov r14, qword [rsp + 0xa8]
mov qword [rsp + 0x88], rax
lea rax, [rbx + 0x2100]
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x408], r11
jmp 0x2bbf14e1b
mov rdx, rdi
mov rcx, r13
call sym.IsBetterMatch
test eax, eax
je 0x2bbf15048
mov qword [rbp], rdi
mov r13, rdi
test r13, r13
jne 0x2bbf15048
add qword [rsp + 0x50], 1
mov r13, qword [rbx + 0x2080]
add rbp, 8
add r12, 8
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x418], rax
jle 0x2bbf159b1
mov r8, qword [r12]
mov rcx, qword [rsp + 0x78]
test r13, r13
lea rax, [r13 + 0x10]
mov r9d, 1
mov rdx, r15
cmovne r13, rax
call sym.GetLookupForEvent
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov rdi, rax
mov rax, qword [r12]
mov qword [rcx], 0
mov dword [rcx + 8], 0
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x1d0], rax
mov eax, dword [r15]
mov dword [rsp + 0x1d8], eax
call qword [rbx + 0x2150]
mov r11, rax
test rax, rax
je 0x2bbf14e8b
mov r11, qword [rax + 0x18]
mov rcx, qword [rsp + 0x48]
mov r8, rdi
mov r9, r13
mov rdx, rbx
mov qword [rsp + 0x38], 0
mov rax, qword [r12]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x60], r11
call sym.MatchPatterns
mov r8, qword [rsp + 0x60]
mov r9, r13
mov rdx, rbx
mov qword [rsp + 0x38], 0
mov rdi, rax
mov rax, qword [r12]
mov qword [rsp + 0x28], r15
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
call sym.MatchPatterns
cmp qword [r13], 0
je 0x2bbf14f16
mov rcx, qword [rsp + 0x68]
mov edx, 1
test rcx, rcx
cmovg rdx, rcx
mov qword [rsp + 0x68], rdx
mov r13, qword [rbp]
test rdi, rdi
cmove rdi, rax
test r13, r13
jne 0x2bbf14dd0
mov rax, qword [rsp + 0x408]
mov qword [rbp], rdi
cmp dword [rax], 0x23
je 0x2bbf14de7
mov qword [rsp + 0xd0], rdi
xor r8d, r8d
mov r9d, 1
mov rdx, r15
mov rdi, qword [rsp + 0xa0]
mov rcx, rdi
call sym.GetLookupForEvent
mov rdx, qword [rsp + 0x58]
pxor xmm0, xmm0
lea rcx, [rdi + 0x68]
mov qword [rsp + 0x60], rax
mov eax, dword [r15]
mov qword [rdx + 0x10], 0
movups xmmword [rdx], xmm0
mov dword [rsp + 0x1d8], eax
call qword [rdi + 0xb8]
mov r8, qword [rsp + 0x60]
test rax, rax
mov r13, rax
je 0x2bbf14fa1
mov r13, qword [rax + 0x18]
lea r10, [rsp + 0xd0]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x38], r10
mov rax, qword [r12]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x60], r10
call sym.MatchPatterns
mov r10, qword [rsp + 0x60]
test rax, rax
je 0x2bbf14ff7
mov rdx, qword [rsp + 0xd0]
mov qword [rbp], rdx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x38], r10
mov rax, qword [r12]
xor r9d, r9d
mov r8, r13
mov qword [rsp + 0x28], r15
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
call sym.MatchPatterns
test rax, rax
je 0x2bbf15b5c
mov r13, qword [rsp + 0xd0]
mov qword [rbp], r13
test r13, r13
je 0x2bbf14df3
nop dword [rax + rax]
mov eax, dword [rsp + 0x70]
mov rdx, qword [r13 + 0x10]
xor r13d, r13d
mov rcx, qword [rsp + 0x58]
add eax, 1
mov qword [rsp + 0x90], rdx
mov dword [rsp + 0x60], eax
mov rax, qword [rsi]
call qword [rax + 0x3e0]
movsxd rax, dword [r15]
mov rdx, qword [rsp + 0x90]
cmp eax, 0x27
jg 0x2bbf1508b
lea rcx, [0x2bbffd3a0]
mov r13d, dword [rcx + rax*4]
mov qword [rsp + 0x90], rbp
lea rax, [rsp + 0xcc]
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x400], rbx
mov rbx, rax
nop
movzx eax, byte [rdx]
mov r12, rdx
test al, al
je 0x2bbf150f0
cmp al, 0x25
je 0x2bbf150f0
nop
mov rdi, r12
movzx eax, byte [r12 + 1]
add r12, 1
test al, al
je 0x2bbf150d5
cmp al, 0x25
jne 0x2bbf150c0
cmp r12, rdx
je 0x2bbf150f0
mov rax, qword [rsi]
mov r8, r12
mov rcx, r14
sub r8, rdx
call qword [rax + 0x3b8]
movzx eax, byte [rdi + 1]
test al, al
je 0x2bbf15940
movzx edx, byte [r12 + 1]
lea eax, [rdx - 0x23]
cmp al, 0x56
ja case.0x2bbf1511a.1
lea rcx, [0x2bbffc6e0]
movzx eax, al
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [r11 + 0x30]
test eax, eax
jne 0x2bbf16065
mov rsi, qword [r11 + 0x18]
cmp qword [r15 + 0x18], rsi
jne 0x2bbf1524f
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
sub eax, dword [r15 + 0x30]
jmp 0x2bbf151ec
mov r12d, dword [r11 + 0x30]
test r12d, r12d
jne 0x2bbf15efb
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x178]
test rdx, rdx
jle 0x2bbf151a8
mov rax, qword [rax + 0x180]
mov r9d, dword [r11 + 0x48]
xor ecx, ecx
lea r8, [rax + rdx*4]
mov edx, 1
cmp r9d, dword [rax]
cmove edx, ecx
add rax, 4
cmp rax, r8
jne 0x2bbf15191
test edx, edx
je 0x2bbf14a97
mov qword [rbx + 0x408], 0
mov qword [rbx + 0x4d8], 0
jmp 0x2bbf14a97
mov eax, dword [r11 + 0x24]
test eax, eax
jne 0x2bbf15ff8
mov rsi, qword [r11 + 0x18]
cmp qword [r15 + 0x18], rsi
jne 0x2bbf1524f
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
sub eax, dword [r15 + 0x24]
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 0x1f4
jg 0x2bbf14ab0
mov eax, dword [r15 + 0xc8]
add eax, 1
jmp 0x2bbf14ab5
mov rax, qword [r11 + 0x18]
cmp rax, qword [rbx + 0x1b8]
je 0x2bbf15fc5
cmp qword [rbx + 0x288], rax
je 0x2bbf15fa6
cmp qword [rbx + 0x358], rax
je 0x2bbf15f87
cmp qword [rbx + 0x428], rax
je 0x2bbf15f68
cmp qword [r15 + 0x18], rax
je 0x2bbf15fe4
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
jmp 0x2bbf14aa5
mov byte [rsp + 0xd0], dl
lea rbp, [rsp + 0xd0]
mov byte [rsp + 0xd1], 0
nop
mov rax, qword [rsi]
mov rdx, rbx
mov rcx, rbp
call qword [rax + 0x6e0]
mov rdi, qword [rsp + 0xf8]
mov rcx, r14
lea rdx, [rax + rdi]
mov rax, qword [rsi]
call qword [rax + 0x3f0]
mov rax, qword [rsi]
mov rcx, rbp
mov rdx, qword [rsp + 0xf0]
mov r8d, dword [rsp + 0xcc]
add rdx, rdi
or r8d, 1
call qword [rax + 0x2b0]
mov rcx, r14
lea rdx, [rdi + rax]
mov rax, qword [rsi]
call qword [rax + 0x3f0]
lea rdx, [r12 + 2]
jmp 0x2bbf150b0
test r13d, 0xa000f
jne 0x2bbf157a1
test r13b, 0x20
jne 0x2bbf155d8
test r13d, 0x3080
jne 0x2bbf15b00
test r13d, 0x800
jne 0x2bbf1598c
test r13d, 0x200000
jne 0x2bbf15b00
nop word [rax + rax]
lea rbp, [0x2bbffc63c]
jmp 0x2bbf15280
test r13d, 0xa000f
jne 0x2bbf1598c
test r13b, 0x20
jne 0x2bbf153c2
test r13d, 0x3080
jne 0x2bbf15366
test r13d, 0x800
jne 0x2bbf15692
test r13d, 0x200000
je 0x2bbf15328
movsxd r9, dword [r15 + 0x28]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13b, 0x20
jne 0x2bbf15366
test r13d, 0x1000
jne 0x2bbf15692
test r13b, 0x80
jne 0x2bbf15692
test r13d, 0x200000
jne 0x2bbf15692
test r13d, 0x400000
je 0x2bbf15328
movsxd r9, dword [r15 + 0x20]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13d, 0xa000f
jne 0x2bbf15b7d
test r13d, 0x8000
je 0x2bbf15328
mov r9d, dword [r15 + 0x24]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13d, 0xa0007
jne 0x2bbf15ba2
test r13b, 8
jne 0x2bbf15d2d
test r13d, 0x8000
jne 0x2bbf15de8
test r13b, 0x40
je 0x2bbf15328
mov edx, dword [r15 + 0x20]
lea rcx, [0x2bbffd0c0]
call sym.tcl9tk90.dll_TkFindStateString
mov rbp, rax
jmp 0x2bbf15280
test r13d, 0x4000
jne 0x2bbf15486
test r13d, 0x800000
je 0x2bbf15328
mov edx, dword [r15 + 0x28]
lea rcx, [0x2bbffd120]
call sym.tcl9tk90.dll_TkFindStateString
mov rbp, rax
jmp 0x2bbf15280
test r13b, 0x80
jne 0x2bbf15bc7
test r13d, 0x400
jne 0x2bbf15d52
test r13d, 0x800
jne 0x2bbf15ddc
test r13d, 0x1000
je 0x2bbf15328
mov r8d, dword [r15 + 0x48]
test r8d, r8d
jmp 0x2bbf15633
mov r9d, dword [r15 + 0x4c]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13b, 8
jne 0x2bbf15b65
test r13b, 0x10
je 0x2bbf15328
mov edx, dword [r15 + 0x20]
lea rcx, [0x2bbffd2c0]
call sym.tcl9tk90.dll_TkFindStateString
mov rbp, rax
jmp 0x2bbf15280
test r13b, 1
je 0x2bbf15328
mov r9d, dword [r15 + 0x48]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13b, 0x80
jne 0x2bbf15878
test r13d, 0x200000
jne 0x2bbf15878
test r13d, 0x100000
jne 0x2bbf15878
lea rbp, [rsp + 0xd0]
mov rdx, qword [r15 + 0x18]
mov rcx, rbp
call sym.tcl9tk90.dll_TkpPrintWindowId
jmp 0x2bbf15280
test r13b, 0x20
jne 0x2bbf15b00
test r13d, 0x1000
jne 0x2bbf1598c
test r13b, 0x80
jne 0x2bbf1598c
test r13d, 0x200000
jne 0x2bbf1598c
test r13d, 0x400000
je 0x2bbf15328
movsxd r9, dword [r15 + 0x24]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13d, 0x1000
je 0x2bbf15328
lea rbp, [rsp + 0xd0]
mov rdx, qword [r15 + 0x40]
mov rcx, rbp
call sym.tcl9tk90.dll_TkpPrintWindowId
jmp 0x2bbf15280
test r13b, 8
je 0x2bbf15328
mov edi, dword [r15 + 0x50]
test edi, edi
setne r9b
lea rbp, [rsp + 0xd0]
mov edx, 0x18
movzx r9d, r9b
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13b, 0x18
je 0x2bbf15b25
test r13b, 0x10
je 0x2bbf15d24
mov edx, dword [r15 + 0x24]
lea rcx, [0x2bbffd1e0]
call sym.tcl9tk90.dll_TkFindStateString
mov rbp, rax
jmp 0x2bbf15280
test r13b, 0x20
je 0x2bbf15328
movsxd r9, dword [r15 + 0x30]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13b, 2
je 0x2bbf15328
jmp 0x2bbf1553b
test r13b, 1
je 0x2bbf15328
lea rbp, [rsp + 0xd0]
mov r9, qword [r15 + 0xc0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
lea rbp, [rsp + 0xd0]
mov r9d, dword [rsp + 0x70]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13b, 1
je 0x2bbf15328
mov rcx, qword [r15 + 0xc0]
call sym.tcl9tk90.dll_TkKeysymToString
mov rbp, rax
test rax, rax
jne 0x2bbf15280
jmp 0x2bbf15328
mov ecx, dword [r15 + 8]
test ecx, ecx
jmp 0x2bbf15633
test r13d, 0x80000
je 0x2bbf15328
movsxd r9, dword [r15 + 0x48]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13b, 0x80
jne 0x2bbf157a1
test r13d, 0x200000
jne 0x2bbf157a1
test r13d, 0x1000
je 0x2bbf15328
movsxd r9, dword [r15 + 0x38]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
mov rax, qword [rsi]
test r13b, 1
je 0x2bbf15328
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [rax + 0x3d0]
mov r8, rdi
mov rdx, r15
mov rcx, qword [rsp + 0x410]
call sym.tcl9tk90.dll_TkpGetString
mov rbp, rax
jmp 0x2bbf15280
mov r9d, dword [r15 + 4]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
lea rbp, [rsp + 0xd0]
movsxd r9, dword [r15]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13d, 0xa000f
je 0x2bbf15328
lea rbp, [rsp + 0xd0]
mov rdx, qword [r15 + 0x28]
mov rcx, rbp
call sym.tcl9tk90.dll_TkpPrintWindowId
jmp 0x2bbf15280
test r13d, 0xa000f
je 0x2bbf15328
lea rbp, [rsp + 0xd0]
mov rdx, qword [r15 + 0x20]
mov rcx, rbp
call sym.tcl9tk90.dll_TkpPrintWindowId
jmp 0x2bbf15280
test r13d, 0x8000
je 0x2bbf15328
mov edx, dword [r15 + 0x20]
mov rcx, qword [rsp + 0x410]
call sym.tcl9tk90.dll_Tk_GetAtomName
mov rbp, rax
jmp 0x2bbf15280
test r13d, 0xa000f
je 0x2bbf15328
movsxd r9, dword [r15 + 0x3c]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
mov rdx, qword [r15 + 0x18]
mov rcx, qword [r15 + 0x10]
call sym.tcl9tk90.dll_Tk_IdToWindow
test rax, rax
je 0x2bbf15328
mov rbp, qword [rax + 0x58]
jmp 0x2bbf15280
test r13d, 0xa000f
je 0x2bbf15328
movsxd r9, dword [r15 + 0x40]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x400]
call qword [rax + 0x3d0]
mov rax, qword [rsi]
mov r8d, 1
mov rcx, r14
lea rdx, [0x2bbffc63b]
call qword [rax + 0x3b8]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x70], eax
jmp 0x2bbf14df3
movsxd r9, dword [r15 + 0x34]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
mov rcx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xb8]
test r13, r13
je 0x2bbf15cdc
mov rax, qword [rsp + 0x68]
mov qword [r13], rax
test rax, rax
jle 0x2bbf160e9
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov rax, r13
xor r12d, r12d
mov qword [rsp + 0x58], rbp
lea rdi, [rbx + 0x2168]
mov r13, r14
mov qword [rsp + 0x60], rsi
mov r14, rdi
mov qword [rsp + 0x400], rbx
mov rbx, qword [rsp + 0x68]
nop
mov rdi, r13
add r13, 1
shl rdi, 4
add rdi, rax
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x2bbf1484e
lea rbp, [r13 + 2]
shl rbp, 5
nop dword [rax + rax]
mov rsi, qword [rdx + 8]
mov rcx, qword [rdx + 0x18]
movzx eax, byte [rdx + 0x2c]
cmp rdx, qword [rsi + 8]
je 0x2bbf14820
test al, 2
je 0x2bbf15a68
and eax, 0xfffffffd
mov byte [rdx + 0x2c], al
mov rdx, rsi
jmp 0x2bbf15a38
xor esi, esi
nop word [rax + rax]
test al, 1
jne 0x2bbf15a76
mov rax, qword [r15 + 0x18]
cmp qword [rdx + 0x10], rax
je 0x2bbf15a90
mov rcx, r14
call sym.RemoveListEntry
test rsi, rsi
je 0x2bbf1482e
mov rdx, rsi
jmp 0x2bbf15a38
mov rax, r13
mov r8, qword [rcx + rbp + 8]
shl rax, 5
mov eax, dword [rcx + rax + 0x38]
test r8, r8
je 0x2bbf15ac0
mov rcx, qword [r15 + 0xc0]
test rcx, rcx
je 0x2bbf15ac0
cmp dword [r15], eax
jne 0x2bbf15ac0
cmp r8, rcx
jne 0x2bbf15a76
nop dword [rax + rax]
cmp eax, 3
ja 0x2bbf15aeb
cmp eax, 1
jbe 0x2bbf15a7e
mov eax, dword [r15]
sub eax, 4
cmp eax, 1
ja 0x2bbf15a7e
mov rax, qword [rsp + 0x400]
lea rcx, [rax + 0x2168]
call sym.RemoveListEntry
jmp 0x2bbf15a7e
sub eax, 4
cmp eax, 1
ja 0x2bbf15a7e
mov eax, dword [r15]
sub eax, 2
cmp eax, 1
ja 0x2bbf15a7e
jmp 0x2bbf15ad5
movsxd r9, dword [r15 + 0x2c]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, [0x2bbffc645]
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
test r13d, 0x200000
je 0x2bbf15cf0
lea rbp, [0x2bbffc63b]
test byte [r15 + 0x4c], 0x40
je 0x2bbf15280
mov edx, dword [r15 + 0x48]
lea rcx, [0x2bbffd000]
call sym.tcl9tk90.dll_TkFindStateString
mov rbp, rax
jmp 0x2bbf15280
mov r13, qword [rbp]
jmp 0x2bbf14dea
mov edx, dword [r15 + 0x44]
lea rcx, [0x2bbffd2c0]
call sym.tcl9tk90.dll_TkFindStateString
mov rbp, rax
jmp 0x2bbf15280
mov r9d, dword [r15 + 0x30]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
mov r9d, dword [r15 + 0x44]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
mov r11d, dword [r15 + 0x3c]
test r11d, r11d
jmp 0x2bbf15633
cmp qword [rsp + 0x418], 0
mov qword [rsp + 0x68], 0
jg 0x2bbf14d5d
mov qword [r13], 0
xor r12d, r12d
jmp 0x2bbf14879
mov eax, dword [rsp + 0x50]
cmp r8d, eax
jne 0x2bbf148df
jmp 0x2bbf14906
mov rbx, r15
cmp eax, 3
mov r15d, r13d
mov rsi, rbp
mov r13, rbx
mov rbp, qword [rsp + 0x48]
mov dword [rsp + 0x48], eax
je 0x2bbf149c6
mov rax, qword [rsi]
mov rdx, 0xffffffffffffffff
lea rcx, str._n_____command_bound_to_event_
mov rbx, qword [rax + 0x1200]
call qword [rax + 0x1d0]
mov rcx, rdi
mov rdx, rax
call rbx
mov rax, qword [rsi]
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call qword [rax + 0x1318]
mov rax, qword [rsp + 0xa0]
mov r15d, dword [rax + 0x160]
jmp 0x2bbf149c6
test dil, 4
je 0x2bbf15dc0
mov ecx, dword [r11 + 0x44]
call sym.ButtonNumberFromState
cdqe
mov qword [r15 + 0xc0], rax
jmp 0x2bbf14b75
mov rcx, qword [rsp + 0x48]
mov rdx, r11
mov qword [rsp + 0x408], r11
call sym.tcl9tk90.dll_TkpGetKeySym
mov r11, qword [rsp + 0x408]
mov qword [r15 + 0xc0], rax
jmp 0x2bbf14b75
cmp qword [rsp + 0x418], 0
mov qword [rsp + 0x68], 0
jg 0x2bbf14d5d
jmp 0x2bbf1487d
cmp qword [rsp + 0x68], 0
jg 0x2bbf159dc
jmp 0x2bbf1487d
mov rax, qword [rsi]
test r13d, 0x20000
je 0x2bbf15328
mov rcx, qword [r15 + 0x58]
lea rbp, [0x2bbffc63b]
test rcx, rcx
je 0x2bbf15280
xor edx, edx
call qword [rax + 0x1468]
mov rbp, rax
jmp 0x2bbf15280
mov edx, dword [r15 + 0x48]
jmp 0x2bbf15674
mov r9d, dword [r15 + 0x54]
lea rbp, [rsp + 0xd0]
mov edx, 0x18
lea r8, str._I64u
mov rcx, rbp
call sym.snprintf_3
jmp 0x2bbf15280
mov r10d, dword [r15 + 0x28]
test r10d, r10d
jmp 0x2bbf15633
mov eax, dword [r11]
cmp eax, 5
jg 0x2bbf160d2
cmp eax, 3
jg 0x2bbf15e82
sub eax, 2
cmp eax, 1
ja 0x2bbf151fe
mov eax, dword [r15 + 0x48]
cmp dword [r11 + 0x48], eax
jne 0x2bbf14aa5
mov eax, dword [r15 + 0x30]
sub eax, dword [r11 + 0x30]
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 0x1f4
jg 0x2bbf14aa5
mov eax, dword [r15 + 0xc8]
add dword [r15 + 0xcc], 1
add eax, 1
jmp 0x2bbf14ab5
and edi, 0x20000
je 0x2bbf14b75
mov rax, qword [r11 + 0x48]
mov qword [r15 + 0xc0], rax
jmp 0x2bbf14b75
mov r9d, dword [r15 + 0x38]
test r9d, r9d
jmp 0x2bbf15633
mov edx, dword [r15 + 0x28]
lea rcx, [0x2bbffcfa0]
call sym.tcl9tk90.dll_TkFindStateString
mov rbp, rax
jmp 0x2bbf15280
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
mov qword [rsp + 0x408], r11
mov rcx, rbp
mov rax, qword [rsi]
call qword [rax + 0xf20]
mov eax, dword [rsp + 0x2b8]
imul edx, dword [rsp + 0x2b0], 0x3e8
mov r11, qword [rsp + 0x408]
imul rax, rax, 0x10624dd3
movd xmm0, dword [r11 + 0x30]
shr rax, 0x26
add edx, eax
mov rax, qword [rsp + 0xa0]
movd xmm5, edx
punpckldq xmm0, xmm5
movq qword [rax + 0x164], xmm0
jmp 0x2bbf14a97
mov ebx, dword [rsp + 0x50]
cmp dword [rax + 0x158], ebx
jne 0x2bbf149ea
jmp 0x2bbf14a11
mov eax, dword [r11 + 0x30]
sub eax, dword [r15 + 0x30]
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 0x1f4
jg 0x2bbf14aa5
mov eax, dword [r11 + 0x3c]
sub eax, dword [r15 + 0x3c]
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 5
jg 0x2bbf14aa5
mov eax, dword [r11 + 0x40]
sub eax, dword [r15 + 0x40]
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 5
jg 0x2bbf14aa5
mov ecx, dword [r11 + 0x48]
mov eax, 1
cmp dword [r15 + 0x48], ecx
jne 0x2bbf15ee5
mov eax, dword [r15 + 0xcc]
add eax, 1
mov dword [r15 + 0xcc], eax
mov eax, dword [r15 + 0xc8]
add eax, 1
jmp 0x2bbf14ab5
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
mov qword [rsp + 0x408], r11
mov rcx, rbp
mov rax, qword [rsi]
call qword [rax + 0xf20]
mov eax, dword [rsp + 0x2b8]
imul edx, dword [rsp + 0x2b0], 0x3e8
mov r11, qword [rsp + 0x408]
imul rax, rax, 0x10624dd3
movd xmm0, dword [r11 + 0x30]
shr rax, 0x26
add edx, eax
mov rax, qword [rsp + 0xa0]
movd xmm4, edx
punpckldq xmm0, xmm4
movq qword [rax + 0x164], xmm0
jmp 0x2bbf1516a
mov qword [rbx + 0x428], 0
mov qword [rbx + 0x4d8], 0
mov rax, qword [r11 + 0x18]
jmp 0x2bbf15245
mov qword [rbx + 0x358], 0
mov qword [rbx + 0x408], 0
mov rax, qword [r11 + 0x18]
jmp 0x2bbf15238
mov qword [rbx + 0x288], 0
mov qword [rbx + 0x338], 0
mov rax, qword [r11 + 0x18]
jmp 0x2bbf1522b
mov qword [rbx + 0x1b8], 0
mov qword [rbx + 0x268], 0
mov rax, qword [r11 + 0x18]
jmp 0x2bbf1521e
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
jmp 0x2bbf151fe
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
mov qword [rsp + 0x408], r11
mov rcx, rbp
mov rax, qword [rsi]
call qword [rax + 0xf20]
mov eax, dword [rsp + 0x2b8]
imul edx, dword [rsp + 0x2b0], 0x3e8
mov r11, qword [rsp + 0x408]
imul rax, rax, 0x10624dd3
movd xmm0, dword [r11 + 0x24]
shr rax, 0x26
add edx, eax
mov rax, qword [rsp + 0xa0]
movd xmm3, edx
punpckldq xmm0, xmm3
movq qword [rax + 0x164], xmm0
jmp 0x2bbf14a97
mov rsi, qword [0x2bc041fd0]
lea rbp, [rsp + 0x2b0]
mov qword [rsp + 0x408], r11
mov rcx, rbp
mov rax, qword [rsi]
call qword [rax + 0xf20]
mov eax, dword [rsp + 0x2b8]
imul edx, dword [rsp + 0x2b0], 0x3e8
mov r11, qword [rsp + 0x408]
imul rax, rax, 0x10624dd3
movd xmm0, dword [r11 + 0x30]
shr rax, 0x26
add edx, eax
mov rax, qword [rsp + 0xa0]
movd xmm3, edx
punpckldq xmm0, xmm3
movq qword [rax + 0x164], xmm0
jmp 0x2bbf14a97
cmp eax, 8
jg 0x2bbf160f1
cmp eax, 6
je 0x2bbf151fe
mov eax, dword [r11 + 0x30]
jmp 0x2bbf15145
xor r12d, r12d
jmp 0x2bbf14879
cmp eax, 0x1c
jne 0x2bbf151fe
mov eax, dword [r11 + 0x24]
jmp 0x2bbf151e8