Function at 0x140037df0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov esi, dword [rcx + 0x10]
mov rdi, qword [rcx + 0x20]
or rbx, 0xffffffffffffffff
mov r14d, esi
mov rbp, rdx
mov r12, rcx
and r14d, 0x10
and esi, 6
je 0x140037e23
lea ecx, [rbx + 0xf]
jmp 0x140037e32
mov edx, dword [rdx + 0x8c]
cmp edx, ebx
jne 0x140037e3a
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [rbp + 0x88]
mov r13d, eax
cmp ecx, ebx
jne 0x140037e6c
mov ebx, reloc.WSOCK32.dll_ntohs
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, ebx
mov r15, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
jmp 0x140037e7b
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, dword [rbp + 0x88]
mov r15, rax
test esi, esi
je 0x140037e8c
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x140037e91
mov eax, 0x743c00
mov r8d, eax
mov edx, 1
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov rcx, rdi
mov rdx, rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x40], rax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, r15
mov rcx, rdi
mov dword [rsp + 0xb8], eax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [r12 + 0x28]
mov qword [rsp + 0xc8], rax
or rax, 0xffffffffffffffff
mov r8d, eax
mov edx, eax
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov r11d, 5
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_RoundRect]
mov rcx, qword [rbp]
mov edx, 0xfffffff0
mov ebx, 0x105
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [rbp]
bt eax, 0xd
lea eax, [rbx + 0x20]
cmovae ebx, eax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
mov dword [rsp + 0xb0], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140014c1c
mov rcx, qword [rbp]
mov r8d, ebx
mov rdx, rax
mov qword [rsp + 0xc0], rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test r14d, r14d
je 0x140037fd0
movups xmm0, xmmword [r12 + 0x28]
mov edx, 0xfffffffd
lea rcx, [rsp + 0x50]
mov r8d, edx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_InflateRect]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawFocusRect]
test esi, esi
je 0x140037fea
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [rsp + 0xb0]
mov rbx, qword [rsp + 0xc0]
lea r9, [rsp + 0x50]
mov rdx, rbx
or r8d, 0xffffffff
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_DrawTextW]
mov rcx, rbx
call fcn.14001460c
mov rdx, qword [rsp + 0xc8]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [rsp + 0xb8]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov eax, 1
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret