Function at 0x14016c8cc
Capabilities:
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 - 0x3f8]
sub rsp, 0x4d0
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor r15d, r15d
mov qword [rsp + 0x60], r15
movdqu xmmword [rsp + 0x38], xmm0
mov r14d, r15d
mov qword [rsp + 0x48], r15
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x14016c952
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
jmp 0x14016cb47
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call fcn.140138ee0
mov dword [rsp + 0x70], 0x238
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov dword [rsp + 0x20], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call fcn.140138ee0
lea rdx, [rsp + 0x70]
mov rcx, r13
call sub.KERNEL32.dll_Process32FirstW
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x38]
test eax, eax
je 0x14016cb0c
mov rsi, qword [rsp + 0x40]
cmp dword [rsp + 0x78], edi
jne 0x14016ca1b
mov r8d, edi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x14016cab7
lea r8, [0x140355f14]
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.1401475b8
mov dword [rsp + 0x30], 0x104
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1b0]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x14016ca35
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x28]
lea rdx, [rsp + 0x70]
mov rcx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14016cac3
jmp 0x14016c9b0
cmp r15, qword [rsp + 0x60]
je 0x14016ca59
xor r8d, r8d
lea rdx, [rbp + 0x1b0]
mov rcx, r15
call fcn.140169f4c
add r15, 0x20
mov qword [rsp + 0x58], r15
jmp 0x14016ca72
lea r8, [rbp + 0x1b0]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14016a2e0
mov r15, qword [rsp + 0x58]
cmp rsi, r14
je 0x14016ca84
mov dword [rsi], edi
add rsi, 4
mov qword [rsp + 0x40], rsi
jmp 0x14016caa5
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.14016a010
mov r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
mov edi, dword [rbp - 0x70]
mov dword [rsp + 0x20], edi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14016cabe
or edi, 0xffffffff
mov dword [rsp + 0x20], edi
mov r13, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x14016cb0c
cmp edi, 0xffffffff
je 0x14016cb0c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
je 0x14016cb0c
mov rax, r12
cmp r12, rsi
je 0x14016caf7
cmp dword [rax], edi
je 0x14016caf2
add rax, 4
cmp rax, rsi
jne 0x14016cae5
cmp rax, rsi
jne 0x14016cb0c
lea rdx, [rsp + 0x70]
mov rcx, r13
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14016c9b0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
test r12, r12
je 0x14016cb47
sub r14, r12
sar r14, 2
lea rdx, [r14*4]
mov rcx, r12
call fcn.1400331fc
nop
mov rax, rbx
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x4d0]
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