Function at 0x1801ccd50
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push r14
mov eax, 0x1090
call fcn.1802b8650
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x10c8], rbx
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rbx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
call fcn.1801d1710
test eax, eax
je 0x1801cd0e7
cmp dword [rsp + 0x58], 0
jne 0x1801ccf87
cmp dword [rsp + 0x50], 0
jne 0x1801ccf87
test rbx, rbx
je 0x1801cd118
mov r14d, 1
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x1801cd118
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1801ccdf0
test rax, rax
je 0x1801cd118
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1802b1f20
nop
lea rcx, [rsp + 0x50]
call fcn.1802b39a0
lea rcx, [rsp + 0x50]
call fcn.1802b3a90
xor ebx, ebx
mov dword [rsp + 0x60], ebx
lea rdx, [0x180059498]
mov rcx, qword [rsp + 0x50]
call fcn.1802c77c8
test rax, rax
je 0x1801cce5c
lea rdx, [0x180059494]
mov rcx, qword [rsp + 0x50]
call fcn.1802c77c8
test rax, rax
cmovne ebx, r14d
mov dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx]
cmp al, byte [0x1800594a8]
jne 0x1801cce7c
movzx eax, byte [rcx + 1]
cmp al, byte [0x1800594a9]
je 0x1801ccf78
lea rdx, [0x1800594b8]
call fcn.1802d8420
test eax, eax
je 0x1801ccf78
test ebx, ebx
jne 0x1801ccf78
lea rdx, [0x1800594d8]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
je 0x1801ccf78
lea rdx, [0x1800594ac]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
je 0x1801ccf78
lea rdx, [0x180059518]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
je 0x1801ccf78
lea rdx, [0x18005928a]
lea rcx, [rsp + 0x58]
call fcn.1802b1f20
nop
mov byte [rsp + 0x880], bl
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1801ccf1f
mov r8d, 0x800
lea rdx, [rsp + 0x880]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r8, qword [rsp + 0x50]
lea rdx, [0x180059520]
lea rcx, [rsp + 0x58]
call fcn.1802b2860
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], 7
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1801d3230
nop
lea rcx, [rsp + 0x58]
call fcn.1802b20f0
nop
lea rcx, [rsp + 0x50]
call fcn.1802b20f0
jmp 0x1801cd118
test rbx, rbx
je 0x1801cd118
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x1801cd118
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1801ccfb0
test rax, rax
je 0x1801cd118
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1801cd118
mov byte [rsp + 0x80], 0
mov r8d, 0x800
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1802b1f20
nop
lea rcx, [rsp + 0x50]
call fcn.1802b39a0
lea rcx, [rsp + 0x50]
call fcn.1802b3a90
lea rdx, [0x18005945c]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
je 0x1801cd0db
lea rdx, [0x180059468]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
je 0x1801cd0db
lea rdx, [0x180059478]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
cmp rax, 0xffffffffffffffff
jne 0x1801cd076
lea rdx, [0x180059480]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
jne 0x1801cd0db
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1802b1f20
nop
lea rcx, [rsp + 0x58]
call fcn.1802b39a0
lea rcx, [rsp + 0x58]
call fcn.1802b3a90
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1801d3230
nop
lea rcx, [rsp + 0x58]
call fcn.1802b20f0
nop
lea rcx, [rsp + 0x50]
call fcn.1802b20f0
jmp 0x1801cd118
cmp qword [rdi + 0x98], 0
jne 0x1801cd118
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call fcn.1801d1890
test eax, eax
je 0x1801cd118
mov qword [rdi + 0x98], rsi
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0xa0], rax
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1802b85a0
mov rbx, qword [rsp + 0x10c8]
add rsp, 0x1090
pop r14
pop rdi
pop rsi
ret