Function at 0x140061050
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x450
mov r14, rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r15d, r15d
test rax, rax
je 0x140061093
lea r8d, [r15 + 0x64]
mov rcx, rax
lea rdx, [rsp + 0x180]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14006109c
mov word [rsp + 0x180], r15w
mov rbx, qword [0x14012bb38]
mov rsi, 0xffffffffffffffff
mov word [rsp + 0x80], r15w
test rbx, rbx
je 0x14006116c
nop dword [rax]
cmp byte [rbx + 0x15], r15b
je 0x140061100
mov rcx, qword [rbx]
call fcn.1400bcce0
test eax, eax
je 0x1400610e0
cmp eax, 1
je 0x1400610e0
lea r9, [0x14010cf38]
jmp 0x1400610e7
mov rax, qword [rbx]
mov r9, qword [rax + 8]
lea r8, [0x14010ded8]
mov edx, 0x7d
lea rcx, [rsp + 0x80]
call fcn.1400ce3a0
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x1400610c0
cmp word [rsp + 0x80], r15w
je 0x14006116c
lea rcx, [rsp + 0x80]
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140061120
cmp rax, 0x7b
jbe 0x14006115e
lea rdi, [rsp + 0x80]
mov ebx, 0x7f
lea rdi, [rdi + rax*2]
sub rbx, rax
mov r8, rbx
lea rdx, [0x1401071d0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rdi + rbx*2], r15w
jmp 0x14006116c
cmp word [rsp + rax*2 + 0x7e], 0x20
jne 0x14006116c
mov word [rsp + rax*2 + 0x7e], r15w
mov cl, 1
call fcn.1400232c0
movzx ecx, al
lea rdx, [rsp + 0x250]
call fcn.1400236b0
mov rcx, qword [0x1401278c0]
mov rdi, rax
mov ebp, dword [0x140127a68]
mov ebx, dword [0x1401278cc]
cmp byte [rcx + 0x138], r15b
je 0x1400611b0
cmp byte [0x14012bba1], r15b
mov ecx, 1
je 0x1400611b3
mov ecx, r15d
mov r8d, dword [0x1401278c8]
lea rax, [0x140105a30]
mov r10d, dword [0x14012bb48]
lea r9, [0x140105a28]
mov r11d, dword [0x14012bb4c]
sub r8d, ecx
cmp qword [0x140127a88], r15
lea rcx, [0x1400ef7e4]
mov qword [rsp + 0x70], rdi
mov rdx, r9
cmove rdx, rax
mov dword [rsp + 0x68], ebp
cmp qword [0x140127a90], r15
mov edi, 0xfffe
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], r8d
cmove r9, rax
lea rax, str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp ebx, 1
lea r8, str.Window:__s_r_nKeybd_hook:__s_r_nMouse_hook:__s_r_nEnabled_Timers:__u_of__u___s__r_nInterrupted_threads:__d_s_r_nPaused_threads:__d_of__d___d_layers__r_nModifiers__GetKeyState___now____s_r_n
cmovg rcx, rax
lea eax, [rbx - 1]
mov qword [rsp + 0x50], rcx
cmovle eax, r15d
mov dword [rsp + 0x48], eax
mov rcx, r14
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x28], rdx
mov edx, edi
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x180]
call fcn.1400ce300
movsxd rcx, eax
mov edx, edi
sub edx, ecx
lea rbx, [r14 + rcx*2]
mov rcx, rbx
call fcn.140016dc0
nop dword [rax + rax]
cmp word [rbx + rsi*2 + 2], r15w
lea rsi, [rsi + 1]
jne 0x140061280
cmp qword [0x140127a80], r15
lea rax, str._r_nPress__F5__to_refresh.
lea rbx, [rbx + rsi*2]
lea r8, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
mov rcx, rbx
cmovne r8, rax
mov rax, rbx
sub rax, r14
sar rax, 1
sub edi, eax
mov edx, edi
call fcn.1400ce300
lea r11, [rsp + 0x450]
movsxd rcx, eax
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
lea rax, [rbx + rcx*2]
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
ret