Function at 0x140052040
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 [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, rcx
mov ecx, 0x1e0
call fcn.140181288
mov qword [rsp + 0x30], rax
xor r15d, r15d
test rax, rax
je 0x1400520a3
mov rcx, rax
call fcn.14004d5a0
mov rbx, rax
jmp 0x1400520a6
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.140058780
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov rcx, qword [rsi + 0xd8]
add rcx, 0x110
call fcn.140114c40
movzx r14d, al
mov r9b, 1
movzx r8d, al
mov edx, dword [rbx + 0x30]
mov rcx, rbx
call fcn.14012b160
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 0x140052120
lea rdi, [rbx + 0x60]
lea rdx, [rbp]
mov rcx, rdi
call fcn.140006d70
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x14005214e
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.14000c990
mov rdi, qword [rax + 0x33390]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r15w
xor r8d, r8d
lea rdx, [0x1401e6278]
lea rcx, [rbp - 0x50]
call fcn.140006d70
nop
lea r9, [rbp - 0x50]
lea r8, str.find_result_caption
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.14007b5d0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14005224a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052245
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052578
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r15w
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x14005229a
lea rdi, [rsi + 0xe0]
lea rax, [rbp - 0x70]
cmp rdi, rax
je 0x14005228b
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov rcx, rdi
call fcn.140006d70
cmp qword [rdi + 0x18], 8
jb 0x140052295
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.14010f830
lea r8, [0x140057530]
mov edx, 0xfffffffc
mov rcx, qword [rbx + 0x128]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1402bec20], rax
xor r9d, r9d
mov edx, 0x87b
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
mov edx, 0x7f5
mov r8d, 0xfde9
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
xor r8d, r8d
mov edx, 0x943
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7dc
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
mov edx, 0x830
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
mov edx, 0xa5f
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
xor r8d, r8d
mov edx, 0x88c
mov rcx, rdi
call fcn.14000fa10
mov r8b, 1
mov edx, dword [0x14022f568]
mov rcx, rdi
call fcn.14011bf70
xor r9d, r9d
mov edx, 0x84c
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
mov edx, 0x7f4
lea r8d, [r9 + 4]
mov rcx, rdi
call fcn.14000fa10
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.14000fa10
xor r9d, r9d
mov edx, 0x9a8
lea r8d, [r9 + 2]
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
xor r8d, r8d
mov edx, 0x99e
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
mov edx, 0x99c
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa10
xor r9d, r9d
mov edx, 0xa6c
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa10
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
xor r8d, r8d
mov edx, dword [0x14022f564]
mov rcx, rdi
call fcn.14011bf70
mov edx, 1
mov rcx, rdi
call fcn.140062ba0
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.140062850
lea r8, [rbx + 0x100]
lea rdx, [0x1401e4f78]
lea rcx, [rbp - 0x20]
call fcn.14000d740
lea r9, [rbp - 0x20]
lea r8, str._MarkingsStruct
mov edx, 0xfa4
mov rcx, rdi
call fcn.14000fa10
lea rcx, [rsi + 0x100]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1400524c2
mov qword [rdx], rbx
add qword [rcx + 8], 8
jmp 0x1400524cc
lea r8, [rsp + 0x30]
call fcn.14001c1e0
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 0x140052532
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005252d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052572
call fcn.1401812c4
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.1401813e0
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.1401a2d8c
nop
call fcn.1401a2d8c
nop
int3