Function at 0x14000e220
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x960]
sub rsp, 0xa60
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rbp + 0x950], rax
mov rbx, rcx
call fcn.14000ed80
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 0x14000e58a
cmp eax, 0xffffffff
je 0x14000e58a
lea r8, [0x140000000]
movsxd rcx, edi
imul rdx, rcx, 0x54
cdqe
xor r9d, r9d
imul rcx, rax, 0x54
mov edi, dword [rdx + r8 + 0x10f680]
mov edx, 0x416
mov rax, qword [rbx + 8]
mov qword [rsp + 0xa88], rsi
mov qword [rsp + 0xa90], r14
xor r14d, r14d
mov esi, dword [rcx + r8 + 0x10fb70]
mov r8d, 0xf0
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 0x14000e31d
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.14000d080
jmp 0x14000e527
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 0x14000e37f
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 0x14000e527
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 0x14000e3e1
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 0x14000e527
lea rcx, [rsp + 0x60]
call fcn.1400167a0
lea rcx, [rsp + 0x48]
call fcn.1400167c0
mov rcx, qword [rbx + 0x5b8]
mov eax, dword [rcx + 0x26c]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x270]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x274]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x58], eax
call fcn.1400167e0
lea rax, [rbp + 0x750]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rbp + 0x1a0]
call fcn.140079980
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x90]
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x1a0]
mov dword [rsp + 0x28], 0x104
or 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
or 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.14005fcb4
lea r9, [rbp - 0x80]
mov edx, esi
lea r8, [rbp + 0x90]
test eax, eax
jne 0x14000e4eb
mov rax, qword [rbx + 0x5b8]
mov ecx, dword [rax + 0x278]
mov dword [rsp + 0x20], ecx
mov ecx, edi
call fcn.140025920
jmp 0x14000e4f2
mov ecx, edi
call fcn.140015a70
lea rcx, [rsp + 0x60]
mov edi, eax
call fcn.1400167e0
test edi, edi
jne 0x14000e551
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.1400265c0
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.14000eed0
mov rax, qword [rbx + 8]
lea r8, str.Result
mov r9d, 0x30
lea rdx, [rbp + 0x3b0]
movsxd rcx, dword [rax + 4]
jmp 0x14000e51c
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 0x14000e537