Function at 0x140022470
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 [0x14009e010]
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 0x1400226dc
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 0x1400226cb
mov r12d, esi
cmp dword [rdi], esi
jbe 0x1400226cb
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 0x140022530
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 0x140022580
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 0x1400225ae
mov r15, rcx
add r9, rcx
jmp 0x1400225b5
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 0x1400225d3
mov rbx, r8
add r14, r8
jmp 0x1400225da
add r14, r10
lea rbx, [rbp - 0x60]
mov rax, r14
sub rax, rbx
sub r9, r15
cmp rax, r9
je 0x1400225ec
xor bl, bl
jmp 0x14002263a
cmp rbx, r14
je 0x140022632
sub r15, rbx
nop dword [rax]
nop dword [rax + rax]
movsx esi, byte [r15 + rbx]
movsx ecx, byte [rbx]
call fcn.14005f684
mov edi, eax
mov ecx, esi
call fcn.14005f684
cmp edi, eax
jne 0x14002270b
inc rbx
cmp rbx, r14
jne 0x140022600
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 0x140022674
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140022668
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022749
mov rcx, r8
call fcn.140053114
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 0x1400226bb
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400226b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022743
call fcn.140053114
test bl, bl
jne 0x14002271e
inc r12d
cmp r12d, dword [rdi]
jb 0x140022510
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.1400530b0
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 0x140022634
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 0x1400226de
call fcn.14005f4d0
nop
call fcn.14005f4d0
int3