Function at 0x1400022a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x1400eb080]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor r15d, r15d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1400022fb
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [rsp + 0x80]
je 0x14000230e
mov ecx, dword [0x1400ebd20]
test ecx, ecx
je 0x140002515
cmp ecx, 1
je 0x140002315
xor al, al
jmp 0x140002533
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
jne 0x14000233e
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1400da010]
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x20], r15w
jmp 0x140002391
mov r8d, 0x80
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x90]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140002375
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140001b10
mov rsi, qword [rsp + 0x20]
lea rbp, [rsp + 0x20]
lea rdx, [0x1400ebda8]
lea rcx, [rsp + 0x60]
call fcn.1400020b0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001d80
mov r11, rax
mov rbx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400023ca
mov r11, qword [rax]
mov rdi, rsi
mov r14, qword [rsp + 0x38]
cmp r14, 8
cmovb rdi, rbp
mov rax, qword [rsp + 0x30]
cmp rbx, rax
ja 0x140002475
sub rax, rbx
test rbx, rbx
jne 0x1400023f8
mov rcx, r15
jmp 0x14000247c
lea rbp, [rdi + 2]
lea rbp, [rbp + rax*2]
mov rcx, rdi
movzx r10d, word [r11]
nop dword [rax + rax]
mov rax, rbp
sub rax, rcx
sar rax, 1
mov rdx, r15
je 0x14000243a
cmp word [rcx], r10w
je 0x140002437
cmp rax, 1
je 0x14000243a
dec rax
add rcx, 2
cmp word [rcx], r10w
jne 0x140002424
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x140002475
mov r8, rbx
mov rdx, r11
test rbx, rbx
je 0x140002467
mov r9, rcx
sub r9, r11
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14000246f
add rdx, 2
sub r8, 1
jne 0x140002453
sub rcx, rdi
sar rcx, 1
jmp 0x14000247c
add rcx, 2
jmp 0x140002410
mov rcx, 0xffffffffffffffff
cmp rcx, 0xffffffffffffffff
setne bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400024c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002566
call fcn.140056c40
movdqa xmm0, xmmword [0x1400da010]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
cmp r14, 8
jb 0x140002510
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140002508
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002560
mov rcx, rsi
call fcn.140056c40
movzx eax, bl
jmp 0x140002533
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
sete al
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400569d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14005d6c4
nop
call fcn.14005d6c4
nop
int3