Function at 0x1400564d0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x350], rbx
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r14d, edx
mov rbx, rcx
xor dil, dil
mov rcx, qword [rcx + 0xd8]
xor r15d, r15d
test rcx, rcx
jne 0x140056a50
mov ecx, 0x1e0
call fcn.14017f5a8
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140056546
mov rcx, rax
call fcn.14004d390
mov rcx, rax
jmp 0x140056549
mov rcx, r15
mov qword [rbx + 0xd8], rcx
mov r9, qword [rbx + 0xd0]
mov rax, qword [r9]
mov r8, qword [rax + 0x10]
mov rdx, qword [rbx + 8]
call fcn.140057d30
mov rax, qword [rbx + 0xd8]
mov byte [rax + 0x1bc], 0
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov rsi, qword [rbx + 0xd8]
mov r9b, 1
xor r8d, r8d
mov edx, dword [rsi + 0x30]
mov rcx, rsi
call fcn.140129490
mov r8d, 0x104
lea rdx, [rbp - 0x10]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400565c0
lea rdi, [rsi + 0x60]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140006d60
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x1400565ee
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
mov rax, qword [rbx + 0xd8]
mov r9, qword [rax + 0x18]
mov edx, 0x7f4
mov r8d, 1
mov rcx, qword [rbx + 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 [rbx + 8]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x58], rax
lea rax, [rbx + 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 - 0x60], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], r15w
xor r8d, r8d
lea rdx, [0x1401e4278]
lea rcx, [rbp - 0x70]
call fcn.140006d60
nop
lea r9, [rbp - 0x70]
lea r8, str.find_result_caption
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14007a460
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400566f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400566ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c3b
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r15w
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x140056741
lea rdi, [rbx + 0xe0]
lea rax, [rbp - 0x50]
cmp rdi, rax
je 0x140056732
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov rcx, rdi
call fcn.140006d60
cmp qword [rdi + 0x18], 8
jb 0x14005673c
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x809
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0xd8]
lea rcx, [rax + 0x110]
mov r9, qword [rcx]
mov r8, qword [rax + 0x18]
mov rdx, qword [rbx + 8]
call qword [r9 + 8]
mov rax, qword [rbx + 0xd8]
lea r8, [0x140056c50]
mov edx, 0xfffffffc
mov rcx, qword [rax + 0x128]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1402bbb80], rax
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x87b
lea r8d, [r9 + 1]
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x7f5
mov r8d, 0xfde9
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
xor r8d, r8d
mov edx, 0x943
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7dc
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x830
lea r8d, [r9 + 1]
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0xa5f
lea r8d, [r9 + 1]
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
xor r8d, r8d
mov edx, 0x88c
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
mov r8b, 1
mov edx, dword [0x14022ccd8]
call fcn.14011a500
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x84c
lea r8d, [r9 + 1]
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x7f4
lea r8d, [r9 + 4]
call fcn.14000fa00
call fcn.14000c980
mov rcx, qword [rbx + 0xd8]
movzx eax, byte [rax + 0xa9]
mov byte [rcx + 0x1bd], al
mov rax, qword [rbx + 0xd8]
lea rcx, [rax + 0x110]
movzx r8d, byte [rax + 0x1bd]
xor r9d, r9d
mov edx, 0x8dc
call fcn.14000fa00
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x9a8
lea r8d, [r9 + 2]
call fcn.14000fa00
mov rdi, qword [rbx + 0xd8]
add rdi, 0x110
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
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0xa6c
lea r8d, [r9 + 1]
call fcn.14000fa00
mov rax, qword [rbx + 0xd8]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r8d, r8d
mov edx, dword [0x14022ccd4]
call fcn.14011a500
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
mov edx, 1
call fcn.140061b30
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov rcx, qword [rbx + 0xd8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov dil, 1
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140056a38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056a33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c41
call fcn.14017f5e4
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov rcx, qword [rbx + 0xd8]
call fcn.1400617e0
test dil, dil
je 0x140056a9b
mov r8, qword [rbx + 0xd8]
add r8, 0x100
lea rdx, [0x1401e2f78]
lea rcx, [rbp - 0x30]
call fcn.14000d730
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
lea r9, [rbp - 0x30]
lea r8, str._MarkingsStruct
mov edx, 0xfa4
call fcn.14000fa00
mov rax, qword [rbx + 0xd8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
test r14d, r14d
jne 0x140056ac2
mov edx, 0xbd7
jmp 0x140056ae1
cmp r14d, 1
jne 0x140056acf
mov edx, 0xbd9
jmp 0x140056ae1
lea eax, [r14 - 2]
cmp eax, 1
ja 0x140056c0f
mov edx, 0xbdb
mov r8, r15
cmp r14d, 3
sete r8b
xor r9d, r9d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140056bea
mov r8d, dword [rbx + 0x134]
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0xd8]
call fcn.140056e70
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
lea rcx, [rbx + 0x138]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0xd0]
mov rcx, qword [rcx]
call fcn.1401131d0
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
movzx edx, al
call fcn.14010ddb0
mov rcx, qword [rbx + 0xd8]
cmp dword [rbx + 0x134], 0
je 0x140056b87
test rcx, rcx
je 0x140056b9a
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov rcx, qword [rbx + 0xd8]
mov rcx, qword [rcx + 0x128]
jmp 0x140056b93
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SetFocus]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140056bd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056bd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c35
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r15w
jmp 0x140056c0f
mov edx, 0x675
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8, rax
mov edx, 0x28
lea r9d, [rdx - 0x27]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14017f700
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3