Function at 0x1801cc8a0
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 0x1801ccbe7
cmp dword [rsp + 0x58], 0
jne 0x1801cca89
cmp dword [rsp + 0x50], 0
jne 0x1801cca89
test rbx, rbx
je 0x1801ccc18
mov r14d, 1
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x1801ccc18
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1801cc940
test rax, rax
je 0x1801ccc18
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, [0x1800593c8]
mov rcx, qword [rsp + 0x50]
call fcn.1802c77c8
test rax, rax
je 0x1801cc9ac
lea rdx, [0x1800593d8]
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 [0x1800593dc]
jne 0x1801cc9cc
movzx eax, byte [rcx + 1]
cmp al, byte [0x1800593dd]
je 0x1801cca7a
lea rdx, [0x1800593e0]
call fcn.1802d8420
test eax, eax
je 0x1801cca7a
test ebx, ebx
jne 0x1801cca7a
lea rdx, [0x180059281]
lea rcx, [rsp + 0x58]
call fcn.1802b1f20
nop
mov byte [rsp + 0x880], bl
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1801cca21
mov r8d, 0x800
lea rdx, [rsp + 0x880]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r8, qword [rsp + 0x50]
lea rdx, [0x1800593f0]
lea rcx, [rsp + 0x58]
call fcn.1802b2860
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], 6
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 0x1801ccc18
test rbx, rbx
je 0x1801ccc18
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x1801ccc18
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1801ccab0
test rax, rax
je 0x1801ccc18
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1801ccc18
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, [0x1800593ac]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
je 0x1801ccbdb
lea rdx, [0x1800593c0]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
je 0x1801ccbdb
lea rdx, [0x18005937c]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
cmp rax, 0xffffffffffffffff
jne 0x1801ccb76
lea rdx, [0x1800593b4]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
jne 0x1801ccbdb
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 0x1801ccc18
cmp qword [rdi + 0x98], 0
jne 0x1801ccc18
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call fcn.1801d1890
test eax, eax
je 0x1801ccc18
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