Function at 0x1800d3e70
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, rcx
xor ebp, ebp
mov esi, ebp
mov dword [rsp + 0x20], ebp
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x50]
mov edi, ebp
movzx eax, word [rsp + 0x50]
cmp ax, 0x30
jb 0x1800d3f0a
cmp ax, 0x39
ja 0x1800d3f0a
lea rdi, [rdi + rdi*4]
movzx eax, ax
lea rdi, [rdi - 0x18]
lea rdi, [rax + rdi*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800d3ee8
mov rax, qword [r14]
movsxd rcx, dword [rax + 0x144]
cmp edi, ecx
jle 0x1800d3feb
mov rdi, rcx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.18010a610
mov esi, 1
mov dword [rsp + 0x20], esi
cmp qword [rax + 0x18], 8
jb 0x1800d3f3f
mov rax, qword [rax]
mov rcx, qword [r14]
mov rdx, rax
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_SetWindowTextW]
and esi, 0xfffffffe
mov dword [rsp + 0x20], esi
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800d3f9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d3f96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d3f96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rbx, qword [r14]
movsxd r8, eax
mov r9, r8
mov edx, 0xb1
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [r14]
movsxd rcx, dword [rax + 0x140]
cmp edi, ecx
jge 0x1800d40c1
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.18010a610
or esi, 2
mov dword [rsp + 0x20], esi
cmp qword [rax + 0x18], 8
jb 0x1800d4018
mov rax, qword [rax]
mov rcx, qword [r14]
mov rdx, rax
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_SetWindowTextW]
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800d4074
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d406f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d406f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rbx, qword [r14]
movsxd r8, eax
mov r9, r8
mov edx, 0xb1
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1804688c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
add rcx, 8
jmp 0x1800d3e70