Function at 0x14000d870
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x368
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x2e0], 0xfffffffffffffffe
mov r14d, edx
mov qword [rbp + 0x2d0], rcx
mov word [rbp + 0x2dc], r14w
mov eax, edx
shr eax, 0x10
mov byte [rbp + 0x2de], al
movzx eax, byte [0x140292301]
mov ebx, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.140008550
test rax, rax
je 0x14000dd82
mov rsi, rax
mov qword [rbp + 0x288], 0x80000
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x298], 0
xor edx, edx
lea rdi, [rbp + 0x288]
lea r12, [rbp + 0xf0]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r15d, 0x80000
mov dword [rbp + 0xf0], 0
sub rbx, rdx
cmp rbx, r15
jae 0x14000d942
nop word cs:[rax + rax]
mov rcx, rdi
mov r8, r15
call fcn.1401a1380
mov rsi, qword [rbp + 0x290]
mov ecx, 5
mov rdx, rsi
mov r8d, r15d
mov r9, r12
call r13
cmp eax, 0xc0000004
jne 0x14000d991
mov eax, dword [rbp + 0xf0]
add r15, r15
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r15, rcx
mov rbx, qword [rbp + 0x288]
mov rdx, qword [rbp + 0x298]
mov dword [rbp + 0xf0], 0
sub rbx, rdx
cmp rbx, r15
jb 0x14000d930
jmp 0x14000d942
test eax, eax
jne 0x14000dd53
mov qword [rbp + 0x298], r15
movzx eax, byte [0x140292301]
mov ecx, 0xfa0
mov edx, 8
call fcn.140008550
test rax, rax
je 0x14000dd91
mov qword [rbp + 0x2b0], 0x1f4
mov qword [rbp + 0x2b8], rax
mov qword [rbp + 0x2c0], 0
xor edx, edx
lea rdi, [rbp + 0x2b0]
xor ebx, ebx
mov r15, qword [rbp + 0x2d0]
jmp 0x14000da1a
lea rax, [rsi + rbx]
mov rcx, qword [rbp + 0x2b8]
mov qword [rcx + rdx*8], rax
mov rdx, qword [rbp + 0x2c0]
inc rdx
mov qword [rbp + 0x2c0], rdx
mov eax, dword [rax]
add rbx, rax
test rax, rax
je 0x14000da3b
cmp rdx, qword [rbp + 0x2b0]
jne 0x14000d9f0
mov byte [rbp + 0x2df], 1
mov rcx, rdi
call fcn.140011ea0
mov rdx, qword [rbp + 0x2c0]
jmp 0x14000d9f0
lea rax, [r15 + 0xd8]
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x270], rax
test r14b, r14b
je 0x14000da72
mov byte [rbp + 0x2df], 1
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14000ae20
mov rax, qword [r15 + 0x80]
jmp 0x14000da74
xor eax, eax
mov qword [rbp + 0x268], rax
mov byte [rbp + 0x2df], 1
call fcn.140188690
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], edx
mov byte [rbp + 0x2df], 1
lea rcx, [rbp + 0xf0]
lea rdx, [rbp - 0x60]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.1401886c0
cmp qword [rbp + 0xf0], 0
je 0x14000dabe
xor eax, eax
jmp 0x14000dac5
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x2c0]
mov qword [rbp + 0x100], rax
movups xmm0, xmmword [rbp + 0x2b0]
movaps xmmword [rbp + 0xf0], xmm0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 8
mov qword [rbp - 0x50], 0
lea rax, [rbp + 0x270]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x2dc]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x268]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x260]
mov qword [rbp + 0x120], rax
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0xf0]
call fcn.140018ca0
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x50]
imul rbx, rax, 0x150
add rbx, rcx
mov qword [rbp + 0x240], rcx
mov qword [rbp + 0x248], rcx
mov qword [rbp + 0x2a8], rdx
mov qword [rbp + 0x250], rdx
mov qword [rbp + 0x258], rbx
mov qword [rbp + 0x2a0], rcx
mov r8, rcx
test rax, rax
je 0x14000dcb7
lea r14, [rbp + 0xf8]
mov rax, qword [rbp + 0x2a0]
lea r8, [rax + 0x150]
lea r15, [rbp - 0x60]
jmp 0x14000dbce
mov r8, qword [rbp + 0x2c8]
add r8, 0x150
add rdi, 0x150
cmp rdi, rbx
je 0x14000dcad
mov r12, qword [r8 - 0x150]
cmp r12, 2
je 0x14000dcb0
mov qword [rbp + 0x2c8], r8
lea rdi, [r8 - 0x150]
mov r13, qword [rdi + 0xd8]
lea rdx, [rdi + 8]
mov r8d, 0xd0
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rdi + 0xe0]
movups xmm1, xmmword [rdi + 0xf0]
movups xmm2, xmmword [rdi + 0x100]
movups xmm3, xmmword [rdi + 0x110]
movups xmmword [r14 + 0xd8], xmm0
movups xmmword [r14 + 0xe8], xmm1
movups xmmword [r14 + 0xf8], xmm2
movups xmmword [r14 + 0x108], xmm3
movups xmm0, xmmword [rdi + 0x120]
movups xmmword [r14 + 0x118], xmm0
movups xmm0, xmmword [rdi + 0x130]
movups xmmword [r14 + 0x128], xmm0
movups xmm0, xmmword [rdi + 0x140]
movups xmmword [r14 + 0x138], xmm0
mov qword [rbp + 0xf0], r12
mov qword [rbp + 0x1c8], r13
mov rcx, r15
mov rdx, qword [rbp + 0x280]
mov r8, r13
lea r9, [rbp + 0xf0]
call fcn.140018370
cmp dword [rbp - 0x60], 2
je 0x14000dbb0
mov rcx, r15
call fcn.14000c000
jmp 0x14000dbb0
mov r8, rbx
mov qword [rbp + 0x248], r8
sub rbx, r8
shr rbx, 4
movabs rcx, 0xc30c30c30c30c31
mov rax, rbx
mul rcx
mov qword [rbp + 0x278], rdx
xor eax, eax
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0x2c8], r8
mov rcx, r8
nop dword [rax + rax]
mov rax, qword [rbp + 0x2d0]
cmp qword [rbp + 0x278], rax
je 0x14000dd1b
inc rax
mov qword [rbp + 0x2d0], rax
lea rdi, [rcx + 0x150]
call fcn.140013640
mov rcx, rdi
jmp 0x14000dcf0
mov rax, qword [rbp + 0x2a8]
test rax, rax
je 0x14000dd40
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x2a0]
call fcn.140008560
mov byte [rbp + 0x2df], 0
mov rcx, qword [rbp + 0x280]
call fcn.140018740
mov rdx, qword [rbp + 0x288]
test rdx, rdx
je 0x14000dd6d
mov r8d, 1
mov rcx, rsi
call fcn.140008560
nop
add rsp, 0x368
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 1
mov edx, 0x80000
call fcn.1401ad260
mov ecx, 8
mov edx, 0xfa0
call fcn.1401ad260
ud2