Function at 0x1000029f8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x100007110]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r12, rdx
mov r14, rcx
xor edi, edi
mov rbx, rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], edi
xor edx, edx
lea r8d, [rdi + 0x38]
lea rcx, [rsp + 0x34]
call sub.msvcrt.dll_memset
nop
mov r8d, 0x104
lea r15, [0x100007880]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClassNameW]
cmp eax, edi
je 0x100002a9a
lea rdx, [0x100001590]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, edi
je 0x100002c8a
lea rdx, [0x100001708]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, edi
je 0x100002c8a
mov dword [rsp + 0x30], 0x3c
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowInfo]
cmp eax, edi
je 0x100002acc
bt dword [rsp + 0x54], 0x1c
jae 0x100002c8a
bt dword [rsp + 0x58], 0x1b
jb 0x100002c8a
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp eax, edi
jl 0x100002ae2
cmp eax, 0x400
jl 0x100002ae7
mov esi, 0x3ff
lea r13d, [rsi + 1]
movsxd rbx, r13d
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp rax, rdi
je 0x100002b2f
mov r8d, r13d
mov rdx, rax
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, edi
je 0x100002b2f
movsxd rcx, esi
mov word [rbx + rcx*2], di
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rsp + 0x20], edi
jne 0x100002b6a
lea r8, [0x100001768]
mov rdx, rbx
mov rcx, r12
call fcn.10000237c
cmp eax, edi
je 0x100002c8a
mov rbx, rdi
mov qword [rsp + 0x28], rbx
jmp 0x100002c8a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, dword [rsp + 0x20]
cmp r8d, eax
jne 0x100002bc9
cmp dword [0x100007748], edi
je 0x100002c8a
mov rcx, qword [0x100007ad8]
cmp rcx, rdi
je 0x100002c8a
mov r9d, 0x3f1
xor r8d, r8d
lea esi, [r9 + 0x7b]
mov edx, esi
call qword [sym.imp.USER32.dll_PostMessageW]
lea r9d, [rsi - 0x7c]
mov r8d, 3
mov edx, esi
mov rcx, qword [0x100007ad8]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100002c8a
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
cmp rax, rdi
je 0x100002c4f
mov rdx, rax
mov rcx, r12
call fcn.100002814
mov r9d, 0x104
mov r8, r15
mov rdx, rax
mov rcx, rsi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
cmp eax, edi
jne 0x100002c0a
mov word [0x100007880], di
jmp 0x100002c44
mov word [rsp + 0x70], di
xor edx, edx
lea r8d, [rdx + 0x7e]
lea rcx, [rsp + 0x72]
call sub.msvcrt.dll_memset
mov r8d, 0x40
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.100001d34
cmp dword [0x100007ae8], edi
je 0x100002c44
lea rcx, [rsp + 0x70]
call fcn.100002160
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100002c56
mov word [0x100007880], di
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.10000237c
cmp eax, edi
je 0x100002c8a
cmp r14, rdi
je 0x100002c82
xor r9d, r9d
mov edx, 0x113
lea r8d, [r9 + 4]
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbx, rdi
mov qword [rsp + 0x28], rbx
cmp rbx, rdi
je 0x100002ca3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.100005070
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret