Function at 0x1400568a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400ca058]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor edi, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140056909
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rsp + 0x78], edi
je 0x140056909
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [rsp + 0x78]
je 0x140056c05
mov ecx, dword [0x1400cacf0]
test ecx, ecx
je 0x140056bd4
cmp ecx, 1
jne 0x140056c05
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
jne 0x14005694d
mov qword [rsp + 0x30], rdi
mov rax, rdi
mov qword [rsp + 0x40], rax
mov r15d, 7
mov r12d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x30], di
jmp 0x1400569a7
mov r8d, 0x80
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov r15d, 7
mov qword [rsp + 0x48], r15
mov word [rsp + 0x30], di
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140056985
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140007d30
mov r12, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
lea rsi, [0x1400cad70]
cmp qword [0x1400cad88], 0x10
cmovae rsi, qword [0x1400cad70]
mov r14, qword [0x1400cad80]
test r14, r14
jne 0x1400569e4
mov r14, rdi
mov qword [rsp + 0x50], rdi
mov rsi, rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r15
jmp 0x140056a73
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], r15
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140056c50
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x60], xmm1
mov r12, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov r15, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
lea rbx, [rsp + 0x50]
cmp r15, 8
cmovae rbx, r14
lea rcx, [rsp + 0x30]
mov r13, qword [rsp + 0x30]
cmp r12, 8
cmovae rcx, r13
mov qword [rsp + 0x70], rcx
cmp rsi, rax
ja 0x140056b45
sub rax, rsi
test rsi, rsi
je 0x140056b4c
inc rax
lea rdx, [rcx + rax*2]
mov qword [rsp + 0x78], rdx
mov rax, rcx
movzx r11d, word [rbx]
nop
mov rcx, rdx
sub rcx, rax
sar rcx, 1
mov rdx, rdi
je 0x140056aea
cmp word [rax], r11w
je 0x140056ae7
cmp rcx, 1
je 0x140056aea
dec rcx
add rax, 2
cmp word [rax], r11w
jne 0x140056ad4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140056b45
mov r9, rsi
mov rcx, rbx
movzx edx, word [rdx]
movzx r8d, r11w
cmp dx, r11w
jb 0x140056b2d
mov r10, rax
sub r10, rbx
cmp dx, r11w
ja 0x140056b2d
cmp r9, 1
je 0x140056b38
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140056b0f
add rax, 2
mov rdx, qword [rsp + 0x78]
jmp 0x140056ac0
mov rdi, rax
sub rdi, qword [rsp + 0x70]
sar rdi, 1
jmp 0x140056b4c
mov rdi, 0xffffffffffffffff
cmp rdi, 0xffffffffffffffff
setne bl
cmp r15, 8
jb 0x140056b98
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140056b86
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c41
mov rcx, r14
call fcn.140059350
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x30]
cmp r12, 8
jb 0x140056bcf
lea rdx, [r12*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x140056bc7
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c3b
mov rcx, r13
call fcn.140059350
movzx eax, bl
jmp 0x140056c0b
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
je 0x140056c09
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140056c09
xor al, al
jmp 0x140056c0b
mov al, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400590e0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005fcec
nop
call fcn.14005fcec
nop
int3