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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x11bf0]
mov eax, 0x11cf0
call fcn.1400f7000
sub rsp, rax
movzx r10d, word [rdx]
mov r11d, 0xffdf
mov rsi, rcx
mov rcx, qword [rbp + 0x11c20]
lea eax, [r10 - 0x41]
test r11w, ax
jne 0x1400de128
cmp word [rdx + 2], 0
jne 0x1400de128
cmp word [r8], 0
jne 0x1400de128
cmp word [r9], 0
jne 0x1400de128
cmp word [rcx], 0
jne 0x1400de128
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400de10b
cmp byte [rsi + 0x12a], 0
jne 0x1400de10b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400de109
mov rcx, rbx
call fcn.1400df2d0
test al, al
je 0x1400de10b
xor ebx, ebx
cmp byte [rbp + 0x11c30], 0
je 0x1400de120
test rbx, rbx
je 0x1400de120
mov qword [rsi + 0xf8], rbx
mov rax, rbx
jmp 0x1400de372
test r10w, r10w
jne 0x1400de14d
cmp word [r8], r10w
jne 0x1400de14d
cmp word [r9], r10w
jne 0x1400de14d
cmp word [rcx], r10w
jne 0x1400de14d
mov rcx, rsi
call fcn.1400de3c0
jmp 0x1400de372
xor ebx, ebx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
mov qword [rsp + 0x20], r9
mov r9, r8
mov qword [rsp + 0x11d00], rdi
mov r8, rdx
mov dword [rsp + 0x30], ebx
lea rax, [0x1400f97e4]
mov byte [rbp + 0x1789], bl
mov rdx, rsi
mov qword [rbp + 0xf48], rax
lea rcx, [rsp + 0x30]
mov dword [rbp + 0x178c], ebx
movdqa xmmword [rbp + 0x1790], xmm0
mov qword [rbp + 0x17a0], rbx
mov dword [rbp + 0x17a8], ebx
mov qword [rbp + 0x17b0], rbx
movdqa xmmword [rbp + 0x17c0], xmm0
call fcn.1400df4b0
test eax, eax
je 0x1400de368
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c28]
mov byte [rbp + 0x1789], al
mov rax, qword [rbp + 0x11c38]
mov qword [rbp + 0x17a0], rax
mov eax, dword [rbp + 0x11c40]
mov dword [rbp + 0x17a8], eax
je 0x1400de387
mov rdi, qword [rbp + 0xf68]
cmp rdi, 0xffff
je 0x1400de25f
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400de368
mov rdi, qword [rbp + 0xf68]
cmp byte [rsi + 0x12a], bl
jne 0x1400de25f
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400de23c
mov rcx, rdi
call fcn.1400df2d0
test al, al
je 0x1400de258
mov rcx, qword [rbp + 0xf68]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400de368
mov rdi, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c8], rdi
je 0x1400de357
mov qword [rbp + 0x17c8], rdi
test rdi, rdi
je 0x1400de357
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400de357
test al, 1
jne 0x1400de298
mov rax, qword [rbp + 0xf48]
cmp word [rax], bx
je 0x1400de2b9
mov r8d, 0x7fff
lea rdx, [rbp + 0x17dc]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400de2b9
mov word [rbp + 0x17dc], bx
test byte [rsp + 0x30], 4
je 0x1400de2d4
mov rcx, qword [rbp + 0x17c8]
lea rdx, [rbp + 0x17d8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rsp + 0x30], 0x20
je 0x1400de318
mov rcx, qword [rbp + 0x17c8]
lea rdx, [rbp + 0x11c08]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400de318
movzx r9d, byte [rbp + 0x1788]
lea rdx, [rbp + 0x119dc]
mov ecx, dword [rbp + 0x11c08]
call fcn.140099f90
test eax, eax
jne 0x1400de318
mov word [rbp + 0x119dc], bx
test byte [rsp + 0x30], 8
je 0x1400de339
mov rcx, qword [rbp + 0x17c8]
lea rdx, [rbp + 0x117da]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
test dword [rsp + 0x30], 0x100
je 0x1400de357
mov rcx, qword [rbp + 0x17c8]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rbp + 0x17d0], rax
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400dfb90
test rax, rax
jne 0x1400de399
xor eax, eax
mov rdi, qword [rsp + 0x11d00]
lea r11, [rsp + 0x11cf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x1400de4b0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1790]
cmp byte [rbp + 0x11c30], bl
je 0x1400de36a
test rax, rax
je 0x1400de36a
mov qword [rsi + 0xf8], rax
jmp 0x1400de36a