Function at 0x14006e3d0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov rbx, qword [0x14013f500]
call fcn.140086740
mov r13d, 1
mov r15, rax
test rax, rax
je 0x14006e40a
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r12d, [rax + 1]
jmp 0x14006e40d
mov r12d, r13d
movzx ecx, byte [rbx + 0x23]
lea eax, [r12 - 1]
xor edi, edi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r14
movsxd rbp, eax
test cl, cl
jne 0x14006e444
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
mov r8, rbp
xor edx, edx
mov byte [rsp + 0x20], r13b
call fcn.1400e6e20
jmp 0x14006e6da
movzx r14d, r13b
movzx r8d, r13b
cmp rbp, 0xffffffffffffffff
jne 0x14006e45a
xor r8b, r8b
mov rbp, rdi
jmp 0x14006e45d
xor r14b, r14b
lea rax, [rbp + 1]
lea rsi, [rax + rax]
cmp cl, 2
jne 0x14006e4a1
test r14b, r14b
je 0x14006e483
lea rcx, [0x1401035ac]
mov rdx, rbp
call fcn.140006bc0
jmp 0x14006e6da
lea rcx, [0x140143dd0]
mov rdx, rax
call fcn.140006c80
mov r11d, edi
test rax, rax
setne r11b
jmp 0x14006e6dd
mov rcx, qword [0x14013b0d0]
cmp rsi, rcx
jbe 0x14006e4bf
cmp rsi, qword [rbx + 0x18]
jbe 0x14006e4bf
lea rdx, [0x140124720]
jmp 0x14006e6c7
cmp rax, 2
jae 0x14006e4e0
test r8b, r8b
mov edx, edi
mov rcx, rbx
setne dl
xor r8d, r8d
add edx, 2
call fcn.1400e74d0
jmp 0x14006e6f9
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14006e4fd
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [0x14013b0d0]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rsi, r8
jbe 0x14006e670
movzx r9d, byte [rbx + 0x20]
movzx eax, r9b
cmp r9b, r13b
jbe 0x14006e52f
cmp al, 2
je 0x14006e56c
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
jmp 0x14006e662
mov edi, 0x80
cmp rsi, rdi
ja 0x14006e56c
cmp rsi, 8
ja 0x14006e546
mov edi, 8
jmp 0x14006e552
mov eax, reloc.WSOCK32.dll_recv
cmp rsi, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400dd290
test rax, rax
je 0x14006e6e2
mov byte [rbx + 0x20], r13b
jmp 0x14006e662
cmp rsi, 0x20
jae 0x14006e57c
mov edi, SafeArrayAllocDescriptor
jmp 0x14006e626
mov edi, 0x208
cmp rsi, rdi
jb 0x14006e626
cmp rsi, 0x50000
jae 0x14006e5e2
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x14006e5a9
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor eax, eax
comisd xmm0, xmm1
jbe 0x14006e5d8
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14006e5d8
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x14006e626
cmp rsi, 0x320000
jae 0x14006e5f4
lea rdi, [rsi + 0x8000]
jmp 0x14006e626
cmp rsi, 0xc80000
jae 0x14006e61f
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x14006e626
lea rdi, [rsi + 0x20000]
cmp rdi, rcx
cmova rdi, rcx
cmp r9b, 2
jne 0x14006e648
test r8, r8
je 0x14006e648
mov rcx, qword [rbx + 8]
movzx esi, r13b
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x14006e64b
xor sil, sil
test rdi, rdi
js 0x14006e69d
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x14006e69d
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 0x18], rdi
mov qword [rbx + 8], rax
xor edi, edi
test r14b, r14b
je 0x14006e6e9
mov rcx, qword [rbx + 8]
lea rax, [0x1401035ac]
cmp rcx, rax
je 0x14006e693
lea r8, [rbp + rbp]
mov rdx, rax
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rbx + 8]
mov word [rax + rbp*2], di
jmp 0x14006e6f0
xor edi, edi
test sil, sil
je 0x14006e6b5
lea rax, [0x140141fa8]
mov qword [rbx + 0x18], rdi
mov qword [rbx + 8], rax
jmp 0x14006e6bc
mov rax, qword [rbx + 8]
mov word [rax], di
mov qword [rbx + 0x10], rdi
lea rdx, str.Out_of_memory.
lea r8, [0x1401035ac]
lea rcx, [0x140143150]
call fcn.14005f7b0
mov r11d, eax
cmp r11d, r13d
je 0x14006e6f9
xor eax, eax
jmp 0x14006e80c
mov rax, qword [rbx + 8]
mov word [rax], di
lea rax, [rbp + rbp]
mov qword [rbx + 0x10], rax
xor r8d, r8d
mov edx, r13d
mov rcx, rbx
call fcn.140001830
test r15, r15
je 0x14006e7a2
mov rdx, rax
mov r8d, r12d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rbx + 0x23], 0
movsxd rbp, eax
jne 0x14006e72e
mov rsi, qword [rbx + 0x10]
jmp 0x14006e731
mov rsi, rbx
lea rdi, [0x140143ff8]
cmp byte [rsi + 0x23], r13b
jne 0x14006e752
test byte [rsi + 0x21], 8
je 0x14006e74c
mov rcx, rsi
call fcn.140001130
add rsi, 0x10
jmp 0x14006e755
mov rsi, rdi
lea rax, [rbp + rbp]
mov qword [rsi], rax
cmp byte [rbx + 0x23], 0
jne 0x14006e769
mov rsi, qword [rbx + 0x10]
jmp 0x14006e76c
mov rsi, rbx
cmp byte [rsi + 0x23], r13b
jne 0x14006e784
test byte [rsi + 0x21], 8
je 0x14006e780
mov rcx, rsi
call fcn.140001130
lea rdi, [rsi + 0x10]
test qword [rdi], 0xfffffffffffffffe
jne 0x14006e7da
xor r8d, r8d
mov edx, r13d
mov rcx, rbx
call fcn.140001830
xor ecx, ecx
mov word [rax], cx
jmp 0x14006e7da
mov word [rax], di
cmp byte [rbx + 0x23], 0
jne 0x14006e7b1
mov rdi, qword [rbx + 0x10]
jmp 0x14006e7b4
mov rdi, rbx
cmp byte [rdi + 0x23], r13b
jne 0x14006e7ce
test byte [rdi + 0x21], 8
je 0x14006e7c8
mov rcx, rdi
call fcn.140001130
add rdi, 0x10
jmp 0x14006e7d5
lea rdi, [0x140143ff8]
xor ecx, ecx
mov qword [rdi], rcx
cmp byte [rbx + 0x23], 0
jne 0x14006e7e4
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x14006e805
cmp qword [0x140143de8], 0
je 0x14006e805
lea rcx, [0x140143dd0]
call fcn.140006d40
mov r13d, eax
jmp 0x14006e809
and byte [rbx + 0x21], 0x86
mov eax, r13d
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret