Function at 0x1400a17c8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov r14b, r9b
mov rdi, r8
movsxd r15, edx
lea r9, [rbp + 0x80]
lea r8, [rbp - 0x30]
lea rcx, [0x1400e3de0]
mov edx, r15d
call fcn.1400042a0
xor r12d, r12d
test al, al
jne 0x1400a1821
mov dword [rdi], r12d
jmp 0x1400a1f79
mov rax, qword [0x1400e3ea8]
movsxd rcx, dword [rbp + 0x80]
or r13, 0xffffffffffffffff
mov rcx, qword [rax + rcx*8]
mov dword [rdi], r13d
mov rbx, qword [rcx]
movzx eax, byte [rbx + 0xfc]
mov rsi, qword [rbx]
cmp eax, 0x11
jg 0x1400a1bf6
je 0x1400a1b16
test eax, eax
je 0x1400a1ac3
cmp eax, 1
je 0x1400a1a58
cmp eax, 8
je 0x1400a1a4e
cmp eax, 0xa
je 0x1400a1a0b
cmp eax, 0xc
je 0x1400a1819
cmp eax, 0xd
jle 0x1400a1cfd
cmp eax, 0xf
jle 0x1400a1940
cmp eax, 0x10
jne 0x1400a1cfd
lea r8d, [r13 + 0xa]
xor r9d, r9d
mov edx, 0x110a
mov rcx, rsi
mov dword [rdi], r12d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400a1f79
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 4
test r14b, r14b
je 0x1400a1919
mov ecx, 0x2000
call fcn.14002686c
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
mov dword [rsp + 0x30], 1
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400a1abb
mov rcx, rbx
call fcn.140026914
jmp 0x1400a1f79
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400a1f79
mov eax, dword [rsp + 0x60]
jmp 0x1400a1f77
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x1400a1f79
mov ecx, 0x208
call fcn.14002686c
mov rcx, qword [rbx + 0x18]
xor r8d, r8d
mov dword [rbp], 0x50
lea r9, [rbp]
mov edx, r15d
mov rsi, rax
test r14b, r14b
je 0x1400a19a8
mov dword [rbp + 4], reloc.WSOCK32.dll_recv
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], 0x104
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
jne 0x1400a19a0
mov dword [rdi], r12d
mov rcx, rsi
jmp 0x1400a190f
mov rax, rsi
jmp 0x1400a1f7b
mov dword [rbp + 4], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
test eax, eax
je 0x1400a190f
call fcn.140026914
mov r8d, dword [rbp + 0xc]
mov al, r8b
mov dword [rdi], r8d
and al, 3
neg al
sbb ecx, ecx
and ecx, 0x40
add ecx, 0x40
test r8d, 0x8080
je 0x1400a19eb
mov edx, 0x100
or ecx, edx
test r8b, 8
je 0x1400a19f6
or ecx, 1
jmp 0x1400a19f9
or ecx, 4
bt r8d, 0xc
jae 0x1400a1a04
bts ecx, 9
mov dword [rdi], ecx
jmp 0x1400a1f79
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
test r14b, r14b
je 0x1400a1f79
lea r9, [rbp - 0x28]
movsxd r8, eax
mov edx, 0x133c
mov rcx, rsi
mov dword [rbp - 0x28], 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbp - 8]
jmp 0x1400a1f77
mov edx, 0x408
jmp 0x1400a1f68
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r13d
je 0x1400a1cfd
movsxd rdi, eax
xor r9d, r9d
mov edx, 0x18a
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14002686c
mov edx, 0x189
mov r8, rdi
mov r9, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
jmp 0x1400a1f7b
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r13d
je 0x1400a1cfd
movsxd rdi, eax
xor r9d, r9d
mov edx, 0x149
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14002686c
mov edx, 0x148
jmp 0x1400a1aa9
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x68]
mov edx, 0xfffffff0
mov qword [rsp + 0x38], rax
mov dword [rdi], r12d
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x44], 0xf000
mov esi, eax
test r14b, r14b
je 0x1400a1b95
mov ecx, 0x2000
call fcn.14002686c
mov rcx, qword [rbx + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113e
mov rdi, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x50], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400a1b8d
mov rax, rdi
jmp 0x1400a1f7b
mov rcx, rdi
jmp 0x1400a190f
mov rcx, qword [rbx + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400a1f79
mov ecx, dword [rsp + 0x40]
mov edx, 0x100
test edx, esi
je 0x1400a1bd4
mov eax, ecx
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [rdi], eax
test cl, 2
je 0x1400a1bdb
or dword [rdi], edx
test cl, 0x20
je 0x1400a1be4
bts dword [rdi], 0xa
test cl, 0x10
je 0x1400a1f79
bts dword [rdi], 9
jmp 0x1400a1f79
cmp eax, 0x12
je 0x1400a1f63
cmp eax, 0x13
je 0x1400a1f09
cmp eax, 0x14
je 0x1400a1dac
cmp eax, 0x15
je 0x1400a1d41
cmp eax, 0x18
jle 0x1400a1cfd
cmp eax, 0x1a
jle 0x1400a1c82
cmp eax, 0x1c
jne 0x1400a1cfd
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400a1819
mov ecx, socket
call fcn.14002686c
movzx ecx, word [rbp - 0x3a]
movzx r9d, word [rbp - 0x3e]
movzx r8d, word [rbp - 0x40]
mov dword [rsp + 0x20], ecx
lea rdx, str._d__02d__02d
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400a1abb
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
test r14b, r14b
je 0x1400a1cdd
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14002686c
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov r14, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400a1cd5
mov dword [rdi], r12d
mov rcx, r14
jmp 0x1400a190f
mov rax, r14
jmp 0x1400a1f7b
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
test eax, eax
jne 0x1400a1f79
mov dword [rdi], 4
jmp 0x1400a1f79
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14002686c
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400a1abb
cmp dword [rbx + 0xe0], 4
jne 0x1400a1d9b
lea rsi, [rbx + 0xd0]
mov rcx, rsi
call fcn.140006a28
inc eax
movsxd rdx, eax
mov eax, 2
mul rdx
cmovo rax, r13
mov rcx, rax
call fcn.14002686c
mov rcx, rsi
mov rdi, rax
call fcn.140006a28
mov rcx, rsi
mov ebx, eax
call fcn.140006d94
lea r8d, [rbx + 1]
mov rdx, rax
mov rcx, rdi
call fcn.140001a9c
jmp 0x1400a1b85
lea rcx, [rbx + 0xd0]
call fcn.140006c5c
jmp 0x1400a1f77
mov rcx, qword [rbx + 0x68]
mov edx, 0xffffffec
mov dword [rdi], r13d
call qword [sym.imp.USER32.dll_GetWindowLongW]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x48]
mov esi, eax
call fcn.1400271a0
mov rcx, qword [rbx + 0x68]
lea r9, [rbp - 0x28]
mov r8, r13
mov edx, 0x1053
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x18], r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x74], eax
cmp eax, r13d
je 0x1400a1f79
test sil, 4
je 0x1400a1e4f
test r14b, r14b
je 0x1400a1e4f
mov rcx, qword [rbx + 0x68]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x70], 8
mov dword [rbp - 0x80], 0xf000
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400a1f79
mov eax, dword [rsp + 0x7c]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x1400a1f77
mov ecx, 0x2000
call fcn.14002686c
mov dword [rsp + 0x70], 1
mov dword [rbp - 0x70], 0xfff
mov esi, r12d
mov rdi, rax
mov r14, rax
cmp r12w, word [rbx + 0x100]
jge 0x1400a1ee5
mov rcx, qword [rbx + 0x68]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x78], r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r14
call fcn.140026f78
mov ecx, 0xffe
sub ecx, eax
mov dword [rbp - 0x70], ecx
test ecx, ecx
jle 0x1400a1b85
mov rcx, rdi
call fcn.140026f78
lea rcx, [rdi + rax*2]
movzx eax, word [0x1400e3df4]
mov word [rcx], ax
mov word [rcx + 2], r12w
call qword [sym.imp.USER32.dll_CharNextW]
mov r14, rax
movsx eax, word [rbx + 0x100]
inc esi
cmp esi, eax
jl 0x1400a1e7b
mov rcx, qword [rbx + 0x68]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x78], esi
mov qword [rbp - 0x78], r14
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400a1b85
mov r9d, 2
mov r8, r13
mov edx, 0x100c
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x48]
mov dword [rdi], eax
call fcn.1400271a0
mov eax, dword [rdi]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rsi
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x70], 4
call qword [sym.imp.USER32.dll_SendMessageW]
neg rax
sbb ecx, ecx
and ecx, dword [rbp - 0x68]
jmp 0x1400a1a04
mov edx, 0x400
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
xor eax, eax
lea r11, [rsp + 0x150]
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