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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r15d, r15d
lea r9, [rbp + 0x38]
xor edx, edx
mov dword [rbp + 0x38], r15d
mov rdi, rcx
xor r8d, r8d
mov ebx, r15d
lea esi, [rdx + 0x40]
mov ecx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r14d, 0xc0000004
jmp 0x140003958
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x38]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0x38]
lea r9, [rbp + 0x38]
mov rdx, rax
mov ecx, esi
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, r14d
je 0x14000391c
test eax, eax
js 0x140003b8e
test rbx, rbx
je 0x140003ba4
mov r14, r15
mov esi, r15d
cmp qword [rbx], r15
jbe 0x1400039c6
mov rax, r15
lea rax, [rax + rax*4]
movups xmm0, xmmword [rbx + rax*8 + 0x10]
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rbx + rax*8 + 0x20]
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 0x38]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x1400039b7
cmp qword [rbp - 0x18], rdi
je 0x1400039c2
inc esi
mov eax, esi
cmp rax, qword [rbx]
jae 0x1400039c6
jmp 0x14000397c
mov r14, qword [rbp - 0x28]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x140003ba4
mov ebx, 8
mov qword [rbp + 0x48], r15
mov r9d, ebx
lea r8, [r14 + 8]
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.140003114
test al, al
je 0x140003b82
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x140003b82
add r8, rbx
mov qword [rbp - 0x50], r15
mov r9d, ebx
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.140003114
test al, al
je 0x140003b76
mov r8, qword [rbp - 0x50]
test r8, r8
je 0x140003b76
add r8, 0x28
mov qword [rbp + 0x40], r15
mov r9d, ebx
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.140003114
test al, al
je 0x140003b6a
mov r8, qword [rbp + 0x40]
test r8, r8
je 0x140003b6a
xorps xmm0, xmm0
lea esi, [rbx + 8]
mov r9d, esi
lea rdx, [rbp - 0x48]
add r8, 0x58
mov rcx, rdi
movups xmmword [rbp - 0x48], xmm0
call fcn.140003114
test al, al
je 0x140003b61
movzx eax, word [rbp - 0x48]
test ax, ax
je 0x140003b61
mov ecx, eax
lea eax, [rbx - 6]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [rbx - 9]
cmovo rax, rcx
mov rcx, rax
call fcn.140014574
movzx r8d, word [rbp - 0x48]
xor edx, edx
add r8, 2
mov rcx, rax
mov rbx, rax
call fcn.140016a70
movzx r9d, word [rbp - 0x48]
mov rdx, rbx
mov r8, qword [rbp - 0x40]
mov rcx, rdi
call fcn.140003114
test al, al
jne 0x140003b06
lea rdx, str.____Failed_to_read_driver_name
lea rcx, [0x140088a70]
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
jmp 0x140003ba4
mov rdx, qword [rbp + 0x40]
lea r8, [rbp - 0x48]
add rdx, 0x58
mov word [rbp - 0x48], r15w
mov r9, rsi
mov rcx, rdi
call fcn.140003114
lea rcx, [0x140088a70]
test al, al
jne 0x140003b36
lea rdx, str.____Failed_to_write_driver_name_length
jmp 0x140003af4
lea rdx, str.___MmUnloadedDrivers_Cleaned:
call fcn.140009174
mov rcx, rax
mov rdx, rbx
call fcn.140009174
mov rcx, rax
call fcn.1400093c0
mov rcx, rbx
call fcn.140014298
mov al, 1
jmp 0x140003ba6
lea rdx, str.____Failed_to_find_driver_name
jmp 0x140003aed
lea rdx, str.____Failed_to_find_driver_section
jmp 0x140003aed
lea rdx, str.____Failed_to_find_driver_object
jmp 0x140003aed
lea rdx, str.____Failed_to_find_device_object
jmp 0x140003aed
test rbx, rbx
je 0x140003ba4
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret