Function at 0x180028510
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ecx, dword [0x1800a2a00]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1800a49e8], eax
jle 0x180028587
lea rcx, [0x1800a49e8]
call fcn.180050638
cmp dword [0x1800a49e8], 0xffffffff
jne 0x180028587
call fcn.18001dcc0
lea rcx, [0x18007fde0]
call fcn.180050b14
nop
lea rcx, [0x1800a49e8]
call fcn.1800505cc
mov rax, qword [0x1800a4b30]
test rax, rax
je 0x18002859a
mov al, 1
jmp 0x1800287ee
mov eax, dword [rdi]
cmp dword [0x1800a49e8], eax
jle 0x1800285d7
lea rcx, [0x1800a49e8]
call fcn.180050638
cmp dword [0x1800a49e8], 0xffffffff
jne 0x1800285d7
call fcn.18001dcc0
lea rcx, [0x18007fde0]
call fcn.180050b14
nop
lea rcx, [0x1800a49e8]
call fcn.1800505cc
mov rbx, qword [0x1800a4b28]
test rbx, rbx
je 0x1800286b3
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt eax, 0x1b
jb 0x1800286b3
test eax, 0xc0000000
je 0x180028611
test eax, 0x14000000
je 0x1800286b3
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.18007a010
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1800286b3
lea rdx, str.Debug
lea rcx, [rsp + 0x30]
call fcn.1800574d0
test rax, rax
jne 0x1800286b3
lea rdx, str.setGraphicsWindow_by_injectedWindow:
lea rcx, [0x1800a2b90]
call fcn.18000f6f0
mov rdx, rbx
mov rcx, rax
call fcn.180020340
mov eax, dword [rdi]
cmp dword [0x1800a49e8], eax
jle 0x1800286ac
lea rcx, [0x1800a49e8]
call fcn.180050638
cmp dword [0x1800a49e8], 0xffffffff
jne 0x1800286ac
call fcn.18001dcc0
lea rcx, [0x18007fde0]
call fcn.180050b14
nop
lea rcx, [0x1800a49e8]
call fcn.1800505cc
xchg qword [0x1800a4b30], rbx
mov eax, dword [rdi]
cmp dword [0x1800a49e8], eax
jle 0x1800286f0
lea rcx, [0x1800a49e8]
call fcn.180050638
cmp dword [0x1800a49e8], 0xffffffff
jne 0x1800286f0
call fcn.18001dcc0
lea rcx, [0x18007fde0]
call fcn.180050b14
nop
lea rcx, [0x1800a49e8]
call fcn.1800505cc
mov rax, qword [0x1800a4b30]
test rax, rax
jne 0x1800287a4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x20]
lea rcx, [0x180028810]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x28], 0
je 0x1800287a4
lea rdx, str.gg_overlay
lea rcx, [0x1800a2b90]
call fcn.18000f6f0
mov rcx, rax
lea rdx, str.setGraphicsWindow_by_enum:
call fcn.18000f6f0
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.180020340
mov eax, dword [rdi]
cmp dword [0x1800a49e8], eax
jle 0x180028798
lea rcx, [0x1800a49e8]
call fcn.180050638
cmp dword [0x1800a49e8], 0xffffffff
jne 0x180028798
call fcn.18001dcc0
lea rcx, [0x18007fde0]
call fcn.180050b14
nop
lea rcx, [0x1800a49e8]
call fcn.1800505cc
mov rax, qword [rsp + 0x28]
xchg qword [0x1800a4b30], rax
mov eax, dword [rdi]
cmp dword [0x1800a49e8], eax
jle 0x1800287e1
lea rcx, [0x1800a49e8]
call fcn.180050638
cmp dword [0x1800a49e8], 0xffffffff
jne 0x1800287e1
call fcn.18001dcc0
lea rcx, [0x18007fde0]
call fcn.180050b14
nop
lea rcx, [0x1800a49e8]
call fcn.1800505cc
mov rax, qword [0x1800a4b30]
test rax, rax
setne al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180050570
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret