Function at 0x180020300
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180035020]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rsi, rcx
mov r15, qword [rbp + 0x428]
cmp dword [rbp + 0x430], 0
jne 0x180020494
cmp r8d, 0xf
jne 0x1800204c2
xor r14d, r14d
cmp byte [rcx + 0x48], r14b
je 0x180020491
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rcx
lea rdx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_BeginPaint]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea ecx, [r14 + 0x11]
call qword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
lea ecx, [r14 + 5]
call qword [sym.imp.USER32.dll_GetSysColor]
mov edi, eax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x31]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_SelectObject]
lea edx, [r14 + 1]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_SetBkMode]
mov edx, ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_SetTextColor]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_SetBkColor]
mov ebx, eax
cmp eax, 0xffffffff
je 0x180020443
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 2]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_SetBkColor]
sub dword [rsp + 0x64], 2
lea rdx, [rsi + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x180020456
mov rdx, qword [rdx]
mov dword [rsp + 0x20], 0x25
lea r9, [rsp + 0x58]
mov r8d, dword [rsi + 0x60]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_DrawTextW]
nop
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_EndPaint]
mov qword [rsp + 0x70], r14
mov qword [r15], r14
mov eax, 1
jmp 0x180020496
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.180021550
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp r8d, 7
jne 0x1800204fb
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
cmp byte [rcx + 0x48], 0
je 0x1800204dd
mov byte [rcx + 0x48], 0
mov rax, qword [rcx + 0x30]
xor r14d, r14d
mov dword [rax + 0x34], r14d
mov qword [r15], r14
mov rax, qword [rcx + 0x30]
cmp dword [rax + 0x34], r14d
je 0x180020494
lea eax, [r14 + 1]
jmp 0x180020496
cmp r8d, 8
jne 0x18002056c
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180020547
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x1f4
lea rdx, [rbp - 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x180020547
mov byte [rsi + 0x48], 1
mov rax, qword [rsi + 0x30]
xor r14d, r14d
mov dword [rax + 0x34], r14d
mov qword [r15], r14
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x34], r14d
je 0x180020494
lea eax, [r14 + 1]
jmp 0x180020496
cmp r8d, 0x85
jne 0x180020494
mov rdi, qword [rcx + 8]
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rbx, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea rdx, [rsp + 0x58]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x5c]
neg r8d
mov edx, dword [rsp + 0x58]
neg edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r8, qword [rsi + 0x70]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_FrameRect]
nop
mov qword [rsp + 0x40], r14
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
mov qword [r15], r14
lea eax, [r14 + 1]
jmp 0x180020496