Function at 0x1400a96a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r11, qword [rsp + 0x80]
mov rbx, r8
mov r15, rcx
cmp word [r11], 0
je 0x1400a96e0
mov rax, qword [rcx + 0x38]
mov byte [rsp + 0x80], 1
cmp word [rax], 0
je 0x1400a96e8
mov byte [rsp + 0x80], 0
mov qword [rcx + 0x38], r11
mov rax, 0xffffffffffffffff
inc rax
cmp word [r11 + rax*2], 0
jne 0x1400a96f3
mov r12, qword [rsp + 0x70]
mov r13d, 1
mov qword [rcx + 0x40], rax
mov r14, rbx
mov rax, qword [rsp + 0x88]
mov qword [rcx + 0x50], rax
mov eax, dword [rcx]
mov dword [rsp + 0x88], eax
xor eax, eax
mov edi, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rax
mov dword [rcx], eax
mov qword [rcx + 0x48], r9
mov qword [rcx + 8], rdx
nop dword [rax]
lea rdx, str.ahk_
mov rcx, r14
mov ebp, eax
call fcn.1400a2990
mov rsi, rax
test rax, rax
je 0x1400a9862
nop dword [rax]
cmp rsi, rbx
jbe 0x1400a9779
movzx eax, word [rsi - 2]
cmp ax, 0x20
je 0x1400a9779
cmp ax, 9
jne 0x1400a9807
lea rbx, [rsi + 8]
mov r8d, 2
mov rcx, rbx
lea rdx, [0x140110b6c]
call fcn.1400c5980
test eax, eax
je 0x1400a9851
mov r8d, 3
lea rdx, [0x140110b78]
mov rcx, rbx
call fcn.1400c5980
test eax, eax
je 0x1400a9846
mov r8d, 5
lea rdx, str.group
mov rcx, rbx
call fcn.1400c5980
test eax, eax
je 0x1400a983b
mov r8d, 3
lea rdx, [0x140108540]
mov rcx, rbx
call fcn.1400c5980
test eax, eax
je 0x1400a9830
mov r8d, 5
lea rdx, str.class
mov rcx, rbx
call fcn.1400c5980
test eax, eax
je 0x1400a9825
mov rbx, qword [rsp + 0x70]
lea rcx, [rsi + 8]
lea rdx, str.ahk_
call fcn.1400a2990
mov rsi, rax
test rax, rax
jne 0x1400a9760
jmp 0x1400a9862
add rbx, 0xa
mov ebp, 8
jmp 0x1400a985a
add rbx, 6
mov ebp, SafeArrayAllocDescriptor
jmp 0x1400a985a
add rbx, 0xa
mov ebp, reloc.WSOCK32.dll_recv
jmp 0x1400a985a
add rbx, 6
mov ebp, 4
jmp 0x1400a985a
add rbx, 4
mov ebp, 2
mov rdi, rbx
mov qword [rsp + 0x68], rbx
cmp r13d, 2
je 0x1400a9a3e
cmp r13d, 4
je 0x1400a9a30
movzx eax, word [r14]
cmp ax, 0x20
je 0x1400a9886
cmp ax, 9
jne 0x1400a988c
add r14, 2
jmp 0x1400a9876
cmp rsi, r14
jne 0x1400a98a7
cmp r13d, 1
je 0x1400a9a76
lea rdi, [0x140101bd0]
jmp 0x1400a9964
test rsi, rsi
je 0x1400a9961
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x1400a9921
xor edx, edx
mov rcx, rsi
call fcn.1400c1808
mov rcx, rax
mov rax, qword [r15 + 0x18]
sub rcx, r14
sar rcx, 1
inc rcx
cmp rcx, rax
jbe 0x1400a9921
cmp rax, 0x400
jae 0x1400a98ee
mov qword [r15 + 0x18], 0x400
mov eax, 0x400
cmp rax, rcx
jae 0x1400a98ff
add rax, rax
cmp rax, rcx
jb 0x1400a98f3
mov qword [r15 + 0x18], rax
mov rcx, qword [r15 + 0x10]
call fcn.1400c5910
mov rcx, qword [r15 + 0x18]
add rcx, rcx
call fcn.1400c5924
mov qword [r15 + 0x10], rax
test rax, rax
je 0x1400a9a8c
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.1400e2970
mov rax, qword [rsp + 0x60]
xor r14d, r14d
inc rax
mov word [rbx + rdi], r14w
add rax, r12
mov qword [rsp + 0x60], rax
jmp 0x1400a9967
mov rdi, r14
xor r14d, r14d
mov eax, r13d
sub eax, 1
je 0x1400a9a07
sub eax, 7
je 0x1400a9a01
sub eax, 8
je 0x1400a99c0
cmp eax, 0x10
jne 0x1400a9a6e
mov rax, qword [r15 + 8]
mov qword [r15 + 0x70], rdi
cmp dword [rax + 0xc], 4
je 0x1400a99b5
mov edx, 0x5c
mov rcx, rdi
call fcn.1400c1808
test rax, rax
jne 0x1400a99b5
mov al, 1
mov byte [r15 + 0x78], al
jmp 0x1400a9a6e
xor al, al
mov byte [r15 + 0x78], al
jmp 0x1400a9a6e
cmp word [rdi], 0
je 0x1400a99eb
mov rbx, qword [0x14012d6e0]
test rbx, rbx
je 0x1400a99eb
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.1400c5794
test eax, eax
je 0x1400a99f6
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x1400a99d2
mov qword [r15 + 0x68], r14
xor eax, eax
jmp 0x1400a9b95
mov qword [r15 + 0x68], rbx
test rbx, rbx
je 0x1400a99ef
jmp 0x1400a9a6e
mov qword [r15 + 0x28], rdi
jmp 0x1400a9a6e
mov qword [r15 + 0x20], rdi
test rsi, rsi
je 0x1400a9a19
mov rax, r12
mov qword [r15 + 0x30], rax
jmp 0x1400a9a6e
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400a9a20
mov qword [r15 + 0x30], rax
jmp 0x1400a9a6e
mov rcx, r14
call fcn.1400a2ef0
mov dword [r15 + 0x60], eax
jmp 0x1400a9a6e
mov rcx, r14
call fcn.1400a2ef0
mov rbx, rax
cmp rax, 0xffff
je 0x1400a9a5e
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400a9a99
test byte [r15], 2
je 0x1400a9a6a
cmp rbx, qword [r15 + 0x58]
jne 0x1400a9a99
mov qword [r15 + 0x58], rbx
or dword [r15], r13d
mov rdi, qword [rsp + 0x68]
mov r14, rdi
mov r13d, ebp
test ebp, ebp
je 0x1400a9aa6
mov rbx, qword [rsp + 0x70]
xor eax, eax
jmp 0x1400a9740
xor ebp, ebp
mov qword [r15 + 0x18], rbp
xor eax, eax
jmp 0x1400a9b95
xor ebp, ebp
mov qword [r15 + 0x58], rbp
xor eax, eax
jmp 0x1400a9b95
mov eax, dword [r15]
cmp eax, dword [rsp + 0x88]
jne 0x1400a9ac0
cmp byte [rsp + 0x80], 0
je 0x1400a9b90
lea rbx, [r15 + 0xb8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400a9b90
test eax, eax
je 0x1400a9b90
mov rdi, rbx
test al, 1
jne 0x1400a9af3
mov rax, qword [r15 + 0x38]
cmp word [rax], 0
je 0x1400a9b19
lea rdi, [r15 + 0xb8]
mov r8d, 0x7fff
lea rdx, [r15 + 0xc4]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor ebp, ebp
test eax, eax
jne 0x1400a9b1b
mov word [r15 + 0xc4], bp
mov rbx, rdi
jmp 0x1400a9b1b
xor ebp, ebp
test byte [r15], 4
je 0x1400a9b31
mov rcx, qword [rbx]
lea rdx, [r15 + 0xc0]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [r15], 0x20
mov rdi, rbx
je 0x1400a9b74
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400a9b74
movzx r9d, byte [r15 + 0x78]
lea rdx, [r15 + 0x102c4]
mov ecx, dword [rsp + 0x70]
call fcn.140032038
test eax, eax
jne 0x1400a9b74
mov word [r15 + 0x102c4], bp
lea rdi, [r15 + 0xb8]
test byte [r15], 8
je 0x1400a9b90
mov rcx, qword [rdi]
lea rdx, [r15 + 0x100c2]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
mov eax, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret