Function at 0x140056db0
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 [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov esi, edx
mov rbx, rcx
xor dil, dil
mov rcx, qword [rcx + 0xd8]
xor r15d, r15d
test rcx, rcx
jne 0x140057330
mov ecx, 0x1e0
call fcn.140181288
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140056e25
mov rcx, rax
call fcn.14004d5a0
mov rcx, rax
jmp 0x140056e28
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.140058780
mov rax, qword [rbx + 0xd8]
mov byte [rax + 0x1bc], 0
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov r14, qword [rbx + 0xd8]
mov r9b, 1
xor r8d, r8d
mov edx, dword [r14 + 0x30]
mov rcx, r14
call fcn.14012b160
mov r8d, 0x104
lea rdx, [rbp - 0x10]
mov rcx, qword [r14 + 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 0x140056ea0
lea rdi, [r14 + 0x60]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140006d70
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x140056ece
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.14000c990
mov rdi, qword [rax + 0x33390]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], r15w
xor r8d, r8d
lea rdx, [0x1401e6278]
lea rcx, [rbp - 0x70]
call fcn.140006d70
nop
lea r9, [rbp - 0x70]
lea r8, str.find_result_caption
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14007b5d0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140056fd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056fcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057523
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r15w
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x140057021
lea rdi, [rbx + 0xe0]
lea rax, [rbp - 0x50]
cmp rdi, rax
je 0x140057012
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov rcx, rdi
call fcn.140006d70
cmp qword [rdi + 0x18], 8
jb 0x14005701c
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, [0x140057530]
mov edx, 0xfffffffc
mov rcx, qword [rax + 0x128]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1402bec20], rax
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x87b
lea r8d, [r9 + 1]
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x7f5
mov r8d, 0xfde9
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
xor r8d, r8d
mov edx, 0x943
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7dc
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x830
lea r8d, [r9 + 1]
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0xa5f
lea r8d, [r9 + 1]
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
xor r8d, r8d
mov edx, 0x88c
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
mov r8b, 1
mov edx, dword [0x14022f568]
call fcn.14011bf70
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x84c
lea r8d, [r9 + 1]
call fcn.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x7f4
lea r8d, [r9 + 4]
call fcn.14000fa10
call fcn.14000c990
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.14000fa10
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0x9a8
lea r8d, [r9 + 2]
call fcn.14000fa10
mov rdi, qword [rbx + 0xd8]
add rdi, 0x110
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
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
xor r9d, r9d
mov edx, 0xa6c
lea r8d, [r9 + 1]
call fcn.14000fa10
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 [0x14022f564]
call fcn.14011bf70
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
mov edx, 1
call fcn.140062ba0
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 0x140057318
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057313
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057529
call fcn.1401812c4
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov rcx, qword [rbx + 0xd8]
call fcn.140062850
test dil, dil
je 0x14005737b
mov r8, qword [rbx + 0xd8]
add r8, 0x100
lea rdx, [0x1401e4f78]
lea rcx, [rbp - 0x30]
call fcn.14000d740
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
lea r9, [rbp - 0x30]
lea r8, str._MarkingsStruct
mov edx, 0xfa4
call fcn.14000fa10
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 esi, esi
jne 0x1400573a1
mov edx, 0xbd7
jmp 0x1400573ca
cmp esi, 1
jne 0x1400573ad
mov edx, 0xbd9
jmp 0x1400573ca
cmp esi, 4
jne 0x1400573b9
mov edx, 0xbdf
jmp 0x1400573ca
lea eax, [rsi - 2]
cmp eax, 1
ja 0x1400574f7
mov edx, 0xbdb
mov r8, r15
cmp esi, 3
sete r8b
xor r9d, r9d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400574d2
mov r8d, dword [rbx + 0x134]
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0xd8]
call fcn.1400578e0
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.140114c40
mov rcx, qword [rbx + 0xd8]
add rcx, 0x110
movzx edx, al
call fcn.14010f830
mov rcx, qword [rbx + 0xd8]
cmp dword [rbx + 0x134], 0
je 0x14005746f
test rcx, rcx
je 0x140057482
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov rcx, qword [rbx + 0xd8]
mov rcx, qword [rcx + 0x128]
jmp 0x14005747b
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 0x1400574be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400574b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005751d
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r15w
jmp 0x1400574f7
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.1401813e0
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
int3