Function at 0x1401035b0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4e0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x60], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
movdqu xmmword [rsp + 0x48], xmm0
mov r14d, edi
mov qword [rsp + 0x58], rdi
xor edx, edx
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x14010364b
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
jmp 0x14010384b
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.14028e7e0
mov dword [rbp - 0x80], 0x238
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r15d, eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.14028e7e0
lea rdx, [rbp - 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32FirstW
mov rdi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x48]
test eax, eax
je 0x140103801
mov rsi, qword [rsp + 0x50]
cmp dword [rbp - 0x78], r15d
jne 0x14010370e
mov r8d, r15d
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x1401037ad
lea r8, [0x140328340]
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.14029dd40
mov dword [rsp + 0x38], 0x104
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x1c0]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x140103727
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1401037b6
jmp 0x1401036a3
cmp rdi, qword [rsp + 0x30]
jne 0x140103742
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1401030a4
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
test rdi, rdi
je 0x140103761
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call fcn.140100e10
nop
add rdi, 0x20
mov qword [rsp + 0x28], rdi
cmp rsi, r14
jne 0x14010378d
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140103028
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
test rsi, rsi
je 0x140103795
mov dword [rsi], r15d
add rsi, 4
mov qword [rsp + 0x50], rsi
mov r15d, dword [rbp - 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401037b1
or r15d, 0xffffffff
mov r13, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140103801
cmp r15d, 0xffffffff
je 0x140103801
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp r15d, eax
je 0x140103801
mov rax, r12
cmp r12, rsi
je 0x1401037ed
cmp dword [rax], r15d
je 0x1401037e8
add rax, 4
cmp rax, rsi
jne 0x1401037da
cmp rax, rsi
jne 0x140103801
lea rdx, [rbp - 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1401036a3
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov rax, qword [rsp + 0x20]
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rcx
test r12, r12
je 0x14010384b
sub r14, r12
sar r14, 2
lea r8d, [rcx + 4]
mov rdx, r14
mov rcx, r12
call fcn.14002e5a0
nop
lea rcx, [rsp + 0x20]
call fcn.140103120
mov rax, rbx
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14026d870
lea r11, [rsp + 0x4e0]
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