Function at 0x1400a3000
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400ee0e8]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13d, edx
xor r15d, r15d
mov dword [rsp + 0x50], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400a3323
xor r14d, r14d
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x1400a331a
lea rbx, [0x1400de840]
call fcn.14000c5a0
mov rcx, rax
test rax, rax
je 0x1400a330f
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
cmp rax, rbx
jne 0x1400a30ae
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x1400a30b0
call rdx
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x7c]
lea rax, [rsp + 0x7c]
test rax, 0xffffffffffff0000
jne 0x1400a30ec
movzx edi, cx
mov ecx, edi
call fcn.14000c170
test rax, rax
je 0x1400a3115
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000bc70
jmp 0x1400a3110
lea rcx, [rsp + 0x7c]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400a30f5
mov r8d, eax
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x28]
call fcn.14000bdc0
mov rbx, qword [rsp + 0x28]
cmp dword [rbx - 0x10], 0
jl 0x1400a3155
lea rdx, [0x1400dbd28]
mov rcx, rbx
call fcn.14005ee60
test rax, rax
je 0x1400a3155
cmp eax, ebx
js 0x1400a3155
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [rsp + 0x20], r13d
cmove r14d, dword [rsp + 0x58]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
lea rbx, [0x1400de840]
jg 0x1400a3194
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, rbx
jne 0x1400a3191
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400a3194
call r8
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x1400a3087
test r14d, r14d
je 0x1400a331a
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x1400a331a
lea rsi, [rsp + 0x7c]
shr rsi, 0x10
mov edi, eax
call fcn.14000c5a0
mov rcx, rax
test rax, rax
je 0x1400a3304
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
cmp rax, rbx
jne 0x1400a31fd
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x1400a31ff
call rdx
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x7c]
test rsi, rsi
jne 0x1400a3238
movzx edi, ax
mov ecx, edi
call fcn.14000c170
test rax, rax
je 0x1400a3263
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000bc70
mov rbx, qword [rsp + 0x30]
jmp 0x1400a3263
lea rcx, [rsp + 0x7c]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400a3241
mov r8d, eax
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.14000bdc0
mov rbx, qword [rsp + 0x30]
jmp 0x1400a3268
mov edi, 1
cmp dword [rbx - 0x10], 0
jl 0x1400a32ad
lea rdx, str..scr
mov rcx, rbx
call fcn.14005ee60
test rax, rax
je 0x1400a32ad
cmp eax, ebx
js 0x1400a32ad
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [rsp + 0x24], r13d
jne 0x1400a32ad
cmp dword [rsp + 0x70], r14d
cmove r15d, edi
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
lea rbx, [0x1400de840]
jg 0x1400a32ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, rbx
jne 0x1400a32e9
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400a32ec
call r8
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x1400a331a
jmp 0x1400a31d6
mov ecx, 0x80004005
call fcn.14000c2c0
int3
mov ecx, 0x80004005
call fcn.14000c2c0
int3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400518f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret