Function at 0x1400a3990
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov r10, qword [rsp + 0x90]
mov r15, rcx
add rcx, 0x38
mov rbx, r8
mov qword [rsp + 0x88], rcx
cmp word [r10], 0
je 0x1400a39d9
mov rax, qword [rcx]
cmp word [rax], 0
jne 0x1400a39d9
mov byte [rsp + 0x90], 1
jmp 0x1400a39e9
mov byte [rsp + 0x90], 0
mov qword [rsp + 0x88], rcx
mov qword [rcx], r10
mov rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], 0
jne 0x1400a39f3
mov r12, qword [rsp + 0x80]
mov r14, rbx
mov qword [r15 + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [r15 + 0x50], rax
mov eax, dword [r15]
mov dword [rsp + 0x98], eax
xor eax, eax
mov qword [r15 + 0x48], r9
mov edi, eax
mov qword [r15 + 8], rdx
mov qword [rsp + 0x78], rax
lea r13d, [rax + 1]
mov qword [rsp + 0x70], rax
mov dword [r15], eax
lea rdx, str.ahk_
mov rcx, r14
mov ebp, eax
call fcn.14009cbd0
mov rsi, rax
test rax, rax
je 0x1400a3b67
nop dword [rax]
cmp rsi, rbx
jbe 0x1400a3a7e
movzx eax, word [rsi - 2]
cmp ax, 0x20
je 0x1400a3a7e
cmp ax, 9
je 0x1400a3a7e
lea rbx, [rsi + 8]
jmp 0x1400a3b07
lea rbx, [rsi + 8]
mov r8d, 2
mov rcx, rbx
lea rdx, [0x14010ab9c]
call fcn.1400c04f0
test eax, eax
je 0x1400a3b54
mov r8d, 3
lea rdx, [0x14010aba8]
mov rcx, rbx
call fcn.1400c04f0
test eax, eax
je 0x1400a3b4a
mov r8d, 5
lea rdx, str.group
mov rcx, rbx
call fcn.1400c04f0
test eax, eax
je 0x1400a3b40
mov r8d, 3
lea rdx, [0x140102580]
mov rcx, rbx
call fcn.1400c04f0
test eax, eax
je 0x1400a3b36
mov r8d, 5
lea rdx, str.class
mov rcx, rbx
call fcn.1400c04f0
test eax, eax
je 0x1400a3b2c
lea rdx, str.ahk_
mov rcx, rbx
call fcn.14009cbd0
mov rbx, qword [rsp + 0x80]
mov rsi, rax
test rax, rax
jne 0x1400a3a60
jmp 0x1400a3b67
mov ebp, 8
lea eax, [rbp + 2]
jmp 0x1400a3b5e
mov ebp, SafeArrayAllocDescriptor
lea eax, [rbp - 0x1a]
jmp 0x1400a3b5e
mov ebp, reloc.WSOCK32.dll_recv
lea eax, [rbp - 6]
jmp 0x1400a3b5e
mov ebp, 4
lea eax, [rbp + 2]
jmp 0x1400a3b5e
mov ebp, 2
mov eax, 4
lea rdi, [rax + rbx]
mov qword [rsp + 0x78], rdi
cmp r13d, 2
je 0x1400a3d4e
cmp r13d, 4
je 0x1400a3d40
nop dword [rax + rax]
movzx eax, word [r14]
cmp ax, 0x20
je 0x1400a3b90
cmp ax, 9
jne 0x1400a3b96
add r14, 2
jmp 0x1400a3b80
cmp rsi, r14
jne 0x1400a3bb1
cmp r13d, 1
je 0x1400a3d77
lea rdi, [0x1400fbbd0]
jmp 0x1400a3c71
test rsi, rsi
je 0x1400a3c6e
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x1400a3c2e
xor edx, edx
mov rcx, rsi
call fcn.1400bb988
mov rcx, rax
mov rax, qword [r15 + 0x18]
sub rcx, r14
sar rcx, 1
inc rcx
cmp rcx, rax
jbe 0x1400a3c2e
cmp rax, 0x400
jae 0x1400a3bf8
mov qword [r15 + 0x18], 0x400
mov eax, 0x400
cmp rax, rcx
jae 0x1400a3c0c
nop dword [rax]
add rax, rax
cmp rax, rcx
jb 0x1400a3c00
mov qword [r15 + 0x18], rax
mov rcx, qword [r15 + 0x10]
call fcn.1400c0480
mov rcx, qword [r15 + 0x18]
add rcx, rcx
call fcn.1400c0494
mov qword [r15 + 0x10], rax
test rax, rax
je 0x1400a3d90
mov rax, qword [r15 + 0x10]
mov r12, rsi
sub r12, r14
mov rdx, r14
sar r12, 1
dec r12
lea rdi, [rax + rbx*2]
mov rcx, rdi
lea rbx, [r12 + r12]
mov r8, rbx
call fcn.1400bba40
mov rax, qword [rsp + 0x70]
xor r14d, r14d
inc rax
mov word [rbx + rdi], r14w
add rax, r12
mov qword [rsp + 0x70], rax
jmp 0x1400a3c74
mov rdi, r14
xor r14d, r14d
mov eax, r13d
sub eax, 1
je 0x1400a3d15
sub eax, 7
je 0x1400a3d0f
sub eax, 8
je 0x1400a3ccd
cmp eax, 0x10
jne 0x1400a3d6f
mov rax, qword [r15 + 8]
mov qword [r15 + 0x70], rdi
cmp dword [rax + 0xc], 4
je 0x1400a3cc2
mov edx, 0x5c
mov rcx, rdi
call fcn.1400bb988
test rax, rax
jne 0x1400a3cc2
mov al, 1
mov byte [r15 + 0x78], al
jmp 0x1400a3d6f
xor al, al
mov byte [r15 + 0x78], al
jmp 0x1400a3d6f
cmp word [rdi], 0
je 0x1400a3cf9
mov rbx, qword [0x140127680]
test rbx, rbx
je 0x1400a3cf9
nop
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.1400c0304
test eax, eax
je 0x1400a3d04
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x1400a3ce0
mov qword [r15 + 0x68], r14
xor eax, eax
jmp 0x1400a3e98
mov qword [r15 + 0x68], rbx
test rbx, rbx
je 0x1400a3cfd
jmp 0x1400a3d6f
mov qword [r15 + 0x28], rdi
jmp 0x1400a3d6f
mov qword [r15 + 0x20], rdi
test rsi, rsi
je 0x1400a3d27
mov rax, r12
mov qword [r15 + 0x30], rax
jmp 0x1400a3d6f
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400a3d30
mov qword [r15 + 0x30], rax
jmp 0x1400a3d6f
mov rcx, r14
call fcn.14009d0e0
mov dword [r15 + 0x60], eax
jmp 0x1400a3d6f
mov rcx, r14
call fcn.14009d0e0
mov qword [r15 + 0x58], rax
cmp rax, 0xffff
je 0x1400a3d6f
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400a3d9d
or dword [r15], r13d
mov rdi, qword [rsp + 0x78]
mov r14, rdi
mov r13d, ebp
test ebp, ebp
je 0x1400a3daa
mov rbx, qword [rsp + 0x80]
xor eax, eax
jmp 0x1400a3a40
xor edi, edi
mov qword [r15 + 0x18], rdi
xor eax, eax
jmp 0x1400a3e98
xor edi, edi
mov qword [r15 + 0x58], rdi
xor eax, eax
jmp 0x1400a3e98
mov eax, dword [r15]
cmp eax, dword [rsp + 0x98]
jne 0x1400a3dc4
cmp byte [rsp + 0x90], 0
je 0x1400a3e93
mov rcx, qword [r15 + 0xb8]
test rcx, rcx
je 0x1400a3e93
test eax, eax
je 0x1400a3e93
test al, 1
jne 0x1400a3df1
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
cmp word [rax], 0
je 0x1400a3e14
mov r8d, 0x7fff
lea rdx, [r15 + 0xc4]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
test eax, eax
jne 0x1400a3e16
mov word [r15 + 0xc4], di
jmp 0x1400a3e16
xor edi, edi
test byte [r15], 4
je 0x1400a3e30
mov rcx, qword [r15 + 0xb8]
lea rdx, [r15 + 0xc0]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [r15], 0x20
je 0x1400a3e73
mov rcx, qword [r15 + 0xb8]
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400a3e73
movzx r9d, byte [r15 + 0x78]
lea rdx, [r15 + 0x102c4]
mov ecx, dword [rsp + 0x80]
call fcn.140031a84
test eax, eax
jne 0x1400a3e73
mov word [r15 + 0x102c4], di
test byte [r15], 8
je 0x1400a3e93
mov rcx, qword [r15 + 0xb8]
lea rdx, [r15 + 0x100c2]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
mov eax, 1
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret