Function at 0x1400a2d20
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x408]
sub rsp, 0x508
mov r14, qword [0x140129dc0]
mov rax, rdx
mov rsi, r8
mov qword [rsp + 0x20], r8
mov r12, rcx
lea rdx, [rbp + 0x448]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.1400a0200
mov rcx, qword [rbp + 0x448]
mov rdi, rax
call fcn.1400344a0
mov r13d, eax
test eax, eax
jne 0x1400a2d9c
mov dl, 1
mov rcx, r12
add rsp, 0x508
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.14005f650
test rdi, rdi
je 0x1400a2d82
cmp word [rsi], 0
mov qword [rsp + 0x540], rbx
mov qword [rsp + 0x500], r15
jne 0x1400a2dbb
mov rsi, qword [r14 + 0x28]
mov rcx, qword [0x140127a38]
lea r15, [0x1400ef8c4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, r15
lea r8, [r9 - 1]
call fcn.1400d3350
mov rax, qword [0x140128ae8]
mov ebx, 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x140128ae0]
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [0x140128ae8], rax
mov qword [0x140128ae0], rax
lea eax, [r13 - 3]
cmp eax, ebx
jbe 0x1400a32b4
mov rdx, rsi
mov rcx, rdi
call fcn.1400b04b0
mov esi, eax
cmp r13d, 2
je 0x1400a2e3d
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
lea r8, [rbx - 2]
mov rcx, r14
call fcn.1400d3350
cmp esi, dword [rdi + 0x20]
jae 0x1400a343d
imul r10, rsi, 0x58
add r10, qword [rdi + 0x28]
dec r13d
cmp r13d, 7
ja case.0x1400a2e6f.3
lea rdx, [0x140000000]
movsxd rax, r13d
mov ecx, dword [rdx + rax*4 + 0xa34b0]
add rcx, rdx
jmp rcx
mov r9, qword [rbp + 0x458]
mov r8, r10
mov rdx, r14
mov rcx, rdi
call fcn.1400ae9a0
jmp 0x1400a3447
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 [0x140124200]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400a2edb
test byte [rcx + 0x78], 4
je 0x1400a2edb
mov esi, 3
xor r13d, r13d
jmp 0x1400a2eef
test byte [r14 + 0x22], 2
mov r13d, 0
mov esi, r13d
setne sil
inc esi
mov r9, qword [r14 + 0x28]
lea r8, [0x140111320]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400ce300
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400a31e4
lea rax, [rsp + 0x30]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x14012afc0]
call fcn.14004edf0
mov r15, rax
test rax, rax
jne 0x1400a2f79
cmp byte [rsp + 0x30], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x40]
lea rcx, [0x14012afc0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14004f330
mov r15, rax
test rax, rax
je 0x1400a31e4
cmp byte [rdi + 0x110], 0
je 0x1400a2f9a
mov r8d, dword [0x14012af94]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400a2f9e
mov eax, dword [rsp + 0x38]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.140001580
mov r9, qword [r14 + 0x28]
lea r8, [0x140111328]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400ce300
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400a31e4
lea rax, [rsp + 0x31]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x14012afc0]
call fcn.14004edf0
mov r15, rax
test rax, rax
jne 0x1400a3036
cmp byte [rsp + 0x31], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x44]
lea rcx, [0x14012afc0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14004f330
mov r15, rax
test rax, rax
je 0x1400a31e4
cmp byte [rdi + 0x110], 0
je 0x1400a3057
mov r8d, dword [0x14012af94]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400a305b
mov eax, dword [rsp + 0x3c]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.140001580
mov r9, qword [r14 + 0x28]
lea r8, [0x140111330]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400ce300
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400a31e4
lea rax, [rsp + 0x32]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x14012afc0]
call fcn.14004edf0
mov r15, rax
test rax, rax
jne 0x1400a30f3
cmp byte [rsp + 0x32], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x48]
lea rcx, [0x14012afc0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14004f330
mov r15, rax
test rax, rax
je 0x1400a31e4
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rdi + 0x110], 0
je 0x1400a3118
mov r8d, dword [0x14012af94]
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.140001580
mov r9, qword [r14 + 0x28]
lea r8, [0x140111338]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400ce300
cmp word [rbp - 0x40], 0
movsxd r14, eax
je 0x1400a31e4
lea rax, [rsp + 0x33]
mov r8, r14
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x14012afc0]
call fcn.14004edf0
mov rsi, rax
test rax, rax
jne 0x1400a31ac
cmp byte [rsp + 0x33], sil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x4c]
lea rcx, [0x14012afc0]
mov eax, r13d
mov r8, r14
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14004f330
mov rsi, rax
test rax, rax
je 0x1400a31e4
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rdi + 0x110], 0
je 0x1400a31d1
mov r8d, dword [0x14012af94]
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.140001580
jmp 0x1400a3449
mov ebx, r13d
jmp 0x1400a3449
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rcx, [0x14010621c]
mov byte [rsp + 0x20], bl
test eax, eax
cmovne r15, rcx
xor r9d, r9d
mov rdx, r15
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400a3447
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowVisible]
lea rcx, [0x14010621c]
mov byte [rsp + 0x20], bl
test eax, eax
cmovne r15, rcx
xor r9d, r9d
mov rdx, r15
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400a3447
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
lea rdx, [rbp - 0x78]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400a3447
mov rdx, qword [r10 + 0x10]
test rdx, rdx
je 0x1400a3449
mov rdx, qword [rdx + 0x28]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400a3447
xor eax, eax
jmp 0x1400a3447
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d3350
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
je 0x1400a343d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rdi + 0x20]
jb 0x1400a3317
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
test rax, rax
je 0x1400a330e
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rdi + 0x20]
jae 0x1400a343d
mov eax, ebx
imul rdx, rax, 0x58
add rdx, qword [rdi + 0x28]
mov rcx, qword [rdx]
cmp rcx, rsi
jne 0x1400a343d
cmp ebx, 0x2af8
je 0x1400a343d
test rdx, rdx
je 0x1400a343d
cmp r13d, 4
jne 0x1400a33b4
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, 0x2af8
jae 0x1400a33a9
cmp qword [rdi + 8], 0
je 0x1400a33a9
cmp eax, dword [rdi + 0x20]
jae 0x1400a33a9
imul rcx, rax, 0x58
lea rdx, [rbp + 0x1f0]
add rcx, qword [rdi + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400a3398
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 0x1400a3380
jmp 0x1400a3420
mov rcx, qword [rcx]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400a3420
xor eax, eax
mov word [rbp + 0x1f0], ax
jmp 0x1400a3420
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 0x1400a343d
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x140067920]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x68], al
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [rsp + 0x68], 0
je 0x1400a343d
mov r9d, dword [rsp + 0x6c]
lea r8, [0x1400ef9e8]
mov edx, 0x101
lea rcx, [rbp + 0x1f0]
call fcn.1400ce3a0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp + 0x1f0]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400a3447
mov dl, 1
mov rcx, r12
call fcn.14005f650
mov ebx, eax
mov rdi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x500]
test rdi, rdi
je 0x1400a3492
mov rcx, qword [0x140128ae8]
test rcx, rcx
je 0x1400a3480
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140128ae0], 0x400000
jbe 0x1400a3480
dec dword [0x140128adc]
mov rax, qword [rbp - 0x80]
mov qword [0x140128ae0], rax
mov qword [0x140128ae8], rdi
mov eax, ebx
mov rbx, qword [rsp + 0x540]
add rsp, 0x508
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret