Function at 0x180008ca0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x18014a1c0]
xor rax, rsp
mov qword [rbp + 0x188], rax
cmp qword [rcx + 0x18], 0xf
mov rbx, rcx
jbe 0x180008cda
mov rdi, qword [rcx]
mov rbx, rdi
add rdi, qword [rcx + 0x10]
jmp 0x180008ce1
mov rdi, qword [rcx + 0x10]
add rdi, rcx
mov qword [rsp + 0x2b0], rsi
mov esi, 7
mov qword [rsp + 0x2c0], r14
xorps xmm0, xmm0
mov qword [rbp + 0x180], rsi
mov qword [rsp + 0x2c8], r15
movups xmmword [rbp + 0x168], xmm0
cmp rbx, rdi
jne 0x180008d2e
xor r14d, r14d
mov edi, r14d
mov qword [rbp + 0x178], r14
mov word [rbp + 0x168], r14w
jmp 0x180008e5e
sub rdi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x180008ff5
xor r14d, r14d
cmp rdi, rsi
jbe 0x180008e08
mov rsi, rdi
or rsi, 7
cmp rsi, rax
jbe 0x180008d6f
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x180008d9e
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rsi + 1]
cmp rcx, rax
ja 0x180008ffb
add rcx, rcx
cmp rcx, 0x1000
jb 0x180008ddb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180008ffb
mov rcx, rax
call fcn.1800ce404
mov rcx, rax
test rax, rax
je 0x180008fef
add rax, 0x27
mov qword [rbp + 0x180], rsi
and rax, 0xffffffffffffffe0
mov qword [rbp + 0x168], rax
mov qword [rax - 8], rcx
jmp 0x180008e0f
test rcx, rcx
je 0x180008df5
call fcn.1800ce404
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x180], rsi
jmp 0x180008e0f
mov rax, r14
mov qword [rbp + 0x180], rsi
mov qword [rbp + 0x168], rax
jmp 0x180008e0f
mov rax, qword [rbp + 0x168]
cmp rsi, 7
lea r8, [rbp + 0x168]
mov rdx, rdi
cmova r8, rax
mov rcx, r8
test rdi, rdi
je 0x180008e44
nop dword [rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x180008e30
mov qword [rbp + 0x178], rdi
mov word [r8 + rdi*2], r14w
mov rsi, qword [rbp + 0x180]
mov rdi, qword [rbp + 0x178]
xor edx, edx
mov qword [rsp + 0x2b8], r12
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov r12, rax
call qword [sym.imp.kernel32.dll_Process32FirstW]
mov r15, qword [rbp + 0x168]
cmp eax, 1
jne 0x180008f7b
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.kernel32.dll_Process32NextW]
cmp eax, 1
jne 0x180008f7b
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180008ec0
cmp rsi, 7
lea r8, [rbp + 0x168]
cmova r8, r15
cmp rdi, rax
jne 0x180008f54
lea rcx, [rsp + 0x4c]
mov rdx, rdi
test rdi, rdi
je 0x180008f07
lea rax, [rsp + 0x4c]
sub r8, rax
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x180008f54
add rcx, 2
sub rdx, 1
jne 0x180008ef3
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 0x180008f54
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcessId]
lea rdx, [rbp + 0x160]
mov byte [rbp + 0x164], 0
lea rcx, [0x180008c30]
mov dword [rbp + 0x160], eax
call qword [sym.imp.user32.dll_EnumWindows]
cmp byte [rbp + 0x164], 0
jne 0x180008f6d
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.kernel32.dll_Process32NextW]
cmp eax, 1
je 0x180008eb1
jmp 0x180008f7b
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
mov r14d, dword [rsp + 0x28]
mov r12, qword [rsp + 0x2b8]
cmp rsi, 7
jbe 0x180008fba
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x180008fb2
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008fef
mov rcx, r15
call fcn.1800ce3d0
mov r15, qword [rsp + 0x2c8]
mov eax, r14d
mov r14, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2b0]
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.1800ce3b0
add rsp, 0x290
pop rdi
pop rbx
pop rbp
ret
call fcn.1800d7b00
int3
call fcn.180001ce0
int3
call fcn.180001c40
int3