Function at 0x1800f9810
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 [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
jne 0x1800f985e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800fa2ef
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov ebp, 0x80000
mov r8d, 0x80000
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800fa2ef
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 0x1800f98ca
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x150], 0
sub rbp, rdx
cmp rbp, r12
jb 0x1800f9934
mov ecx, 5
mov rdx, rdi
mov r8d, r12d
mov r9, r15
call r13
test eax, eax
jns 0x1800f9946
or eax, 0x10000000
mov ecx, eax
call fcn.180116780
cmp edx, 0xd0000004
jne 0x1800f9a30
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 0x1800f98c0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
jmp 0x1800f98c0
mov rcx, r14
mov r8, r12
call fcn.180165a60
mov rdi, qword [rsp + 0x60]
jmp 0x1800f98dd
mov qword [rsp + 0x70], r12
movzx eax, byte [0x1801fba30]
mov rcx, qword [0x1801fb9b8]
test rcx, rcx
jne 0x1800f9977
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800fa300
mov rcx, rax
mov qword [0x1801fb9b8], rax
mov r8d, 0xfa0
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800fa300
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 0x1800f99d7
mov qword [rax + rdx*8], r13
inc rdx
mov qword [rsp + 0x88], rdx
add r15, r12
test r12, r12
je 0x1800f9a00
lea r13, [rdi + r15]
mov r12d, dword [rdi + r15]
cmp rdx, qword [rsp + 0x80]
jne 0x1800f99c0
mov rcx, r14
call fcn.1800fa320
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
jmp 0x1800f99c0
lea rax, [rsi + 0x40]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], rax
cmp byte [rbx], 0
je 0x1800f9a5b
lea rcx, [rsi + 0x90]
xor edx, edx
call fcn.1800fa3e0
mov rax, qword [rsi + 0x110]
jmp 0x1800f9a5d
test rax, rax
je 0x1800f9a3e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
cmp qword [rsp + 0x68], 0
je 0x1800fa2b6
mov rcx, qword [0x1801fb9b8]
xor edx, edx
mov r8, rdi
jmp 0x1800fa2b0
xor eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x150], 0
mov rax, qword [0x1801fa030]
lea rcx, [rsp + 0x150]
call rax
mov rax, qword [rsp + 0x150]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jl 0x1800f9ab9
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
jmp 0x1800f9abb
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 0x1800fa311
lea r15, [rsp + 0x168]
mov rbx, qword [rsp + 0x150]
mov eax, dword [0x1801fba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x1800f9b7b
add rax, 0x110
jmp 0x1800f9b80
call fcn.1800694f0
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.1800faed0
test r14, r14
je 0x1800f9bdc
mov rcx, qword [0x1801fb9b8]
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 0x1800f9c1b
xor r8d, r8d
mov rcx, rbx
nop word [rax + rax]
test rcx, rcx
je 0x1800f9c12
add r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
dec rax
jne 0x1800f9c00
test r8, r8
jne 0x1800fa2d2
test rbx, rbx
je 0x1800f9cfb
mov r13, qword [sym.imp.kernel32.dll_HeapFree]
lea r14, [rsp + 0xc8]
jmp 0x1800f9c4c
mov rbx, rdi
test rdi, rdi
je 0x1800f9cfb
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x1800f9c5d
mov qword [rdi + 0x20], 0
mov r15, qword [rbx]
mov rbp, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
mov rcx, qword [0x1801fb9b8]
xor edx, edx
mov r8, rbx
call r13
test r15, r15
je 0x1800f9cf2
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xd8]
sub rax, rbx
cmp rax, r12
jb 0x1800f9cda
imul rcx, rbx, 0x150
add rcx, qword [rsp + 0xc8]
imul r8, r12, 0x150
mov rdx, r15
call fcn.180164e10
add rbx, r12
mov qword [rsp + 0xd8], rbx
test rbp, rbp
je 0x1800f9c40
mov rcx, qword [0x1801fb9b8]
xor edx, edx
mov r8, r15
call r13
jmp 0x1800f9c40
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.18016db50
mov rbx, qword [rsp + 0xd8]
jmp 0x1800f9c94
test rdi, rdi
jne 0x1800f9d8b
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 0x1800fa0f3
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 0x1800f9e70
mov rcx, qword [0x1801fb9b8]
xor edx, edx
mov r8, rdi
call r13
mov rdi, r15
test r15, r15
je 0x1800f9cfb
mov r15, qword [rdi + 0x18]
test r15, r15
je 0x1800f9d9c
mov qword [r15 + 0x20], 0
mov rbx, qword [rdi]
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x1800f9dc4
mov r14, rbx
nop dword [rax + rax]
mov rcx, r14
call fcn.1800fbc80
add r14, 0x150
dec r12
jne 0x1800f9db0
cmp qword [rdi + 8], 0
je 0x1800f9d70
mov rcx, qword [0x1801fb9b8]
xor edx, edx
mov r8, rbx
call r13
jmp 0x1800f9d70
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.180164e10
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.180164e10
nop
cmp r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
je 0x1800fa134
mov rdx, r14
add r14, 0x150
mov rbp, qword [rdx]
cmp rbp, 2
je 0x1800fa0f3
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.180164e10
mov r8d, 0x88
mov rcx, r12
mov rdx, rdi
call fcn.180164e10
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rbx + 0x68]
mov r8, r15
call fcn.180102230
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 0x1800f9f50
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 0x1800f9f20
jmp 0x1800f9f70
pcmpeqb xmm1, xmm6
pmovmskb r9d, xmm1
test r9d, r9d
jne 0x1800f9ffc
add r8, rdx
add r8, 0x10
add rdx, 0x10
jmp 0x1800f9eff
lea rdx, [r12 + rbx]
add rdx, 0xfffffffffffffeb0
mov r8d, 0x150
lea rcx, [rsp + 0x150]
call fcn.180164e10
mov qword [r12 + rbx - 0x150], rbp
lea rcx, [r12 + rbx]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xb8
mov r13, rsi
mov rdx, rsi
call fcn.180164e10
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.180164e10
cmp qword [rsp + 0x150], 2
je 0x1800f9e60
lea rcx, [rsp + 0x150]
call fcn.1800fbc80
jmp 0x1800f9e60
mov rdx, rax
and rdx, r13
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x1800fa038
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 0x1800fa020
tzcnt ecx, ecx
add rcx, rdx
and rcx, rax
movzx edx, byte [r12 + rcx]
test dl, dl
js 0x1800fa05e
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
movzx edx, byte [r12 + rcx]
and dl, 1
je 0x1800f9ddc
mov rbx, qword [rsp + 0x50]
cmp qword [rbx + 0x50], 0
jne 0x1800f9de1
mov byte [rsp + 0x4f], dl
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
call fcn.18016dc20
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 0x1800fa0c6
mov edx, 0x10
add r13, rdx
and r13, rax
movdqu xmm0, xmmword [r12 + r13]
pmovmskb ecx, xmm0
add rdx, 0x10
test ecx, ecx
je 0x1800fa0ae
tzcnt ecx, ecx
add rcx, r13
and rcx, rax
cmp byte [r12 + rcx], 0
movzx edx, byte [rsp + 0x4f]
js 0x1800f9ddc
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
jmp 0x1800f9ddc
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, r14
shr rax, 4
movabs rcx, 0xc30c30c30c30c31
mul rcx
cmp r8, r14
je 0x1800fa134
mov rdi, rdx
nop word [rax + rax]
mov rcx, r14
call fcn.1800fbc80
add r14, 0x150
dec rdi
jne 0x1800fa120
cmp qword [rsp + 0xa8], 0
je 0x1800fa156
mov rcx, qword [0x1801fb9b8]
xor edx, edx
mov r8, qword [rsp + 0x90]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x1800fa29a
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 0x1800fa1bd
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.1800fbc80
mov eax, r14d
test rbp, rbp
je 0x1800fa29a
test ax, ax
je 0x1800fa1d0
lea r14d, [rax - 1]
and r14d, eax
jmp 0x1800fa1f9
movdqa xmm0, xmmword [r15]
pmovmskb eax, xmm0
add rbx, 0xffffffffffffea80
add r15, 0x10
cmp ax, 0xffff
je 0x1800fa1d0
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 0x1800fa1b1
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 0x1800fa25b
bsr cx, cx
xor ecx, 0xf
jmp 0x1800fa25f
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 0x1800fa190
inc r12
mov qword [rsi + 0x50], r12
mov r9b, 0xff
jmp 0x1800fa190
cmp qword [rsp + 0x68], 0
je 0x1800fa2b6
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x1801fb9b8]
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.18016db50
test rbx, rbx
jne 0x1800f9c24
jmp 0x1800f9cfb
mov ecx, 1
mov edx, 0x80000
call fcn.180166e20
ud2
mov ecx, 8
mov edx, 0xfa0
call fcn.180166e20
ud2
ud2