Function at 0x14000e5e0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x960]
sub rsp, 0xa60
mov rax, qword [0x1401cb558]
xor rax, rsp
mov qword [rbp + 0x950], rax
mov rbx, rcx
call fcn.14000f140
mov rcx, qword [rbx + 0x1c8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1d0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp edi, 0xffffffff
je 0x14000e94c
cmp eax, 0xffffffff
je 0x14000e94c
movsxd rcx, edi
xor r9d, r9d
imul rdx, rcx, 0x54
cdqe
mov r8d, 0xf0
imul rcx, rax, 0x54
mov rax, qword [rbx + 8]
mov qword [rsp + 0xa88], rsi
lea rsi, [0x140000000]
mov edi, dword [rdx + rsi + 0x1c51f0]
mov edx, 0x416
mov qword [rsp + 0xa90], r14
xor r14d, r14d
mov esi, dword [rcx + rsi + 0x1c56e0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + 0x20], r14
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
jne 0x14000e6db
mov rax, qword [rbx + 8]
lea r9d, [r14 + 1]
mov edx, esi
mov ecx, edi
movsxd r8, dword [rax + 4]
mov rax, qword [r8 + rbx + 0x10]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.14000d3e0
jmp 0x14000e8e9
mov rcx, qword [rbx + 0x1d8]
lea r9, [rbp + 0x1a0]
mov edx, 0xd
mov r8d, 0x104
call qword [sym.imp.USER32.dll_SendMessageW]
cmp word [rbp + 0x1a0], r14w
jne 0x14000e73d
mov rax, qword [rbx + 8]
lea r8, str.Invalid_operation
mov r9d, 0x30
lea rdx, str.You_must_provide_an_input_file
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbx + 0x1d8]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x14000e8e9
mov rcx, qword [rbx + 0x1e0]
lea r9, [rbp + 0x540]
mov edx, 0xd
mov r8d, 0x104
call qword [sym.imp.USER32.dll_SendMessageW]
cmp word [rbp + 0x540], r14w
jne 0x14000e79f
mov rax, qword [rbx + 8]
lea r8, str.Invalid_operation
mov r9d, 0x30
lea rdx, str.You_must_provide_an_output_file
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbx + 0x1e0]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x14000e8e9
lea rcx, [rsp + 0x60]
call fcn.1400173b0
lea rcx, [rsp + 0x48]
call fcn.1400173d0
mov rcx, qword [rbx + 0x5b8]
mov eax, dword [rcx + 0x270]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x274]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x278]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x58], eax
call fcn.1400173f0
lea rax, [rbp + 0x750]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x1a0]
call fcn.140096a04
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x90]
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x1a0]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0x4e4
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x540]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0x4e4
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, str..RTF
lea rcx, [rbp + 0x750]
call fcn.1400712a4
lea r9, [rbp - 0x80]
mov edx, esi
lea r8, [rbp + 0x90]
test eax, eax
jne 0x14000e8ad
mov rax, qword [rbx + 0x5b8]
mov ecx, dword [rax + 0x27c]
mov dword [rsp + 0x20], ecx
mov ecx, edi
call fcn.140029c20
jmp 0x14000e8b4
mov ecx, edi
call fcn.140016600
lea rcx, [rsp + 0x60]
mov edi, eax
call fcn.1400173f0
test edi, edi
jne 0x14000e913
mov rax, qword [rbx + 8]
lea r9d, [rdi + 0x40]
lea r8, str.Result
lea rdx, str.Successfully_converted
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rsi, qword [rsp + 0xa88]
mov r14, qword [rsp + 0xa90]
mov rcx, qword [rbp + 0x950]
xor rcx, rsp
call fcn.14002a970
add rsp, 0xa60
pop rdi
pop rbx
pop rbp
ret
mov r9d, edi
lea r8, str.Error__d_
mov edx, 0xc8
lea rcx, [rbp + 0x3b0]
call fcn.14000f290
mov rax, qword [rbx + 8]
lea r8, str.Result
mov r9d, 0x30
lea rdx, [rbp + 0x3b0]
movsxd rcx, dword [rax + 4]
jmp 0x14000e8de
mov rax, qword [rbx + 8]
lea r8, str.Invalid_operation
mov r9d, 0x30
lea rdx, str.You_must_specify_input_and_output_charsets
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14000e8f9