Function at 0x140039050
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, r9
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x58], r8
mov dword [rsp + 0x30], edx
mov r15, rcx
mov qword [rsp + 0x70], rcx
mov rax, qword [rbp + 0x258]
mov qword [rsp + 0x50], rax
mov edx, 0xffffffeb
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
je 0x1400394f9
cmp qword [rax + 0xd60], 0
jne 0x1400394f9
lea rcx, [rsp + 0x38]
call fcn.14003a650
nop
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
sar rcx, 3
mov r14, qword [rbp + 0x250]
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
cmp ecx, eax
jne 0x1400394ef
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
mov r9, rax
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.14003b5f0
test eax, eax
js 0x1400394ef
movsxd rdi, eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov rdx, qword [rsp + 0x38]
test eax, eax
je 0x14003949c
lea rsi, [rdi*8]
mov qword [rsp + 0x60], rsi
mov rax, qword [rdx + rsi]
cmp rbx, qword [rax + 0xd60]
je 0x14003949c
lea rdx, [r12 + 0x410]
xor edi, edi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], di
jne 0x140039184
lea rcx, [rbp - 0x68]
call fcn.14000d670
nop
mov r13, qword [rbp - 0x68]
mov r14, qword [rbp - 0x58]
test r14, r14
je 0x14003944e
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + rsi]
mov r8d, 0x104
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx + 0xd60]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], di
lea rax, [rbp - 0x20]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400391e0
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x78]
call fcn.14000d670
nop
lea rbx, [rsp + 0x78]
mov r10, qword [rsp + 0x78]
mov r11, qword [rbp - 0x70]
cmp r11, 8
cmovae rbx, r10
mov rsi, qword [rbp - 0x78]
cmp rsi, 1
jb 0x140039412
lea rdi, [rbx + rsi*2]
mov r8, rbx
lea r15, [0x14009f3b0]
nop
mov rax, rdi
sub rax, r8
sar rax, 1
je 0x140039412
cmp word [r8], 0x2e
je 0x140039250
add r8, 2
sub rax, 1
jmp 0x140039239
mov edx, 1
mov rcx, r15
mov r9, r8
sub r9, r15
nop
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x140039328
add rcx, 2
sub rdx, 1
jne 0x140039260
sub r8, rbx
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x140039412
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], ax
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x78]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp - 0x48]
call fcn.14000d670
nop
lea r10, [rbp - 0x48]
mov rbx, qword [rbp - 0x48]
mov r15, qword [rbp - 0x30]
cmp r15, 8
cmovae r10, rbx
lea rsi, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rsi, r13
mov r11, qword [rbp - 0x38]
cmp r11, r14
ja 0x1400393ce
test r11, r11
je 0x140039366
sub r14, r11
lea rdi, [r14 + 1]
lea rdi, [rsi + rdi*2]
mov rdx, rsi
nop dword [rax]
mov rax, rdi
sub rax, rdx
sar rax, 1
je 0x1400393ce
movzx ecx, word [r10]
cmp word [rdx], cx
je 0x140039331
add rdx, 2
sub rax, 1
je 0x1400393ce
jmp 0x140039313
add r8, 2
jmp 0x140039230
mov r8, r11
mov rax, r10
test r11, r11
je 0x14003935a
mov r9, rdx
sub r9, r10
movzx ecx, word [rax]
cmp word [r9 + rax], cx
jne 0x140039493
add rax, 2
sub r8, 1
jne 0x140039342
sub rdx, rsi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x1400393ce
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x60]
mov rdx, qword [rax + rdi]
mov rdx, qword [rdx + 0xd60]
lea rcx, [0x1400cf248]
call fcn.1400381e0
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + rdi]
mov rax, qword [rdx + 0xd60]
mov qword [r12 + 0xd60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x250]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.140039ad0
nop
cmp r15, 8
jb 0x140039409
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140039401
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039534
mov rcx, rbx
call fcn.14006ec58
mov r10, qword [rsp + 0x78]
mov r11, qword [rbp - 0x70]
cmp r11, 8
jb 0x14003944e
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140039445
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003953a
mov rcx, r10
call fcn.14006ec58
nop
mov rax, qword [rbp - 0x50]
cmp rax, 8
jb 0x1400394ef
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x140039489
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003952e
mov rcx, r13
call fcn.14006ec58
jmp 0x1400394ef
add rdx, 2
jmp 0x140039300
mov rdx, qword [rdx + rdi*8]
mov rdx, qword [rdx + 0xd60]
lea rcx, [0x1400cf248]
call fcn.1400381e0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + rdi*8]
mov rax, qword [rcx + 0xd60]
mov qword [r12 + 0xd60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, r13
mov r8, qword [rsp + 0x58]
mov edx, dword [rsp + 0x30]
mov rcx, r15
call fcn.140039ad0
nop
lea rcx, [rsp + 0x38]
call fcn.14001b730
mov eax, 1
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007576c
nop
call fcn.14007576c
nop
call fcn.14007576c
int3