Function at 0x140062a98
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 - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400ced18]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r12, rdx
mov qword [rsp + 0x50], rdx
mov r13, rcx
mov rbx, qword [rdx + 0x20]
mov qword [rsp + 0x60], rbx
lea rdi, [rdx + 0x28]
mov esi, dword [rdx + 0x10]
mov r14d, esi
shr r14d, 2
mov eax, 1
and r14d, eax
mov r15d, esi
and r15d, eax
shr esi, 4
and esi, eax
mov edx, eax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetBkMode]
test r15d, r15d
je 0x140062b29
mov rcx, qword [r13 + 0xd8]
call fcn.14007a2b8
test eax, eax
je 0x140062b29
mov rcx, qword [r13 + 0xd8]
call fcn.14007a1e8
mov r9, r12
xor r8d, r8d
mov edx, 0x7e9
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
test eax, eax
jne 0x140063045
mov ecx, dword [r13 + 0xb8]
lea r8d, [rdx + 1]
cmp ecx, r8d
jne 0x140062b87
mov eax, dword [r13 + 0xec]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.140061fd0
jmp 0x140063045
cmp ecx, 2
jne 0x140062bc1
mov eax, dword [r13 + 0xec]
mov dword [rsp + 0x38], eax
mov eax, dword [r13 + 0xb4]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.140061838
jmp 0x140063045
cmp ecx, 3
jne 0x140062bd7
mov eax, dword [r13 + 0xec]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
jmp 0x140062b68
cmp ecx, 4
jne 0x140062c4f
mov eax, dword [rdi]
mov dword [rsp + 0x40], eax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x44], eax
mov eax, dword [rdi + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x4c], eax
test byte [r12 + 0x10], r8b
je 0x140062c04
mov r8, qword [r13 + 0x50]
jmp 0x140062c1e
test byte [r12 + 0x10], 4
je 0x140062c12
mov r8, qword [r13 + 0x60]
jmp 0x140062c1e
test byte [r12 + 0x10], 0x10
je 0x140062c49
mov r8, qword [r13 + 0x58]
test r8, r8
jne 0x140062c27
mov r8, qword [r13 + 0x48]
cmp dword [r13 + 0xd0], edx
je 0x140062c34
mov r8, qword [r13 + 0x70]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, r13
call fcn.14006107c
jmp 0x140063045
mov r8, qword [r13 + 0x48]
jmp 0x140062c1e
cmp ecx, 5
jne 0x140062d27
mov esi, dword [rdi]
mov r14d, dword [rdi + 4]
mov r15d, dword [rdi + 8]
mov r12d, dword [rdi + 0xc]
xor r8d, r8d
mov edx, dword [r13 + 0x84]
mov rcx, qword [r13 + 0x48]
call fcn.140057418
mov rdi, rax
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SetWindowRgn]
xor edx, edx
test eax, eax
cmovne rdi, rdx
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x4c], r12d
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
test al, 1
je 0x140062cca
mov r8, qword [r13 + 0x48]
test r8, r8
je 0x140062d10
cmp dword [r13 + 0xc8], edx
jmp 0x140062cf9
test al, 4
je 0x140062ce4
mov r8, qword [r13 + 0x60]
test r8, r8
je 0x140062d10
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, r13
jmp 0x140062d0a
and eax, 0x10
mov ecx, dword [r13 + 0xc8]
mov r8, qword [r13 + 0x48]
test r8, r8
je 0x140062d10
test ecx, ecx
mov rdx, rbx
mov rcx, r13
lea r9, [rsp + 0x40]
je 0x140062d0a
mov r8, qword [r13 + 0x50]
call fcn.14006107c
nop
test rdi, rdi
je 0x140063045
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x140063045
cmp ecx, 6
jne 0x140062dce
mov eax, dword [rdi]
mov dword [rsp + 0x40], eax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x44], eax
mov eax, dword [rdi + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x4c], eax
test byte [r12 + 0x10], r8b
je 0x140062d58
mov rsi, qword [r13 + 0x50]
jmp 0x140062d73
test byte [r12 + 0x10], 4
je 0x140062d66
mov rsi, qword [r13 + 0x60]
jmp 0x140062d73
cmp dword [r13 + 0xbc], edx
je 0x140062dc8
mov rsi, qword [r13 + 0x68]
test rsi, rsi
jne 0x140062d7c
mov rsi, qword [r13 + 0x48]
xor r8d, r8d
mov edx, dword [r13 + 0x84]
mov rcx, rsi
call fcn.140057418
mov rdi, rax
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SetWindowRgn]
xor r14d, r14d
test eax, eax
cmovne rdi, r14
mov qword [rsp + 0x58], rdi
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rbx
mov rcx, r13
call fcn.14006107c
nop
jmp 0x140062d10
mov rsi, qword [r13 + 0x48]
jmp 0x140062d73
cmp ecx, 7
jne 0x140062dfd
mov eax, dword [r13 + 0xc8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.140061644
jmp 0x140063045
cmp ecx, 8
jne 0x140062e2c
mov eax, dword [r13 + 0xc8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.140061514
jmp 0x140063045
lea eax, [rcx - 0xb]
test eax, 0xfffffffd
je 0x14006301f
cmp ecx, 9
jne 0x140062e62
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.140062904
jmp 0x140063045
cmp ecx, 0xa
jne 0x140062e8e
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.1400624b8
jmp 0x140063045
cmp ecx, 0xc
jne 0x140062ebd
mov eax, dword [r13 + 0xc8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.140061c90
jmp 0x140063045
mov r8d, 0x100
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x7f
lea rdx, [rbp - 0x80]
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [0x140094438]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140063045
mov edx, 1
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetBkMode]
mov rdx, qword [r13 + 0x90]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
mov edx, dword [rdi]
mov dword [rsp + 0x68], edx
mov ecx, dword [rdi + 4]
mov dword [rsp + 0x6c], ecx
mov r8d, dword [rdi + 8]
mov dword [rsp + 0x70], r8d
mov ecx, dword [rdi + 0xc]
mov dword [rsp + 0x74], ecx
mov ecx, dword [r13 + 0xb4]
cmp ecx, 1
jne 0x140062f6f
sub r8d, dword [r13 + 0xb0]
mov dword [rsp + 0x70], r8d
mov rcx, qword [r13 + 0xa8]
call fcn.140059a50
mov edx, dword [rsp + 0x68]
add edx, 0xa
add edx, eax
mov dword [rsp + 0x68], edx
mov ecx, dword [r13 + 0xb4]
cmp ecx, 2
jne 0x140062f9a
mov rcx, qword [r13 + 0xa8]
call fcn.140059a50
mov ecx, 0xfffffff6
sub ecx, eax
add dword [rsp + 0x70], ecx
mov edx, dword [rsp + 0x68]
add edx, dword [r13 + 0xb0]
mov dword [rsp + 0x68], edx
test byte [r12 + 0x10], 1
je 0x140062fae
add edx, 2
mov dword [rsp + 0x68], edx
add dword [rsp + 0x6c], 2
test byte [r12 + 0x10], 4
jne 0x140062fbf
mov edx, dword [r13 + 0x80]
jmp 0x140062fc4
mov edx, 0x99a8ac
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
call fcn.140070434
test eax, eax
je 0x140062fec
test byte [r12 + 0x10], 1
je 0x140062fec
mov edx, 0xffffff
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [r13 + 0x8c]
bts eax, 0xf
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x68]
or r8d, 0xffffffff
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
jmp 0x140063045
mov eax, dword [r13 + 0xc8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r9d, r15d
mov r8, rdi
mov rdx, rbx
mov rcx, r13
call fcn.14006215c
nop
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140082550
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret