Function at 0x14019dc50
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r9
mov r15, rcx
mov r9, qword [rbp + 0x60]
mov r12, qword [rbp + 0x68]
cmp dword [rbp + 0x70], 0
jne 0x14019e100
cmp r8d, 0x110
jne 0x14019dcbd
mov esi, 1
mov dword [rbp - 0x20], esi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov edx, 0x110
call fcn.14019e410
mov qword [r12], rax
jmp 0x14019e0f6
cmp r8d, 0x111
jne 0x14019e147
mov edx, 0x501
xor r14d, r14d
cmp dx, di
jne 0x14019dd26
mov rax, rdi
shr rax, 0x10
cmp r14w, ax
jne 0x14019dd26
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, r14d
test eax, eax
sete dl
xor r8d, r8d
mov rcx, r15
call fcn.1401a01f0
mov rcx, r15
call fcn.1401a0a10
mov qword [r12], r14
jmp 0x14019e100
mov ebx, 0x52a
mov esi, 1
cmp bx, di
jne 0x14019dee8
mov rax, rdi
shr rax, 0x10
mov ecx, 0x300
cmp cx, ax
jne 0x14019de09
mov dword [rbp - 0x20], esi
mov qword [rbp - 0x18], r14
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x14019e2c4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x18]
mov edx, ebx
lea rcx, [r15 + 8]
call fcn.1400185a0
mov rbx, qword [rbp - 0x18]
cmp dword [rbx - 0x10], 0
jne 0x14019dd96
jmp 0x14019dddc
mov r9d, esi
xor r8d, r8d
mov edx, 0x52a
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetDlgItemInt]
mov r8d, esi
cmp eax, esi
cmovg r8d, eax
mov r10d, ILIsEqual
cmp r8d, r10d
cmovl r10d, r8d
cmp eax, r10d
je 0x14019dddc
mov r9d, esi
mov r8d, r10d
mov edx, 0x52a
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemInt]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14019ddff
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov qword [r12], r14
cmp dword [rbp - 0x20], 0
jmp 0x14019de66
mov rax, rdi
shr rax, 0x10
mov ecx, 0x200
cmp cx, ax
jne 0x14019dfe0
mov dword [rbp - 0x20], esi
mov r9d, esi
xor r8d, r8d
mov edx, ebx
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetDlgItemInt]
mov ecx, esi
cmp eax, ecx
cmovg ecx, eax
mov r10d, ILIsEqual
cmp ecx, r10d
cmovl r10d, ecx
cmp eax, r10d
je 0x14019de5e
mov r9d, esi
mov r8d, r10d
mov edx, ebx
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemInt]
mov qword [r12], r14
cmp dword [rbp - 0x20], r14d
jne 0x14019e273
movzx eax, di
mov ecx, 0x3f1
cmp cx, ax
jne 0x14019e126
mov rax, rdi
shr rax, 0x10
mov ecx, 5
cmp cx, ax
jne 0x14019e044
mov dword [rbp - 0x20], esi
lea rbx, [r15 + 0x218]
mov rax, qword [rbx]
mov edx, esi
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x400
or edx, ecx
jge 0x14019debe
mov edx, 0x400
mov rcx, rbx
call fcn.140018ea0
mov r8d, 0x400
mov rdx, qword [rbx]
mov rcx, qword [r15 + 0x228]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14019e0c0
mov eax, r14d
jmp 0x14019e0d1
mov eax, 0x80d4
cmp ax, di
jne 0x14019df6a
mov dword [rbp - 0x20], esi
mov ebx, 0x78
nop word [rax + rax]
xor r9d, r9d
mov r8, rsi
mov edx, reloc.OLEAUT32.dll_VarUI4FromDisp
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
call fcn.140021bc0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, rsi
jne 0x14019df00
mov qword [r12], r14
cmp dword [rbp - 0x20], r14d
jne 0x14019e273
mov eax, 0x498
cmp ax, di
jne 0x14019df92
mov rax, rdi
shr rax, 0x10
cmp r14w, ax
jne 0x14019dfb0
mov dword [rbp - 0x20], esi
mov rcx, r15
call fcn.1401a0900
mov qword [r12], r14
cmp dword [rbp - 0x20], r14d
jne 0x14019e273
jmp 0x14019dfb0
mov eax, 0x4b7
cmp ax, di
jne 0x14019df38
mov rax, rdi
shr rax, 0x10
cmp r14w, ax
jne 0x14019dfe0
mov dword [rbp - 0x20], esi
call fcn.1401a0690
mov qword [r12], rax
jmp 0x14019de62
mov eax, 0x49c
cmp ax, di
je 0x14019dfba
mov eax, 0x4a0
cmp ax, di
je 0x14019dfba
mov eax, 0x4a6
cmp ax, di
je 0x14019dfba
mov eax, 0x4ac
cmp ax, di
jne 0x14019dfe0
mov rax, rdi
shr rax, 0x10
cmp r14w, ax
jne 0x14019dfe0
mov dword [rbp - 0x20], esi
mov rcx, r15
call fcn.1401a0900
cmp dword [rbp - 0x20], r14d
mov qword [r12], r14
jne 0x14019e273
movzx eax, di
mov edx, 0x4fe
cmp dx, di
jne 0x14019de6f
shr rdi, 0x10
cmp r14w, di
jne 0x14019e100
mov dword [rbp - 0x20], esi
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [r15 + 0x210], eax
mov rcx, r15
call fcn.1401a0a10
mov rcx, r15
call fcn.1401a0bb0
mov qword [r12], r14
cmp dword [rbp - 0x20], r14d
jmp 0x14019e0fa
shr rdi, 0x10
cmp si, di
jne 0x14019e100
mov dword [rbp - 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [r15 + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
lea rbx, [r15 + 0x218]
mov rcx, qword [rbx]
mov r8d, esi
sub r8d, dword [rcx - 8]
mov edx, dword [rcx - 0xc]
sub edx, 0x400
or r8d, edx
jge 0x14019e09b
mov edx, 0x400
mov rcx, rbx
call fcn.140018ea0
movsxd r8, edi
mov r9, qword [rbx]
mov edx, 0x148
mov rcx, qword [r15 + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14019e0c0
mov eax, r14d
jmp 0x14019e0d1
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fe5d0
test eax, eax
js 0x14019e2b9
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14019e2b9
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
mov rcx, r15
call fcn.1401a0bb0
mov qword [r12], r14
cmp dword [rbp - 0x20], 0
jne 0x14019e273
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x4f1
cmp ax, di
jne 0x14019e100
shr rdi, 0x10
cmp r14w, di
jne 0x14019e100
mov dword [rbp - 0x20], esi
mov rcx, r15
call fcn.1401a0a10
jmp 0x14019e0f2
cmp r8d, reloc.OLEAUT32.dll_VarUI4FromDisp
jne 0x14019e188
mov esi, 1
mov dword [rbp - 0x20], esi
xor edx, edx
mov rcx, qword [rcx + 0x240]
call qword [sym.imp.USER32.dll_ShowWindow]
movzx r9d, di
lea rcx, [r15 + 0x40]
mov rdx, qword [r15 + 8]
call fcn.140076290
xor r14d, r14d
mov qword [r12], r14
cmp dword [rbp - 0x20], r14d
jmp 0x14019e0fa
cmp r8d, 0x20a
jne 0x14019e1d5
mov esi, 1
mov dword [rbp - 0x20], esi
xor edx, edx
mov rcx, qword [rcx + 0x240]
call qword [sym.imp.USER32.dll_ShowWindow]
shr edi, 0x1f
lea ebx, [rsi + 3]
nop
mov r9d, edi
mov rdx, qword [r15 + 8]
lea rcx, [r15 + 0x40]
call fcn.140076290
sub rbx, rsi
jne 0x14019e1b0
xor r14d, r14d
mov qword [r12], r14
cmp dword [rbp - 0x20], r14d
jmp 0x14019e0fa
cmp r8d, 0x136
jne 0x14019e201
mov esi, 1
mov dword [rbp - 0x20], esi
cmp dword [rcx + 0x230], 0
je 0x14019e22d
lea ecx, [rsi + 3]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [r12], rax
jmp 0x14019e0f6
cmp r8d, 0x138
jne 0x14019e23e
mov esi, 1
mov dword [rbp - 0x20], esi
cmp dword [rcx + 0x230], 0
je 0x14019e22d
lea ecx, [rsi + 3]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [r12], rax
jmp 0x14019e0f6
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [r12], rax
jmp 0x14019e0f6
cmp r8d, 0x135
jne 0x14019e27a
mov esi, 1
mov dword [rbp - 0x20], esi
cmp dword [rcx + 0x230], 0
je 0x14019e25d
lea ecx, [rsi + 3]
jmp 0x14019e25f
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [r12], rax
cmp dword [rbp - 0x20], 0
je 0x14019e100
mov eax, esi
jmp 0x14019e102
cmp r8d, 0x113
jne 0x14019e100
mov esi, 1
mov dword [rbp - 0x20], esi
cmp rdi, rsi
jne 0x14019e2a4
add rcx, 0x40
mov rdx, qword [r15 + 8]
call fcn.1400765b0
mov esi, dword [rbp - 0x20]
xor r14d, r14d
mov qword [r12], r14
test esi, esi
setne r14b
mov eax, r14d
jmp 0x14019e102
mov ecx, 0x80070057
call fcn.140019300
int3
mov ecx, 0x80004005
call fcn.140019300
int3