Function at 0x1400a5680
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 [0x140162ac0]
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.1400a23f0
mov rcx, qword [rbp + 0x448]
mov rdi, rax
call fcn.1400348f0
mov r13d, eax
test eax, eax
jne 0x1400a56fc
mov dl, 1
mov rcx, r12
add rsp, 0x508
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400629e0
test rdi, rdi
je 0x1400a56e2
cmp word [rsi], 0
mov qword [rsp + 0x540], rbx
mov qword [rsp + 0x500], r15
jne 0x1400a571b
mov rsi, qword [r14 + 0x28]
mov rcx, qword [0x140160738]
lea r15, [0x14012054c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, r15
lea r8, [r9 - 1]
call fcn.1400d5e90
mov rax, qword [0x1401617e8]
mov ebx, 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x1401617e0]
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [0x1401617e8], rax
mov qword [0x1401617e0], rax
lea eax, [r13 - 3]
cmp eax, ebx
jbe 0x1400a5c13
mov rdx, rsi
mov rcx, rdi
call fcn.1400b4610
mov esi, eax
cmp r13d, 2
je 0x1400a579d
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
lea r8, [rbx - 2]
mov rcx, r14
call fcn.1400d5e90
cmp esi, dword [rdi + 0x20]
jae 0x1400a5d9d
imul r10, rsi, 0x58
add r10, qword [rdi + 0x28]
dec r13d
cmp r13d, 7
ja case.0x1400a57cf.3
lea rdx, [0x140000000]
movsxd rax, r13d
mov ecx, dword [rdx + rax*4 + 0xa5e0c]
add rcx, rdx
jmp rcx
mov r9, qword [rbp + 0x458]
mov r8, r10
mov rdx, r14
mov rcx, rdi
call fcn.1400b2b20
jmp 0x1400a5da7
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 [0x14015bc10]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400a583b
test byte [rcx + 0x78], 4
je 0x1400a583b
mov esi, 3
xor r13d, r13d
jmp 0x1400a584f
test byte [r14 + 0x22], 2
mov r13d, 0
mov esi, r13d
setne sil
inc esi
mov r9, qword [r14 + 0x28]
lea r8, [0x140143640]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d08d0
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400a5b44
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, [0x140163cc0]
call fcn.1400506d0
mov r15, rax
test rax, rax
jne 0x1400a58d9
cmp byte [rsp + 0x30], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x40]
lea rcx, [0x140163cc0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140050c00
mov r15, rax
test rax, rax
je 0x1400a5b44
cmp byte [rdi + 0x110], 0
je 0x1400a58fa
mov r8d, dword [0x140163c94]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400a58fe
mov eax, dword [rsp + 0x38]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.140001570
mov r9, qword [r14 + 0x28]
lea r8, [0x140143648]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d08d0
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400a5b44
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, [0x140163cc0]
call fcn.1400506d0
mov r15, rax
test rax, rax
jne 0x1400a5996
cmp byte [rsp + 0x31], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x44]
lea rcx, [0x140163cc0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140050c00
mov r15, rax
test rax, rax
je 0x1400a5b44
cmp byte [rdi + 0x110], 0
je 0x1400a59b7
mov r8d, dword [0x140163c94]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400a59bb
mov eax, dword [rsp + 0x3c]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.140001570
mov r9, qword [r14 + 0x28]
lea r8, [0x140143650]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d08d0
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x1400a5b44
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, [0x140163cc0]
call fcn.1400506d0
mov r15, rax
test rax, rax
jne 0x1400a5a53
cmp byte [rsp + 0x32], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x48]
lea rcx, [0x140163cc0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140050c00
mov r15, rax
test rax, rax
je 0x1400a5b44
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rdi + 0x110], 0
je 0x1400a5a78
mov r8d, dword [0x140163c94]
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.140001570
mov r9, qword [r14 + 0x28]
lea r8, [0x140143658]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400d08d0
cmp word [rbp - 0x40], 0
movsxd r14, eax
je 0x1400a5b44
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, [0x140163cc0]
call fcn.1400506d0
mov rsi, rax
test rax, rax
jne 0x1400a5b0c
cmp byte [rsp + 0x33], sil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x4c]
lea rcx, [0x140163cc0]
mov eax, r13d
mov r8, r14
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140050c00
mov rsi, rax
test rax, rax
je 0x1400a5b44
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rdi + 0x110], 0
je 0x1400a5b31
mov r8d, dword [0x140163c94]
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.140001570
jmp 0x1400a5da9
mov ebx, r13d
jmp 0x1400a5da9
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rcx, [0x140136e9c]
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.1400d5e90
jmp 0x1400a5da7
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowVisible]
lea rcx, [0x140136e9c]
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.1400d5e90
jmp 0x1400a5da7
mov rcx, qword [r10]
lea rdx, [rbp - 0x74]
mov r8d, reloc.WSOCK32.dll_recv
mov dword [rbp - 0x78], 0x780030
call fcn.1400f5458
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea rdx, [rbp - 0x78]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d5e90
jmp 0x1400a5da7
mov rdx, qword [r10 + 0x10]
test rdx, rdx
je 0x1400a5da9
mov rdx, qword [rdx + 0x28]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400d5e90
jmp 0x1400a5da7
xor eax, eax
jmp 0x1400a5da7
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d5e90
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
je 0x1400a5d9d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rdi + 0x20]
jb 0x1400a5c76
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
test rax, rax
je 0x1400a5c6d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rdi + 0x20]
jae 0x1400a5d9d
mov eax, ebx
imul rdx, rax, 0x58
add rdx, qword [rdi + 0x28]
mov rcx, qword [rdx]
cmp rcx, rsi
jne 0x1400a5d9d
cmp ebx, 0x2af8
je 0x1400a5d9d
test rdx, rdx
je 0x1400a5d9d
cmp r13d, 4
jne 0x1400a5d14
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, 0x2af8
jae 0x1400a5d09
cmp qword [rdi + 8], 0
je 0x1400a5d09
cmp eax, dword [rdi + 0x20]
jae 0x1400a5d09
imul rcx, rax, 0x58
lea rdx, [rbp + 0x1f0]
add rcx, qword [rdi + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400a5cf8
mov rcx, qword [rax + 0x28]
nop
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x1400a5ce0
jmp 0x1400a5d80
mov rcx, qword [rcx]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400a5d80
xor eax, eax
mov word [rbp + 0x1f0], ax
jmp 0x1400a5d80
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 0x1400a5d9d
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x14006c450]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x68], al
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [rsp + 0x68], 0
je 0x1400a5d9d
mov r9d, dword [rsp + 0x6c]
lea r8, [0x140120668]
mov edx, 0x101
lea rcx, [rbp + 0x1f0]
call fcn.1400d0970
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp + 0x1f0]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400d5e90
jmp 0x1400a5da7
mov dl, 1
mov rcx, r12
call fcn.1400629e0
mov ebx, eax
mov rdi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x500]
test rdi, rdi
je 0x1400a5df1
mov rcx, qword [0x1401617e8]
test rcx, rcx
je 0x1400a5ddf
call fcn.1400f75c8
cmp qword [0x1401617e0], 0x400000
jbe 0x1400a5ddf
dec dword [0x1401617dc]
mov rax, qword [rbp - 0x80]
mov qword [0x1401617e0], rax
mov qword [0x1401617e8], 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