Function at 0x140019610
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140019680
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x140019687
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140019935
xor r12d, r12d
lea r13d, [r12 + 1]
nop
mov qword [rbp + 0x90], r12
mov qword [rbp + 0xa8], 0xf
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xb0]
call fcn.140020860
mov qword [rbp + 0xa0], r12
mov byte [rbp + 0x90], 0
xor dil, dil
mov qword [rsp + 0x50], r12
mov r8d, dword [rbp - 0x80]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140019717
lea r8, [rsp + 0x50]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140019717
lea rdx, [rbp + 0x90]
mov rcx, qword [rsp + 0x50]
call fcn.140019010
movzx edi, dil
test al, al
cmovne edi, r13d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140019727
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140019735
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x140019838
mov dword [rsp + 0x50], 0xffffffff
lea rdx, [rsp + 0x50]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov esi, dword [rsp + 0x50]
lea rdi, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdi, qword [rbp + 0x90]
mov ebx, dword [rsp + 0x68]
call fcn.14001bda0
test al, al
jne 0x140019781
xor cl, cl
jmp 0x1400197e9
mov r8d, ebx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14001979d
xor cl, cl
jmp 0x1400197e9
mov dword [rsp + 0x58], r12d
lea rcx, [0x14004c680]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
test rax, rax
jne 0x1400197d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor cl, cl
jmp 0x1400197e9
lea rdx, [rsp + 0x58]
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x58], 0
sete cl
lea rax, [0x14004c690]
test cl, cl
lea rcx, [0x14004c68c]
cmovne rax, rcx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x74]
lea r8, str._s_t_d_t_d_t_s_t_s_t_d_n
mov edx, 0x200
lea rcx, [rbp + 0xb0]
call fcn.14001a0f0
jmp 0x140019863
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x74]
lea r8, str._s_t_d_t_d_n
mov edx, 0x200
lea rcx, [rbp + 0xb0]
call fcn.14001a0f0
lea rax, [rbp + 0xb0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140019871
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x1400198bd
lea rax, [rcx + rbx]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x1400198a1
mov rax, qword [r14]
lea rdi, [rax + rcx]
mov r8, rbx
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call fcn.14001ff70
mov byte [rdi + rbx], 0
jmp 0x1400198d8
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xb0]
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call fcn.140003a60
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140019915
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019910
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019965
call fcn.14001df5c
lea rdx, [rsp + 0x60]
mov rcx, r15
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140019690
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14001df00
lea r11, [rsp + 0x3c0]
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
call fcn.140024798
int3