Function at 0x180081660
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
xor eax, eax
mov qword [rbp + 0x2f], rax
mov word [rbp + 0x37], ax
lea r8d, [rax + 5]
lea rdx, [rbp + 0x2f]
mov rcx, qword [rcx + 0x140]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r14d, r14d
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
lea rax, [rbp + 0x2f]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800816e0
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x11]
call fcn.180004e70
lea rcx, [rbp + 0x2f]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
test eax, eax
jne 0x180081762
lea rcx, [rdi + 0x40]
mov edx, 0xcf3
call qword [sym.imp.2345MiniUI.dll_public:_class_RC::RCMiniUIView____ptr64___cdecl_RC::RCMiniUIDialogView::GetViewByID_int_const___ptr64]
mov rcx, rax
mov dword [rsp + 0x20], r14d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
test rax, rax
je 0x180081762
mov rcx, rax
call qword [sym.imp.2345MiniUI.dll_public:_bool___cdecl_RC::RCMiniUiImgChkBox::IsChecked_void____ptr64]
test al, al
je 0x180081762
lea rdx, [rdi + 0x308]
cmp qword [rdx + 0x18], 8
jb 0x180081755
mov rdx, qword [rdx]
mov rcx, qword [rdi + 0x140]
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
cmp word [rax], 0x30
jne 0x180081879
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r14w
xor r8d, r8d
lea rdx, [0x1803c3594]
lea rcx, [rbp + 0xf]
call fcn.180154c50
mov rcx, qword [rbp + 0x1f]
mov qword [rbp - 0x29], rcx
mov rax, qword [rbp - 1]
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x21]
cmp rax, rcx
cmovae r8, rdx
lea rdx, [rbp + 0xf]
mov rbx, qword [rbp + 0xf]
mov rsi, qword [rbp + 0x27]
cmp rsi, 8
cmovae rdx, rbx
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
mov r8, qword [r8]
test r8, r8
je 0x1800817f8
call fcn.1801544d0
test eax, eax
jne 0x18008180e
mov r8d, 1
lea rdx, [0x1803c3594]
lea rcx, [rbp - 0x11]
call fcn.180154c50
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
mov rcx, qword [rdi + 0x140]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
cmp rsi, 8
jb 0x180081868
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180081860
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r14w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800818bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800818b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800818b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret