Function at 0x140013f90
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400cf100]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
mov qword [rbp - 1], rcx
xor r14d, r14d
mov dword [rbp - 0x59], r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
movsxd rsi, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.1400461c0
mov dword [rbp - 0x59], 1
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14001400e
mov rdx, qword [rbx]
lea r8d, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 0x29]
call fcn.14003f110
nop
lea r8, [0x1400ba636]
lea rdx, [0x1400ba634]
lea rcx, [rbp - 0x31]
call fcn.140045a80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movdqa xmm6, xmmword [0x1400c0230]
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov dword [rbp - 0x59], 3
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov r8d, 2
lea rdx, [0x1400ba62c]
lea rcx, [rbp + 7]
call fcn.140004340
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14001409b
mov rcx, qword [rbx]
lea r9, [rcx + rax*2]
mov r8, rcx
jmp 0x1400140a2
lea r9, [rbx + rax*2]
mov r8, rbx
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.14004bbd0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140014102
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400140fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400146e5
call fcn.140076910
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.14003e940
mov dword [rbp - 0x59], 1
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140014155
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014150
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400146eb
call fcn.140076910
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov esi, 0xffffffff
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400141ac
mov eax, esi
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x1400141ac
mov rdi, qword [rbp - 0x31]
test rdi, rdi
je 0x1400141ac
nop dword [rax]
nop word [rax + rax]
mov rcx, rdi
lea rax, [rdi + 0x10]
mov rdi, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rdi, rdi
jne 0x140014190
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400141d5
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400141d5
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 0x29]
call fcn.14003f110
nop
lea r8, [0x1400b96de]
lea rdx, [0x1400b96dc]
lea rcx, [rbp - 0x31]
call fcn.140045a80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov dword [rbp - 0x59], 5
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov r8d, 2
lea rdx, [0x1400ba638]
lea rcx, [rbp + 7]
call fcn.140004340
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14001424d
mov rcx, qword [rbx]
lea r9, [rcx + rax*2]
mov r8, rcx
jmp 0x140014254
lea r9, [rbx + rax*2]
mov r8, rbx
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.14004bbd0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x1400142b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400142af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400146f1
call fcn.140076910
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.14003e940
mov dword [rbp - 0x59], 1
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140014307
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014302
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400146f7
call fcn.140076910
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14001434c
mov eax, esi
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14001434c
mov rdi, qword [rbp - 0x31]
test rdi, rdi
je 0x14001434c
nop
mov rcx, rdi
lea rax, [rdi + 0x10]
mov rdi, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rdi, rdi
jne 0x140014330
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140014375
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140014375
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 0x29]
call fcn.14003f110
nop
lea r8, [0x1400b9804]
lea rdx, [0x1400b9800]
lea rcx, [rbp - 0x31]
call fcn.140045a80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov dword [rbp - 0x59], 9
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov r8d, 2
lea rdx, [0x1400b9800]
lea rcx, [rbp + 7]
call fcn.140004340
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x1400143ed
mov rcx, qword [rbx]
lea r9, [rcx + rax*2]
mov r8, rcx
jmp 0x1400143f4
lea r9, [rbx + rax*2]
mov r8, rbx
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.14004bbd0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140014454
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001444f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400146fd
call fcn.140076910
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.14003e940
mov dword [rbp - 0x59], 1
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x1400144a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400144a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014703
call fcn.140076910
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400144ec
mov eax, esi
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x1400144ec
mov rdi, qword [rbp - 0x31]
test rdi, rdi
je 0x1400144ec
nop
mov rcx, rdi
lea rax, [rdi + 0x10]
mov rdi, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rdi, rdi
jne 0x1400144d0
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140014515
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140014515
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 0x29]
call fcn.14003f110
nop
lea r8, [0x1400ba64a]
lea rdx, [0x1400ba648]
lea rcx, [rbp - 0x31]
call fcn.140045a80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov dword [rbp - 0x59], 0x11
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov r8d, 2
lea rdx, [0x1400ba640]
lea rcx, [rbp + 7]
call fcn.140004340
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14001458d
mov rcx, qword [rbx]
lea r9, [rcx + rax*2]
mov r8, rcx
jmp 0x140014594
lea r9, [rbx + rax*2]
mov r8, rbx
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.14004bbd0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x1400145f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400145ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014709
call fcn.140076910
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.14003e940
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140014641
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001463c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400146df
call fcn.140076910
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r14w
mov rax, qword [rbp - 0x31]
test rax, rax
je 0x14001468c
lock xadd dword [rax + 0x2c], esi
cmp esi, 1
jne 0x14001468c
mov rdi, qword [rbp - 0x31]
test rdi, rdi
je 0x14001468c
nop word [rax + rax]
mov rcx, rdi
lea rax, [rdi + 0x10]
mov rdi, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rdi, rdi
jne 0x140014670
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400146b3
mov r8, qword [rcx]
call qword [r8 + 0x10]
test rax, rax
je 0x1400146b3
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400768f0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140086abc
nop
call fcn.140086abc
nop
call fcn.140086abc
nop
call fcn.140086abc
nop
call fcn.140086abc
nop
call fcn.140086abc
nop
call fcn.140086abc
nop
call fcn.140086abc
int3