Function at 0x1800087f0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1800ee0f8]
xor rax, rsp
mov qword [rbp + 0x188], rax
cmp qword [rcx + 0x18], 0x10
jb 0x180008833
mov rbx, qword [rcx]
mov rdi, rbx
add rbx, qword [rcx + 0x10]
jmp 0x18000883d
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rdi, rcx
xor esi, esi
mov qword [rbp + 0x168], rsi
mov ecx, esi
mov qword [rbp + 0x178], rcx
mov r8d, 7
mov qword [rbp + 0x180], r8
mov rdx, rbx
sub rdx, rdi
cmp rdx, r8
jbe 0x180008883
lea rcx, [rbp + 0x168]
call fcn.180012500
mov ecx, esi
mov qword [rbp + 0x178], rcx
mov r8, qword [rbp + 0x180]
lea rax, [rbp + 0x168]
mov qword [rbp + 0x160], rax
cmp rdi, rbx
je 0x1800088ed
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x1800088c9
lea rax, [rcx + 1]
mov qword [rbp + 0x178], rax
lea rax, [rbp + 0x168]
cmp r8, 8
cmovae rax, qword [rbp + 0x168]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x1800088d5
lea rcx, [rbp + 0x168]
call fcn.180012670
inc rdi
cmp rdi, rbx
je 0x1800088ed
mov r8, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x178]
jmp 0x180008896
mov dword [rsp + 0x20], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.kernel32.dll_Process32FirstW]
cmp eax, 1
jne 0x180008a18
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_Process32NextW]
cmp eax, 1
jne 0x180008a18
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180008940
lea r9, [rbp + 0x168]
cmp qword [rbp + 0x180], 8
cmovae r9, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x178]
cmp rcx, rax
jne 0x18000891a
lea rax, [rsp + 0x4c]
test rcx, rcx
je 0x1800089b6
movzx edx, word [r9]
movzx r8d, word [rsp + 0x4c]
cmp dx, r8w
jb 0x18000891a
lea r10, [rsp + 0x4c]
sub r9, r10
cmp dx, r8w
ja 0x18000891a
cmp rcx, 1
je 0x1800089b6
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x180008993
jmp 0x18000891a
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.kernel32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18000891a
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcessId]
mov dword [rbp + 0x160], eax
mov byte [rbp + 0x164], 0
lea rdx, [rbp + 0x160]
lea rcx, [0x180008780]
call qword [sym.imp.user32.dll_EnumWindows]
cmp byte [rbp + 0x164], 0
je 0x18000891a
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [rsp + 0x28]
mov rdx, qword [rbp + 0x180]
cmp rdx, 8
jb 0x180008a61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008a5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008a5c
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b2e40
mov eax, esi
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.1800b2e20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret