Function at 0x14019a780
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 [0x1402fa010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r9
mov r13d, r8d
mov r14, rcx
mov r9, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
cmp dword [rbp + 0x70], 0
jne 0x14019ab2b
mov edi, 1
xor esi, esi
cmp r8d, 0x110
jne 0x14019a849
mov dword [rbp - 0x20], edi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov edx, r13d
call fcn.14019aeb0
mov qword [r15], rax
cmp dword [rbp - 0x20], esi
jne 0x14019ad10
lea rax, [r14 + 0x40]
mov qword [rbp - 0x18], rax
lea r12, [r14 + 8]
cmp r13d, 0x20a
jne 0x14019a8dc
mov dword [rbp - 0x20], edi
xor edx, edx
mov rcx, qword [r14 + 0x240]
call qword [sym.imp.USER32.dll_ShowWindow]
shr ebx, 0x1f
mov r14d, 4
mov r13, qword [rbp - 0x18]
nop dword [rax + rax]
mov r9d, ebx
mov rdx, qword [r12]
mov rcx, r13
call fcn.140074030
sub r14, rdi
jne 0x14019a830
jmp 0x14019ab1f
cmp r13d, 0x111
jne 0x14019a8a7
mov edx, 0x501
cmp dx, bx
jne 0x14019a7f3
mov rax, rbx
shr rax, 0x10
cmp si, ax
jne 0x14019a7f3
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 - 0x21]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, esi
test eax, eax
sete dl
xor r8d, r8d
mov rcx, r14
call fcn.14019cc90
mov rcx, r14
call fcn.14019d4b0
mov qword [r15], rsi
jmp 0x14019a7f3
cmp r13d, reloc.OLEAUT32.dll_VarUI4FromDisp
jne 0x14019a7f3
mov dword [rbp - 0x20], edi
xor edx, edx
mov rcx, qword [rcx + 0x240]
call qword [sym.imp.USER32.dll_ShowWindow]
movzx r9d, bx
lea rcx, [r14 + 0x40]
mov rdx, qword [r14 + 8]
call fcn.140074030
jmp 0x14019ab1f
cmp r13d, 0x111
jne 0x14019ac99
mov r13d, 0x52a
cmp r13w, bx
jne 0x14019aa19
mov rax, rbx
shr rax, 0x10
mov ecx, 0x300
cmp cx, ax
jne 0x14019a9bf
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], rsi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14019ad56
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x18]
mov edx, r13d
mov rcx, r12
call fcn.1400185c0
mov rbx, qword [rbp - 0x18]
cmp dword [rbx - 0x10], 0
jne 0x14019a956
jmp 0x14019a993
mov r9d, edi
xor r8d, r8d
mov edx, r13d
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_GetDlgItemInt]
mov ecx, edi
cmp eax, ecx
cmovg ecx, eax
mov r8d, ILIsEqual
cmp ecx, r8d
cmovl r8d, ecx
cmp eax, r8d
je 0x14019a993
mov r9d, edi
mov edx, r13d
mov rcx, qword [r12]
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 0x14019a9b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
cmp dword [rbp - 0x20], 0
jmp 0x14019ab22
shr rbx, 0x10
mov eax, 0x200
cmp ax, bx
jne 0x14019ab2b
mov dword [rbp - 0x20], edi
mov r9d, edi
xor r8d, r8d
mov edx, r13d
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_GetDlgItemInt]
mov ecx, edi
cmp eax, ecx
cmovg ecx, eax
mov r8d, ILIsEqual
cmp ecx, r8d
cmovl r8d, ecx
cmp eax, r8d
je 0x14019ab1f
mov r9d, edi
mov edx, r13d
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x14019ab1f
mov eax, 0x80d4
cmp ax, bx
jne 0x14019aa5f
mov dword [rbp - 0x20], edi
mov ebx, 0x78
nop dword [rax + rax]
xor r9d, r9d
mov r8, rdi
mov edx, reloc.OLEAUT32.dll_VarUI4FromDisp
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_PostMessageW]
call fcn.140021a90
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, rdi
jne 0x14019aa30
jmp 0x14019ab1f
mov eax, 0x4b7
cmp ax, bx
jne 0x14019aa8c
shr rbx, 0x10
cmp si, bx
jne 0x14019ab2b
mov dword [rbp - 0x20], edi
mov rcx, r14
call fcn.14019d130
mov qword [r15], rax
cmp dword [rbp - 0x20], esi
jmp 0x14019ab25
mov eax, 0x498
cmp ax, bx
je 0x14019aabe
mov eax, 0x49c
cmp ax, bx
je 0x14019aabe
mov eax, 0x4a0
cmp ax, bx
je 0x14019aabe
mov eax, 0x4a6
cmp ax, bx
je 0x14019aabe
mov eax, 0x4ac
cmp ax, bx
jne 0x14019aad4
shr rbx, 0x10
cmp si, bx
jne 0x14019ab2b
mov dword [rbp - 0x20], edi
mov rcx, r14
call fcn.14019d3a0
jmp 0x14019ab1f
mov edx, 0x4fe
cmp dx, bx
jne 0x14019ab51
shr rbx, 0x10
cmp si, bx
jne 0x14019ab2b
mov dword [rbp - 0x20], edi
mov rcx, qword [r12]
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 [r14 + 0x210], eax
mov rcx, r14
call fcn.14019d4b0
mov rcx, r14
call fcn.14019d640
cmp dword [rbp - 0x20], esi
mov qword [r15], rsi
jne 0x14019ad10
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401f3bf0
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, 0x3f1
cmp ax, bx
jne 0x14019ac6e
mov rax, rbx
shr rax, 0x10
mov ecx, 5
cmp cx, ax
jne 0x14019abc5
mov dword [rbp - 0x20], edi
lea rbx, [r14 + 0x218]
mov rax, qword [rbx]
mov edx, edi
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x400
or edx, ecx
jge 0x14019ab9c
mov edx, 0x400
mov rcx, rbx
call fcn.140018ec0
mov r8d, 0x400
mov rdx, qword [rbx]
mov rcx, qword [r14 + 0x228]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14019ac40
mov eax, esi
jmp 0x14019ac51
shr rbx, 0x10
cmp di, bx
jne 0x14019ab2b
mov dword [rbp - 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [r14 + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12, rax
lea rbx, [r14 + 0x218]
mov rcx, qword [rbx]
mov r8d, edi
sub r8d, dword [rcx - 8]
mov edx, dword [rcx - 0xc]
sub edx, 0x400
or r8d, edx
jge 0x14019ac1c
mov edx, 0x400
mov rcx, rbx
call fcn.140018ec0
movsxd r8, r12d
mov r9, qword [rbx]
mov edx, 0x148
mov rcx, qword [r14 + 0x228]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14019ac40
mov eax, esi
jmp 0x14019ac51
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fa6e8
test eax, eax
js 0x14019ad4b
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14019ad4b
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], si
jmp 0x14019ab17
mov eax, 0x4f1
cmp ax, bx
jne 0x14019ab2b
shr rbx, 0x10
cmp si, bx
jne 0x14019ab2b
mov dword [rbp - 0x20], edi
mov rcx, r14
call fcn.14019d4b0
jmp 0x14019ab1f
cmp r13d, 0x136
je 0x14019acab
cmp r13d, 0x138
jne 0x14019ace0
mov dword [rbp - 0x20], edi
cmp dword [r14 + 0x230], esi
je 0x14019accd
mov ecx, 4
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [r15], rax
cmp dword [rbp - 0x20], esi
jmp 0x14019ab25
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [r15], rax
cmp dword [rbp - 0x20], esi
jmp 0x14019ab25
cmp r13d, 0x135
jne 0x14019ad17
mov dword [rbp - 0x20], edi
cmp dword [r14 + 0x230], esi
je 0x14019acfc
mov ecx, 4
jmp 0x14019acfe
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [r15], rax
cmp dword [rbp - 0x20], esi
je 0x14019ab2b
mov eax, edi
jmp 0x14019ab2d
cmp r13d, 0x113
jne 0x14019ab2b
mov dword [rbp - 0x20], edi
cmp rbx, rdi
jne 0x14019ad3b
mov rdx, qword [r12]
mov rcx, rax
call fcn.140074350
mov edi, dword [rbp - 0x20]
mov qword [r15], rsi
test edi, edi
setne sil
mov eax, esi
jmp 0x14019ab2d
mov ecx, 0x80070057
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
int3