Function at 0x1400a2298
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
mov rsi, rcx
xor ebx, ebx
mov word [rbp + 0x1e8], bx
xor eax, eax
mov qword [rbp + 0x1ea], rax
mov dword [rbp + 0x1f2], eax
mov word [rbp + 0x1f6], ax
lea r8d, [rbx + 8]
lea rdx, [rbp + 0x1e8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1400a239a
lea rdx, str.static
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400a239a
lea edi, [rbx - 0x10]
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x1400a2352
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
cmp ecx, 3
je 0x1400a2393
cmp ecx, 4
je 0x1400a2393
cmp ecx, 5
je 0x1400a2393
cmp ecx, 6
je 0x1400a2393
cmp ecx, 7
je 0x1400a2393
cmp ecx, 8
je 0x1400a2393
cmp ecx, 9
je 0x1400a2393
cmp ecx, 0xd
je 0x1400a2393
cmp ecx, 0xe
je 0x1400a2393
cmp ecx, 0xf
jne 0x1400a239a
and byte [rsi + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x58], rax
mov r15d, 1
test byte [rsi + 0x94], r15b
je 0x1400a2466
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsi + 0x68], rax
test rax, rax
jne 0x1400a23f1
lea ecx, [rax + 0xd]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsi + 0x68], rax
cmp qword [rsi + 0x68], rbx
je 0x1400a2466
cmp qword [rsi + 0x60], rbx
jne 0x1400a2466
mov dword [rsp + 0x60], ebx
xor edx, edx
lea r8d, [rdx + 0x58]
lea rcx, [rsp + 0x64]
call fcn.1400c7360
lea r8, [rsp + 0x60]
mov edx, 0x5c
mov rcx, qword [rsi + 0x68]
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rsi + 0x90]
and eax, 0x30
cmp al, 0x30
jne 0x1400a243c
mov dword [rsp + 0x70], 0x2bc
jmp 0x1400a2450
test byte [rsi + 0x90], r15b
movzx eax, byte [rsp + 0x75]
cmove eax, r15d
mov byte [rsp + 0x75], al
lea rcx, [rsp + 0x60]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rsi + 0x60], rax
or byte [rsi + 0x94], 8
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
mov r9, rbx
mov r8, qword [rsi + 8]
lea rdx, str.tooltips_class32
lea rcx, [rsi + 0x80]
call fcn.14000d934
cmp qword [rsi + 0x48], rbx
jne 0x1400a252d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1400a252d
mov qword [rbp - 0x40], rbx
lea r12d, [rax + 1]
movsxd rcx, r12d
test r12d, r12d
je 0x1400a24eb
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400a24e0
lea rdx, [rcx + rcx]
cmp rdx, 0x200
jbe 0x1400a24eb
lea rcx, [rbp - 0x40]
call fcn.140010700
mov rdi, qword [rbp - 0x40]
jmp 0x1400a24f3
mov ecx, 0x80070216
call fcn.14000cbb8
int3
lea rdi, [rbp - 0x38]
mov qword [rbp - 0x40], rdi
test rdi, rdi
je 0x1400a251b
mov r8d, r12d
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400a2517
mov rdx, rdi
mov rcx, rsi
call fcn.14002fc24
mov rdi, qword [rbp - 0x40]
lea rax, [rbp - 0x38]
cmp rdi, rax
je 0x1400a252d
lea rcx, [rbp - 0x40]
call fcn.140010f78
mov rcx, rsi
call fcn.1400a2888
cmp qword [rsi + 0x50], rbx
jne 0x1400a2563
mov eax, dword [rsi + 0x90]
shr eax, 2
test r15b, al
jne 0x1400a2563
mov rdx, qword [rsi + 0x48]
test rdx, rdx
je 0x1400a25e7
mov rcx, rsi
call fcn.14002fcf4
jmp 0x1400a25e7
xor r9d, r9d
mov r8, r15
mov edx, 0x401
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsi + 0x50]
lea r12, [rsi + 0x70]
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400c7360
mov qword [rsp + 0x60], 0x40
mov rax, qword [rsi + 8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
test r12, r12
je 0x1400a25ba
movups xmm0, xmmword [r12]
movdqu xmmword [rsp + 0x78], xmm0
mov rax, qword [0x140487620]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rbx
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x432
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsi + 0x94], r15b
je 0x1400a26db
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
mov r9d, 0x2001f
lea r8, str.SoftwareMicrosoftInternet_ExplorerSettings
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x38]
call fcn.1400114d4
test eax, eax
jne 0x1400a26cb
mov word [rbp + 0x1d0], bx
xor eax, eax
mov qword [rbp + 0x1d2], rax
mov qword [rbp + 0x1da], rax
mov dword [rbp + 0x1e2], eax
mov word [rbp + 0x1e6], ax
lea r12d, [rax + 0xc]
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1d0]
lea rdx, str.Anchor_Color
lea rcx, [rsp + 0x38]
call fcn.1400347fc
or edi, 0xffffffff
test eax, eax
jne 0x1400a268f
lea rcx, [rbp + 0x1d0]
call fcn.1400a21c8
cmp eax, edi
je 0x1400a268f
mov dword [rsi + 0x88], eax
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1d0]
lea rdx, str.Anchor_Color_Visited
lea rcx, [rsp + 0x38]
call fcn.1400347fc
test eax, eax
jne 0x1400a26cb
lea rcx, [rbp + 0x1d0]
call fcn.1400a21c8
cmp eax, edi
je 0x1400a26cb
mov dword [rsi + 0x8c], eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a26db
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret