Function at 0x1400016fe
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
sub rsp, 0x588
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x520], rcx
mov qword [rbp + 0x528], rdx
mov qword [rbp + 0x530], r8
lea rdx, [rbp + 0x3b0]
mov eax, 0
mov ecx, 0x26
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp + 0x3b0], 0x130
mov qword [rbp + 0x4f0], 0
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0x4f0], rax
cmp qword [rbp + 0x4f0], 0xffffffffffffffff
jne 0x1400017a4
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____CreateToolhelp32Snapshot_Failed_With_Error_:__d__n
mov rcx, rax
call sym.printf
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ecx, eax
call sym.displayErrorMessage
mov eax, 0
jmp 0x14000199e
lea rax, str.___hSnapShot_n
mov rcx, rax
call sym.printf
lea rdx, [rbp + 0x3b0]
mov rax, qword [rbp + 0x4f0]
mov rcx, rax
call sym.Process32First
test eax, eax
jne 0x140001814
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Process32First_Failed_With_Error_:__d__n
mov rcx, rax
call sym.printf
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ecx, eax
call sym.displayErrorMessage
mov rax, qword [rbp + 0x4f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x14000199e
lea rax, str.___Process32First_n
mov rcx, rax
call sym.printf
jmp 0x140001956
lea rax, [rbp + 0x3b0]
add rax, 0x2c
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_lstrlenW]
call rax
mov dword [rbp + 0x4ec], eax
mov dword [rbp + 0x4fc], 0
cmp dword [rbp + 0x4ec], 0x207
ja 0x1400018b3
jmp 0x14000188d
mov eax, dword [rbp + 0x4fc]
movzx eax, byte [rbp + rax + 0x3dc]
movsx eax, al
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll_tolower]
call rax
mov edx, eax
mov eax, dword [rbp + 0x4fc]
mov word [rbp + rax*2 - 0x60], dx
add dword [rbp + 0x4fc], 1
mov eax, dword [rbp + 0x4fc]
cmp eax, dword [rbp + 0x4ec]
jb 0x14000185d
mov eax, dword [rbp + 0x4fc]
lea edx, [rax + 1]
mov dword [rbp + 0x4fc], edx
mov eax, eax
mov word [rbp + rax*2 - 0x60], 0
mov rdx, qword [rbp + 0x520]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.wcscmp
test eax, eax
jne 0x140001956
mov edx, dword [rbp + 0x3b8]
mov rax, qword [rbp + 0x528]
mov dword [rax], edx
mov eax, dword [rbp + 0x3b8]
mov r8d, eax
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov rdx, qword [rbp + 0x530]
mov qword [rdx], rax
mov rax, qword [rbp + 0x530]
mov rax, qword [rax]
test rax, rax
jne 0x140001976
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____OpenProcess_Failed_With_Error_:__d__n
mov rcx, rax
call sym.printf
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ecx, eax
call sym.displayErrorMessage
mov rax, qword [rbp + 0x4f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x14000199e
lea rdx, [rbp + 0x3b0]
mov rax, qword [rbp + 0x4f0]
mov rcx, rax
call sym.Process32Next
test eax, eax
jne 0x140001828
jmp 0x140001977
nop
lea rax, str.___GetProcess_Finish_n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x4f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
add rsp, 0x588
pop rdi
pop rbp
ret