Function at 0x14003a6ac
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov r14, rdx
mov edi, r8d
xor edx, edx
mov rsi, rcx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x5c]
call sub.msvcrt.dll_memset
mov r8d, 0x64
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.1400028e0
lea rdx, [rbp - 0x40]
call fcn.140002920
xor ecx, ecx
mov r15b, al
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x5a
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
xor ecx, ecx
mov r12d, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
xor ecx, ecx
mov ebx, 0x251d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea r8, [rsp + 0x7c]
mov rcx, rax
mov r9d, 0x20
test r15b, r15b
je 0x14003a7aa
mov edx, 0x2329
call qword [sym.imp.USER32.dll_LoadStringW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0x200
lea r8, [rbp + 0x90]
mov rcx, rax
lea edx, [rbx + 6]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r8d, 0xa
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x90]
call qword [sym.imp.msvcrt.dll_wcstol]
neg eax
jmp 0x14003a7f3
mov edx, 0x2328
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9, qword [rsi + 0x18]
xor ecx, ecx
xor r8b, r8b
mov edx, ebx
lea rax, [r9 + 0x84]
cmp edi, dword [rax]
jle 0x14003a7dd
inc edx
inc ecx
add rax, 4
cmp edx, 0x2522
jle 0x14003a7c7
jmp 0x14003a7e0
mov r8b, 1
lea eax, [rcx - 1]
test r8b, r8b
cmovne eax, ecx
cdqe
mov eax, dword [r9 + rax*4 + 0xac]
mov r8d, 0x48
mov edx, r12d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov rcx, qword [rsi + 0x60]
and dword [rsp + 0x64], 0
mov dword [rsp + 0x60], eax
test rcx, rcx
je 0x14003a81c
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rcx, [rsp + 0x60]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
xor r9d, r9d
mov rcx, r14
mov r8, rax
mov qword [rsi + 0x60], rax
lea edx, [r9 + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
test r15b, r15b
je 0x14003a8ae
mov edi, dword [0x140077b20]
test edi, edi
jne 0x14003a8e7
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [rsi + 0x60]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [0x140063bb8]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov ecx, dword [rsp + 0x34]
mov rdx, rbx
mov dword [0x140077b20], ecx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [0x140077b20]
jmp 0x14003a8e7
mov r8, qword [rsi + 0x18]
xor ecx, ecx
xor dl, dl
lea rax, [r8 + 0x84]
cmp edi, dword [rax]
jle 0x14003a8d3
inc ebx
inc ecx
add rax, 4
cmp ebx, 0x2522
jle 0x14003a8bd
jmp 0x14003a8d5
mov dl, 1
lea eax, [rcx - 1]
test dl, dl
cmovne eax, ecx
cdqe
mov edi, dword [r8 + rax*4 + 0xd4]
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetParent]
mov esi, 0x9e
mov rcx, rax
mov edx, esi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, r14
mov rbx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
mov edx, esi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9d, 2
lea r8, [rsp + 0x40]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov r8d, dword [rsp + 0x4c]
mov rcx, r14
mov r9d, dword [rsp + 0x58]
sub r8d, edi
mov edx, dword [rsp + 0x40]
sub r8d, 5
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.14005d960
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret