Function at 0x140019248
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400c1010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov edi, 0xfffffff0
mov edx, edi
mov r14, rcx
call qword [sym.imp.USER32.dll_GetWindowLongA]
bt eax, 0x1d
jb 0x140019636
mov edx, edi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowLongA]
lea r12d, [rdi + 0x11]
test r12b, al
je 0x1400192b5
mov rsi, qword [rbx + 0xc]
test rsi, rsi
jne 0x1400192c4
mov rsi, qword [0x1400c7da8]
jmp 0x1400192c4
mov rsi, qword [rbx + 0x14]
test rsi, rsi
cmove rsi, qword [0x1400c7db0]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rdi, rax
test rax, rax
jne 0x1400192e1
mov dword [0x1400c752c], r12d
jmp 0x140019636
mov rcx, rdi
call fcn.1400a14e0
mov rdx, qword [0x1400c7d50]
mov r13d, 2
mov r9d, r13d
mov rcx, rdi
lea r8d, [r13 + 2]
call fcn.1400a0ffc
test rax, rax
je 0x140019628
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rbp - 0x3c]
lea rcx, [rbp - 0x40]
mov edx, dword [rbp - 0x40]
neg r8d
neg edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov r8d, dword [rbx + 8]
lea rcx, [rbp - 0x30]
mov edx, dword [rbx + 4]
neg r8d
movaps xmm0, xmmword [rbp - 0x40]
neg edx
movdqa xmmword [rbp - 0x30], xmm0
call qword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [rbp - 0x2c]
mov rcx, rdi
mov r8d, dword [rbx]
inc eax
mov r9d, dword [rbp - 0x28]
add r8d, eax
mov eax, dword [rbp - 0x24]
mov edx, dword [rbp - 0x30]
mov dword [rbp - 0x2c], r8d
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_ExcludeClipRect]
mov rdx, qword [0x1400c7d78]
mov r9d, r13d
mov r8d, r13d
mov rcx, rdi
call fcn.1400a0ffc
mov eax, dword [rbp - 0x34]
mov rcx, rdi
mov r9d, dword [rbp - 0x38]
mov r8d, dword [rbp - 0x3c]
mov edx, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_Rectangle]
test dword [rbx + 0x2c], 0x40000
mov r8d, r12d
mov edx, r12d
je 0x140019429
sub r8d, dword [rbx + 8]
lea rcx, [rbp - 0x40]
sub edx, dword [rbx + 4]
call qword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [rbp - 0x34]
mov rcx, rdi
mov r9d, dword [rbp - 0x38]
mov r8d, dword [rbp - 0x3c]
mov edx, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_Rectangle]
mov r8d, dword [rbp - 0x3c]
lea r9, [rsp + 0x50]
mov edx, dword [rbp - 0x40]
inc r8d
add r8d, dword [rbx]
mov rcx, rdi
mov dword [rbp - 0x34], r8d
call qword [sym.imp.GDI32.dll_MoveToEx]
mov r8d, dword [rbp - 0x34]
mov rcx, rdi
mov edx, dword [rbp - 0x38]
call qword [sym.imp.GDI32.dll_LineTo]
or edx, 0xffffffff
lea rcx, [rbp - 0x40]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
add dword [rbp - 0x34], r12d
jmp 0x1400194ab
movaps xmm0, xmmword [rbp - 0x40]
mov eax, dword [rbx]
movq rcx, xmm0
shr rcx, 0x20
inc eax
add ecx, eax
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x14], ecx
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [rbp - 0x24]
mov rcx, rdi
mov r9d, dword [rbp - 0x28]
mov r8d, dword [rbp - 0x2c]
mov edx, dword [rbp - 0x30]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_Rectangle]
mov r8d, dword [rbp - 0x14]
lea r9, [rsp + 0x50]
mov edx, dword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_MoveToEx]
mov r8d, dword [rbp - 0x14]
mov rcx, rdi
mov edx, dword [rbp - 0x18]
call qword [sym.imp.GDI32.dll_LineTo]
or edx, 0xffffffff
lea rcx, [rbp - 0x20]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
add dword [rbp - 0x14], r12d
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x40], xmm0
test dword [rbx + 0x2c], 0x80000
je 0x14001959a
mov r15, qword [rbx + 0x20]
test r15, r15
jne 0x1400194d3
mov edx, 0x7ff2
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadBitmapA]
mov r15, rax
jmp 0x1400194ef
lea r8, [rbp - 0x20]
mov edx, 0x20
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetObjectA]
neg eax
sbb ecx, ecx
and ecx, dword [rbp - 0x1c]
mov dword [rbx + 0x28], ecx
mov rcx, qword [0x1400c7be8]
mov r9d, r13d
mov r8d, r12d
mov rdx, r15
mov rcx, qword [rcx + 0x14a]
call fcn.1400a0ffc
mov r15, rax
test rax, rax
je 0x140019568
mov rcx, qword [0x1400c7be8]
mov r9d, dword [rbx + 0x28]
mov r8d, dword [rbp - 0x3c]
mov dword [rsp + 0x40], 0xcc0020
mov rdx, qword [rcx + 0x14a]
and dword [rsp + 0x38], 0
mov ecx, dword [rbx]
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdx
mov edx, dword [rbp - 0x40]
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, qword [0x1400c7be8]
mov rdx, r15
mov rcx, qword [rcx + 0x14a]
call fcn.1400a8310
mov edx, dword [rbp - 0x40]
lea r9, [rsp + 0x50]
add edx, dword [rbx + 0x28]
mov rcx, rdi
mov r8d, dword [rbp - 0x3c]
mov dword [rbp - 0x40], edx
call qword [sym.imp.GDI32.dll_MoveToEx]
mov r8d, dword [rbp - 0x34]
mov rcx, rdi
mov edx, dword [rbp - 0x40]
inc r8d
call qword [sym.imp.GDI32.dll_LineTo]
add dword [rbp - 0x40], r12d
mov edx, reloc.ODBC32.dll_SQLFetch
lea r9, [rbp]
mov rcx, r14
lea r8d, [rdx + 0x43]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x1400195d4
mov r9, rsi
mov qword [rsp + 0x20], rbx
lea r8, [rbp]
mov rcx, rdi
lea rdx, [rbp - 0x40]
call qword [0x1400b1958]
jmp 0x140019628
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x5f]
call sub.VCRUNTIME140.dll_memset
or dword [rbp - 0x7c], 0xffffffff
lea rax, [rbp]
and qword [rbp - 0x73], 0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x68], rax
mov eax, dword [rbx + 0x1c]
mov dword [rbp - 0x78], eax
mov qword [rsp + 0x70], rdi
mov dword [rbp - 0x80], 0x20
mov byte [rbp - 0x74], r13b
mov qword [rbp - 0x6b], rsi
mov word [rbp - 0x5f], r12w
call fcn.140095fa4
mov r8d, r13d
mov rdx, rdi
mov rcx, r14
call fcn.1400a11a0
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400af450
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret