Function at 0x14003c7e8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8e8]
sub rsp, 0x9c0
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
mov r13, rcx
xor r14d, r14d
mov byte [rsp + 0x40], r14b
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x20]
mov edx, SHStripMneumonicW
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0x50], rax
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 0x20]
mov edx, SHStripMneumonicW
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbp - 0x80], rax
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 0x20]
mov edx, reloc.SHLWAPI.dll_SHStripMneumonicW
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0x48], rax
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 0x20]
mov edx, 0xe2
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, rax
mov qword [rsp + 0x78], rax
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 0x20]
mov edx, 0xe3
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
mov qword [rsp + 0x58], rax
lea esi, [r14 + 0x54]
mov r8d, esi
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
lea rax, [rbp]
cmp word [rax], r14w
je 0x14003c8ed
add rax, 2
sub rcx, 1
jne 0x14003c8dd
test rcx, rcx
je 0x14003c8fa
mov rdx, rsi
sub rdx, rcx
jmp 0x14003c8fd
mov rdx, r14
mov rax, rcx
neg rax
sbb r8, r8
and r8, rdx
mov qword [rbp - 0x10], r8
test rcx, rcx
je 0x14003ce4c
test r8, r8
je 0x14003ce4c
mov ecx, 0x28
call fcn.14005acc0
mov ecx, 4
lea rdx, [fcn.140001fd0]
test rax, rax
je 0x14003c95d
mov qword [rax], rcx
lea rsi, [rax + 8]
mov qword [rsp + 0x20], rdx
lea r9, [0x140002300]
mov r8d, ecx
lea edx, [rcx + 4]
mov rcx, rsi
call fcn.14005df44
jmp 0x14003c960
mov rsi, r14
mov r12, r14
mov qword [rsp + 0x70], r14
mov r15, r14
mov qword [rsp + 0x60], r14
mov rdi, r14
mov qword [rsp + 0x68], r14
or r14d, 0xffffffff
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
xor r9d, r9d
mov edx, 0x150
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rcx]
mov rcx, rsi
call fcn.14002a434
mov rdx, rsi
call fcn.1400420ec
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
xor r9d, r9d
mov edx, 0x150
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rbx, [rsi + 8]
mov rdx, qword [rax]
mov rcx, rbx
call fcn.14002a434
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
xor r9d, r9d
mov edx, 0x150
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsi + 0x10]
mov rdx, qword [rax]
call fcn.14002a434
lea r8d, [r14 + 0x55]
lea rdx, [rbp]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [r14 + 0x55]
lea rcx, [rbp]
call fcn.1400120e4
test eax, eax
je 0x14003cd3f
lea edx, [r14 + 0x55]
lea r9d, [r14 + 0x11]
lea rcx, [rbp]
call fcn.1400404b8
mov r14d, eax
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x14003cd3f
lea rcx, [rsi + 0x18]
lea rdx, [rbp]
or r15, 0xffffffffffffffff
mov rax, r15
xor r14d, r14d
inc rax
cmp word [rdx + rax*2], r14w
jne 0x14003ca8a
mov r8d, eax
lea rdx, [rbp]
call fcn.140001970
lea rdx, str.convert
lea rcx, [rsp + 0x48]
call fcn.140008bfc
nop
mov rcx, qword [r13 + 0x20]
call fcn.140014a0c
mov rdi, rax
test byte [0x140077a80], 1
je 0x14003cad9
mov r8d, 0xf
lea rdx, [0x140063540]
call fcn.1400298b8
lea rdx, str.convert
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14003cafd
mov rcx, qword [rdi]
lea r9d, [rax + 3]
mov r8, rbx
mov rdx, rsi
jmp 0x14003cb34
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r9d, 4
mov r8, rsi
lea rdx, [rsp + 0x48]
mov rax, qword [rax + 0x28]
call qword [case.0x14003a69c.0]
mov rbx, rax
test rax, rax
jne 0x14003cb44
mov rcx, qword [rdi + 0x10]
lea r9d, [rax + 4]
mov r8, rsi
lea rdx, [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x14003a69c.0]
mov rbx, rax
test byte [0x140077a80], 1
je 0x14003cb60
mov r8d, 0x10
lea rdx, [0x1400633d8]
call fcn.1400298b8
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14003cb88
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003a69c.0]
test rbx, rbx
je 0x14003cd2b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [0x140061a60]
mov qword [rbp - 0x70], rcx
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x64], 0x10
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], r14d
mov rdi, qword [rbx]
cmp dword [rdi - 8], 1
jle 0x14003cbd9
mov edx, dword [rdi - 0x10]
mov rcx, rbx
call fcn.140001b64
mov rdi, qword [rbx]
test rdi, rdi
je 0x14003ccbe
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx + 8]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
movzx eax, word [rdi]
test ax, ax
je 0x14003cc27
mov rdx, r14
mov rcx, rdi
cmp ax, 0x2e
jne 0x14003cc18
movzx eax, word [0x140076730]
mov word [rcx], ax
inc rdx
lea rcx, [rdi + rdx*2]
movzx eax, word [rcx]
test ax, ax
jne 0x14003cc08
lea rcx, [rbp - 0x80]
call fcn.140039fc4
mov byte [rsp + 0x30], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140045ab0
mov edi, eax
call fcn.14003a09c
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14003cc73
mov eax, r14d
jmp 0x14003cc88
mov rax, r15
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14003cc76
test eax, eax
js 0x14003ce90
cmp eax, dword [rcx - 0xc]
jg 0x14003ce90
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
cmp edi, 1
jne 0x14003ccbe
mov rdx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [rsp + 0x40], dil
jmp 0x14003ccdd
test byte [0x140077a80], 2
je 0x14003ccd8
mov r8, qword [rsp + 0x68]
lea rdx, [0x140063398]
call fcn.1400387e0
mov r13, qword [rsp + 0x58]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14003cd03
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003a69c.0]
mov rcx, rbx
call sub.msvcrt.dll_free
nop
lea rcx, [rbp - 0x70]
call fcn.140045a68
mov r12, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x50]
jmp 0x14003cd60
mov r12, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x50]
test byte [0x140077a80], 2
je 0x14003cd5b
lea r8, str.Failed_to_get_expression_from_TemplateManager
lea rdx, [0x140063398]
call fcn.1400387e0
mov r13, qword [rsp + 0x58]
test rsi, rsi
je 0x14003cd88
lea rbx, [rsi - 8]
lea r9, [fcn.140001fd0]
mov r8, qword [rbx]
mov edx, 8
mov rcx, rsi
call fcn.14005dfc4
mov rcx, rbx
call sub.msvcrt.dll_free
mov bl, byte [rsp + 0x40]
test bl, bl
jne 0x14003ce0a
mov dword [rbp - 0x38], 0x20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 5
mov rcx, r13
test rdi, rdi
je 0x14003cdb9
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x14003ce20
lea rdx, [0x140063788]
call qword [sym.imp.USER32.dll_SetWindowTextW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r9d, 0x400
lea r8, [rbp + 0xb0]
cmp r14d, 0x77
mov edx, 0x77
je 0x14003cdee
mov edx, 0x334
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x28], rax
lea r9, [rbp - 0x38]
mov edx, 0x1503
jmp 0x14003ce12
xor r9d, r9d
mov edx, 0x1504
xor r8d, r8d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_SendMessageW]
test r12, r12
je 0x14003ce2e
mov rcx, r12
call qword [sym.imp.msvcrt.dll_free]
test r15, r15
je 0x14003ce3c
mov rcx, r15
call qword [sym.imp.msvcrt.dll_free]
test rdi, rdi
je 0x14003ce5e
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
jmp 0x14003ce5e
lea rdx, [0x140063788]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov bl, 1
mov al, bl
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.14005d960
lea r11, [rsp + 0x9c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140002344
int3