Function at 0x140022250
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 [0x14009c010]
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 0x1400224bc
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 0x1400224ab
mov r12d, esi
cmp dword [rdi], esi
jbe 0x1400224ab
nop dword [rax + rax]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], setsockopt
mov byte [rbp - 0x40], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [r8 + r13], 0
jne 0x140022310
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.140001bf0
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], setsockopt
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140022360
lea rcx, [rbp - 0x60]
call fcn.140001bf0
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x40]
mov r9, qword [rbp - 0x30]
cmp qword [rbp - 0x28], 0x10
jb 0x14002238e
mov r15, rcx
add r9, rcx
jmp 0x140022395
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 0x1400223b3
mov rbx, r8
add r14, r8
jmp 0x1400223ba
add r14, r10
lea rbx, [rbp - 0x60]
mov rax, r14
sub rax, rbx
sub r9, r15
cmp rax, r9
je 0x1400223cc
xor bl, bl
jmp 0x14002241a
cmp rbx, r14
je 0x140022412
sub r15, rbx
nop dword [rax]
nop dword [rax + rax]
movsx esi, byte [r15 + rbx]
movsx ecx, byte [rbx]
call fcn.14005d4a4
mov edi, eax
mov ecx, esi
call fcn.14005d4a4
cmp edi, eax
jne 0x1400224eb
inc rbx
cmp rbx, r14
jne 0x1400223e0
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 0x140022454
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140022448
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022529
mov rcx, r8
call fcn.140050f34
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], setsockopt
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002249b
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022496
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022523
call fcn.140050f34
test bl, bl
jne 0x1400224fe
inc r12d
cmp r12d, dword [rdi]
jb 0x1400222f0
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.140050ed0
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 0x140022414
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 0x1400224be
call fcn.14005d2f0
nop
call fcn.14005d2f0
int3