Function at 0x14001f350
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, 0x398
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x310], 0xfffffffffffffffe
mov ebx, edx
mov rdi, rcx
mov word [rbp + 0x30c], bx
mov eax, edx
shr eax, 0x10
mov byte [rbp + 0x30e], al
call fcn.1401b8550
mov dword [rbp + 0x2a0], eax
mov dword [rbp + 0x2a4], edx
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x2a0]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.1401b8580
cmp qword [rbp + 0xf0], 0
je 0x14001f3cb
xor eax, eax
jmp 0x14001f3d2
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x270], rax
mov r14d, 0x80000
lea rsi, [rbp + 0x2fc]
mov r15, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
jmp 0x14001f424
mov r12, qword [rbp + 0x300]
mov rdx, r12
mov r14d, 0
mov rax, qword [rbp + 0x2e8]
test rax, rax
je 0x14001f424
lea r14, [rax + rax]
mov r8d, 1
mov rcx, r12
mov rdx, rax
call fcn.14001c350
mov rdx, r12
mov r12, r14
mov eax, 1
test r14, r14
je 0x14001f45a
js 0x14001f802
movzx eax, byte [0x1402f0f41]
mov r14d, 1
mov edx, 1
mov rcx, r12
call fcn.14001c340
test rax, rax
je 0x14001f80d
mov dword [rbp + 0x2fc], 0
mov ecx, 5
mov qword [rbp + 0x300], rax
mov rdx, rax
mov qword [rbp + 0x2e8], r12
mov r8d, r12d
mov r9, rsi
call r15
cmp eax, 0xc0000004
jne 0x14001f4c0
mov r14d, dword [rbp + 0x2fc]
test r14d, r14d
je 0x14001f3f0
add r14d, 0x2800
mov r12, qword [rbp + 0x300]
mov rdx, r12
mov rax, qword [rbp + 0x2e8]
test rax, rax
jne 0x14001f410
jmp 0x14001f424
movzx eax, byte [0x1402f0f41]
mov ecx, 0xfa0
mov edx, 8
call fcn.14001c340
test rax, rax
je 0x14001f818
mov qword [rbp + 0x2c0], 0x1f4
mov qword [rbp + 0x2c8], rax
mov qword [rbp + 0x2d0], 0
xor r14d, r14d
lea rsi, [rbp + 0x2c0]
xor r15d, r15d
jmp 0x14001f539
mov rax, qword [rbp + 0x300]
add rax, r15
mov rcx, qword [rbp + 0x2c8]
mov qword [rcx + r14*8], rax
inc r14
mov qword [rbp + 0x2d0], r14
mov eax, dword [rax]
add r15, rax
test rax, rax
je 0x14001f553
cmp r14, qword [rbp + 0x2c0]
jne 0x14001f510
mov byte [rbp + 0x30f], 1
mov rcx, rsi
call fcn.14002b760
jmp 0x14001f510
lea rsi, [rdi + 0xd8]
mov qword [rbp + 0x268], rsi
test bl, bl
je 0x14001f582
mov byte [rbp + 0x30f], 1
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.14001c8e0
mov rax, qword [rdi + 0x80]
jmp 0x14001f584
xor eax, eax
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x278], 0
mov qword [rbp + 0x280], 8
mov qword [rbp + 0x288], 0
mov r9, qword [rbp + 0x2d0]
mov qword [rbp + 0x100], r9
movups xmm0, xmmword [rbp + 0x2c0]
movaps xmmword [rbp + 0xf0], xmm0
lea r8, [rbp + 0x108]
lea rax, [rbp + 0x268]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x30c]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x260]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x270]
mov qword [rbp + 0x120], rax
movaps xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r9
lea rcx, [rbp + 0x248]
lea rdx, [rbp + 0x2a0]
call fcn.14002d860
lea rcx, [rbp + 0x278]
lea rdx, [rbp + 0x248]
call fcn.140027220
mov rcx, qword [rbp + 0x278]
mov r13, qword [rbp + 0x280]
mov rax, qword [rbp + 0x288]
imul rdi, rax, 0x150
add rdi, r13
mov qword [rbp + 0x2a0], r13
mov qword [rbp + 0x2a8], r13
mov qword [rbp + 0x2e0], rcx
mov qword [rbp + 0x2b0], rcx
mov qword [rbp + 0x2b8], rdi
mov r8, r13
test rax, rax
je 0x14001f72b
lea rbx, [rbp - 0x58]
lea r8, [r13 + 0x150]
lea r14, [rbp + 0xf0]
lea r15, [rbp - 0x60]
jmp 0x14001f6ca
mov r8, qword [rbp + 0x2f0]
add r8, 0x150
add r12, 0x150
cmp r12, rdi
je 0x14001f721
mov rax, qword [r8 - 0x150]
cmp rax, 2
je 0x14001f724
mov qword [rbp + 0x2f0], r8
lea r12, [r8 - 0x150]
mov qword [rbp - 0x60], rax
lea rdx, [r12 + 8]
mov r8d, 0x148
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rbp + 0x78]
mov rcx, r14
mov rdx, rsi
mov r9, r15
call fcn.140029940
cmp dword [rbp + 0xf0], 2
je 0x14001f6b0
mov rcx, r14
call fcn.14001dad0
jmp 0x14001f6b0
mov r8, rdi
mov qword [rbp + 0x2a8], r8
mov qword [rbp + 0x298], r13
sub rdi, r8
shr rdi, 4
movabs rcx, 0xc30c30c30c30c31
mov rax, rdi
mul rcx
mov qword [rbp + 0x290], rdx
xor eax, eax
mov qword [rbp + 0x2d8], rax
mov qword [rbp + 0x2f0], r8
mov rcx, r8
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x2d8]
cmp qword [rbp + 0x290], rax
je 0x14001f79b
inc rax
mov qword [rbp + 0x2d8], rax
lea rdi, [rcx + 0x150]
call fcn.14001dad0
mov rcx, rdi
jmp 0x14001f770
mov rax, qword [rbp + 0x2e0]
test rax, rax
je 0x14001f7c0
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x298]
call fcn.14001c350
mov byte [rbp + 0x30f], 0
mov rcx, rsi
call fcn.140029b80
mov rdx, qword [rbp + 0x2e8]
test rdx, rdx
je 0x14001f7ed
mov r8d, 1
mov rcx, qword [rbp + 0x300]
call fcn.14001c350
nop
add rsp, 0x398
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor r14d, r14d
mov rcx, r14
call fcn.1401edda0
mov rdx, r12
mov rcx, r14
call fcn.1401edda0
mov ecx, 8
mov edx, 0xfa0
call fcn.1401edda0
ud2