Function at 0x1400862a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov r14, qword [0x140104ae0]
mov rax, rdx
mov r13, r8
mov qword [rsp + 0x20], r8
mov r12, rcx
lea rdx, [rbp + 0x418]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.140083d00
mov rdi, qword [rbp + 0x418]
mov ebx, 1
mov rsi, rax
cmp word [rdi], 0
lea r15d, [rbx + 2]
jne 0x140086318
mov edi, ebx
jmp 0x1400863cc
lea rdx, [0x1400e8d20]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140086334
lea edi, [rax + 2]
jmp 0x1400863cc
lea rdx, str.Focus
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14008634d
mov edi, r15d
jmp 0x1400863cc
lea rdx, str.FocusV
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140086366
lea edi, [rax + 4]
jmp 0x1400863cc
lea rdx, str.Enabled
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14008637f
lea edi, [rax + 5]
jmp 0x1400863cc
lea rdx, str.Visible
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140086398
lea edi, [rax + 6]
jmp 0x1400863cc
lea rdx, str.Hwnd
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400863b1
lea edi, [rax + 7]
jmp 0x1400863cc
lea rdx, str.Name
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140086a88
lea edi, [rax + 8]
test rsi, rsi
je 0x140086a88
cmp word [r13], 0
jne 0x1400863e1
mov r13, qword [r14 + 0x28]
mov rcx, qword [0x140102760]
lea r12, [0x1400cc6d4]
xor r9d, r9d
mov byte [rsp + 0x20], bl
mov rdx, r12
lea r8, [r9 - 1]
call fcn.1400b1f60
mov rax, qword [0x140103810]
mov qword [rsp + 0x78], rax
mov rax, qword [0x140103808]
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [0x140103810], rax
mov qword [0x140103808], rax
lea eax, [rdi - 3]
cmp eax, ebx
jbe 0x1400868a5
mov rdx, r13
mov rcx, rsi
call fcn.140092390
mov r13d, eax
cmp edi, 2
je 0x14008645c
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400b1f60
cmp r13d, dword [rsi + 0x20]
jae case.default.0x140086485
imul r8, r13, 0x58
lea eax, [rdi - 1]
add r8, qword [rsi + 0x28]
lea rdx, [0x140000000]
movsxd rcx, eax
mov eax, dword [rdx + rcx*4 + 0x86ae4]
add rax, rdx
jmp rax
mov r9, qword [rbp + 0x428]
mov rdx, r14
mov rcx, rsi
call fcn.1400908c0
jmp 0x140086a41
mov rcx, qword [r8]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsi + 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 [0x1400ff050]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400864e9
test byte [rcx + 0x78], 4
je 0x1400864e9
xor r13d, r13d
jmp 0x1400864fe
test byte [r14 + 0x22], 2
mov r13d, 0
mov r15d, r13d
setne r15b
inc r15d
mov r9, qword [r14 + 0x28]
lea r8, [0x1400ec058]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400acf70
cmp word [rbp - 0x70], 0
movsxd r12, eax
je 0x1400867fb
lea rax, [rbp + 0x418]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x20], r15d
lea rcx, [0x140105cf0]
call fcn.140039640
mov rdi, rax
test rax, rax
jne 0x140086584
cmp byte [rbp + 0x418], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x40]
lea rcx, [0x140105cf0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140039b80
mov rdi, rax
test rdi, rdi
je 0x1400867fb
cmp byte [rsi + 0x110], 0
je 0x1400865ae
mov r8d, dword [0x140105cc4]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400865b2
mov eax, dword [rsp + 0x38]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400014c0
mov r9, qword [r14 + 0x28]
lea r8, [0x1400ec060]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400acf70
cmp word [rbp - 0x70], 0
movsxd r12, eax
je 0x1400867fb
lea rax, [rsp + 0x30]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x20], r15d
lea rcx, [0x140105cf0]
call fcn.140039640
mov rdi, rax
test rax, rax
jne 0x140086642
cmp byte [rsp + 0x30], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x44]
lea rcx, [0x140105cf0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140039b80
mov rdi, rax
test rdi, rdi
je 0x1400867fb
cmp byte [rsi + 0x110], 0
je 0x14008666c
mov r8d, dword [0x140105cc4]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140086670
mov eax, dword [rsp + 0x3c]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400014c0
mov r9, qword [r14 + 0x28]
lea r8, [0x1400ec068]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400acf70
cmp word [rbp - 0x70], 0
movsxd r12, eax
je 0x1400867fb
lea rax, [rsp + 0x31]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x20], r15d
lea rcx, [0x140105cf0]
call fcn.140039640
mov rdi, rax
test rax, rax
jne 0x140086700
cmp byte [rsp + 0x31], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x48]
lea rcx, [0x140105cf0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140039b80
mov rdi, rax
test rdi, rdi
je 0x1400867fb
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rsi + 0x110], 0
je 0x14008672e
mov r8d, dword [0x140105cc4]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400014c0
mov r9, qword [r14 + 0x28]
lea r8, [0x1400ec070]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400acf70
cmp word [rbp - 0x70], 0
movsxd r14, eax
je 0x1400867fb
lea rax, [rsp + 0x32]
mov r8, r14
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x20], r15d
lea rcx, [0x140105cf0]
call fcn.140039640
mov rdi, rax
test rax, rax
jne 0x1400867be
cmp byte [rsp + 0x32], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x4c]
lea rcx, [0x140105cf0]
mov eax, r13d
mov r8, r14
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.140039b80
mov rdi, rax
test rdi, rdi
je 0x1400867fb
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rsi + 0x110], 0
je 0x1400867e8
mov r8d, dword [0x140105cc4]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400014c0
jmp 0x140086a43
mov ebx, r13d
jmp 0x140086a43
mov rcx, qword [r8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rdx, [0x1400e1d2c]
mov byte [rsp + 0x20], bl
test eax, eax
mov rcx, r14
cmovne r12, rdx
xor r9d, r9d
mov rdx, r12
lea r8, [r9 - 1]
call fcn.1400b1f60
jmp 0x140086a41
xor eax, eax
jmp 0x140086a41
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400b1f60
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
test rax, rax
je case.default.0x140086485
mov rdx, rax
mov rcx, rsi
call fcn.140001860
cmp eax, 0x2af8
je case.default.0x140086485
mov eax, eax
imul rcx, rax, 0x58
add rcx, qword [rsi + 0x28]
je case.default.0x140086485
cmp edi, 4
jne 0x140086974
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, r15d
cmp eax, 0x2af8
jae 0x140086969
cmp qword [rsi + 8], 0
je 0x140086969
cmp eax, dword [rsi + 0x20]
jae 0x140086969
imul rcx, rax, 0x58
lea rdx, [rbp + 0x1c0]
add rcx, qword [rsi + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140086958
mov rcx, qword [rax + 0x28]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140086940
jmp 0x1400869e0
mov rcx, qword [rcx]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400869e0
xor eax, eax
mov word [rbp + 0x1c0], ax
jmp 0x1400869e0
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x1c0]
mov r8d, 0xfc
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je case.default.0x140086485
mov rcx, qword [rsi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x140050820]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x68], al
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [rsp + 0x68], 0
je case.default.0x140086485
mov r9d, dword [rsp + 0x6c]
lea r8, [0x1400cc7f4]
mov edx, 0x101
lea rcx, [rbp + 0x1c0]
call fcn.1400acfd0
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea rdx, [rbp + 0x1c0]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400b1f60
jmp 0x140086a41
mov rax, qword [0x1400ff050]
lea rdx, [0x1400e1d2c]
test byte [rax + 0x140], bl
jne 0x140086a2b
mov rcx, qword [0x140102760]
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400b1f60
jmp 0x140086a41
mov rcx, qword [rbp + 0x410]
lea r9, [0x1400cc644]
xor r8d, r8d
call fcn.140047870
mov ebx, eax
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140086a84
mov rcx, qword [0x140103810]
test rcx, rcx
je 0x140086a72
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140103808], 0x400000
jbe 0x140086a72
dec dword [0x140103800]
mov rax, qword [rbp - 0x80]
mov qword [0x140103808], rax
mov qword [0x140103810], rdi
mov eax, ebx
jmp 0x140086ac9
mov rax, qword [0x1400ff050]
lea rdx, [0x1400e1d2c]
test byte [rax + 0x140], bl
jne 0x140086ab7
mov rcx, qword [0x140102760]
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400b1f60
jmp 0x140086ac9
lea r9, [0x1400cc644]
xor r8d, r8d
mov rcx, r12
call fcn.140047870
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret