Function at 0x14004a000
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
cmp dword [0x1400af940], 0
mov r14, rdx
mov r12, rcx
je 0x14004a030
call fcn.140037be0
jmp 0x14004a30f
mov esi, dword [rcx + 0x10]
mov rdi, qword [rcx + 0x20]
or rbx, 0xffffffffffffffff
mov r13d, esi
mov r15d, esi
and esi, 1
and r13d, 0x10
and r15d, 6
je 0x14004a053
lea ecx, [rbx + 0xf]
jmp 0x14004a062
mov edx, dword [rdx + 0x8c]
cmp edx, ebx
jne 0x14004a06a
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 [r14 + 0x88]
mov dword [rbp + 0x50], eax
cmp ecx, ebx
jne 0x14004a0a0
mov ecx, reloc.WSOCK32.dll_ntohs
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, reloc.WSOCK32.dll_ntohs
mov rbx, rax
mov qword [rbp - 0x28], rax
call qword [sym.imp.USER32.dll_GetSysColor]
jmp 0x14004a0b4
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rbx, rax
mov qword [rbp - 0x28], rax
mov eax, dword [r14 + 0x88]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, rbx
mov rcx, rdi
mov dword [rbp - 0x30], eax
call qword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [r12 + 0x28]
mov qword [rbp - 0x20], rax
movdqu xmmword [rbp - 0x18], xmm0
test esi, esi
je 0x14004a129
or rax, 0xffffffffffffffff
lea rcx, [rbp - 0x18]
mov r8d, eax
mov edx, eax
call qword [sym.imp.USER32.dll_InflateRect]
mov ecx, reloc.WSOCK32.dll_recv
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rdx, [rbp - 0x18]
mov rcx, rdi
mov r8, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_FrameRect]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rbx, qword [rbp - 0x28]
jmp 0x14004a158
test r13d, r13d
je 0x14004a141
or rax, 0xffffffffffffffff
lea rcx, [rbp - 0x18]
mov r8d, eax
mov edx, eax
call qword [sym.imp.USER32.dll_InflateRect]
mov r9d, reloc.WSOCK32.dll_recv
lea rdx, [rbp - 0x18]
mov rcx, rdi
lea r8d, [r9 - 0xc]
call qword [sym.imp.USER32.dll_DrawFrameControl]
movups xmm0, xmmword [r12 + 0x28]
lea rcx, [rbp - 0x18]
movdqu xmmword [rbp - 0x18], xmm0
test esi, esi
je 0x14004a17b
mov edx, 0xfffffffe
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
jmp 0x14004a199
mov edx, 0xfffffffd
test r13d, r13d
jne 0x14004a18a
mov edx, 0xfffffffe
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
dec dword [rbp - 0x18]
dec dword [rbp - 0x14]
lea rdx, [rbp - 0x18]
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_FillRect]
test esi, esi
jne 0x14004a1b2
test r15d, r15d
je 0x14004a1ba
add dword [rbp - 0x18], 2
add dword [rbp - 0x14], 2
mov rcx, qword [r14]
mov edx, 0xfffffff0
mov ebx, 0x105
call qword [sym.imp.USER32.dll_GetWindowLongW]
lea ecx, [rbx + 0x20]
bt eax, 0xd
cmovae ebx, ecx
mov rcx, qword [r14]
xor r9d, r9d
lea edx, [r9 + 0xe]
xor r8d, r8d
mov dword [rbp + 0x58], 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.140014ee8
mov rcx, qword [r14]
mov r8d, ebx
mov rdx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [rbp + 0x58]
or r14, 0xffffffffffffffff
lea r9, [rbp - 0x18]
mov r8d, r14d
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_DrawTextW]
test r15d, r15d
je 0x14004a280
movups xmm0, xmmword [r12 + 0x28]
lea ecx, [r14 + 0x12]
movdqu xmmword [rbp - 0x18], xmm0
inc dword [rbp - 0x18]
inc dword [rbp - 0x14]
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
lea r9, [rbp - 0x18]
mov r8d, r14d
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_DrawTextW]
test r13d, r13d
je 0x14004a2d3
movups xmm0, xmmword [r12 + 0x28]
xor ecx, ecx
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rdx, [rbp - 0x18]
mov r8, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_FrameRect]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, 0xfffffffc
lea rcx, [rbp - 0x18]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
lea rdx, [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov rcx, rsi
call fcn.140014a90
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov eax, 1
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret