Function at 0x140084e70
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 [0x140103f30]
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.1400828d0
mov rdi, qword [rbp + 0x418]
mov ebx, 1
mov rsi, rax
cmp word [rdi], 0
lea r15d, [rbx + 2]
jne 0x140084ee8
mov edi, ebx
jmp 0x140084f9c
lea rdx, [0x1400e7b08]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140084f04
lea edi, [rax + 2]
jmp 0x140084f9c
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 0x140084f1d
mov edi, r15d
jmp 0x140084f9c
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 0x140084f36
lea edi, [rax + 4]
jmp 0x140084f9c
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 0x140084f4f
lea edi, [rax + 5]
jmp 0x140084f9c
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 0x140084f68
lea edi, [rax + 6]
jmp 0x140084f9c
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 0x140084f81
lea edi, [rax + 7]
jmp 0x140084f9c
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 0x140085658
lea edi, [rax + 8]
test rsi, rsi
je 0x140085658
cmp word [r13], 0
jne 0x140084fb1
mov r13, qword [r14 + 0x28]
mov rcx, qword [0x140101c20]
lea r12, [0x1400cb6f4]
xor r9d, r9d
mov byte [rsp + 0x20], bl
mov rdx, r12
lea r8, [r9 - 1]
call fcn.1400afca0
mov rax, qword [0x140102c60]
mov qword [rsp + 0x78], rax
mov rax, qword [0x140102c58]
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [0x140102c60], rax
mov qword [0x140102c58], rax
lea eax, [rdi - 3]
cmp eax, ebx
jbe 0x140085475
mov rdx, r13
mov rcx, rsi
call fcn.140090eb0
mov r13d, eax
cmp edi, 2
je 0x14008502c
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400afca0
cmp r13d, dword [rsi + 0x20]
jae case.default.0x140085055
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 + 0x856b4]
add rax, rdx
jmp rax
mov r9, qword [rbp + 0x428]
mov rdx, r14
mov rcx, rsi
call fcn.14008f3e0
jmp 0x140085611
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 [0x1400fe060]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x1400850b9
test byte [rcx + 0x78], 4
je 0x1400850b9
xor r13d, r13d
jmp 0x1400850ce
test byte [r14 + 0x22], 2
mov r13d, 0
mov r15d, r13d
setne r15b
inc r15d
mov r9, qword [r14 + 0x28]
lea r8, [0x1400eae48]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400ab290
cmp word [rbp - 0x70], 0
movsxd r12, eax
je 0x1400853cb
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, [0x140105140]
call fcn.1400384b0
mov rdi, rax
test rax, rax
jne 0x140085154
cmp byte [rbp + 0x418], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x40]
lea rcx, [0x140105140]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400389f0
mov rdi, rax
test rdi, rdi
je 0x1400853cb
cmp byte [rsi + 0x110], 0
je 0x14008517e
mov r8d, dword [0x140105114]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140085182
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, [0x1400eae50]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400ab290
cmp word [rbp - 0x70], 0
movsxd r12, eax
je 0x1400853cb
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, [0x140105140]
call fcn.1400384b0
mov rdi, rax
test rax, rax
jne 0x140085212
cmp byte [rsp + 0x30], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x44]
lea rcx, [0x140105140]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400389f0
mov rdi, rax
test rdi, rdi
je 0x1400853cb
cmp byte [rsi + 0x110], 0
je 0x14008523c
mov r8d, dword [0x140105114]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140085240
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, [0x1400eae58]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400ab290
cmp word [rbp - 0x70], 0
movsxd r12, eax
je 0x1400853cb
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, [0x140105140]
call fcn.1400384b0
mov rdi, rax
test rax, rax
jne 0x1400852d0
cmp byte [rsp + 0x31], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x48]
lea rcx, [0x140105140]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400389f0
mov rdi, rax
test rdi, rdi
je 0x1400853cb
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rsi + 0x110], 0
je 0x1400852fe
mov r8d, dword [0x140105114]
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, [0x1400eae60]
mov edx, 0x111
lea rcx, [rbp - 0x70]
call fcn.1400ab290
cmp word [rbp - 0x70], 0
movsxd r14, eax
je 0x1400853cb
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, [0x140105140]
call fcn.1400384b0
mov rdi, rax
test rax, rax
jne 0x14008538e
cmp byte [rsp + 0x32], dil
lea rdx, [rbp - 0x70]
mov r9d, dword [rsp + 0x4c]
lea rcx, [0x140105140]
mov eax, r13d
mov r8, r14
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.1400389f0
mov rdi, rax
test rdi, rdi
je 0x1400853cb
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rsi + 0x110], 0
je 0x1400853b8
mov r8d, dword [0x140105114]
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 0x140085613
mov ebx, r13d
jmp 0x140085613
mov rcx, qword [r8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rdx, [0x1400e0c2c]
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.1400afca0
jmp 0x140085611
xor eax, eax
jmp 0x140085611
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400afca0
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
test rax, rax
je case.default.0x140085055
mov rdx, rax
mov rcx, rsi
call fcn.140001860
cmp eax, 0x2af8
je case.default.0x140085055
mov eax, eax
imul rcx, rax, 0x58
add rcx, qword [rsi + 0x28]
je case.default.0x140085055
cmp edi, 4
jne 0x140085544
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, r15d
cmp eax, 0x2af8
jae 0x140085539
cmp qword [rsi + 8], 0
je 0x140085539
cmp eax, dword [rsi + 0x20]
jae 0x140085539
imul rcx, rax, 0x58
lea rdx, [rbp + 0x1c0]
add rcx, qword [rsi + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140085528
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 0x140085510
jmp 0x1400855b0
mov rcx, qword [rcx]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400855b0
xor eax, eax
mov word [rbp + 0x1c0], ax
jmp 0x1400855b0
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.0x140085055
mov rcx, qword [rsi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x14004f210]
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.0x140085055
mov r9d, dword [rsp + 0x6c]
lea r8, [0x1400cb7d4]
mov edx, 0x101
lea rcx, [rbp + 0x1c0]
call fcn.1400ab2f0
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea rdx, [rbp + 0x1c0]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400afca0
jmp 0x140085611
mov rax, qword [0x1400fe060]
lea rdx, [0x1400e0c2c]
test byte [rax + 0x140], bl
jne 0x1400855fb
mov rcx, qword [0x140101c20]
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400afca0
jmp 0x140085611
mov rcx, qword [rbp + 0x410]
lea r9, [0x1400cb664]
xor r8d, r8d
call fcn.1400465b0
mov ebx, eax
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140085654
mov rcx, qword [0x140102c60]
test rcx, rcx
je 0x140085642
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140102c58], 0x400000
jbe 0x140085642
dec dword [0x140102c50]
mov rax, qword [rbp - 0x80]
mov qword [0x140102c58], rax
mov qword [0x140102c60], rdi
mov eax, ebx
jmp 0x140085699
mov rax, qword [0x1400fe060]
lea rdx, [0x1400e0c2c]
test byte [rax + 0x140], bl
jne 0x140085687
mov rcx, qword [0x140101c20]
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400afca0
jmp 0x140085699
lea r9, [0x1400cb664]
xor r8d, r8d
mov rcx, r12
call fcn.1400465b0
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret