Function at 0x1801d2c10
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
mov eax, 0x18a0
call fcn.1802b8650
sub rsp, rax
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rsp + 0x1890], rax
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
call fcn.1801d1ba0
test eax, eax
je 0x1801d2eba
mov rdi, qword [rsp + 0x60]
cmp rsi, rdi
jne 0x1801d2dbf
test rbx, rbx
je 0x1801d306c
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x1801d306c
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1801d2cb0
test rax, rax
je 0x1801d306c
cmp dword [rsp + 0x50], 0
jne 0x1801d306c
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
lea rdx, [0x18005b240]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
jle 0x1801d2d30
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1802b3060
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1802b2120
nop
lea rcx, [rsp + 0x60]
call fcn.1802b20f0
mov byte [rsp + 0x90], 0
mov r8d, 0x800
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.1802b1f20
nop
lea rcx, [rsp + 0x58]
call fcn.1802b39a0
lea rcx, [rsp + 0x58]
call fcn.1802b3a90
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], eax
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, r15
call fcn.1801d3230
nop
lea rcx, [rsp + 0x58]
call fcn.1802b20f0
nop
lea rcx, [rsp + 0x50]
jmp 0x1801d3066
cmp dword [rsp + 0x50], 1
jne 0x1801d306c
mov byte [rsp + 0x890], 0
mov r8d, 0x800
lea rdx, [rsp + 0x890]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, [rsp + 0x890]
lea rcx, [rsp + 0x50]
call fcn.1802b1f20
nop
lea rcx, [rsp + 0x50]
call fcn.1802b39a0
lea rcx, [rsp + 0x50]
call fcn.1802b3a90
lea rdx, [0x18005b260]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
jle 0x1801d2e51
mov r8, rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1802b3060
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1802b2120
nop
lea rcx, [rsp + 0x68]
call fcn.1802b20f0
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
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.1801d3230
nop
lea rcx, [rsp + 0x58]
call fcn.1802b20f0
nop
lea rcx, [rsp + 0x50]
jmp 0x1801d3066
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, r15
call fcn.1801d1a10
test eax, eax
je 0x1801d306c
test rbx, rbx
je 0x1801d306c
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x1801d306c
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1801d2f00
test rax, rax
je 0x1801d306c
mov ecx, 0x128
call fcn.1802b8484
mov rdi, rax
test rax, rax
je 0x1801d306c
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 r14, qword [rsp + 0x60]
mov qword [rdi], r14
mov qword [rdi + 8], rsi
mov ebx, dword [rsp + 0x50]
mov dword [rdi + 0x10], ebx
lea rcx, [rdi + 0x14]
mov r8d, 0x104
mov rdx, qword [rsp + 0x58]
call fcn.1802d7610
mov byte [rdi + 0x117], 0
lea rcx, [rdi + 0x118]
call fcn.1802e34e8
lea rcx, [r15 + 0xa8]
mov rdx, rdi
call fcn.1802a11e0
cmp ebx, 1
jne 0x1801d3061
mov byte [rsp + 0x1090], 0
mov r8d, 0x800
lea rdx, [rsp + 0x1090]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, [rsp + 0x1090]
lea rcx, [rsp + 0x50]
call fcn.1802b1f20
nop
lea rcx, [rsp + 0x50]
call fcn.1802b39a0
lea rcx, [rsp + 0x50]
call fcn.1802b3a90
lea rdx, [0x18005b298]
lea rcx, [rsp + 0x50]
call fcn.1802b27f0
test rax, rax
jle 0x1801d3023
mov r8, rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1802b3060
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1802b2120
nop
lea rcx, [rsp + 0x68]
call fcn.1802b20f0
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0xfffffffe
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.1801d3230
nop
lea rcx, [rsp + 0x50]
call fcn.1802b20f0
nop
lea rcx, [rsp + 0x58]
call fcn.1802b20f0
nop
mov rcx, qword [rsp + 0x1890]
xor rcx, rsp
call fcn.1802b85a0
add rsp, 0x18a0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret