Function at 0x140005800
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14027dea0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r13, rdx
call fcn.14000f368
mov rdx, rax
xor r15d, r15d
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140005860
mov ecx, 0x80004005
call fcn.140001980
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x20], rax
call fcn.14000f368
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140005892
mov ecx, 0x80004005
call fcn.140001980
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x40], 0x130
xor edx, edx
mov r8d, Ordinal_301
lea rcx, [rsp + 0x44]
call fcn.14016c790
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
lea rdx, [rsp + 0x40]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
or r12, 0xffffffffffffffff
test eax, eax
je 0x140005ba2
test r13, r13
jne 0x1400058ee
mov ecx, r15d
jmp 0x1400058fe
xor eax, eax
mov rcx, r12
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, r13
lea rcx, [rsp + 0x20]
call fcn.140002570
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x6c]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14000597b
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400059e7
cmp dword [rdx + 0x10], eax
jge 0x140005950
cmp dword [rbx - 0xc], eax
jl 0x140005aea
mov dword [rbx - 0x10], r15d
mov byte [rbx], al
jmp 0x1400059e7
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140005967
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
jmp 0x1400059e7
mov ebp, dword [rbx - 0x10]
lea rsi, [rsp + 0x6c]
sub rsi, rbx
test ecx, ecx
js 0x140005b97
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400059b0
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140002380
mov rbx, qword [rsp + 0x28]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp rsi, rbp
movsxd rbp, edi
mov r9, rbp
ja 0x1400059cd
lea r8, [rsi + rbx]
call fcn.14016c314
jmp 0x1400059d7
lea r8, [rsp + 0x6c]
call fcn.14016c28c
cmp edi, dword [rbx - 0xc]
jg 0x140005b8c
mov dword [rbx - 0x10], edi
mov byte [rbx + rbp], 0
mov rdi, qword [rsp + 0x20]
movsxd rsi, dword [rdi - 0x10]
test esi, esi
js 0x140005b81
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, esi
or ecx, eax
jge 0x140005a1a
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.140002380
mov rdi, qword [rsp + 0x20]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rdi
call fcn.14016d334
test eax, eax
je 0x140005a50
cmp eax, 0xc
je 0x140005b01
cmp eax, 0x16
je 0x140005afb
cmp eax, 0x22
je 0x140005afb
cmp eax, 0x50
jne 0x140005af5
cmp esi, dword [rdi - 0xc]
jg 0x140005b76
mov dword [rdi - 0x10], esi
mov byte [rsi + rdi], 0
movsxd rsi, dword [rbx - 0x10]
test esi, esi
js 0x140005b6b
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x140005a8e
mov edx, esi
lea rcx, [rsp + 0x28]
call fcn.140002380
mov rbx, qword [rsp + 0x28]
lea eax, [rsi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14016d334
test eax, eax
je 0x140005ab4
cmp eax, 0xc
je 0x140005b13
cmp eax, 0x16
je 0x140005b0d
cmp eax, 0x22
je 0x140005b0d
cmp eax, 0x50
jne 0x140005b07
cmp esi, dword [rbx - 0xc]
jg 0x140005b60
mov dword [rbx - 0x10], esi
mov byte [rsi + rbx], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14016d07c
test eax, eax
sete al
test al, al
jne 0x140005b19
lea rdx, [rsp + 0x40]
mov rcx, r14
call sub.KERNEL32.dll_Process32Next
jmp 0x1400058dc
mov ecx, 0x80070057
call fcn.140001980
int3
call fcn.14000f1f0
int3
call fcn.14000f1f0
int3
call fcn.14000f1a8
int3
call fcn.14000f1f0
int3
call fcn.14000f1f0
int3
call fcn.14000f1a8
int3
mov edi, dword [rsp + 0x48]
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140005b39
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140005b59
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
jmp 0x140005be0
mov ecx, 0x80070057
call fcn.140001980
int3
mov ecx, 0x80070057
call fcn.140001980
int3
mov ecx, 0x80070057
call fcn.140001980
int3
mov ecx, 0x80070057
call fcn.140001980
int3
mov ecx, 0x80070057
call fcn.140001980
int3
mov ecx, 0x80070057
call fcn.140001980
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140005bbe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140005bde
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14016c130
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret