Function at 0x140004180
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
lea rcx, [0x14001ea90]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x14001ea98]
cmp dword [0x14001ea90], eax
jne 0x1400041e4
mov eax, dword [0x14001ea9c]
cmp dword [0x14001ea94], eax
je 0x140004939
mov rcx, qword [0x14001ea90]
mov qword [0x14001ea98], rcx
call qword [sym.imp.USER32.dll_WindowFromPoint]
xor r15d, r15d
mov rsi, rax
test rax, rax
jne 0x14000422d
mov esi, r15d
cmp dword [0x14001eaa0], 1
je 0x14000427e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x14001ea58]
cmp rcx, rax
je 0x140004285
test rsi, rsi
je 0x140004285
cmp rsi, rcx
jne 0x14000429b
jmp 0x140004285
mov ebx, 0x80000000
test rsi, rsi
je 0x140004206
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
test rbx, rax
jne 0x140004206
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140004206
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
test rbx, rax
je 0x140004270
mov rsi, r15
jmp 0x140004232
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
jmp 0x140004232
mov rcx, qword [0x14001ea58]
cmp byte [0x14001eaa4], r15b
je 0x14000491a
cmp rsi, rcx
je 0x14000491a
test rsi, rsi
je 0x140004939
lea r9, [0x14001f030]
mov edx, 0xd
mov r8d, 0x7fff
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [0x14002f030]
mov r8d, 0xff
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
lea r14, str._d___d
lea rcx, [0x14002f230]
mov rdx, r14
call fcn.14000719c
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x60]
sub r9d, dword [rsp + 0x5c]
sub r8d, dword [rsp + 0x58]
lea rcx, [0x14002f430]
mov rdx, r14
call fcn.14000719c
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.USER32.dll_GetWindowLongW]
lea rdx, str.0x_.8X
lea rcx, [0x14002f630]
mov r8d, ebx
mov edi, eax
call fcn.14000719c
lea rdx, str.0x_.8X
lea rcx, [0x14002f830]
mov r8d, edi
call fcn.14000719c
lea rdx, str.0x_p
lea rcx, [0x14005fa30]
mov r8, rsi
call fcn.14000719c
mov eax, dword [0x14001eaa8]
test eax, eax
jne 0x1400043aa
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
jmp 0x1400043d2
cmp eax, 2
jne 0x1400043cc
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x40], r15
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x40]
jmp 0x1400043da
mov eax, r15d
mov ecx, r15d
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], eax
mov r9d, dword [0x14001ea94]
mov r8d, dword [0x14001ea90]
mov rdx, r14
sub r9d, ecx
lea rcx, [rbp - 0x80]
sub r8d, eax
mov word [0x1400da964], r15w
call fcn.14000719c
lea rdx, [rbp - 0x80]
lea rcx, [0x1400da964]
call fcn.140006f18
call fcn.140006238
lea rdx, [0x140019864]
lea rcx, [0x1400ea964]
mov r8d, eax
call fcn.14000719c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [0x14001ea94]
mov edx, dword [0x14001ea90]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, edi
shr ecx, 0x10
lea rdx, str.0x_06X
mov word [0x1400eab64], r15w
movzx r8d, cl
movzx ecx, dil
and edi, 0xff00
shl ecx, 0x10
or r8d, ecx
lea rcx, [rbp - 0x80]
or r8d, edi
call fcn.14000719c
lea rdx, [rbp - 0x80]
lea rcx, [0x1400eab64]
call fcn.140006f18
mov rdx, rsi
call fcn.1400049b8
cmp dword [0x14001eaac], r15d
jne 0x1400044b9
cmp byte [0x14001eaa4], r15b
je 0x1400044c5
mov rdx, qword [0x14001ead8]
call fcn.140005248
mov rcx, qword [0x14001ead8]
mov word [0x140074a48], r15w
mov word [0x140084a48], r15w
mov word [0x140084c48], r15w
mov word [0x140084e48], r15w
mov word [0x140085048], r15w
mov word [0x140085248], r15w
mov word [0x140085448], r15w
mov word [0x140095848], r15w
mov word [0x140085648], r15w
mov word [0x140095648], r15w
mov word [0x1400a5848], r15w
mov word [0x1400b5848], r15w
mov word [0x1400c5848], r15w
mov dword [0x1400d5848], r15d
test rcx, rcx
je 0x1400048cc
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, dword [0x14001ea94]
mov r8d, dword [0x14001ea90]
sub r9d, dword [rsp + 0x5c]
sub r8d, dword [rsp + 0x58]
lea rcx, [0x140085048]
mov rdx, r14
call fcn.14000719c
mov eax, dword [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x5c]
mov rcx, rsi
mov dword [rsp + 0x4c], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
lea rcx, [0x140084c48]
mov rdx, r14
call fcn.14000719c
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x60]
sub r9d, dword [rsp + 0x5c]
sub r8d, dword [rsp + 0x58]
lea rcx, [0x140084e48]
mov rdx, r14
call fcn.14000719c
mov rcx, qword [0x14001ead8]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
jle 0x1400045f7
lea rdx, [0x140019864]
lea rcx, [0x140085648]
mov r8d, eax
call fcn.14000719c
lea rdi, [0x14001ef00]
mov ebx, r15d
lea r13, [0x14001f000]
mov rax, rdi
cmp qword [rax], r15
je 0x14000461b
add rax, 0x10
inc ebx
cmp rax, r13
jl 0x14000460b
cmp ebx, 0x10
je 0x14000476e
mov rcx, qword [0x14001ead8]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x438
call qword [sym.imp.KERNEL32.dll_OpenProcess]
movsxd rbx, ebx
lea r12, [0x14001ea60]
add rbx, rbx
xor edx, edx
mov r9d, 0x1000
mov rcx, rax
mov r8d, 0x200
mov dword [rsp + 0x20], 4
mov qword [r12 + rbx*8 + 0x498], rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov qword [r12 + rbx*8 + 0x4a0], rax
test rax, rax
je 0x14000476e
mov edx, dword [0x14001eff8]
mov rcx, qword [0x14001ead8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov r9, r14
mov r8d, 0x100
mov dword [rsp + 0x28], 0x1388
mov dword [rsp + 0x20], 3
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14000471e
cmp qword [rsp + 0x68], r15
jbe 0x14000471e
mov ecx, r15d
mov rax, rdi
cmp qword [rax], r14
je 0x1400046e8
add rax, 0x10
inc ecx
cmp rax, r13
jl 0x1400046d8
cmp ecx, 0x10
je 0x140004716
movsxd rcx, ecx
lea r8, [0x140095648]
mov r9d, 0x200
add rcx, rcx
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, qword [r12 + rcx*8 + 0x498]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov word [0x140095846], r15w
mov eax, r15d
cmp qword [rdi], r14
je 0x140004733
add rdi, 0x10
inc eax
cmp rdi, r13
jl 0x140004721
jmp 0x14000476e
movsxd rbx, eax
mov r9d, 0x8000
xor r8d, r8d
add rbx, rbx
mov rdx, qword [r12 + rbx*8 + 0x4a0]
mov rcx, qword [r12 + rbx*8 + 0x498]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [r12 + rbx*8 + 0x498]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r12 + rbx*8 + 0x4a0], r15
lea rdi, [0x14001eae4]
lea rcx, [0x140084a48]
mov rdx, rdi
call fcn.140006f44
lea r14, [0x14001ece4]
lea rcx, [0x140095848]
mov rdx, r14
call fcn.140006f44
lea rcx, [0x1400a5848]
mov rdx, rdi
call fcn.140006f44
lea rcx, [0x1400a5848]
mov rdx, r14
call fcn.140006f18
lea rdx, str.ToolbarWindow32
lea rcx, [0x140084a48]
call fcn.140007260
test eax, eax
jne 0x1400047db
mov rdx, qword [0x14001ead8]
call fcn.140004f38
cmp word [0x140095648], r15w
lea rbx, [0x1400b5848]
mov rcx, rbx
jne 0x14000481a
lea rdx, str._CLASS:
call fcn.140006f44
mov rdx, rdi
mov rcx, rbx
call fcn.140006f18
lea rdx, str.__INSTANCE:
mov rcx, rbx
call fcn.140006f18
mov rdx, r14
jmp 0x14000482d
lea rdx, str._NAME:
call fcn.140006f44
lea rdx, [0x140095648]
mov rcx, rbx
call fcn.140006f18
lea rdx, [0x1400198c8]
mov rcx, rbx
call fcn.140006f18
mov rcx, qword [0x14001ead8]
lea rdx, [0x140074a48]
mov r8d, 0x7fff
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [0x14001ead8]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [0x14001ead8]
mov edx, 0xffffffec
mov ebx, eax
call qword [sym.imp.USER32.dll_GetWindowLongW]
lea rdx, str.0x_.8X
lea rcx, [0x140085248]
mov r8d, ebx
mov edi, eax
call fcn.14000719c
lea rdx, str.0x_.8X
lea rcx, [0x140085448]
mov r8d, edi
call fcn.14000719c
mov r8, qword [0x14001ead8]
lea rdx, str.0x_p
lea rcx, [0x1400c5848]
call fcn.14000719c
lea rdx, [0x140004c60]
xor r8d, r8d
mov rcx, rsi
mov word [0x14002fa30], r15w
mov word [0x14003fa30], r15w
mov word [0x14004fa30], r15w
mov dword [0x14006fa30], r15d
mov dword [0x14001ead4], r15d
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [0x14001eab4], r15d
je 0x140004913
call fcn.14000539c
call fcn.140005644
jmp 0x140004939
cmp dword [0x14001eef0], r15d
je 0x140004939
mov rcx, qword [0x14001f000]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x14001eef0], r15d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400067c0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret