Function at 0x140050d40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r12, rcx
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
cmp rax, rdx
je 0x140050dd6
sub rdx, rax
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
mov rbp, rdx
sar rbp, 3
mov rax, rbp
shr rax, 0x3f
add rbp, rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140050ddd
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.findProcesses:_CreateToolhelp32Snapshot_failed___d
mov rcx, rbx
call fcn.140067c40
xor al, al
jmp 0x140050fb4
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, r13
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x140050e26
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.findProcesses:_Process32First_failed___d
mov rcx, rbx
call fcn.140067c40
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140050fb4
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140050e46
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400056b0
nop
lea r14, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0xf
cmova r14, rdi
lea rcx, [rsp + 0x20]
cmova rcx, rdi
mov r15, qword [rsp + 0x30]
add r15, rcx
lea rbx, [rsp + 0x20]
cmp rsi, 0xf
cmova rbx, rdi
cmp rbx, r15
je 0x140050ebe
sub r14, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.140175910
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r15
jne 0x140050ea0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
mov r14, qword [r12 + 8]
mov rbx, qword [r12]
cmp rbx, r14
je 0x140050f24
nop dword [rax]
cmp byte [rbx], 1
je 0x140050f1b
lea rdx, [rsp + 0x20]
cmp rsi, 0xf
cmova rdx, rdi
mov r8, qword [rbx + 0x18]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 0xf
jbe 0x140050ef4
mov rcx, qword [rcx]
cmp r8, qword [rsp + 0x30]
jne 0x140050f1b
call fcn.140191dc0
test eax, eax
jne 0x140050f1b
mov byte [rbx], 1
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x28], eax
dec rbp
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
add rbx, 0x30
cmp rbx, r14
jne 0x140050ed0
test rbp, rbp
je 0x140050f76
cmp rsi, 0xf
jbe 0x140050f60
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140050f58
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050fe5
mov rcx, rdi
call fcn.14016aab8
lea rdx, [rsp + 0x40]
mov rcx, r13
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140050fa9
jmp 0x140050e26
cmp rsi, 0xf
jbe 0x140050fa9
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140050fa1
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050fe5
mov rcx, rdi
call fcn.14016aab8
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14016ab50
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140170de4
int3