Function at 0x140051e20
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x320
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, rcx
mov ecx, 0x1e0
call fcn.14017f5a8
mov qword [rsp + 0x30], rax
xor r15d, r15d
test rax, rax
je 0x140051e83
mov rcx, rax
call fcn.14004d390
mov rbx, rax
jmp 0x140051e86
mov rbx, r15
mov qword [rsp + 0x30], rbx
mov r9, qword [rsi + 0xd0]
mov rax, qword [r9]
mov r8, qword [rax + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.140057d30
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov rcx, qword [rsi + 0xd8]
add rcx, 0x110
call fcn.1401131d0
movzx r14d, al
mov r9b, 1
movzx r8d, al
mov edx, dword [rbx + 0x30]
mov rcx, rbx
call fcn.140129490
mov r8d, 0x104
lea rdx, [rbp]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140051f00
lea rdi, [rbx + 0x60]
lea rdx, [rbp]
mov rcx, rdi
call fcn.140006d60
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x140051f2e
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
mov r9, qword [rbx + 0x18]
mov edx, 0x7f4
mov r8d, 1
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x54], 0x30000005
mov dword [rsp + 0x28], 0x1020
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov edx, 0x1f8
lea r8d, [r9 + 1]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x58], rax
lea rax, [rsi + 0x138]
mov qword [rsp + 0x60], rax
lea rax, str.Notepad::InternalFunction
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x50], r15d
call fcn.14000c980
mov rdi, qword [rax + 0x33368]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r15w
xor r8d, r8d
lea rdx, [0x1401e4278]
lea rcx, [rbp - 0x50]
call fcn.140006d60
nop
lea r9, [rbp - 0x50]
lea r8, str.find_result_caption
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.14007a460
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14005202a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052025
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052358
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r15w
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x14005207a
lea rdi, [rsi + 0xe0]
lea rax, [rbp - 0x70]
cmp rdi, rax
je 0x14005206b
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov rcx, rdi
call fcn.140006d60
cmp qword [rdi + 0x18], 8
jb 0x140052075
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x809
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdi, [rbx + 0x110]
mov rax, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rdx, qword [rsi + 8]
mov rcx, rdi
call qword [rax + 8]
movzx edx, r14b
mov rcx, rdi
call fcn.14010ddb0
lea r8, [0x140056c50]
mov edx, 0xfffffffc
mov rcx, qword [rbx + 0x128]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1402bbb80], rax
xor r9d, r9d
mov edx, 0x87b
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0x7f5
mov r8d, 0xfde9
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x943
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7dc
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0x830
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa5f
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x88c
mov rcx, rdi
call fcn.14000fa00
mov r8b, 1
mov edx, dword [0x14022ccd8]
mov rcx, rdi
call fcn.14011a500
xor r9d, r9d
mov edx, 0x84c
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0x7f4
lea r8d, [r9 + 4]
mov rcx, rdi
call fcn.14000fa00
mov rax, qword [rsi + 0xd8]
movzx ecx, byte [rax + 0x1bd]
mov byte [rbx + 0x1bd], cl
mov r8d, ecx
xor r9d, r9d
mov edx, 0x8dc
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0x9a8
lea r8d, [r9 + 2]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x99e
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0x99c
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa6c
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
xor r8d, r8d
mov edx, dword [0x14022ccd4]
mov rcx, rdi
call fcn.14011a500
mov edx, 1
mov rcx, rdi
call fcn.140061b30
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x18]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call fcn.1400617e0
lea r8, [rbx + 0x100]
lea rdx, [0x1401e2f78]
lea rcx, [rbp - 0x20]
call fcn.14000d730
lea r9, [rbp - 0x20]
lea r8, str._MarkingsStruct
mov edx, 0xfa4
mov rcx, rdi
call fcn.14000fa00
lea rcx, [rsi + 0x100]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1400522a2
mov qword [rdx], rbx
add qword [rcx + 8], 8
jmp 0x1400522ac
lea r8, [rsp + 0x30]
call fcn.14001c1a0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SetFocus]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140052312
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005230d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052352
call fcn.14017f5e4
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
mov rax, rbx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
int3