Function at 0x1400a9ff0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x408]
sub rsp, 0x508
mov rsi, qword [0x140134e40]
mov rax, rdx
mov r14, r8
mov qword [rsp + 0x20], r8
mov r15, rcx
lea rdx, [rbp + 0x448]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.1400a74a0
mov rcx, qword [rbp + 0x448]
mov rdi, rax
call fcn.1400364b0
mov r13d, eax
test eax, eax
jne 0x1400aa06c
mov dl, 1
mov rcx, r15
add rsp, 0x508
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
jmp fcn.140063df0
test rdi, rdi
je 0x1400aa052
cmp word [r14], 0
mov qword [rsp + 0x540], rbx
mov qword [rsp + 0x500], r12
jne 0x1400aa08c
mov r14, qword [rsi + 0x28]
mov rcx, qword [0x140132a80]
lea r12, [0x1400f98c8]
mov rdx, r12
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, 0xffffffffffffffff
call fcn.1400dc860
mov rax, qword [0x140133b68]
mov ebx, 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x140133b60]
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [0x140133b68], rax
mov qword [0x140133b60], rax
lea eax, [r13 - 3]
cmp eax, ebx
jbe 0x1400aa59e
mov rdx, r14
mov rcx, rdi
call fcn.1400b8310
mov r14d, eax
cmp r13d, 2
je 0x1400aa115
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov r8, 0xffffffffffffffff
mov rcx, rsi
call fcn.1400dc860
cmp r14d, dword [rdi + 0x20]
jae 0x1400aa6f0
imul r10, r14, 0x58
add r10, qword [rdi + 0x28]
dec r13d
cmp r13d, 7
ja case.0x1400aa148.3
lea rdx, [0x140000000]
movsxd rax, r13d
mov ecx, dword [rdx + rax*4 + 0xaa764]
add rcx, rdx
jmp rcx
mov r9, qword [rbp + 0x458]
mov r8, r10
mov rdx, rsi
mov rcx, rdi
call fcn.1400b6850
jmp 0x1400aa6fb
mov rcx, qword [r10]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [0x14012f240]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400aa1b5
test byte [rcx + 0x78], 4
je 0x1400aa1b5
mov r14d, 3
xor r13d, r13d
jmp 0x1400aa1c9
test byte [rsi + 0x22], 2
mov r13d, 0
mov r14d, r13d
setne r14b
inc r14d
mov r9, qword [rsi + 0x28]
lea r8, [0x14011b370]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d6690
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400aa4c2
lea rax, [rsp + 0x30]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140136060]
call fcn.140052120
mov r15, rax
test rax, rax
jne 0x1400aa254
cmp byte [rsp + 0x30], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x40]
lea rcx, [0x140136060]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400526b0
mov r15, rax
test rax, rax
je 0x1400aa4c2
cmp byte [rdi + 0x110], 0
je 0x1400aa275
mov r8d, dword [0x140136040]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400aa279
mov eax, dword [rsp + 0x38]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.1400015a0
mov r9, qword [rsi + 0x28]
lea r8, [0x14011b378]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d6690
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400aa4c2
lea rax, [rsp + 0x31]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140136060]
call fcn.140052120
mov r15, rax
test rax, rax
jne 0x1400aa312
cmp byte [rsp + 0x31], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x44]
lea rcx, [0x140136060]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400526b0
mov r15, rax
test rax, rax
je 0x1400aa4c2
cmp byte [rdi + 0x110], 0
je 0x1400aa333
mov r8d, dword [0x140136040]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400aa337
mov eax, dword [rsp + 0x3c]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.1400015a0
mov r9, qword [rsi + 0x28]
lea r8, [0x14011b380]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d6690
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400aa4c2
lea rax, [rsp + 0x32]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140136060]
call fcn.140052120
mov r15, rax
test rax, rax
jne 0x1400aa3d0
cmp byte [rsp + 0x32], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x48]
lea rcx, [0x140136060]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400526b0
mov r15, rax
test rax, rax
je 0x1400aa4c2
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rdi + 0x110], 0
je 0x1400aa3f5
mov r8d, dword [0x140136040]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.1400015a0
mov r9, qword [rsi + 0x28]
lea r8, [0x14011b388]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d6690
cmp word [rbp - 0x40], 0
movsxd r15, eax
je 0x1400aa4c2
lea rax, [rsp + 0x33]
mov r8, r15
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140136060]
call fcn.140052120
mov rsi, rax
test rax, rax
jne 0x1400aa48a
cmp byte [rsp + 0x33], sil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x4c]
lea rcx, [0x140136060]
mov eax, r13d
mov r8, r15
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400526b0
mov rsi, rax
test rax, rax
je 0x1400aa4c2
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rdi + 0x110], 0
je 0x1400aa4af
mov r8d, dword [0x140136040]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rsi
call fcn.1400015a0
jmp 0x1400aa6fd
mov ebx, r13d
jmp 0x1400aa6fd
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rcx, [0x14011026c]
mov byte [rsp + 0x20], bl
test eax, eax
mov r8, 0xffffffffffffffff
cmovne r12, rcx
xor r9d, r9d
mov rdx, r12
mov rcx, rsi
call fcn.1400dc860
jmp 0x1400aa6fb
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowVisible]
lea rcx, [0x14011026c]
mov byte [rsp + 0x20], bl
test eax, eax
mov r8, 0xffffffffffffffff
cmovne r12, rcx
xor r9d, r9d
mov rdx, r12
mov rcx, rsi
call fcn.1400dc860
jmp 0x1400aa6fb
mov rcx, qword [r10]
lea rdx, [rbp - 0x74]
mov r8d, reloc.WSOCK32.dll_recv
mov dword [rbp - 0x78], 0x780030
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ui64tow]
xor r9d, r9d
mov byte [rsp + 0x20], bl
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1400dc860
jmp 0x1400aa6fb
mov rdx, qword [r10 + 0x10]
test rdx, rdx
je 0x1400aa6fd
mov rdx, qword [rdx + 0x28]
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov byte [rsp + 0x20], bl
mov rcx, rsi
call fcn.1400dc860
jmp 0x1400aa6fb
xor eax, eax
jmp 0x1400aa6fb
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov r8, 0xffffffffffffffff
mov rcx, rsi
call fcn.1400dc860
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400aa6f0
mov rdx, rax
mov rcx, rdi
call fcn.140001960
cmp eax, 0x2af8
je 0x1400aa6f0
mov eax, eax
imul rcx, rax, 0x58
add rcx, qword [rdi + 0x28]
je 0x1400aa6f0
cmp r13d, 4
jne 0x1400aa665
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, 0x2af8
jae 0x1400aa65a
cmp qword [rdi + 8], 0
je 0x1400aa65a
cmp eax, dword [rdi + 0x20]
jae 0x1400aa65a
imul rcx, rax, 0x58
lea rdx, [rbp + 0x1f0]
add rcx, qword [rdi + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400aa649
mov rcx, qword [rax + 0x28]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x1400aa631
jmp 0x1400aa6d1
mov rcx, qword [rcx]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400aa6d1
xor eax, eax
mov word [rbp + 0x1f0], ax
jmp 0x1400aa6d1
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x1f0]
mov r8d, 0xfc
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1400aa6f0
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x14006cdd0]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x68], al
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [rsp + 0x68], 0
je 0x1400aa6f0
mov r9d, dword [rsp + 0x6c]
lea r8, [0x1400f99e8]
mov edx, 0x101
lea rcx, [rbp + 0x1f0]
call fcn.1400d6730
xor r9d, r9d
mov byte [rsp + 0x20], bl
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x1f0]
mov rcx, rsi
call fcn.1400dc860
jmp 0x1400aa6fb
movzx edx, bl
mov rcx, r15
call fcn.140063df0
mov ebx, eax
mov rdi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x500]
test rdi, rdi
je 0x1400aa746
mov rcx, qword [0x140133b68]
test rcx, rcx
je 0x1400aa734
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140133b60], 0x400000
jbe 0x1400aa734
dec dword [0x140133b5c]
mov rax, qword [rbp - 0x80]
mov qword [0x140133b60], rax
mov qword [0x140133b68], rdi
mov eax, ebx
mov rbx, qword [rsp + 0x540]
add rsp, 0x508
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret