Function at 0x140034dec
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x380
mov r12, r8
mov rdi, rdx
mov r14, rcx
xorps xmm0, xmm0
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x200
mov r15d, r9d
movups xmmword [rbp - 0x50], xmm0
call fcn.140049780
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf2
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x129
mov qword [rsp + 0x60], rax
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xfffffff0
mov rcx, r14
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
xor ebx, ebx
lea rcx, [rbp + 0x20]
xor edx, edx
mov qword [rbp - 0x70], rax
lea r8d, [rbx + 0x5c]
call fcn.140049780
mov r9d, dword [rbp + 0x2c0]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov r8d, r15d
mov rdx, rdi
mov dword [rsp + 0x20], 0xd2
mov rcx, r12
call qword [sym.imp.UxTheme.dll_GetThemeFont]
test eax, eax
js 0x140034ec5
lea rcx, [rbp + 0x20]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rbx, rax
mov rsi, rbx
test rbx, rbx
jne 0x140034ee2
xor r9d, r9d
lea edx, [rbx + 0x31]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r9, qword [rbp - 0x70]
mov r10d, 0xc00
mov qword [rbp - 0x40], rax
mov rdx, r9
shr rdx, 8
mov eax, 4
mov r8d, edx
mov rcx, r9
and rcx, r10
and r8d, 8
cmp rcx, r10
mov rcx, r9
mov r10d, 1
cmove r8d, eax
and edx, 2
mov eax, 0x300
and rcx, rax
cmp rcx, rax
mov rcx, r9
cmove edx, r10d
and ecx, 0x2000
or r8d, edx
mov eax, ecx
mov edx, dword [rbp - 0x60]
and edx, 2
shl edx, 0x13
neg rax
mov eax, 0xfffffff0
sbb ebx, ebx
and ebx, eax
add ebx, 0x20
or ebx, r8d
or ebx, edx
test r9, 0x2c00
jne 0x140034f7a
neg rcx
sbb ebx, ebx
and ebx, eax
add ebx, 0x24
or ebx, r8d
or ebx, edx
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8d, 0x100
lea rdx, [rbp + 0x80]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r9d, dword [rbp + 0x2c0]
mov eax, 0xd
mov dword [rsp + 0x50], eax
mov r8d, r15d
mov dword [rsp + 0x54], eax
mov rdx, rdi
lea rax, [rsp + 0x50]
mov rcx, r12
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 2
and qword [rsp + 0x20], 0
call qword [sym.imp.UxTheme.dll_GetThemePartSize]
movaps xmm0, xmmword [rbp - 0x50]
lea rax, [rbp - 0x80]
mov r9d, dword [rbp + 0x2c0]
mov r8d, r15d
mov qword [rsp + 0x28], rax
mov rdx, rdi
lea rax, [rbp - 0x50]
movdqa xmmword [rbp - 0x80], xmm0
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.UxTheme.dll_GetThemeBackgroundContentRect]
movaps xmm0, xmmword [rbp - 0x50]
mov r8d, dword [rsp + 0x54]
movdqa xmmword [rsp + 0x70], xmm0
test bl, 0x20
je 0x14003503c
mov eax, dword [rbp - 0x74]
movq rcx, xmm0
sub eax, dword [rbp - 0x7c]
sub eax, r8d
shr rcx, 0x20
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [rsp + 0x74], eax
jmp 0x140035040
mov eax, dword [rsp + 0x74]
add eax, r8d
mov rdx, rdi
mov dword [rsp + 0x7c], eax
lea r8, [rbp - 0x50]
mov eax, dword [rsp + 0x70]
mov rcx, r14
add eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
add eax, 3
mov dword [rbp - 0x80], eax
call qword [sym.imp.UxTheme.dll_DrawThemeParentBackground]
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x70]
mov r9d, dword [rbp + 0x2c0]
mov r8d, r15d
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, r12
call qword [sym.imp.UxTheme.dll_DrawThemeBackground]
mov r14d, 0x48
lea rcx, [rbp - 0x30]
mov r8d, r14d
xor edx, edx
call fcn.140049780
mov eax, dword [0x14006a5c4]
mov r8d, r15d
test qword [rbp - 0x70], 0x8000000
mov rdx, rdi
mov r9d, dword [rbp + 0x2c0]
mov rcx, r12
cmovne eax, dword [0x14006a5cc]
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x80]
mov dword [rbp - 0x30], r14d
mov r14d, 1
mov dword [rsp + 0x30], ebx
or dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x2c], r14d
call qword [sym.imp.UxTheme.dll_DrawThemeTextEx]
test byte [rsp + 0x60], 8
je 0x1400351a1
test byte [rbp - 0x60], r14b
jne 0x1400351a1
movaps xmm0, xmmword [rbp - 0x80]
lea rax, [rbp - 0x30]
mov r9d, dword [rbp + 0x2c0]
bts ebx, 0xa
bts dword [rbp - 0x2c], 9
mov r8d, r15d
mov qword [rsp + 0x40], rax
mov rdx, rdi
lea rax, [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x38], rax
mov rcx, r12
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x80]
or dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.UxTheme.dll_DrawThemeTextEx]
movaps xmm0, xmmword [rbp - 0x60]
lea rdx, [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, rdi
sub dword [rsp + 0x60], r14d
add dword [rsp + 0x68], r14d
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
add eax, r14d
mov dword [rsp + 0x6c], eax
call qword [sym.imp.USER32.dll_DrawFocusRect]
test rsi, rsi
je 0x1400351af
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret