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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xe0
xor r14d, r14d
mov r13d, r9d
mov r12d, edx
mov r15d, ecx
mov esi, r14d
cmp ecx, 0x2c
jb 0x14000d3d7
mov r8d, ecx
lea rdx, str.___Pprovider_with_id__lu_is_not_supported__will_be_using_default_provider__0__r_n
lea ecx, [r14 + 2]
call fcn.140010d44
mov r15d, r14d
xor eax, eax
mov dword [rbp + 0x5f], r14d
lea rdi, [rbp - 0x51]
lea r9, [rbp + 0x5f]
lea edx, [rax + 0x70]
mov ecx, edx
mov r8d, edx
rep stosb byte [rdi], al
mov ecx, 0x9f
lea rdx, [rbp - 0x51]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14000d44d
mov r8d, 0xc
lea rdx, [rbp - 0x4d]
lea rcx, str.Microsoft_Hv
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 0xc
jne 0x14000d433
lea rdx, str.___MSFT_hypervisor_present_r_n
lea ecx, [rax - 0xa]
call fcn.140010d44
jmp 0x14000d4b4
movsd xmm0, qword [rbp - 0x4d]
lea rdi, [rsp + 0x30]
xor eax, eax
lea ecx, [rax + 0x20]
rep stosb byte [rdi], al
mov eax, dword [rbp - 0x45]
mov dword [rsp + 0x38], eax
jmp 0x14000d498
or eax, 0xffffffff
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov eax, 1
cpuid
sar ecx, 0x1f
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
test cl, 1
je 0x14000d4b4
xor ecx, ecx
lea rdi, [rsp + 0x30]
mov eax, 0x40000000
cpuid
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor eax, eax
mov dword [rsp + 0x24], ebx
movsd xmm0, qword [rsp + 0x24]
lea ecx, [rax + 0x20]
rep stosb byte [rdi], al
mov dword [rsp + 0x38], edx
lea r8, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm0
lea rdx, str.___The___s__hypervisor_present_r_n
mov ecx, 2
call fcn.140010d44
call fcn.14000d2f4
mov qword [rbp - 0x61], rax
test rax, rax
je 0x14000d502
mov rdx, qword [0x140046bf8]
test rdx, rdx
je 0x14000d4f1
mov ebx, dword [rdx]
mov ecx, r14d
test ebx, ebx
je 0x14000d4f1
mov rdx, qword [rdx + 8]
mov r14d, ecx
shl r14, 6
add r14, rdx
cmp dword [r14 + 0xc], r15d
je 0x14000d520
inc ecx
cmp ecx, ebx
jb 0x14000d4db
lea rdx, str.____Requested_provider_data_was_not_found_in_database__abort_r_n
mov ecx, 1
call fcn.140010d44
mov rbx, qword [rsp + 0x128]
mov rax, rsi
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r14, r14
je 0x14000d4f1
mov eax, r15d
imul rbx, rax, 0x88
lea rax, [0x140043fc0]
add rbx, rax
mov qword [rbx], r14
test r13d, r13d
je 0x14000d59e
mov eax, r13d
sub eax, 1
je 0x14000d573
sub eax, 1
je 0x14000d56c
sub eax, 1
je 0x14000d565
cmp eax, 1
je 0x14000d55e
lea rdx, [r14 + 0x1c]
jmp 0x14000d582
mov ecx, 8
jmp 0x14000d578
mov ecx, 4
jmp 0x14000d578
mov ecx, 2
jmp 0x14000d578
mov ecx, 1
lea rdx, [r14 + 0x1c]
test dword [r14 + 0x1c], ecx
ja 0x14000d59e
mov r9d, dword [rdx]
mov r8d, r13d
lea rdx, str.____Selected_shellcode__lu_is_not_supported_by_this_provider__supported_mask:_0x_08x___abort_r_n
mov ecx, 1
call fcn.140010d44
jmp 0x14000d502
xor eax, eax
lea rdi, [rsp + 0x30]
xor r13d, r13d
lea r9, [rbp + 0x5f]
lea rdx, [rsp + 0x30]
mov dword [rbp + 0x5f], r13d
lea r15d, [r13 + 0x20]
mov ecx, r15d
mov r8d, r15d
rep stosb byte [rdi], al
lea ecx, [rax + 0x5a]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14000d609
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14000d5f2
sub ecx, 1
je 0x14000d5e9
cmp ecx, 1
jne 0x14000d5f2
lea r8, str.FirmwareTypeUefi
jmp 0x14000d5f9
lea r8, str.FirmwareTypeBios
jmp 0x14000d5f9
lea r8, str.FirmwareTypeUnknown
lea rdx, str.___Firmware_type___s__r_n
xor ecx, ecx
call fcn.140010d44
jmp 0x14000d617
mov edx, eax
lea rcx, str.____Failed_to_query_firmware_type
call fcn.140011be4
mov r9, qword [r14 + 0x28]
lea rdx, str.___Provider:___ws___Name___ws__r_n
mov r8, qword [r14 + 0x20]
mov ecx, 2
call fcn.140010d44
test r12d, r12d
je 0x14000d648
test byte [r14 + 0x18], 1
jne 0x14000d648
lea rdx, str.____Abort:_selected_provider_does_not_support_HVCI_r_n
jmp 0x14000d4f8
mov r12d, dword [rbp + 0x6f]
cmp r12d, dword [r14]
jae 0x14000d65d
lea rdx, str.____Abort:_selected_provider_require_newer_Windows_NT_version_r_n
jmp 0x14000d4f8
cmp dword [r14 + 4], 0xffffffff
je 0x14000d67b
cmp r12d, dword [r14 + 4]
jbe 0x14000d67b
lea rdx, str.____Warning:_selected_provider_may_not_work_on_this_Windows_NT_version_r_n
mov ecx, 1
call fcn.140010d44
mov edx, dword [rbp + 0x7f]
mov r8d, 1
mov edi, r8d
mov ecx, edx
test edx, edx
je 0x14000d6bc
sub ecx, r8d
je 0x14000d6bc
sub ecx, r8d
je 0x14000d6bc
cmp ecx, r8d
jne 0x14000d713
cmp qword [rbx + 0x80], r13
jne 0x14000d6b4
lea rdx, str.____Abort:_selected_provider_does_not_support_arbitrary_process_handle_acquisition_or_r_n_tKDU_interface_is_not_implemented_for_this_method._r_n
mov ecx, r8d
jmp 0x14000d4fd
mov r15, r14
jmp 0x14000d778
mov rax, qword [rbx]
mov ecx, dword [rax + 0x18]
test r15b, cl
je 0x14000d6d6
cmp qword [rbx + 0x58], r13
jne 0x14000d6d6
lea rdx, str.____Abort:_selected_provider_does_not_support_memory_translation_or_r_n_tKDU_interface_is_not_implemented_for_these_methods._r_n
jmp 0x14000d6ac
test ecx, 0x180
je 0x14000d713
mov eax, r8d
mov ecx, r8d
cmp qword [rbx + 0x68], r13
je 0x14000d6f0
cmp qword [rbx + 0x70], r13
jne 0x14000d6f3
mov eax, r13d
cmp qword [rbx + 0x48], r13
je 0x14000d6ff
cmp qword [rbx + 0x50], r13
jne 0x14000d702
mov ecx, r13d
test eax, eax
jne 0x14000d713
test ecx, ecx
jne 0x14000d713
lea rdx, str.____Abort:_selected_provider_does_not_support_arbitrary_kernel_read_write_or_r_n_tKDU_interface_is_not_implemented_for_these_methods._r_n
jmp 0x14000d6ac
mov r15, r14
test edx, edx
je 0x14000d760
sub edx, r8d
je 0x14000d733
cmp edx, r8d
jne 0x14000d778
cmp qword [rbx + 0x40], r13
jne 0x14000d778
lea rdx, str.____Abort:_selected_provider_does_not_support_changing_DSE_values_or_r_n_tKDU_interface_is_not_implemented_for_this_method._r_n
jmp 0x14000d76d
mov rax, qword [rbx]
test dword [rax + 0x18], 0x100
je 0x14000d754
cmp qword [rbx + 0x68], r13
je 0x14000d74b
cmp qword [rbx + 0x70], r13
jne 0x14000d778
lea rdx, str.____Abort:_selected_provider_does_not_support_arbitrary_kernel_read_write_or_r_n_tKDU_interface_is_not_implemented_for_these_methods._r_n
jmp 0x14000d76d
cmp qword [rbx + 0x48], r13
je 0x14000d74b
cmp qword [rbx + 0x50], r13
jmp 0x14000d749
cmp qword [rbx + 0x38], r13
jne 0x14000d778
lea rdx, str.____Abort:_selected_provider_does_not_support_driver_mapping_or_r_n_tKDU_interface_is_not_implemented_for_these_methods._r_n
mov ecx, r8d
call fcn.140010d44
mov edi, r13d
test edi, edi
je 0x14000d502
mov dl, 1
mov ecx, 0x14
call fcn.14000182c
mov dl, 1
mov ecx, 0xa
call fcn.14000182c
lea rdi, [r15 + 0x18]
test dword [rdi], 0x800
mov qword [rsp + 0x20], rdi
je 0x14000d7b6
call fcn.140013250
test eax, eax
je 0x14000d502
mov rax, qword gs:[0x30]
mov edx, 8
mov r8d, 0x478
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
jne 0x14000d7ec
lea rdx, str.____Abort:_could_not_allocate_provider_context_r_n
jmp 0x14000d4f8
mov qword [rax + 0x40], rbx
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x14000d82d
mov rcx, rsi
call rax
test eax, eax
jne 0x14000d82d
mov rax, qword gs:[0x30]
mov r8, rsi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rdx, str.____Abort:_provider_prerequisites_are_not_meet_r_n
mov rsi, r13
jmp 0x14000d4f8
test byte [rdi], 0x40
je 0x14000d837
mov rax, r13
jmp 0x14000d85f
mov rax, qword [rbx]
cmp dword [rax + 0x10], 2
jb 0x14000d847
mov dword [rax + 0x10], 1
mov rax, qword [rbx]
mov ecx, dword [rax + 0x10]
lea rax, [rcx + rcx*4]
shl rax, 4
lea rcx, str.PROCEXP152
add rax, rcx
mov qword [rsi + 0x48], rax
xor ebx, ebx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r13, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x28]
mov rax, rcx
test rcx, rcx
jne 0x14000d88a
mov ecx, ebx
jmp 0x14000d895
add rcx, 2
cmp word [rcx], bx
jne 0x14000d886
sub rcx, rax
sar rcx, 1
movzx eax, word [r13 + 0x38]
lea rcx, [rcx + 0x20]
mov edx, 8
lea r8, [rax + rcx*2]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14000da81
mov eax, dword [rbp + 0x77]
mov dword [rsi + 8], eax
mov rax, qword [rbp - 0x61]
mov qword [rsi + 0x10], rax
mov dword [rsi + 4], r12d
call fcn.140010770
mov qword [rsi + 0x18], rax
lea rdi, [rbp - 0x51]
xor eax, eax
mov dword [rbp + 0x5f], ebx
lea r9, [rbp + 0x5f]
lea edx, [rax + 0x40]
mov ecx, edx
mov r8d, edx
rep stosb byte [rdi], al
xor ecx, ecx
lea rdx, [rbp - 0x51]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14000d913
mov rax, qword [rbp - 0x29]
jmp 0x14000d92f
xor eax, eax
lea rdi, [rsp + 0x30]
lea ecx, [rax + 0x30]
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x40]
mov ecx, 0x16
mov qword [rsi + 0x38], rax
mov r12d, 0x20206f49
call fcn.1400019ec
mov r8, rax
test rax, rax
je 0x14000d995
mov rcx, rbx
cmp dword [rax], ebx
jbe 0x14000d97c
mov ebx, dword [r8]
add rax, 8
mov rdx, qword [rax + 0x20]
mov rdi, rcx
cmp rdx, rcx
jbe 0x14000d968
mov r12d, dword [rax]
add rax, 0x28
mov rcx, rdx
cmp rdx, rdi
cmovbe rcx, rdi
sub rbx, 1
jne 0x14000d959
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsi + 0x30]
mov dword [rsi + 0xc], r12d
movzx edx, word [r13 + 0x38]
mov r8, qword [r13 + 0x40]
shr rdx, 1
mov r9, rdx
call fcn.140001498
mov rcx, qword [rsi + 0x30]
lea rdx, [0x14003a64c]
call fcn.1400013f4
mov rdx, qword [r14 + 0x28]
mov rcx, qword [rsi + 0x30]
call fcn.1400013f4
mov rcx, qword [rsi + 0x30]
lea rdx, str..sys
call fcn.1400013f4
mov rax, qword [rsi + 0x40]
mov rcx, rsi
call qword [rax + 8]
test eax, eax
je 0x14000da64
mov rax, qword [rsi + 0x40]
mov dword [rsi + 0x50], 1
mov rax, qword [rax + 0x18]
test rax, rax
je 0x14000d502
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
test byte [rcx], 0x40
jne 0x14000da15
mov edx, dword [r15 + 8]
mov rcx, qword [rsi + 0x28]
call rax
test eax, eax
jne 0x14000d502
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cannot_register_provider_driver
call fcn.140011cb0
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x14000da46
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsi + 0x40]
mov rcx, rsi
call qword [rax + 0x10]
mov r8, qword [rsi + 0x30]
test r8, r8
je 0x14000da81
mov rax, qword gs:[0x30]
jmp 0x14000da71
mov rax, qword gs:[0x30]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rax + 0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword gs:[0x30]
mov r8, rsi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, rbx
jmp 0x14000d502