Function at 0x140020180
Capabilities:
Get graphical window text

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0x90], rax
call fcn.14001b130
test rax, rax
je 0x14002046a
mov rcx, rax
call fcn.14010a090
add rax, 0x18
lea rdi, [rsp + 0x88]
mov qword [rdi], rax
mov rcx, qword [rsi + 0x590]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [rax + 1]
mov rcx, rdi
mov edx, ebx
call fcn.14010b310
mov rcx, qword [rsi + 0x590]
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
mov edx, eax
call fcn.14010b2b0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14016ceb0]
movaps xmmword [rsp + 0x70], xmm0
mov rcx, qword [rdi]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x14002043e
call fcn.1400f5ad8
lea rdx, [rsp + 0x48]
mov qword [rdx + 8], rax
lea rbx, [rsp + 0x58]
mov rcx, rbx
call fcn.14008bdf0
lea rdx, [0x14016dd92]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.14010b190
mov rdx, qword [rsi + 8]
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r8, r14
mov r9, rbx
call fcn.140020480
cmp byte [r14 + 0x17], 0
jns 0x140020283
mov rcx, qword [rsp + 0x30]
call fcn.1400d0be4
cmp byte [rsp + 0x6f], 0
jns 0x140020294
mov rcx, qword [rsp + 0x58]
call fcn.1400d0be4
movzx eax, byte [rsp + 0x87]
test al, al
js 0x1400202a7
mov ecx, eax
and ecx, 0x7f
jmp 0x1400202ac
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400202da
test al, al
jns 0x1400202ba
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsi + 0x590]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rcx, [rsi + 0x480]
call fcn.140023bb0
test al, al
jne 0x14002032a
lea rcx, [rsp + 0x70]
call fcn.140090910
mov rdx, qword [rsp + 0x88]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jle 0x14002031b
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d2660
xor eax, eax
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rdx - 0x18]
add rdx, 0xffffffffffffffe8
call fcn.14010a010
jmp 0x1400202fc
lea rdx, [0x14016dd7c]
lea rcx, [rsp + 0x30]
call fcn.1400200f0
cmp byte [rsp + 0x87], 0
js 0x14002034c
lea rdx, [rsp + 0x70]
jmp 0x140020351
mov rdx, qword [rsp + 0x70]
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.1400200f0
mov rax, qword [rdi]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140020374
call fcn.140109670
test rax, rax
jne 0x14002038a
call fcn.14001b130
mov rcx, rax
call fcn.140109670
test rax, rax
je 0x14002046a
mov rcx, rax
call fcn.14010a090
add rax, 0x18
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
mov r9, qword [rsp + 0x30]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsp + 0x28]
mov r8d, dword [rdx - 0x10]
mov dword [rsp + 0x20], eax
call fcn.140021130
mov rdx, qword [rsp + 0x28]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
mov edi, 0xffffffff
dec eax
test eax, eax
jle 0x14002042f
mov rdx, qword [rsp + 0x30]
lock xadd dword [rdx - 8], edi
dec edi
test edi, edi
jle 0x140020420
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsi + 0x708]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, qword [rsp + 0x58]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400202da
mov rcx, qword [rdx - 0x18]
add rdx, 0xffffffffffffffe8
call fcn.14010a010
jmp 0x1400202da
mov rcx, qword [rdx - 0x18]
add rdx, 0xffffffffffffffe8
call fcn.14010a010
jmp 0x1400203e3
mov rcx, qword [rdx - 0x18]
add rdx, 0xffffffffffffffe8
call fcn.14010a010
jmp 0x1400203d3
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.14010d520
mov ecx, 0x80004005
call fcn.14001b100
int3