Function at 0x14000119f
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140008b20
push rbp
push r12
sub rsp, 0xbe8
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0xbb0], rax
mov rbp, rcx
mov qword [rsp + 0x78], rdx
test r8d, r8d
je 0x140008b6d
mov rax, qword [rcx]
xor r12d, r12d
xor r9d, r9d
xor edx, edx
mov r8d, 0x4d8b
mov dword [rsp + 0x20], r12d
call qword [rax + 0x10]
lea eax, [r12 + 1]
jmp 0x14000911f
mov qword [rsp + 0xbc0], r15
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov r15, rax
test rax, rax
je 0x140009117
mov qword [rsp + 0xc10], rbx
mov qword [rsp + 0xbe0], rsi
lea rcx, [rsp + 0x792]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0xbd8], rdi
mov qword [rsp + 0xbd0], r13
mov word [rsp + 0x790], r12w
call fcn.14001e8c0
lea rdx, [rsp + 0x790]
mov r8d, 0x104
mov ecx, 0x26c3
call fcn.1400013bb
lea rcx, [rsp + 0x4e2]
xor edx, edx
mov r8d, 0x9e
mov word [rsp + 0x4e0], r12w
call fcn.14001e8c0
mov rax, qword [rbp + 0x2d0]
lea r9, [rsp + 0x790]
mov ecx, dword [rax + 0x2c8]
lea r8, str._s__d
mov edx, 0xa0
inc ecx
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x4e0]
call fcn.1400011f4
lea rcx, [rsp + 0x3a2]
xor edx, edx
mov r8d, 0x9e
mov word [rsp + 0x3a0], r12w
call fcn.14001e8c0
lea rdx, [rsp + 0x3a0]
mov r8d, 0x104
mov ecx, 0x26c1
call fcn.1400013bb
lea rcx, [rsp + 0x9a2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x9a0], r12w
call fcn.14001e8c0
mov eax, dword [rbp + 0xd410]
lea r9, [rsp + 0x3a0]
lea rcx, [rax + rax*4]
mov rax, qword [rbp + 0x2d8]
lea r8, str._s__s___s_
add rcx, rcx
lea rdx, [rax + rcx*8 + 0x6c]
lea rax, [rsp + 0x4e0]
lea rcx, [rsp + 0x9a0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov edx, 0x208
call fcn.1400011f4
mov rdi, qword [rbp + 0x2d8]
mov rax, qword [rbp + 0x2d0]
movsxd rax, dword [rax + 0x2c8]
mov ebx, dword [rbp + 0xd410]
mov esi, r12d
mov rax, qword [rdi + rax*8 + 0xb70]
lea rcx, [rsp + 0x88]
mov r8d, 0x318
cmp qword [rdi + rbx*8 + 0xa70], rax
sete sil
xor edx, edx
call fcn.14001e8c0
cmp dword [rdi + 0x68], ebx
mov r11d, r12d
mov r9d, 0x10
sete r11b
mov edx, ebx
mov r8d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.14000153c
neg esi
lea rdx, [rbp + 0x5d0]
sbb ecx, ecx
mov qword [rsp + 0x80], rax
and ecx, 3
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbp + 0x2d0]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9a0]
or r9d, 0xffffffff
mov r8d, 0x4d8b
mov rdx, r15
mov qword [rsp + 0x20], rax
call fcn.140001159
mov ecx, dword [rbp + 0xd410]
mov rax, qword [rbp + 0x2d8]
or r8d, 0xffffffff
mov rdx, r15
mov ebx, dword [rax + rcx*4 + 0xb170]
mov rcx, qword [rbp + 0x2d0]
lea esi, [r12 + 1]
mov dword [rsp + 0x50], ebx
call fcn.140001186
mov edx, r12d
mov dword [rsp + 0x58], edx
mov edi, r12d
mov r13, r12
test ebx, ebx
je 0x140008f1f
mov qword [rsp + 0xbc8], r14
lea r14, [rsp + 0x88]
nop
mov ecx, dword [rbp + 0xd410]
mov rax, qword [rbp + 0x2d8]
imul rcx, rcx, 0x64
add rcx, r13
mov rbx, qword [rax + rcx*8 + 0x4d70]
test rbx, rbx
je 0x140008eff
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140008efb
mov rcx, qword [rbp + 0x2d8]
mov rdx, rbx
call fcn.140001267
mov rcx, qword [rbp + 0x2d0]
cmp dword [rcx + 0x2c8], eax
jne 0x140008ef5
lea rcx, [rsp + 0x582]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x580], r12w
call fcn.14001e8c0
lea rdx, [rsp + 0x580]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x580]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x140008eef
mov rcx, qword [rbp + 0x2d8]
mov rdx, rbx
call fcn.1400010c8
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], esi
mov qword [r14], rax
mov ecx, esi
lea r8d, [rdi + 0x4e20]
or r9d, 0xffffffff
imul rcx, rcx, 0x210
lea rdx, [rcx + rbp + 0x5d0]
mov rcx, qword [rbp + 0x2d0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x580]
mov rdx, r15
mov qword [rsp + 0x20], rax
call fcn.140001159
mov edx, dword [rsp + 0x58]
inc esi
add r14, 8
inc edx
mov dword [rsp + 0x58], edx
jmp 0x140008eff
mov edx, dword [rsp + 0x58]
jmp 0x140008eff
mov edx, dword [rsp + 0x58]
jmp 0x140008eff
mov edx, dword [rsp + 0x58]
inc edi
inc r13
cmp edi, dword [rsp + 0x50]
jb 0x140008de0
mov r14, qword [rsp + 0xbc8]
cmp edx, 1
jae 0x140008fa7
lea rcx, [rsp + 0x442]
xor edx, edx
mov r8d, 0x9e
mov word [rsp + 0x440], r12w
call fcn.14001e8c0
mov rcx, qword [rbp + 0x2d8]
lea r8, [rsp + 0x440]
mov r9d, 0x50
mov edx, 0x5eb
call fcn.1400013de
mov rcx, qword [rbp + 0x2d0]
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x38], esi
mov r11d, esi
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, r15
imul r11, r11, 0x210
lea rax, [r11 + rbp + 0x5d0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x440]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.140001159
mov rcx, qword [rbp + 0x20]
lea rdx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rcx, qword [rbp + 0x20]
xor r9d, r9d
lea edx, [r9 + 0x1f]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbp + 0xd410]
mov rbx, qword [rbp + 0x20]
mov dword [rsp + 0x60], 0x14
add rcx, rcx
xor r11d, r11d
mov dword [rsp + 0x64], r11d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x6c], r11d
mov dword [rsp + 0x70], r11d
mov eax, dword [rbp + rcx*8 + 0x338]
lea rdx, [rsp + 0x64]
mov dword [rdx], eax
mov eax, dword [rbp + rcx*8 + 0x33c]
mov dword [rdx + 4], eax
mov eax, dword [rbp + rcx*8 + 0x340]
mov dword [rdx + 8], eax
mov eax, dword [rbp + rcx*8 + 0x344]
mov rcx, rbx
mov dword [rdx + 0xc], eax
xor eax, eax
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x64]
shr rax, 0x20
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x64], r11d
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x78]
mov dword [rsp + 0x70], eax
mov rax, qword [rbp + 0x2d0]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x6c], r11d
mov rax, qword [rax + 0x230]
mov qword [rsp + 0x28], rcx
mov edx, 2
mov rcx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov r13, qword [rsp + 0xbd0]
mov rsi, qword [rsp + 0xbe0]
lea rbx, [rsp + 0x80]
mov edi, 0x64
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400090f1
call qword [sym.imp.USER32.dll_DestroyIcon]
mov qword [rbx], r12
add rbx, 8
sub rdi, 1
jne 0x1400090e0
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyMenu]
mov rbx, qword [rsp + 0xc10]
lea eax, [rdi + 1]
mov rdi, qword [rsp + 0xbd8]
mov r15, qword [rsp + 0xbc0]
mov rcx, qword [rsp + 0xbb0]
xor rcx, rsp
call fcn.14001e890
add rsp, 0xbe8
pop r12
pop rbp
ret