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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x378
movdqa xmmword [rsp + 0x360], xmm6
mov rbx, rdx
mov rsi, rcx
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800d714e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d7bdf
mov rcx, rax
mov qword [0x18016cb80], rax
mov ebp, 0x80000
mov r8d, 0x80000
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d7bdf
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x80000
mov qword [rsp + 0x70], 0
xor edx, edx
lea r14, [rsp + 0x60]
lea r15, [rsp + 0x150]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r12d, 0x80000
jmp 0x1800d71ba
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x150], 0
sub rbp, rdx
cmp rbp, r12
jb 0x1800d7224
mov ecx, 5
mov rdx, rdi
mov r8d, r12d
mov r9, r15
call r13
test eax, eax
jns 0x1800d7236
or eax, 0x10000000
mov ecx, eax
call fcn.1800f78d0
cmp edx, 0xd0000004
jne 0x1800d7320
mov ecx, dword [rsp + 0x150]
mov rdx, r12
add rdx, r12
lea r12d, [rcx + 0x2800]
test ecx, ecx
cmove r12, rdx
test rax, rax
je 0x1800d71b0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
jmp 0x1800d71b0
mov rcx, r14
mov r8, r12
call fcn.1801085a0
mov rdi, qword [rsp + 0x60]
jmp 0x1800d71cd
mov qword [rsp + 0x70], r12
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800d7267
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800d7bf0
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0xfa0
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800d7bf0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0x1f4
mov qword [rsp + 0x88], 0
xor edx, edx
lea r14, [rsp + 0x78]
xor r15d, r15d
jmp 0x1800d72c7
mov qword [rax + rdx*8], r13
inc rdx
mov qword [rsp + 0x88], rdx
add r15, r12
test r12, r12
je 0x1800d72f0
lea r13, [rdi + r15]
mov r12d, dword [rdi + r15]
cmp rdx, qword [rsp + 0x80]
jne 0x1800d72b0
mov rcx, r14
call fcn.1800d7c10
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
jmp 0x1800d72b0
lea rax, [rsi + 0x40]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], rax
cmp byte [rbx], 0
je 0x1800d734b
lea rcx, [rsi + 0x90]
xor edx, edx
call fcn.1800d7cd0
mov rax, qword [rsi + 0x110]
jmp 0x1800d734d
test rax, rax
je 0x1800d732e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
cmp qword [rsp + 0x68], 0
je 0x1800d7ba6
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rdi
jmp 0x1800d7ba0
xor eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x150], 0
mov rax, qword [0x18016c030]
lea rcx, [rsp + 0x150]
call rax
mov rax, qword [rsp + 0x150]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jl 0x1800d73a9
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
jmp 0x1800d73ab
xor edx, edx
mov qword [rsp + 0xc0], rdx
mov rdi, qword [rsp + 0x88]
mov qword [rsp + 0x160], rdi
movdqu xmm0, xmmword [rsp + 0x78]
movdqa xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0xc8], 8
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rbx
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x180], rax
mov r14, qword [rsp + 0x158]
cmp r14, rdi
jb 0x1800d7c01
lea r15, [rsp + 0x168]
mov rbx, qword [rsp + 0x150]
mov eax, dword [0x18016cbc4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x1800d746b
add rax, 0x110
jmp 0x1800d7470
call fcn.18004e390
mov rax, qword [rax]
mov r9, qword [rax + 0x210]
xor eax, eax
cmp rdi, 0xffffffffffffffff
sete al
cmp rax, r9
cmova r9, rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x2a8]
mov rdx, rdi
xor r8d, r8d
call fcn.1800d87c0
test r14, r14
je 0x1800d74cc
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2b8]
test rax, rax
je 0x1800d750b
xor r8d, r8d
mov rcx, rbx
nop word [rax + rax]
test rcx, rcx
je 0x1800d7502
add r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
dec rax
jne 0x1800d74f0
test r8, r8
jne 0x1800d7bc2
test rbx, rbx
je 0x1800d75eb
mov r13, qword [sym.imp.kernel32.dll_HeapFree]
lea r14, [rsp + 0xc8]
jmp 0x1800d753c
mov rbx, rdi
test rdi, rdi
je 0x1800d75eb
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x1800d754d
mov qword [rdi + 0x20], 0
mov r15, qword [rbx]
mov rbp, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rbx
call r13
test r15, r15
je 0x1800d75e2
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xd8]
sub rax, rbx
cmp rax, r12
jb 0x1800d75ca
imul rcx, rbx, 0x150
add rcx, qword [rsp + 0xc8]
imul r8, r12, 0x150
mov rdx, r15
call fcn.1800f8be0
add rbx, r12
mov qword [rsp + 0xd8], rbx
test rbp, rbp
je 0x1800d7530
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, r15
call r13
jmp 0x1800d7530
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.18010d510
mov rbx, qword [rsp + 0xd8]
jmp 0x1800d7584
test rdi, rdi
jne 0x1800d767b
mov r14, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xd8]
imul rcx, rax, 0x150
add rcx, r14
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x90], r14
test rax, rax
je 0x1800d79e3
lea rax, [rsi + 0x60]
mov qword [rsp + 0x98], rax
lea r13, [rsp + 0x2a8]
lea r12, [rsp + 0xc8]
pcmpeqd xmm6, xmm6
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x50], rsi
jmp 0x1800d7760
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rdi
call r13
mov rdi, r15
test r15, r15
je 0x1800d75eb
mov r15, qword [rdi + 0x18]
test r15, r15
je 0x1800d768c
mov qword [r15 + 0x20], 0
mov rbx, qword [rdi]
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x1800d76b4
mov r14, rbx
nop dword [rax + rax]
mov rcx, r14
call fcn.1800d9570
add r14, 0x150
dec r12
jne 0x1800d76a0
cmp qword [rdi + 8], 0
je 0x1800d7660
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, rbx
call r13
jmp 0x1800d7660
mov rbx, qword [rsp + 0x50]
movzx edx, dl
sub qword [rbx + 0x50], rdx
lea rdx, [rcx - 0x10]
and rdx, rax
mov byte [r12 + rcx], dil
mov byte [rdx + r12 + 0x10], dil
inc qword [rbx + 0x58]
mov rdi, qword [rbx + 0x40]
neg rcx
imul rbx, rcx, 0x158
mov qword [rdi + rbx - 0x158], r15
mov qword [rdi + rbx - 0x150], rbp
lea rcx, [rdi + rbx]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xb8
mov r13, rsi
mov rdx, rsi
call fcn.1800f8be0
mov qword [rdi + rbx - 0x90], r15
lea rcx, [rdi + rbx]
add rcx, 0xffffffffffffff78
mov r8d, 0x88
lea r12, [rsp + 0xc8]
mov rdx, r12
call fcn.1800f8be0
nop
cmp r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
je 0x1800d7a24
mov rdx, r14
add r14, 0x150
mov rbp, qword [rdx]
cmp rbp, 2
je 0x1800d79e3
lea rdi, [rdx + 0xc8]
mov r15, qword [rdx + 0xc0]
add rdx, 8
mov r8d, 0xb8
mov rbx, rsi
mov rsi, r13
mov rcx, r13
call fcn.1800f8be0
mov r8d, 0x88
mov rcx, r12
mov rdx, rdi
call fcn.1800f8be0
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rbx + 0x68]
mov r8, r15
call fcn.1800e2c70
mov r13, rax
mov r12, qword [rbx + 0x40]
mov rax, qword [rbx + 0x48]
mov rdi, r13
shr rdi, 0x39
movd xmm0, edi
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
lea rcx, [r12 - 0x158]
xor edx, edx
mov r8, r13
and r8, rax
movdqu xmm1, xmmword [r12 + r8]
movdqa xmm2, xmm0
pcmpeqb xmm2, xmm1
pmovmskb r9d, xmm2
nop word cs:[rax + rax]
test r9w, r9w
je 0x1800d7840
lea r10d, [r9 - 1]
and r10d, r9d
tzcnt r9d, r9d
add r9, r8
and r9, rax
neg r9
imul rbx, r9, 0x158
mov r9d, r10d
cmp qword [rcx + rbx], r15
jne 0x1800d7810
jmp 0x1800d7860
pcmpeqb xmm1, xmm6
pmovmskb r9d, xmm1
test r9d, r9d
jne 0x1800d78ec
add r8, rdx
add r8, 0x10
add rdx, 0x10
jmp 0x1800d77ef
lea rdx, [r12 + rbx]
add rdx, 0xfffffffffffffeb0
mov r8d, 0x150
lea rcx, [rsp + 0x150]
call fcn.1800f8be0
mov qword [r12 + rbx - 0x150], rbp
lea rcx, [r12 + rbx]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xb8
mov r13, rsi
mov rdx, rsi
call fcn.1800f8be0
mov qword [r12 + rbx - 0x90], r15
lea rcx, [r12 + rbx]
add rcx, 0xffffffffffffff78
mov r8d, 0x88
lea r12, [rsp + 0xc8]
mov rdx, r12
call fcn.1800f8be0
cmp qword [rsp + 0x150], 2
je 0x1800d7750
lea rcx, [rsp + 0x150]
call fcn.1800d9570
jmp 0x1800d7750
mov rdx, rax
and rdx, r13
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x1800d7928
mov r8d, 0x10
nop word cs:[rax + rax]
add rdx, r8
and rdx, rax
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb ecx, xmm0
add r8, 0x10
test ecx, ecx
je 0x1800d7910
tzcnt ecx, ecx
add rcx, rdx
and rcx, rax
movzx edx, byte [r12 + rcx]
test dl, dl
js 0x1800d794e
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
movzx edx, byte [r12 + rcx]
and dl, 1
je 0x1800d76cc
mov rbx, qword [rsp + 0x50]
cmp qword [rbx + 0x50], 0
jne 0x1800d76d1
mov byte [rsp + 0x4f], dl
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
call fcn.18010d5e0
mov r12, qword [rbx + 0x40]
mov rax, qword [rbx + 0x48]
and r13, rax
movdqu xmm0, xmmword [r12 + r13]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x1800d79b6
mov edx, 0x10
add r13, rdx
and r13, rax
movdqu xmm0, xmmword [r12 + r13]
pmovmskb ecx, xmm0
add rdx, 0x10
test ecx, ecx
je 0x1800d799e
tzcnt ecx, ecx
add rcx, r13
and rcx, rax
cmp byte [r12 + rcx], 0
movzx edx, byte [rsp + 0x4f]
js 0x1800d76cc
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
jmp 0x1800d76cc
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, r14
shr rax, 4
movabs rcx, 0xc30c30c30c30c31
mul rcx
cmp r8, r14
je 0x1800d7a24
mov rdi, rdx
nop word [rax + rax]
mov rcx, r14
call fcn.1800d9570
add r14, 0x150
dec rdi
jne 0x1800d7a10
cmp qword [rsp + 0xa8], 0
je 0x1800d7a46
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, qword [rsp + 0x90]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x1800d7b8a
mov r13, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
mov qword [rsp + 0x58], rax
lea r15, [r13 + 0x10]
movdqa xmm0, xmmword [r13]
pmovmskb eax, xmm0
not eax
mov r12, qword [rsi + 0x50]
pcmpeqd xmm6, xmm6
mov rbp, rdi
mov rbx, r13
jmp 0x1800d7aad
lea rcx, [rbx + rax]
add rcx, 0xfffffffffffffeb0
mov byte [r13 + rdx], r9b
mov byte [r8 + r13 + 0x10], r9b
dec rdi
mov qword [rsi + 0x58], rdi
call fcn.1800d9570
mov eax, r14d
test rbp, rbp
je 0x1800d7b8a
test ax, ax
je 0x1800d7ac0
lea r14d, [rax - 1]
and r14d, eax
jmp 0x1800d7ae9
movdqa xmm0, xmmword [r15]
pmovmskb eax, xmm0
add rbx, 0xffffffffffffea80
add r15, 0x10
cmp ax, 0xffff
je 0x1800d7ac0
mov ecx, 0xfffffffe
sub ecx, eax
not eax
mov r14d, eax
and r14d, ecx
tzcnt eax, eax
neg rax
imul rax, rax, 0x158
dec rbp
cmp byte [rbx + rax - 4], 0
mov byte [rbx + rax - 4], 0
jne 0x1800d7aa1
mov rdx, r13
sub rdx, rbx
sub rdx, rax
sar rdx, 3
movabs rcx, 0x82fa0be82fa0be83
imul rdx, rcx
lea r8, [rdx - 0x10]
and r8, qword [rsp + 0x58]
movdqu xmm0, xmmword [r13 + r8]
pcmpeqb xmm0, xmm6
psllw xmm0, 7
pmovmskb ecx, xmm0
test ecx, ecx
je 0x1800d7b4b
bsr cx, cx
xor ecx, 0xf
jmp 0x1800d7b4f
mov cx, 0x10
movdqu xmm0, xmmword [r13 + rdx]
pcmpeqb xmm0, xmm6
pmovmskb r9d, xmm0
or r9d, 0x10000
tzcnt r9d, r9d
add ecx, r9d
mov r9b, 0x80
cmp cx, 0xf
ja 0x1800d7a80
inc r12
mov qword [rsi + 0x50], r12
mov r9b, 0xff
jmp 0x1800d7a80
cmp qword [rsp + 0x68], 0
je 0x1800d7ba6
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x18016cb80]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x360]
add rsp, 0x378
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0xc8]
xor edx, edx
call fcn.18010d510
test rbx, rbx
jne 0x1800d7514
jmp 0x1800d75eb
mov ecx, 1
mov edx, 0x80000
call fcn.180106200
ud2
mov ecx, 8
mov edx, 0xfa0
call fcn.180106200
ud2
ud2