Function at 0x140123700
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x328
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbp, r9
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x101
ja 0x14012390b
cmp r8d, 0x101
je 0x1401238e9
mov eax, r8d
sub eax, 0xc
je 0x1401238b3
sub eax, 3
je 0x140123792
sub eax, 0x75
je 0x140123991
cmp eax, 0x7c
jne 0x14012376d
cmp r9, 0x20
jne 0x14012376d
mov byte [rcx + 0x70], 1
mov rax, qword [rsp + 0x370]
mov r9, rbp
mov rcx, qword [rbx + 0x60]
mov r8d, edi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x140123996
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, eax
mov ecx, eax
and edx, 1
add edx, 0x20
mov r8d, edx
or r8d, 2
and cl, 2
mov rcx, rsi
cmove r8d, edx
lea rdx, [rsp + 0x40]
mov ebp, r8d
or ebp, 4
and eax, 0x200
cmove ebp, r8d
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [rbx + 0x68]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14002a4d0
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
cmp qword [rbx + 0x40], 0
jne 0x14012384a
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.GDI32.dll_GetStockObject]
lea r8, [rsp + 0x50]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x65], 1
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rbx + 0x40], rax
mov rdx, qword [rbx + 0x40]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8d, 0x104
lea rdx, [rsp + 0x100]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], ebp
or r8d, 0xffffffff
lea rdx, [rsp + 0x100]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x140123996
mov rax, qword [rsp + 0x370]
mov r8d, InitCommonControls
mov rcx, qword [rcx + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CallWindowProcW]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rax, rbx
jmp 0x140123996
cmp rbp, 0x20
jne 0x14012376d
cmp byte [rcx + 0x70], 0
je 0x14012376d
mov byte [rcx + 0x70], 0
call fcn.140123470
jmp 0x14012376d
mov eax, edi
sub eax, 0x200
je 0x14012393e
sub eax, 1
je 0x140123769
cmp eax, 1
jne 0x14012376d
cmp byte [rcx + 0x70], 0
je 0x14012376d
mov byte [rcx + 0x70], 0
call fcn.140123470
jmp 0x14012376d
cmp qword [rcx + 0x48], 0
jne 0x140123987
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 5
lea rax, [0x14028e5b0]
mov qword [rsp + 0x30], rax
lea rax, [0x14028e530]
mov qword [rsp + 0x28], rax
lea r9d, [rdx + 0x1b]
mov dword [rsp + 0x20], 0x20
lea r8d, [rdx - 3]
call qword [sym.imp.USER32.dll_CreateCursor]
mov qword [rbx + 0x48], rax
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140168660
add rsp, 0x328
pop rdi
pop rsi
pop rbp
pop rbx
ret