Function at 0x1400379e0
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 - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400ad030]
xor rax, rsp
mov qword [rbp + 0x40], rax
cmp qword [0x1400adab8], 0
jne 0x140037a58
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 0x140037a51
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140037d10
mov al, 1
jmp 0x140037d10
xorps xmm0, 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
movups xmmword [rbp + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov r8d, 0x80
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140037ab4
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400022b0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rsi, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
jb 0x140037af5
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
add r14, rbx
mov rsi, rbx
jmp 0x140037b04
lea r14, [rsp + 0x30]
add r14, qword [rsp + 0x40]
lea rbx, [rsp + 0x30]
cmp rbx, r14
je 0x140037b23
sub rsi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.14003e9c4
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x140037b10
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
lea rdx, [0x1400adaa8]
lea rcx, [rbp - 0x68]
call fcn.140002810
mov rsi, rax
mov qword [rsp + 0x28], rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140037b78
mov rbx, qword [rax]
add r14, rbx
mov r15, rbx
jmp 0x140037b81
add r14, rsi
mov rbx, rsi
mov r15, rsi
cmp rbx, r14
je 0x140037ba4
sub r15, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.14003e9c4
mov byte [r15 + rbx], al
inc rbx
cmp rbx, r14
jne 0x140037b90
movups xmm1, xmmword [rsi]
movups xmmword [rsp + 0x78], xmm1
movups xmm2, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x78], xmm2
mov byte [rsi], 0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
lea r13, [rsp + 0x78]
movdqa xmm0, xmm2
psrldq xmm0, 8
movq rdx, xmm0
mov qword [rsp + 0x50], rdx
cmp rdx, 0x10
setae byte [rsp + 0x21]
movq r14, xmm1
cmovae r13, r14
lea rax, [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 0x10
setae r12b
mov byte [rsp + 0x20], r12b
mov rbx, qword [rsp + 0x58]
cmovae rax, rbx
mov qword [rsp + 0x28], rax
movq rsi, xmm2
mov rcx, qword [rsp + 0x68]
cmp rsi, rcx
ja 0x140037c93
test rsi, rsi
je 0x140037c9a
sub rcx, rsi
lea r15, [rcx + rax]
movsx r12d, byte [r13]
lea r8, [r15 + 1]
sub r8, rax
mov edx, r12d
mov rcx, rax
call fcn.1400542d0
mov rdi, rax
test rax, rax
je 0x140037c83
nop dword [rax]
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call fcn.1400540c0
test eax, eax
je 0x140037d3d
inc rdi
lea r8, [r15 + 1]
sub r8, rdi
mov edx, r12d
mov rcx, rdi
call fcn.1400542d0
mov rdi, rax
test rax, rax
jne 0x140037c50
mov rdx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x70]
movzx r12d, byte [rsp + 0x20]
mov rdi, 0xffffffffffffffff
cmp rdi, 0xffffffffffffffff
setne dil
cmp byte [rsp + 0x21], 0
je 0x140037cda
inc rdx
mov rax, r14
cmp rdx, 0x1000
jb 0x140037cd1
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037d5d
mov rcx, r14
call fcn.14003940c
nop
test r12b, r12b
je 0x140037d0c
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140037d04
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037d57
mov rcx, rbx
call fcn.14003940c
movzx eax, dil
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140039090
lea r11, [rsp + 0x150]
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, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x70]
movzx r12d, byte [rsp + 0x20]
jmp 0x140037c9a
call fcn.14003e04c
nop
call fcn.14003e04c
int3