Function at 0x14008ecc0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x408]
sub rsp, 0x508
mov r14, qword [0x140136490]
mov rax, rdx
mov rsi, r8
mov qword [rsp + 0x20], r8
mov r12, rcx
lea rdx, [rbp + 0x448]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.14008c060
mov rcx, qword [rbp + 0x448]
mov rdi, rax
call fcn.140026220
mov r13d, eax
test eax, eax
jne 0x14008ed84
mov rax, qword [0x14012fc08]
lea rdx, [0x14011037c]
test byte [rax + 0x140], 1
jne 0x14008ed62
mov rcx, qword [0x140134210]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b0830
add rsp, 0x508
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [0x1400fb87c]
xor r8d, r8d
mov rcx, r12
add rsp, 0x508
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.140050b90
test rdi, rdi
je 0x14008ed22
cmp word [rsi], 0
mov qword [rsp + 0x540], rbx
mov qword [rsp + 0x500], r15
jne 0x14008eda3
mov rsi, qword [r14 + 0x28]
mov rcx, qword [0x140134210]
lea r15, [0x1400fb96c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, r15
lea r8, [r9 - 1]
call fcn.1400b0830
mov rax, qword [0x1401351c0]
mov ebx, 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x1401351b8]
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [0x1401351c0], rax
mov qword [0x1401351b8], rax
lea eax, [r13 - 3]
cmp eax, ebx
jbe 0x14008f29f
mov rdx, rsi
mov rcx, rdi
call fcn.14009aa40
mov esi, eax
cmp r13d, 2
je 0x14008ee25
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
lea r8, [rbx - 2]
mov rcx, r14
call fcn.1400b0830
cmp esi, dword [rdi + 0x20]
jae 0x14008f3fc
mov rax, qword [rdi + 0x28]
lea rcx, [rsi + rsi*4]
dec r13d
lea r10, [rax + rcx*8]
cmp r13d, 7
ja case.0x14008ee5b.3
lea rdx, [0x140000000]
movsxd rax, r13d
mov ecx, dword [rdx + rax*4 + 0x8f4a4]
add rcx, rdx
jmp rcx
mov r9, qword [rbp + 0x458]
mov r8, r10
mov rdx, r14
mov rcx, rdi
call fcn.140099c90
jmp 0x14008f43d
mov rcx, qword [r10]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [0x14012fc08]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x14008eec7
test byte [rcx + 0x5c], 4
je 0x14008eec7
mov esi, 3
xor r13d, r13d
jmp 0x14008eedb
test byte [r14 + 0x22], 2
mov r13d, 0
mov esi, r13d
setne sil
inc esi
mov r9, qword [r14 + 0x28]
lea r8, [0x14011abf0]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400acf50
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x14008f1d0
lea rax, [rsp + 0x30]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x140136640]
call fcn.14003f6b0
mov r15, rax
test rax, rax
jne 0x14008ef65
cmp byte [rsp + 0x30], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x40]
lea rcx, [0x140136640]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003f980
mov r15, rax
test rax, rax
je 0x14008f1d0
cmp byte [rdi + 0x108], 0
je 0x14008ef86
mov r8d, dword [0x140136624]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x14008ef8a
mov eax, dword [rsp + 0x38]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.1400014b0
mov r9, qword [r14 + 0x28]
lea r8, [0x14011abf8]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400acf50
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x14008f1d0
lea rax, [rsp + 0x31]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x140136640]
call fcn.14003f6b0
mov r15, rax
test rax, rax
jne 0x14008f022
cmp byte [rsp + 0x31], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x44]
lea rcx, [0x140136640]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003f980
mov r15, rax
test rax, rax
je 0x14008f1d0
cmp byte [rdi + 0x108], 0
je 0x14008f043
mov r8d, dword [0x140136624]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x14008f047
mov eax, dword [rsp + 0x3c]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.1400014b0
mov r9, qword [r14 + 0x28]
lea r8, [0x14011ac00]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400acf50
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x14008f1d0
lea rax, [rsp + 0x32]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x140136640]
call fcn.14003f6b0
mov r15, rax
test rax, rax
jne 0x14008f0df
cmp byte [rsp + 0x32], r15b
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x48]
lea rcx, [0x140136640]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003f980
mov r15, rax
test rax, rax
je 0x14008f1d0
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rdi + 0x108], 0
je 0x14008f104
mov r8d, dword [0x140136624]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r15
call fcn.1400014b0
mov r9, qword [r14 + 0x28]
lea r8, [0x14011ac08]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400acf50
cmp word [rbp - 0x40], 0
movsxd r14, eax
je 0x14008f1d0
lea rax, [rsp + 0x33]
mov r8, r14
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], esi
lea rcx, [0x140136640]
call fcn.14003f6b0
mov rsi, rax
test rax, rax
jne 0x14008f198
cmp byte [rsp + 0x33], sil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x4c]
lea rcx, [0x140136640]
mov eax, r13d
mov r8, r14
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003f980
mov rsi, rax
test rax, rax
je 0x14008f1d0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rdi + 0x108], 0
je 0x14008f1bd
mov r8d, dword [0x140136624]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rsi
call fcn.1400014b0
jmp 0x14008f43f
mov ebx, r13d
jmp 0x14008f43f
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rdx, [0x14011037c]
mov byte [rsp + 0x20], bl
test eax, eax
mov rcx, r14
cmovne r15, rdx
xor r9d, r9d
mov rdx, r15
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14008f43d
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowVisible]
lea rdx, [0x14011037c]
mov byte [rsp + 0x20], bl
test eax, eax
mov rcx, r14
cmovne r15, rdx
xor r9d, r9d
mov rdx, r15
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14008f43d
mov rcx, qword [r10]
lea rdx, [rbp - 0x74]
mov r8d, reloc.WSOCK32.dll_recv
mov dword [rbp - 0x78], 0x780030
call fcn.1400d07fc
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea rdx, [rbp - 0x78]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14008f43d
mov rdx, qword [r10 + 0x10]
test rdx, rdx
je 0x14008f43f
mov rdx, qword [rdx + 0x28]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14008f43d
xor eax, eax
jmp 0x14008f43d
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400b0830
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14008f3fc
mov rdx, rax
mov rcx, rdi
call fcn.1400018b0
cmp eax, 0x2af8
je 0x14008f3fc
mov eax, eax
lea rcx, [rax + rax*4]
mov rax, qword [rdi + 0x28]
lea rcx, [rax + rcx*8]
test rcx, rcx
je 0x14008f3fc
cmp r13d, 4
jne 0x14008f374
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, 0x2af8
jae 0x14008f369
cmp qword [rdi + 8], 0
je 0x14008f369
cmp eax, dword [rdi + 0x20]
jae 0x14008f369
lea rcx, [rax + rax*4]
mov rax, qword [rdi + 0x28]
lea rdx, [rbp + 0x1f0]
lea r9, [rax + rcx*8]
mov rcx, qword [rax + rcx*8 + 0x10]
test rcx, rcx
je 0x14008f358
mov rcx, qword [rcx + 0x28]
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14008f340
jmp 0x14008f3e0
mov rcx, qword [r9]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14008f3e0
xor eax, eax
mov word [rbp + 0x1f0], ax
jmp 0x14008f3e0
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x1f0]
mov r8d, 0xfc
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x14008f3fc
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x140059830]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x68], al
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [rsp + 0x68], 0
je 0x14008f3fc
mov r9d, dword [rsp + 0x6c]
lea r8, [0x1400fbcd0]
mov edx, 0x101
lea rcx, [rbp + 0x1f0]
call fcn.1400acff0
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea rdx, [rbp + 0x1f0]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14008f43d
mov rax, qword [0x14012fc08]
lea rdx, [0x14011037c]
test byte [rax + 0x140], bl
jne 0x14008f42b
mov rcx, qword [0x140134210]
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14008f43d
lea r9, [0x1400fb87c]
xor r8d, r8d
mov rcx, r12
call fcn.140050b90
mov ebx, eax
mov rdi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x500]
test rdi, rdi
je 0x14008f487
mov rcx, qword [0x1401351c0]
test rcx, rcx
je 0x14008f475
call fcn.1400d29a8
cmp qword [0x1401351b8], 0x400000
jbe 0x14008f475
dec dword [0x1401351b4]
mov rax, qword [rbp - 0x80]
mov qword [0x1401351b8], rax
mov qword [0x1401351c0], rdi
mov eax, ebx
mov rbx, qword [rsp + 0x540]
add rsp, 0x508
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret