Function at 0x1400016f0
Capabilities:
Enumerate gui resources
Enumerate processes
Get process image filename

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rbx
push rdi
push r13
lea rbp, [r11 - 0x5d8]
sub rsp, 0x6b8
xor eax, eax
mov r13, r8
mov qword [0x140004010], rax
mov rbx, rdx
mov dword [rbp + 0x5f8], eax
mov rdi, rcx
test rcx, rcx
je 0x1400019aa
cmp word [rcx], ax
je 0x1400019aa
xor edx, edx
mov qword [r11 + 0x18], rsi
lea ecx, [rax + 2]
mov dword [rsp + 0x60], 0x238
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov qword [rsp + 0x20], rax
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
test rsi, rsi
je 0x14000195b
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001952
mov qword [rsp + 0x6b0], r12
mov qword [rsp + 0x6a8], r14
mov qword [rsp + 0x6a0], r15
nop word [rax + rax]
mov r12d, dword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsdup]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [0x14000332c]
mov r15, rax
call qword [sym.imp.msvcrt.dll_wcstok_s]
mov rdi, rax
test rax, rax
je 0x140001976
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
je 0x14000185d
mov r8d, r12d
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000186e
mov r8d, 0x200
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
mov r14d, eax
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140001830
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14d, ebx
jbe 0x14000186e
mov eax, ebx
mov rcx, r14
sub rcx, rax
lea rax, [rbp + 0x1a0]
lea rcx, [rax + rcx*2]
jmp 0x140001861
lea rcx, [rbp - 0x74]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400018a1
lea r8, [rsp + 0x28]
xor ecx, ecx
lea rdx, [0x14000332c]
call qword [sym.imp.msvcrt.dll_wcstok_s]
mov rdi, rax
test rax, rax
jne 0x1400017e2
mov rcx, r15
call qword [sym.imp.msvcrt.dll_free]
mov rsi, qword [rsp + 0x20]
jmp 0x14000197f
mov rcx, r15
call qword [sym.imp.msvcrt.dll_free]
mov ecx, dword [rsp + 0x68]
mov rax, 0xffffffffffffffff
mov rbx, qword [rbp + 0x5e8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r13
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400018d0
test rax, rax
jne 0x140001905
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r13 + rax*2], 0
jne 0x1400018f0
test rax, rax
je 0x14000199d
lea rdx, [rsp + 0x30]
lea rcx, [0x1400015e0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x48], 0
mov rsi, qword [rsp + 0x20]
je 0x14000197f
mov eax, dword [rsp + 0x68]
mov dword [rbp + 0x5f8], eax
mov rax, qword [rsp + 0x50]
mov qword [0x140004010], rax
mov r14, qword [rsp + 0x6a8]
mov r12, qword [rsp + 0x6b0]
mov r15, qword [rsp + 0x6a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x5f8]
mov rsi, qword [rsp + 0x6f0]
add rsp, 0x6b8
pop r13
pop rdi
pop rbx
pop rbp
ret
mov rcx, r15
call qword [sym.imp.msvcrt.dll_free]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000193a
mov rdi, qword [rbp + 0x5e0]
jmp 0x1400017b0
mov rsi, qword [rsp + 0x20]
mov dword [rbp + 0x5f8], ecx
jmp 0x14000193a
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x140004010], rax
test rax, rax
je 0x1400019e5
lea rdx, [rbp + 0x5f8]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbp + 0x5f8]
add rsp, 0x6b8
pop r13
pop rdi
pop rbx
pop rbp
ret
add rsp, 0x6b8
pop r13
pop rdi
pop rbx
pop rbp
ret