Function at 0x14008e5e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rdx
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x38], r12
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r15d, r12d
mov qword [rsp + 0x48], r12
lea ecx, [r12 + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14008e701
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov dword [rsp + 0x50], 0x20
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetTcpTable2]
cmp eax, 0x7a
jne 0x14008e6b6
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x38], r12
mov edi, dword [rsp + 0x50]
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14008e701
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetTcpTable2]
test eax, eax
jne 0x14008e701
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x14008e701
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14008e73c
nop
test r14, r14
je 0x14008e715
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x38], r12
test r15, r15
je 0x14008e728
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], r12
mov eax, 1
jmp 0x14008ea71
mov edi, r12d
mov dword [rsp + 0x40], r12d
lea r13, [0x140000000]
nop dword [rax + rax]
cmp edi, dword [r14]
jae 0x14008e8ea
mov eax, dword [rbx]
imul rdx, rax, 0x620
add rdx, 0x620
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14008ea2b
mov qword [rbx + 8], rax
mov ecx, dword [rbx]
imul rcx, rcx, 0x620
add rcx, rax
xor edx, edx
mov r8d, 0x620
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x10], r12d
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x14], r12d
mov eax, edi
imul rsi, rax, 0x1c
add rsi, r14
mov edx, dword [rsi + 0x18]
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 8], edx
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0xc], r12d
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 4], r12d
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x20], r12d
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x1c], r12d
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax], r12d
mov edx, dword [rsi + 4]
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x18], edx
mov eax, dword [rsi + 4]
dec eax
cmp eax, 0xb
ja case.default.0x14008e85c
mov ecx, dword [r13 + rax*4 + 0x8eaa0]
add rcx, r13
jmp rcx
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x30], eax
movzx eax, ax
mov dword [rsp + 0x30], eax
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x10], edx
mov eax, dword [rsi + 0x14]
mov dword [rsp + 0x30], eax
movzx ecx, ax
mov dword [rsp + 0x30], ecx
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x14], edx
jmp 0x14008e8dd
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x10], 0xffff
mov eax, dword [rbx]
imul rcx, rax, 0x620
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 0x14], 0xffff
inc dword [rbx]
inc edi
mov dword [rsp + 0x40], edi
jmp 0x14008e750
mov esi, r12d
mov dword [rsp + 0x44], r12d
mov ecx, dword [rsp + 0x68]
cmp esi, dword [rbx]
jae 0x14008ea2b
mov eax, esi
imul rdi, rax, 0x620
mov rax, qword [rbx + 8]
cmp dword [rax + rdi + 8], ecx
jne 0x14008ea20
mov dword [rax + rdi + 8], ecx
mov rcx, qword [rbx + 8]
mov eax, dword [rsp + 0x80]
mov dword [rcx + rdi + 0xc], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rsp + 0x78]
mov dword [rcx + rdi + 4], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rsp + 0x7c]
mov dword [rcx + rdi + 0x20], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rsp + 0x84]
mov dword [rcx + rdi + 0x1c], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rsp + 0x88]
mov dword [rdi + rcx], eax
cmp word [rsp + 0x8c], 0
je 0x14008ea1c
mov rcx, qword [rbx + 8]
add rcx, 0x222
add rcx, rdi
xor edx, edx
mov r8d, 0x3fc
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 8]
add rcx, 0x222
add rcx, rdi
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
lea r9, [0x1400feafc]
mov edx, 0x1fe
mov r8, 0xffffffffffffffff
call fcn.140001140
mov rax, qword [rbx + 8]
mov word [rax + rdi + 0x61c], r12w
mov rcx, qword [rbx + 8]
add rcx, 0x24
add rcx, rdi
xor edx, edx
mov r8d, 0x1fe
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 8]
lea r9, [rax + 0x222]
add r9, rdi
lea rdx, [rax + 0x24]
add rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r8d, 0x1fe
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
cmp eax, 0x2a
je 0x14008ea1c
test eax, eax
je 0x14008ea1c
cmp eax, 0x50
jne 0x14008ea2b
mov ecx, dword [rsp + 0x68]
inc esi
mov dword [rsp + 0x44], esi
jmp 0x14008e8f6
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x14008e8ea
test r14, r14
je 0x14008ea55
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x38], r12
test r15, r15
je 0x14008ea68
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], r12
xor eax, eax
jmp 0x14008ea71
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140001ea0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret