Function at 0x140021ff0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, rcx
xor esi, esi
mov dword [rbp - 0x18], esi
lea r9, [rbp - 0x18]
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov eax, dword [rbp - 0x18]
lea edx, [rax + rax]
xor ecx, ecx
lea r9d, [rsi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14002225c
mov r8d, dword [rbp - 0x18]
add r8d, r8d
xor r9d, r9d
mov rdx, rax
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14002224b
mov r12d, esi
cmp dword [rdi], esi
jbe 0x14002224b
nop dword [rax + rax]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [r8 + r13], 0
jne 0x1400220b0
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.140001f50
nop
mov eax, r12d
imul rcx, rax, 0x128
movzx eax, word [rcx + rdi + 0x2e]
add rax, rcx
lea rdx, [rdi + 0x30]
add rdx, rax
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], send
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140022100
lea rcx, [rbp - 0x60]
call fcn.140001f50
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x40]
mov r9, qword [rbp - 0x30]
cmp qword [rbp - 0x28], 0x10
jb 0x14002212e
mov r15, rcx
add r9, rcx
jmp 0x140022135
add r9, rdx
lea r15, [rbp - 0x40]
lea r10, [rbp - 0x60]
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x48]
mov r14, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140022153
mov rbx, r8
add r14, r8
jmp 0x14002215a
add r14, r10
lea rbx, [rbp - 0x60]
mov rax, r14
sub rax, rbx
sub r9, r15
cmp rax, r9
je 0x14002216c
xor bl, bl
jmp 0x1400221ba
cmp rbx, r14
je 0x1400221b2
sub r15, rbx
nop dword [rax]
nop dword [rax + rax]
movsx esi, byte [r15 + rbx]
movsx ecx, byte [rbx]
call fcn.14005b994
mov edi, eax
mov ecx, esi
call fcn.14005b994
cmp edi, eax
jne 0x14002228b
inc rbx
cmp rbx, r14
jne 0x140022180
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x60]
mov bl, 1
mov rdi, qword [rbp - 0x20]
xor esi, esi
cmp rdx, 0x10
jb 0x1400221f4
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x1400221e8
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400222c9
mov rcx, r8
call fcn.14004f424
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002223b
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400222c3
call fcn.14004f424
test bl, bl
jne 0x14002229e
inc r12d
cmp r12d, dword [rdi]
jb 0x140022090
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004f3c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor bl, bl
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x60]
jmp 0x1400221b4
mov eax, r12d
imul rcx, rax, 0x128
mov rbx, qword [rcx + rdi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x14002225e
call fcn.14005b7e0
nop
call fcn.14005b7e0
int3