Function at 0x14007a140
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rdi, rdx
mov qword [rsp + 0x60], rdx
lea rdx, [0x1400ecac0]
mov rcx, r9
mov rsi, r9
mov r14, r8
call fcn.1400ab3f0
test eax, eax
lea r15, [0x140000000]
movzx eax, byte [r14 + 8]
sete bl
add eax, 0xfffffff3
cmp eax, 5
ja case.default.0x14007a1a5
cdqe
mov ecx, dword [r15 + rax*4 + 0x7ac14]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 9], r8b
jge 0x14007a1c3
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14007a1cf
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
cwde
mov rcx, rdi
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
call fcn.140001280
mov eax, 1
jmp 0x14007a98e
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rax
mov rdx, r14
call fcn.14007d460
jmp 0x14007a1cf
test bl, bl
jne 0x14007a1dd
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14007a1cf
mov rcx, qword [r14]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14007a284
movzx ecx, word [rsp + 0x4a]
movzx edx, word [rsp + 0x48]
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x46]
movzx r9d, word [rsp + 0x42]
movzx r8d, word [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x28], edx
lea rdx, [0x1400ee330]
mov dword [rsp + 0x20], r10d
call fcn.140004f40
lea rdx, [rbp - 0x60]
jmp 0x14007a28b
lea rdx, [0x1400cffcc]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
mov rcx, rdi
call fcn.14008ec90
jmp 0x14007a98e
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
lea r9, [rsp + 0x40]
xor r8d, r8d
test al, 2
je 0x14007a346
mov edx, 0x1005
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rsp + 0x4a]
movzx edx, word [rsp + 0x48]
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x46]
movzx r9d, word [rsp + 0x42]
movzx r8d, word [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x28], edx
lea rdx, [0x1400ee330]
mov dword [rsp + 0x20], r10d
call fcn.140004f40
mov eax, 0x2d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x4e]
mov word [rbp - 0x50], ax
call fcn.14008b1c0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x60]
mov rcx, rdi
lea r8d, [r9 + 0x11]
call fcn.14008ec90
jmp 0x14007a98e
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rsp + 0x4a]
movzx edx, word [rsp + 0x48]
movzx eax, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x46]
movzx r9d, word [rsp + 0x42]
movzx r8d, word [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x28], edx
lea rdx, [0x1400ee330]
mov dword [rsp + 0x20], r10d
call fcn.140004f40
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x60]
mov rcx, rdi
lea r8d, [r9 + 8]
call fcn.14008ec90
jmp 0x14007a98e
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.14007d1f0
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.14008ec90
jmp 0x14007a98e
lea rdx, [0x1400e4140]
mov rcx, rsi
call fcn.1400ab3f0
or rsi, 0xffffffffffffffff
test eax, eax
je case.0x14007a425.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x14007a425.12
cdqe
mov ecx, dword [r15 + rax*4 + 0x7ac2c]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14007a493
sub rax, 1
je 0x14007a473
cmp rax, 1
je 0x14007a453
xor eax, eax
jmp 0x14007a98e
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400e3548]
mov rcx, rdi
call fcn.14008ec90
jmp 0x14007a98e
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400e352c]
mov rcx, rdi
call fcn.14008ec90
jmp 0x14007a98e
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400cffdc]
mov rcx, rdi
call fcn.14008ec90
jmp 0x14007a98e
test byte [r14 + 9], 2
je case.0x14007a425.12
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x14007a4f3
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
call fcn.14008ec90
jmp 0x14007a98e
inc eax
jmp 0x14007a1d2
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14007a554
mov rcx, qword [r14]
lea rdx, [rbp - 0x60]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x14007a425.12
mov rcx, qword [r14]
lea r9, [rbp - 0x60]
mov r8, rsi
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je case.0x14007a425.12
test byte [r14 + 9], 2
je 0x14007a563
lea eax, [rbx + 1]
jmp 0x14007a1cf
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rbx
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x14007a597
mov r8, rsi
call fcn.14008ec90
jmp 0x14007a98e
mov r8, rax
call fcn.14008ec90
cmp eax, 1
jne 0x14007a44c
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001450
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
jne 0x14007a61d
cmp byte [rdi + 0x23], 0
jne 0x14007a5de
mov rax, qword [rdi + 0x10]
jmp 0x14007a5e1
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14007a5ff
cmp qword [0x140108f18], 0
je 0x14007a5ff
lea rcx, [0x140108f00]
call fcn.140005340
jmp 0x14007a603
and byte [rax + 0x21], 0x86
xor r9d, r9d
mov byte [rsp + 0x20], r12b
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.14008ec90
jmp 0x14007a98e
mov rdx, rax
mov rcx, rdi
call fcn.140017c70
cmp byte [rdi + 0x23], 0
jne 0x14007a632
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x23], 2
jne 0x14007a656
cmp qword [0x140108f18], 0
je 0x14007a656
lea rcx, [0x140108f00]
call fcn.140005340
mov r12d, eax
jmp 0x14007a98e
and byte [rdi + 0x21], 0x86
mov eax, r12d
jmp 0x14007a98e
mov rcx, qword [r14]
mov edx, 0xfffffff0
mov qword [rsp + 0x8e8], r13
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
test eax, 0x808
je 0x14007a921
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
cmp rax, 1
jl 0x14007a85e
lea rcx, [rax*4]
call fcn.1400ab568
mov qword [rbp + 0x7f0], rax
mov rbx, rax
test rax, rax
je 0x14007a85e
mov rcx, qword [r14]
mov r9, rax
mov r8, rsi
mov edx, 0x191
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x70], rax
mov r12, rax
cmp rax, 1
jge 0x14007a704
mov rcx, rbx
call fcn.1400adb8c
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
mov rcx, rdi
xor edx, edx
jmp 0x14007a981
dec rax
xor r15d, r15d
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x68], rax
test byte [r14 + 9], 2
mov r13, rax
mov ebx, r15d
je 0x14007a80d
test r12, r12
jle 0x14007a76a
mov rdi, qword [rbp + 0x7f0]
mov ecx, dword [rdi + rbx*4]
lea rdx, [rbp - 0x60]
inc ecx
mov r8d, 0xa
call fcn.1400ab2e8
lea rcx, [rbp - 0x60]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14007a750
add r13, rax
inc rbx
cmp rbx, r12
jl 0x14007a730
mov rdi, qword [rsp + 0x60]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.14008ec90
cmp eax, 1
jne 0x14007a9ad
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001450
test byte [r14 + 9], 2
mov rbx, rax
je 0x14007a874
mov r14, qword [rsp + 0x70]
test r14, r14
jle 0x14007a8d7
mov rdi, qword [rbp + 0x7f0]
mov r12, qword [rbp + 0x7e0]
test r15, r15
je 0x14007a7d4
movzx ecx, word [r12 + 0x6e]
mov word [rbx], cx
add rbx, 2
mov ecx, dword [rdi + r15*4]
mov r8d, 0xa
inc ecx
mov rdx, rbx
call fcn.1400ab2e8
mov rax, rsi
nop dword [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14007a7f0
inc r15
lea rbx, [rbx + rax*2]
cmp r15, r14
jl 0x14007a7c2
jmp 0x14007a8cc
test r12, r12
jle 0x14007a76a
nop word [rax + rax]
mov rax, qword [rbp + 0x7f0]
xor r9d, r9d
mov rcx, qword [r14]
mov edx, 0x18a
movsxd r8, dword [rax + rbx*4]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14007a852
add r13, rax
inc rbx
cmp rbx, r12
jl 0x14007a820
jmp 0x14007a76a
mov rcx, qword [rbp + 0x7f0]
call fcn.1400adb8c
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
mov rcx, rdi
xor edx, edx
jmp 0x14007a981
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
test rsi, rsi
jle 0x14007a8d7
mov rdi, qword [rbp + 0x7f0]
mov r12, qword [rbp + 0x7e0]
test r15, r15
je 0x14007a8a3
movzx eax, word [r12 + 0x6e]
mov word [rbx], ax
add rbx, 2
movsxd r8, dword [rdi + r15*4]
mov r9, rbx
mov rcx, qword [r14]
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x14007a8c4
add r13, rax
lea rbx, [rbx + rax*2]
inc r15
cmp r15, rsi
jl 0x14007a891
mov rdi, qword [rsp + 0x60]
mov r12d, 1
mov rcx, qword [rbp + 0x7f0]
call fcn.1400adb8c
mov rdx, r13
mov rcx, rdi
call fcn.140017c70
cmp byte [rdi + 0x23], 0
jne 0x14007a8f8
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x23], 2
jne 0x14007aa2d
cmp qword [0x140108f18], 0
je 0x14007aa2d
lea rcx, [0x140108f00]
call fcn.140005340
mov r12d, eax
jmp 0x14007a986
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007a85e
test byte [r14 + 9], 2
je 0x14007a957
inc eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
mov rcx, rdi
call fcn.140001280
mov eax, 1
jmp 0x14007a986
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rbx
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x14007a9a0
or r8, rax
call fcn.14008ec90
mov r13, qword [rsp + 0x8e8]
add rsp, 0x8a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, rax
call fcn.14008ec90
cmp eax, 1
je 0x14007a9b1
xor eax, eax
jmp 0x14007a986
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001450
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14007a8e3
cmp byte [rdi + 0x23], 0
jne 0x14007a9f2
mov rax, qword [rdi + 0x10]
jmp 0x14007a9f5
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14007aa13
cmp qword [0x140108f18], 0
je 0x14007aa13
lea rcx, [0x140108f00]
call fcn.140005340
jmp 0x14007aa17
and byte [rax + 0x21], 0x86
xor r9d, r9d
mov byte [rsp + 0x20], r12b
or r8, 0xffffffffffffffff
mov rcx, rdi
xor edx, edx
jmp 0x14007a981
and byte [rdi + 0x21], 0x86
mov eax, r12d
jmp 0x14007a986
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14007aa70
or r8, rcx
mov byte [rsp + 0x20], 1
mov rcx, rdi
xor r9d, r9d
xor edx, edx
call fcn.14008ec90
jmp 0x14007a98e
test byte [r14 + 9], 2
je 0x14007aa7f
lea eax, [rcx + 1]
jmp 0x14007a1cf
lea rax, [rbp - 0x60]
mov dword [rbp - 0x70], 0x3ff
mov r8, rcx
mov qword [rbp - 0x78], rax
mov rcx, qword [r14]
lea r9, [rsp + 0x78]
mov r12d, 1
mov edx, 0x133c
mov dword [rsp + 0x78], r12d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], r12b
or r8, 0xffffffffffffffff
mov rcx, rdi
test eax, eax
je 0x14007a4e7
mov rdx, qword [rbp - 0x78]
call fcn.14008ec90
jmp 0x14007a98e
test bl, bl
jne 0x14007a1dd
mov rcx, qword [r14]
call fcn.1400684e0
mov rcx, rdi
test rax, rax
je 0x14007a4db
mov rdx, rax
call fcn.14008f010
jmp 0x14007a98e
test bl, bl
jne 0x14007a1dd
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
movsxd rbx, eax
xor edx, edx
mov r8, rbx
mov rcx, rdi
call fcn.14008ec90
cmp eax, 1
jne 0x14007a44c
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001450
mov rcx, qword [r14]
lea r8d, [rbx + 1]
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rdi + 0x23], 0
movsxd r15, eax
jne 0x14007ab5e
mov rbx, qword [rdi + 0x10]
jmp 0x14007ab61
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x14007ab7b
test byte [rbx + 0x21], 8
je 0x14007ab75
mov rcx, rbx
call fcn.140001320
add rbx, 0x10
jmp 0x14007ab82
lea rbx, [0x140109b28]
lea rax, [r15 + r15]
mov qword [rbx], rax
test r15, r15
jne 0x14007aba5
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001450
mov word [rax], r15w
jmp 0x14007a628
cmp byte [r14 + 8], 0xc
jne 0x14007a628
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001450
xor r15d, r15d
lea r8, [0x1400eb6c4]
mov qword [rsp + 0x38], r15
lea rdx, [0x1400eaae0]
mov qword [rsp + 0x30], r15
mov rcx, rax
mov qword [rsp + 0x28], rsi
mov r9d, r12d
mov dword [rsp + 0x20], 0xffffffff
call fcn.14008bdd0
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001450
nop
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x14007ac00
mov rdx, rsi
jmp 0x14007a620