Function at 0x140032070
Capabilities:
Get graphical window text

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x140
mov rax, qword [0x1400a13c0]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rax, qword [0x1400b3f48]
cmp rax, rcx
je 0x1400320d2
test rax, rax
je 0x1400320d2
mov rsi, qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0xb0]
mov r8d, 0x40
call rsi
mov rcx, qword [0x1400b3f48]
lea rdx, [rsp + 0x30]
mov r8d, 0x40
call rsi
xor esi, esi
jmp 0x14003243a
mov r10d, edx
or r10d, 4
cmp r10d, 0x104
jne 0x1400320ef
mov r14d, r9d
shr r14d, 0x1e
and r14d, 1
jmp 0x1400320f2
xor r14d, r14d
xor esi, esi
lea r10d, [rdx - 0x200]
cmp r10d, 0xc
ja case.default.0x14003210f
lea rax, [0x14008f928]
movsxd rcx, dword [rax + r10*4]
add rcx, rax
jmp rcx
movsx r8d, r9w
sar r9d, 0x10
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
mov dl, 3
jmp 0x1400321e4
lea r10d, [rdx - 0x100]
cmp r10d, 5
ja case.default.0x14003214e
lea rax, [0x14008f910]
movsxd rcx, dword [rax + r10*4]
add rcx, rax
jmp rcx
mov ecx, r8d
mov rsi, r9
call fcn.14002cd80
mov edi, eax
mov ecx, esi
call fcn.14002cda0
cmp eax, 0xffffffff
je 0x140032306
mov ebx, eax
mov dword [rsp + 0x20], r14d
mov byte [rsp + 0x28], 0
mov ecx, ebx
xor edx, edx
mov r8d, edi
mov r9d, eax
call fcn.140031e70
mov esi, eax
cmp ebx, 0x43
je 0x1400323f9
cmp ebx, 0x44
je 0x1400323ee
cmp ebx, 0x46
jne case.0x14003214e.258
mov ecx, 0x91
mov bp, 0x69
jmp 0x140032402
mov rdi, r8
mov ecx, r9d
call fcn.14002cda0
cmp eax, 0xffffffff
je 0x140032306
mov esi, eax
mov ecx, edi
call fcn.14002cd80
mov dword [rsp + 0x20], r14d
mov byte [rsp + 0x28], 0
mov ecx, esi
mov dl, 1
mov r8d, eax
mov r9d, esi
call fcn.140031e70
mov esi, eax
jmp case.0x14003214e.258
cmp edx, 0x1c
jne case.0x14003214e.258
xor esi, esi
cmp rax, rcx
jne 0x14003243a
cmp r8, 1
je 0x14003243a
call fcn.140031d80
xor esi, esi
jmp 0x14003243a
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6c
jmp 0x1400323b6
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6b
jmp 0x1400323b6
shr r8, 0x10
cmp r8w, 2
je 0x1400323a5
movzx eax, r8w
cmp eax, 1
jne 0x140032306
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6d
jmp 0x1400323b6
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6a
jmp 0x1400323b6
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6b
mov dl, 1
jmp 0x1400323b8
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6a
mov dl, 1
jmp 0x1400323b8
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6c
mov dl, 1
jmp 0x1400323b8
shr r8, 0x10
cmp r8w, 2
je 0x1400323d9
movzx eax, r8w
cmp eax, 1
jne 0x140032306
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6d
mov dl, 1
jmp 0x1400323b8
xor esi, esi
jmp case.0x14003214e.258
sar r8d, 0x10
xor esi, esi
test r8d, r8d
setle sil
add esi, 0x6f
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov ecx, esi
xor edx, edx
mov r14, r8
xor r8d, r8d
xor r9d, r9d
call fcn.140031e70
mov edi, eax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov ecx, esi
mov dl, 1
xor r8d, r8d
xor r9d, r9d
call fcn.140031e70
mov ebx, eax
or bl, dil
imul eax, r14d, 0xffff8889
shr eax, 0x10
add eax, r14d
movzx eax, ax
movsx ecx, ax
shr eax, 0xf
sar ecx, 6
add ecx, eax
add cx, word [0x1400a4986]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov dl, 4
xor r8d, r8d
xor r9d, r9d
call fcn.140031e70
mov esi, eax
or sil, bl
jmp case.0x14003214e.258
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6e
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.140031e70
mov ebx, eax
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140046610
mov eax, ebx
jmp 0x14003244c
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov cx, 0x6e
mov dl, 1
jmp 0x1400323b8
mov ecx, 0x90
mov bp, 0x68
jmp 0x140032402
mov ecx, 0x14
mov bp, 0x67
call qword [sym.imp.USER32.dll_GetKeyState]
not al
and al, 1
mov dword [rsp + 0x20], r14d
mov byte [rsp + 0x28], 0
mov ecx, ebp
mov edx, eax
mov r8d, edi
mov r9d, ebx
call fcn.140031e70
movzx ecx, sil
test al, al
mov esi, 1
cmove esi, ecx
test sil, sil
setne sil
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140046610
mov eax, esi
add rsp, 0x140
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret