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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400daca0
sub rsp, rax
mov r10, qword [rbp + 0x11c10]
mov r11, rdx
movzx edx, word [rdx]
mov rsi, rcx
mov ecx, 0xffdf
lea eax, [rdx - 0x41]
test cx, ax
jne 0x1400a34b3
cmp word [r11 + 2], 0
jne 0x1400a34b3
cmp word [r8], 0
jne 0x1400a34b3
cmp word [r9], 0
jne 0x1400a34b3
cmp word [r10], 0
jne 0x1400a34b3
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400a3499
cmp byte [rsi + 0xbf], 0
jne 0x1400a3499
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor edi, edi
test eax, eax
je 0x1400a3496
lea r9d, [rdi + 4]
mov dword [rbp + 0x11c30], edi
lea r8, [rbp + 0x11c30]
mov rcx, rbx
lea edx, [rdi + 0xe]
call qword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x1400a3499
cmp dword [rbp + 0x11c30], edi
je 0x1400a3499
mov rbx, rdi
cmp byte [rbp + 0x11c20], 0
je 0x1400a34ab
test rbx, rbx
je 0x1400a34ab
mov qword [rsi + 0x38], rbx
mov rax, rbx
jmp 0x1400a3765
test dx, dx
jne 0x1400a34d7
cmp word [r8], dx
jne 0x1400a34d7
cmp word [r9], dx
jne 0x1400a34d7
cmp word [r10], dx
jne 0x1400a34d7
mov rcx, rsi
call fcn.1400a3a50
jmp 0x1400a3765
xor edi, edi
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r9
lea rax, [0x1400fcb50]
mov r9, r8
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
mov qword [rbp + 0xf48], rax
mov r8, r11
mov byte [rbp + 0x1781], dil
lea rdx, [rsi + 0x80]
mov dword [rbp + 0x1784], edi
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x1788], rdi
movdqa xmmword [rbp + 0x1790], xmm0
mov dword [rbp + 0x17a0], edi
mov qword [rbp + 0x17a8], rdi
mov qword [rbp + 0x17b8], rdi
mov qword [rbp + 0x17c0], rdi
call fcn.1400a4950
test eax, eax
je 0x1400a3763
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov qword [rbp + 0x1798], rdi
mov dword [rbp + 0x17a0], edi
je 0x1400a3a10
mov rbx, qword [rbp + 0xf68]
cmp rbx, 0xffff
je 0x1400a35f6
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400a3763
mov rbx, qword [rbp + 0xf68]
cmp byte [rsi + 0xbf], dil
jne 0x1400a35f6
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400a35da
lea r9d, [rdi + 4]
mov dword [rbp + 0x11c30], edi
lea r8, [rbp + 0x11c30]
mov rcx, rbx
lea edx, [rdi + 0xe]
call qword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x1400a35f6
cmp dword [rbp + 0x11c30], edi
je 0x1400a35f6
mov rcx, qword [rbp + 0xf68]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400a3763
mov rbx, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rbx
je 0x1400a36db
mov qword [rbp + 0x17c0], rbx
test rbx, rbx
je 0x1400a3763
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400a36db
test al, 1
jne 0x1400a3636
mov rax, qword [rbp + 0xf48]
cmp word [rax], di
je 0x1400a365b
mov rcx, qword [rbp + 0xf68]
lea rdx, [rbp + 0x17cc]
mov r8d, 0x7fff
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400a365b
mov word [rbp + 0x17cc], di
test byte [rsp + 0x30], 4
je 0x1400a3676
mov rcx, qword [rbp + 0x17c0]
lea rdx, [rbp + 0x17c8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rsp + 0x30], 0x20
je 0x1400a36ba
mov rcx, qword [rbp + 0x17c0]
lea rdx, [rbp + 0x11c30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400a36ba
movzx r9d, byte [rbp + 0x1780]
lea rdx, [rbp + 0x119cc]
mov ecx, dword [rbp + 0x11c30]
call fcn.140031d80
test eax, eax
jne 0x1400a36ba
mov word [rbp + 0x119cc], di
test byte [rsp + 0x30], 8
je 0x1400a36db
mov rcx, qword [rbp + 0x17c0]
lea rdx, [rbp + 0x117ca]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
cmp qword [rbp + 0x17c0], rdi
je 0x1400a3763
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400a3763
test al, 1
je 0x1400a37ad
cmp word [rsp + 0x40], di
je 0x1400a37ad
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rdx + 0xc]
sub ecx, 1
je 0x1400a3791
sub ecx, 1
je 0x1400a377e
cmp ecx, 2
je 0x1400a374d
lea rax, [rbp + 0x17cc]
lea r9, [rsp + 0x40]
sub r9, rax
nop dword [rax]
movzx r8d, word [rax]
movzx ecx, word [rax + r9]
sub r8d, ecx
jne 0x1400a3746
add rax, 2
test ecx, ecx
jne 0x1400a3730
test r8d, r8d
je 0x1400a37b2
jmp 0x1400a3763
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x17cc]
call fcn.140033110
test rax, rax
jne 0x1400a37ad
xor eax, eax
lea r11, [rsp + 0x11ce0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x17cc]
call fcn.1400bd4c8
jmp 0x1400a375e
mov r8, qword [rbp + 0xf40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x17cc]
call fcn.1400ce148
test eax, eax
jne 0x1400a3763
mov rdx, qword [rsp + 0x38]
test byte [rsp + 0x30], 8
je 0x1400a380f
cmp dword [rdx + 0xc], 4
jne 0x1400a37de
lea rdx, [rbp + 0x740]
lea rcx, [rbp + 0x117ca]
call fcn.140033110
test rax, rax
je 0x1400a3763
mov rdx, qword [rsp + 0x38]
jmp 0x1400a380f
lea rax, [rbp + 0x117ca]
lea r9, [rbp + 0x740]
sub r9, rax
nop
movzx r8d, word [rax]
movzx ecx, word [rax + r9]
sub r8d, ecx
jne 0x1400a3806
add rax, 2
test ecx, ecx
jne 0x1400a37f0
test r8d, r8d
jne 0x1400a3763
test byte [rsp + 0x30], 4
je 0x1400a3828
mov eax, dword [rbp + 0xf70]
cmp dword [rbp + 0x17c8], eax
jne 0x1400a3763
test byte [rsp + 0x30], 0x20
je 0x1400a3864
cmp dword [rdx + 0xc], 4
lea rcx, [rbp + 0x119cc]
lea rdx, [rbp + 0xf80]
jne 0x1400a3852
call fcn.140033110
test rax, rax
jne 0x1400a385f
jmp 0x1400a3763
call fcn.1400c1404
test eax, eax
jne 0x1400a3763
mov rdx, qword [rsp + 0x38]
test byte [rsp + 0x30], 0x10
je 0x1400a3898
mov rcx, qword [rbp + 0xf78]
test rcx, rcx
je 0x1400a3763
mov r8, rdx
mov rdx, qword [rbp + 0x17c0]
call fcn.1400a5e80
test rax, rax
je 0x1400a3763
mov rdx, qword [rsp + 0x38]
test byte [rsp + 0x30], 2
je 0x1400a38b3
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
jne 0x1400a3763
mov r8, qword [rbp + 0xf48]
cmp word [r8], di
je 0x1400a3959
mov ecx, dword [rdx + 0xc]
sub ecx, 1
je 0x1400a3937
sub ecx, 1
je 0x1400a391a
cmp ecx, 2
je 0x1400a38fd
lea rax, [rbp + 0x17cc]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400a38f4
add rax, 2
test ecx, ecx
jne 0x1400a38e0
test edx, edx
jne 0x1400a3959
jmp 0x1400a3763
mov rdx, qword [rbp + 0xf48]
lea rcx, [rbp + 0x17cc]
call fcn.140033110
test rax, rax
je 0x1400a3959
jmp 0x1400a3763
mov rdx, qword [rbp + 0xf48]
lea rcx, [rbp + 0x17cc]
call fcn.1400bd4c8
test rax, rax
je 0x1400a3959
jmp 0x1400a3763
mov r8, qword [rbp + 0xf50]
lea rcx, [rbp + 0x17cc]
mov rdx, qword [rbp + 0xf48]
call fcn.1400ce148
test eax, eax
je 0x1400a3763
mov ecx, edi
cmp dword [rbp + 0x17a0], ecx
jle 0x1400a398e
mov rdx, qword [rbp + 0x1798]
nop word [rax + rax]
mov rax, qword [rdx]
cmp qword [rbp + 0x17c0], rax
je 0x1400a3763
inc ecx
add rdx, 8
cmp ecx, dword [rbp + 0x17a0]
jl 0x1400a3970
mov rax, qword [rbp + 0xf58]
cmp word [rax], di
jne 0x1400a39a6
mov rax, qword [rbp + 0xf60]
cmp word [rax], di
je 0x1400a39d3
mov rcx, qword [rbp + 0x17c0]
lea r8, [rsp + 0x30]
lea rdx, [0x1400a3be0]
mov qword [rbp + 0x1790], rdi
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp qword [rbp + 0x1790], rdi
je 0x1400a3763
inc dword [rbp + 0x1784]
mov rcx, qword [rbp + 0x17b8]
mov rax, qword [rbp + 0x17c0]
mov qword [rbp + 0x1788], rax
test rcx, rcx
je 0x1400a3a02
mov rdx, rax
call fcn.14003f150
mov rax, qword [rbp + 0x1788]
cmp qword [rbp + 0x17c0], rdi
jne 0x1400a3a29
jmp 0x1400a3763
lea rdx, [rsp + 0x30]
lea rcx, [0x1400a3b40]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1788]
cmp byte [rbp + 0x11c20], dil
je 0x1400a3765
test rax, rax
je 0x1400a3765
mov qword [rsi + 0x38], rax
jmp 0x1400a3765