Function at 0x1400c5948
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov rax, qword [0x14015a100]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov byte [rsp + 0x21], r8b
mov dil, dl
mov byte [rsp + 0x20], dl
mov rsi, rcx
mov qword [rsp + 0x78], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
or r14, 0xffffffffffffffff
cmp rax, r14
je 0x1400c5bbb
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor ebx, ebx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
xor r8d, r8d
lea rdx, [0x1401384dc]
lea rcx, [rbp - 0x80]
call fcn.14002772c
nop
mov dword [rbp - 0x60], 0x238
mov r15b, bl
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400c5ba4
mov r13d, ebx
lea rax, [rbp - 0x34]
mov rdx, r14
inc rdx
cmp word [rax + rdx*2], bx
jne 0x1400c59fc
cmp rdx, qword [rbp - 0x68]
ja 0x1400c5a3f
lea rdi, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdi, qword [rbp - 0x80]
mov qword [rbp - 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x34]
mov rcx, rdi
call fcn.14011c260
xor ecx, ecx
mov word [rbx + rdi], cx
mov dil, byte [rsp + 0x20]
xor ebx, ebx
jmp 0x1400c5a4c
lea r9, [rbp - 0x34]
lea rcx, [rbp - 0x80]
call fcn.140027494
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400c5a59
mov rcx, qword [rsi]
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r8, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rsi + 0x10]
jne 0x1400c5c11
test rdx, rdx
je 0x1400c5a95
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400c5c11
add rcx, 2
sub rdx, 1
jne 0x1400c5a7d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 0x2c
lea rdx, str.MkJUXQURRDVFEwlcEZPbZ1VamWF8xCMSUjINHo0uSBU
lea rcx, [rsp + 0x50]
call fcn.14002772c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400c7ca0
nop
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8, r14
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400c5ae6
lea rcx, [rsp + 0x30]
call fcn.14002772c
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
mov rax, r14
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400c5b0e
mov rdx, qword [rsi + 0x10]
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400c5b28
mov r8, qword [rsi]
cmp rdx, rax
jne 0x1400c5b4b
test rdx, rdx
je 0x1400c5b49
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400c5b4b
add rcx, 2
sub rdx, 1
jne 0x1400c5b35
mov bl, 1
lea rcx, [rsp + 0x30]
call fcn.140022df0
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1400c5b77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x1400c5bf6
inc r13d
cmp dil, 1
jne 0x1400c5b94
mov edx, dword [rbp - 0x58]
lea rcx, [0x1400c58e8]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp r13d, 5
ja 0x1400c5ba1
cmp byte [rsp + 0x21], 1
jne 0x1400c5c0f
mov r15b, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx r14d, r15b
lea rcx, [rbp - 0x80]
call fcn.140022df0
nop
mov rcx, rsi
call fcn.140022df0
mov eax, r14d
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400f2140
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp dil, 1
jne 0x1400c5c0c
mov edx, dword [rbp - 0x58]
lea rcx, [0x1400c58e8]
call qword [sym.imp.USER32.dll_EnumWindows]
mov r15b, 1
xor ebx, ebx
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400c59f5
jmp 0x1400c5ba4