Function at 0x140016710
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov rsi, rcx
call qword [0x140094b80]
mov r14, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
add edi, 2
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov rcx, r14
mov rdx, rax
mov r8d, edi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], 0
mov rcx, rbx
call fcn.14005e328
mov r14, rax
cmp rax, 7
jbe 0x1400167ab
lea rcx, [rsp + 0x48]
mov rdx, r14
mov r9, rbx
call fcn.140018d60
jmp 0x1400167cb
mov qword [rsp + 0x58], r14
mov r8, r14
add r8, r14
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.14004d550
mov word [rsp + r14*2 + 0x48], 0
mov qword [rsp + 0x68], rsi
mov r14, qword [rsp + 0x58]
cmp qword [rsp + 0x60], 8
jb 0x1400167e4
mov rsi, qword [rsp + 0x48]
jmp 0x1400167e9
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], 0
lea r15, [rsp + 0x28]
mov rcx, r15
mov rdx, r14
call fcn.140018e80
test r14, r14
je 0x14001687f
add r14, r14
xor r12d, r12d
jmp 0x140016846
mov edx, 1
mov rcx, r15
call fcn.140019080
add r12, 2
cmp r14, r12
je 0x14001687f
movzx r9d, word [rsi + r12]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
cmp rax, rcx
jae 0x140016830
lea rdx, [rax + 1]
mov qword [rsp + 0x38], rdx
mov rdx, r15
cmp rcx, 8
jb 0x140016871
mov rdx, qword [rsp + 0x28]
mov word [rdx + rax*2], r9w
mov word [rdx + rax*2 + 2], 0
jmp 0x14001683d
lea r15, [rsp + 0x90]
mov rcx, r15
call fcn.140016be0
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x40], 8
jb 0x1400168a3
mov r8, qword [rsp + 0x28]
jmp 0x1400168a8
lea r8, [rsp + 0x28]
lea r9, [r8 + rax*2]
lea r14, [rsp + 0x70]
mov rcx, r15
mov rdx, r14
call fcn.140019a90
mov rcx, r15
call fcn.140016da0
movsxd rdx, edi
mov rcx, rbx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp byte [0x140094e4e], 0
jne 0x1400168ef
mov word [0x140094e4c], 0x5b
mov byte [0x140094e4e], 1
movabs r13, 0x7fffffffffffffff
lea rcx, [0x140094e4c]
call fcn.14005a5e0
mov rbx, rax
mov rdi, qword [rsp + 0x80]
mov rax, r13
sub rax, rdi
cmp rax, rbx
jb 0x140016bca
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov qword [rsp + 0x90], 0
lea r12, [rdi + rbx]
mov eax, 0xf
cmp r12, 0x10
jb 0x14001699c
test r12, r12
js 0x140016978
mov rax, r12
or rax, 0xf
cmp rax, 0x17
mov r13d, 0x16
cmovae r13, rax
lea rcx, [r13 + 1]
cmp r13, 0xfff
jae 0x14001697c
call fcn.14001e25c
mov r15, rax
jmp 0x140016991
lea rcx, [r13 + 1]
add rcx, 0x27
call fcn.14001e25c
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov qword [rsp + 0x90], r15
mov rax, r13
cmp rsi, 0x10
cmovae r14, rbp
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], rax
lea rdx, [0x140094e4c]
mov rcx, r15
mov r8, rbx
call fcn.14004d550
add rbx, r15
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.14004d550
mov byte [r15 + r12], 0
cmp byte [0x140094e54], 0
jne 0x1400169f5
mov word [0x140094e52], 0x5d
mov byte [0x140094e54], 1
lea rcx, [0x140094e52]
call fcn.14005a5e0
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov r8, rdx
sub r8, rcx
cmp r8, rax
jae 0x140016a3d
mov qword [rsp + 0x20], rax
lea r9, [0x140094e52]
lea rcx, [rsp + 0x90]
mov rdx, rax
call fcn.14001a050
mov rdi, rax
jmp 0x140016a7a
mov rsi, rax
add rsi, rcx
mov qword [rsp + 0xa0], rsi
lea rdi, [rsp + 0x90]
mov rbx, rdi
cmp rdx, 0x10
jb 0x140016a64
mov rbx, qword [rsp + 0x90]
add rcx, rbx
lea rdx, [0x140094e52]
mov r8, rax
call fcn.14004d550
mov byte [rbx + rsi], 0
mov rsi, qword [rsp + 0x68]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov rax, qword [rsp + 0xa8]
cmp rax, 0x10
jb 0x140016ae7
mov rcx, qword [rsp + 0x90]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140016ae2
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140016bcf
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14001e2a0
mov rax, qword [rsp + 0x88]
cmp rax, 0x10
jb 0x140016b2b
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140016b26
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140016bcf
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14001e2a0
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x140016b6f
mov rcx, qword [rsp + 0x28]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140016b6a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140016bcf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14001e2a0
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x140016bb3
mov rcx, qword [rsp + 0x48]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140016bae
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140016bcf
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14001e2a0
mov rax, rsi
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400181b0
call fcn.140055a14
int3