Function at 0x140038300
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400b1080]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor edi, edi
cmp qword [0x140294aa8], rdi
jne 0x140038379
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
je 0x140038372
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14003860c
mov al, 1
jmp 0x14003860c
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r8d, 0x80
lea rdx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], dil
jne 0x1400383d2
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x140038652
cmp rbx, 0xf
ja 0x14003841d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 0xf
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x28]
call fcn.14005b600
mov byte [rsp + rbx + 0x28], dil
jmp 0x1400384b5
mov rax, rbx
or rax, 0xf
cmp rax, r14
jbe 0x140038456
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140039420
test rax, rax
je 0x140038658
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140038493
mov r14, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
test rcx, rcx
jne 0x140038473
mov rsi, rdi
jmp 0x140038493
cmp rcx, 0x1000
jb 0x14003848b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003864c
jmp 0x140038437
call fcn.140039420
mov rsi, rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r14
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14005b600
mov byte [rsi + rbx], dil
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
call fcn.1400381f0
nop
lea rdx, [0x140294a98]
lea rcx, [rbp - 0x78]
call fcn.140002580
mov r8, rax
lea rdx, [rsp + 0x68]
call fcn.1400381f0
mov rbx, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400384f3
mov rbx, qword [rax]
lea r15, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov r13, qword [rsp + 0x60]
cmp r13, 0xf
cmova r15, rsi
mov rax, qword [rsp + 0x58]
cmp r14, rax
ja 0x140038579
sub rax, r14
test r14, r14
je 0x140038580
lea r12, [rax + r15]
movsx r13d, byte [rbx]
lea r8, [r12 + 1]
sub r8, r15
mov edx, r13d
mov rcx, r15
call fcn.14005c120
mov rdi, rax
test rax, rax
je 0x140038574
nop
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.14005c040
test eax, eax
je 0x140038639
inc rdi
lea r8, [r12 + 1]
sub r8, rdi
mov edx, r13d
mov rcx, rdi
call fcn.14005c120
mov rdi, rax
test rax, rax
jne 0x140038540
mov r13, qword [rsp + 0x60]
mov rdi, 0xffffffffffffffff
cmp rdi, 0xffffffffffffffff
setne bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400385c3
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400385be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003865e
call fcn.14003976c
movdqa xmm0, xmmword [0x1400a4870]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
cmp r13, 0xf
jbe 0x140038609
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140038601
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038646
mov rcx, rsi
call fcn.14003976c
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140039400
lea r11, [rsp + 0x140]
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
sub rdi, r15
mov r13, qword [rsp + 0x60]
jmp 0x140038580
call fcn.14003f4c4
int3
call fcn.140001ff0
int3
call fcn.140002090
int3
call fcn.14003f4c4
nop
call fcn.14003f4c4
int3