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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400eb380
sub rsp, rax
movzx r10d, word [rdx]
mov r11d, 0xffdf
mov rsi, rcx
mov rcx, qword [rbp + 0x11c10]
lea eax, [r10 - 0x41]
test r11w, ax
jne 0x1400b2158
cmp word [rdx + 2], 0
jne 0x1400b2158
cmp word [r8], 0
jne 0x1400b2158
cmp word [r9], 0
jne 0x1400b2158
cmp word [rcx], 0
jne 0x1400b2158
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400b213b
cmp byte [rsi + 0x12a], 0
jne 0x1400b213b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400b2139
mov rcx, rbx
call fcn.1400b3240
test al, al
je 0x1400b213b
xor ebx, ebx
cmp byte [rbp + 0x11c20], 0
je 0x1400b2150
test rbx, rbx
je 0x1400b2150
mov qword [rsi + 0xf8], rbx
mov rax, rbx
jmp 0x1400b237d
test r10w, r10w
jne 0x1400b217d
cmp word [r8], r10w
jne 0x1400b217d
cmp word [r9], r10w
jne 0x1400b217d
cmp word [rcx], r10w
jne 0x1400b217d
mov rcx, rsi
call fcn.1400b23d0
jmp 0x1400b237d
xor ebx, ebx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r9
lea rax, [0x1400fb87c]
mov r9, r8
mov qword [rsp + 0x11cf0], rdi
mov r8, rdx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
mov qword [rbp + 0xf48], rax
mov rdx, rsi
mov byte [rbp + 0x1781], bl
lea rcx, [rsp + 0x30]
mov dword [rbp + 0x1784], ebx
mov qword [rbp + 0x1788], rbx
movdqa xmmword [rbp + 0x1790], xmm0
mov dword [rbp + 0x17a0], ebx
mov qword [rbp + 0x17a8], rbx
mov qword [rbp + 0x17b8], rbx
mov qword [rbp + 0x17c0], rbx
call fcn.1400b3420
test eax, eax
je 0x1400b2373
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov qword [rbp + 0x1798], rbx
mov dword [rbp + 0x17a0], ebx
je 0x1400b2392
mov rdi, qword [rbp + 0xf68]
cmp rdi, 0xffff
je 0x1400b2288
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400b2373
mov rdi, qword [rbp + 0xf68]
cmp byte [rsi + 0x12a], bl
jne 0x1400b2288
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400b2265
mov rcx, rdi
call fcn.1400b3240
test al, al
je 0x1400b2281
mov rcx, qword [rbp + 0xf68]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400b2373
mov rdi, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rdi
je 0x1400b2362
mov qword [rbp + 0x17c0], rdi
test rdi, rdi
je 0x1400b2362
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400b2362
test al, 1
jne 0x1400b22c1
mov rax, qword [rbp + 0xf48]
cmp word [rax], bx
je 0x1400b22e2
mov r8d, 0x7fff
lea rdx, [rbp + 0x17cc]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400b22e2
mov word [rbp + 0x17cc], bx
test byte [rsp + 0x30], 4
je 0x1400b22fd
mov rcx, qword [rbp + 0x17c0]
lea rdx, [rbp + 0x17c8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rsp + 0x30], 0x20
je 0x1400b2341
mov rcx, qword [rbp + 0x17c0]
lea rdx, [rbp + 0x11c30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400b2341
movzx r9d, byte [rbp + 0x1780]
lea rdx, [rbp + 0x119cc]
mov ecx, dword [rbp + 0x11c30]
call fcn.14007e350
test eax, eax
jne 0x1400b2341
mov word [rbp + 0x119cc], bx
test byte [rsp + 0x30], 8
je 0x1400b2362
mov rcx, qword [rbp + 0x17c0]
lea rdx, [rbp + 0x117ca]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b3a70
test rax, rax
jne 0x1400b23a4
xor eax, eax
mov rdi, qword [rsp + 0x11cf0]
lea r11, [rsp + 0x11ce0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x1400b24c0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1788]
cmp byte [rbp + 0x11c20], bl
je 0x1400b2375
test rax, rax
je 0x1400b2375
mov qword [rsi + 0xf8], rax
jmp 0x1400b2375