Function at 0x1800f8050
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 [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800f809e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800f8b2f
mov rcx, rax
mov qword [0x1801fd960], rax
mov ebp, 0x80000
mov r8d, 0x80000
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800f8b2f
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 0x1800f810a
mov rbp, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x150], 0
sub rbp, rdx
cmp rbp, r12
jb 0x1800f8174
mov ecx, 5
mov rdx, rdi
mov r8d, r12d
mov r9, r15
call r13
test eax, eax
jns 0x1800f8186
or eax, 0x10000000
mov ecx, eax
call fcn.180118750
cmp edx, 0xd0000004
jne 0x1800f8270
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 0x1800f8100
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
jmp 0x1800f8100
mov rcx, r14
mov r8, r12
call fcn.18016ab70
mov rdi, qword [rsp + 0x60]
jmp 0x1800f811d
mov qword [rsp + 0x70], r12
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800f81b7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800f8b40
mov rcx, rax
mov qword [0x1801fd960], rax
mov r8d, 0xfa0
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800f8b40
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 0x1800f8217
mov qword [rax + rdx*8], r13
inc rdx
mov qword [rsp + 0x88], rdx
add r15, r12
test r12, r12
je 0x1800f8240
lea r13, [rdi + r15]
mov r12d, dword [rdi + r15]
cmp rdx, qword [rsp + 0x80]
jne 0x1800f8200
mov rcx, r14
call fcn.1800f8b60
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
jmp 0x1800f8200
lea rax, [rsi + 0x40]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], rax
cmp byte [rbx], 0
je 0x1800f829b
lea rcx, [rsi + 0x90]
xor edx, edx
call fcn.1800f8c20
mov rax, qword [rsi + 0x110]
jmp 0x1800f829d
test rax, rax
je 0x1800f827e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
cmp qword [rsp + 0x68], 0
je 0x1800f8af6
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, rdi
jmp 0x1800f8af0
xor eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x150], 0
mov rax, qword [0x1801fc030]
lea rcx, [rsp + 0x150]
call rax
mov rax, qword [rsp + 0x150]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jl 0x1800f82f9
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
jmp 0x1800f82fb
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 0x1800f8b51
lea r15, [rsp + 0x168]
mov rbx, qword [rsp + 0x150]
mov eax, dword [0x1801fd9dc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x1800f83bb
add rax, 0x110
jmp 0x1800f83c0
call fcn.180069ee0
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.1800f9710
test r14, r14
je 0x1800f841c
mov rcx, qword [0x1801fd960]
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 0x1800f845b
xor r8d, r8d
mov rcx, rbx
nop word [rax + rax]
test rcx, rcx
je 0x1800f8452
add r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
dec rax
jne 0x1800f8440
test r8, r8
jne 0x1800f8b12
test rbx, rbx
je 0x1800f853b
mov r13, qword [sym.imp.kernel32.dll_HeapFree]
lea r14, [rsp + 0xc8]
jmp 0x1800f848c
mov rbx, rdi
test rdi, rdi
je 0x1800f853b
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x1800f849d
mov qword [rdi + 0x20], 0
mov r15, qword [rbx]
mov rbp, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, rbx
call r13
test r15, r15
je 0x1800f8532
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xd8]
sub rax, rbx
cmp rax, r12
jb 0x1800f851a
imul rcx, rbx, 0x150
add rcx, qword [rsp + 0xc8]
imul r8, r12, 0x150
mov rdx, r15
call fcn.18015ab20
add rbx, r12
mov qword [rsp + 0xd8], rbx
test rbp, rbp
je 0x1800f8480
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, r15
call r13
jmp 0x1800f8480
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.18016fa30
mov rbx, qword [rsp + 0xd8]
jmp 0x1800f84d4
test rdi, rdi
jne 0x1800f85cb
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 0x1800f8933
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 0x1800f86b0
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, rdi
call r13
mov rdi, r15
test r15, r15
je 0x1800f853b
mov r15, qword [rdi + 0x18]
test r15, r15
je 0x1800f85dc
mov qword [r15 + 0x20], 0
mov rbx, qword [rdi]
mov r12, qword [rdi + 0x10]
test r12, r12
je 0x1800f8604
mov r14, rbx
nop dword [rax + rax]
mov rcx, r14
call fcn.1800fa4c0
add r14, 0x150
dec r12
jne 0x1800f85f0
cmp qword [rdi + 8], 0
je 0x1800f85b0
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, rbx
call r13
jmp 0x1800f85b0
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.18015ab20
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.18015ab20
nop
cmp r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
je 0x1800f8974
mov rdx, r14
add r14, 0x150
mov rbp, qword [rdx]
cmp rbp, 2
je 0x1800f8933
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.18015ab20
mov r8d, 0x88
mov rcx, r12
mov rdx, rdi
call fcn.18015ab20
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rbx + 0x68]
mov r8, r15
call fcn.180103af0
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 0x1800f8790
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 0x1800f8760
jmp 0x1800f87b0
pcmpeqb xmm1, xmm6
pmovmskb r9d, xmm1
test r9d, r9d
jne 0x1800f883c
add r8, rdx
add r8, 0x10
add rdx, 0x10
jmp 0x1800f873f
lea rdx, [r12 + rbx]
add rdx, 0xfffffffffffffeb0
mov r8d, 0x150
lea rcx, [rsp + 0x150]
call fcn.18015ab20
mov qword [r12 + rbx - 0x150], rbp
lea rcx, [r12 + rbx]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xb8
mov r13, rsi
mov rdx, rsi
call fcn.18015ab20
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.18015ab20
cmp qword [rsp + 0x150], 2
je 0x1800f86a0
lea rcx, [rsp + 0x150]
call fcn.1800fa4c0
jmp 0x1800f86a0
mov rdx, rax
and rdx, r13
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x1800f8878
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 0x1800f8860
tzcnt ecx, ecx
add rcx, rdx
and rcx, rax
movzx edx, byte [r12 + rcx]
test dl, dl
js 0x1800f889e
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
movzx edx, byte [r12 + rcx]
and dl, 1
je 0x1800f861c
mov rbx, qword [rsp + 0x50]
cmp qword [rbx + 0x50], 0
jne 0x1800f8621
mov byte [rsp + 0x4f], dl
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
call fcn.18016fb00
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 0x1800f8906
mov edx, 0x10
add r13, rdx
and r13, rax
movdqu xmm0, xmmword [r12 + r13]
pmovmskb ecx, xmm0
add rdx, 0x10
test ecx, ecx
je 0x1800f88ee
tzcnt ecx, ecx
add rcx, r13
and rcx, rax
cmp byte [r12 + rcx], 0
movzx edx, byte [rsp + 0x4f]
js 0x1800f861c
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
jmp 0x1800f861c
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, r14
shr rax, 4
movabs rcx, 0xc30c30c30c30c31
mul rcx
cmp r8, r14
je 0x1800f8974
mov rdi, rdx
nop word [rax + rax]
mov rcx, r14
call fcn.1800fa4c0
add r14, 0x150
dec rdi
jne 0x1800f8960
cmp qword [rsp + 0xa8], 0
je 0x1800f8996
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, qword [rsp + 0x90]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x1800f8ada
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 0x1800f89fd
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.1800fa4c0
mov eax, r14d
test rbp, rbp
je 0x1800f8ada
test ax, ax
je 0x1800f8a10
lea r14d, [rax - 1]
and r14d, eax
jmp 0x1800f8a39
movdqa xmm0, xmmword [r15]
pmovmskb eax, xmm0
add rbx, 0xffffffffffffea80
add r15, 0x10
cmp ax, 0xffff
je 0x1800f8a10
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 0x1800f89f1
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 0x1800f8a9b
bsr cx, cx
xor ecx, 0xf
jmp 0x1800f8a9f
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 0x1800f89d0
inc r12
mov qword [rsi + 0x50], r12
mov r9b, 0xff
jmp 0x1800f89d0
cmp qword [rsp + 0x68], 0
je 0x1800f8af6
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x1801fd960]
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.18016fa30
test rbx, rbx
jne 0x1800f8464
jmp 0x1800f853b
mov ecx, 1
mov edx, 0x80000
call fcn.180168710
ud2
mov ecx, 8
mov edx, 0xfa0
call fcn.180168710
ud2
ud2