Function at 0x14000c7a8
Capabilities:
Access peb ldr_data
Get ntdll base address
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
xor r14d, r14d
mov r12d, r9d
cmp ecx, 0x1f
mov r13d, r8d
mov r15d, edx
mov ebx, r14d
sbb edi, edi
and edi, ecx
call fcn.14000c730
mov qword [rbp - 0x61], rax
test rax, rax
je 0x14000c82e
mov rax, qword [0x14005aee0]
lea r10d, [r14 + 1]
test rax, rax
je 0x14000c81f
mov edx, dword [rax]
mov ecx, r14d
test edx, edx
je 0x14000c81f
mov r8, qword [rax + 8]
mov esi, ecx
shl rsi, 6
add rsi, r8
cmp dword [rsi + 0xc], edi
je 0x14000c84c
add ecx, r10d
cmp ecx, edx
jb 0x14000c80a
lea rdx, str.____Requested_provider_data_was_not_found_in_database__abort_r_n
mov ecx, r10d
call fcn.1400103f0
mov rax, rbx
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rsi, rsi
je 0x14000c81f
mov r14d, edi
lea rax, [0x140058140]
shl r14, 7
add r14, rax
mov qword [r14], rsi
test r12d, r12d
je 0x14000c8c2
mov eax, r12d
sub eax, r10d
je 0x14000c89c
sub eax, r10d
je 0x14000c895
sub eax, r10d
je 0x14000c88e
cmp eax, r10d
je 0x14000c887
lea r9, [rsi + 0x18]
jmp 0x14000c8a8
mov ecx, 8
jmp 0x14000c89f
mov ecx, 4
jmp 0x14000c89f
mov ecx, 2
jmp 0x14000c89f
mov ecx, r10d
lea r9, [rsi + 0x18]
test dword [rsi + 0x18], ecx
ja 0x14000c8c2
mov r9d, dword [r9]
lea rdx, str.____Selected_shellcode__lu_is_not_supported_by_this_provider__supported_mask:_0x_08x___abort_r_n
mov r8d, r12d
mov ecx, r10d
call fcn.1400103f0
jmp 0x14000c82e
and dword [rbp + 0x5f], ebx
lea rdi, [rbp - 0x59]
xor eax, eax
lea r9, [rbp + 0x5f]
lea edx, [rax + 0x20]
mov ecx, edx
mov r8d, edx
rep stosb byte [rdi], al
lea ecx, [rax + 0x5a]
lea rdx, [rbp - 0x59]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x14000c8f8
mov edx, eax
lea rcx, str.____Error:_NTSTATUS__0x_lX__r_n
call fcn.140003224
test r15d, r15d
je 0x14000c914
test byte [rsi + 0x14], 1
jne 0x14000c914
lea rdx, str.____Error:_Disable_Memory_Integrity_HVCI_in_Windows_Security._r_n
mov ecx, 1
jmp 0x14000c829
cmp r13d, dword [rsi]
jb 0x14000c82e
mov ecx, dword [rbp + 0x7f]
xor r15d, r15d
mov r13d, 1
mov edx, ecx
mov edi, r13d
test ecx, ecx
je 0x14000c93c
sub edx, r13d
je 0x14000c93c
cmp edx, r13d
jne 0x14000c975
mov rax, qword [r14]
mov edx, dword [rax + 0x14]
test dl, 0x20
je 0x14000c95c
cmp qword [r14 + 0x58], r15
jne 0x14000c95c
lea rdx, str.____Abort:_Driver_does_not_support_memory_translation_or_r_n_tKDU_interface_is_not_implemented_for_these_methods._r_n
mov ecx, r13d
jmp 0x14000c829
test dl, dl
jns 0x14000c975
cmp qword [r14 + 0x68], r15
je 0x14000c96c
cmp qword [r14 + 0x70], r15
jne 0x14000c975
lea rdx, str.____Abort:_Driver_does_not_support_physical_memory_read_write_or_r_n_tKDU_interface_is_not_implemented_for_these_methods._r_n
jmp 0x14000c954
test ecx, ecx
je 0x14000c9a5
sub ecx, edi
je 0x14000c990
cmp ecx, edi
jne 0x14000c9bd
cmp qword [r14 + 0x40], r15
jne 0x14000c9bd
lea rdx, str.____Abort:_Driver_does_not_support_changing_DSE_values_or_r_n_tKDU_interface_is_not_implemented_for_this_method._r_n
jmp 0x14000c9b2
cmp qword [r14 + 0x48], r15
je 0x14000c99c
cmp qword [r14 + 0x50], r15
jne 0x14000c9bd
lea rdx, str.____Abort:_Driver_does_not_support_arbitrary_kernel_read_write._r_n
jmp 0x14000c9b2
cmp qword [r14 + 0x38], r15
jne 0x14000c9bd
lea rdx, str.____Abort:_Driver_does_not_support_driver_mapping._r_n
mov ecx, r13d
call fcn.1400103f0
mov edi, r15d
test edi, edi
je 0x14000c82e
mov dl, r13b
mov ecx, 0x14
call fcn.1400025a0
mov dl, r13b
mov ecx, 0xa
call fcn.1400025a0
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 rbx, rax
test rax, rax
jne 0x14000ca15
lea rdx, str.____Error:_Restart_your_PC_and_try_again_r_n
jmp 0x14000c954
mov qword [rax + 0x40], r14
mov rax, qword [r14 + 0x78]
test rax, rax
je 0x14000ca4c
mov rcx, rbx
call rax
test eax, eax
jne 0x14000ca4c
mov rax, qword gs:[0x30]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, r15
jmp 0x14000ca09
lea rcx, str.PROCEXP152
mov rax, r15
mov r14d, 0x40
test byte [rsi + 0x14], r14b
cmove rax, rcx
xor edi, edi
mov qword [rbx + 0x48], rax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r15, qword [rcx + 0x20]
mov rcx, qword [rsi + 0x28]
mov rax, rcx
test rcx, rcx
jne 0x14000ca8f
mov ecx, edi
jmp 0x14000ca9a
add rcx, 2
cmp word [rcx], di
jne 0x14000ca8b
sub rcx, rax
sar rcx, 1
movzx eax, word [r15 + 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 [rbx + 0x30], rax
test rax, rax
jne 0x14000caf0
mov rax, qword gs:[0x30]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, rdi
jmp 0x14000c82e
mov eax, dword [rbp + 0x6f]
mov dword [rbx + 4], eax
mov rax, qword [rbp - 0x61]
mov dword [rbx + 8], r12d
xor r12d, r12d
mov qword [rbx + 0x10], rax
call fcn.14000266c
test rax, rax
je 0x14000cb2f
mov rcx, qword gs:[0x30]
mov r8, rax
mov rdi, qword [rax + 0x18]
xor edx, edx
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbx + 0x18], rdi
lea r9, [rbp + 0x5f]
xor eax, eax
mov dword [rbp + 0x5f], r12d
lea rdi, [rbp - 0x21]
mov rcx, r14
rep stosb byte [rdi], al
xor ecx, ecx
lea rdx, [rbp - 0x21]
mov r8d, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14000cb5f
mov rax, qword [rbp + 7]
jmp 0x14000cb78
xor eax, eax
lea rdi, [rbp - 0x59]
lea ecx, [rax + 0x30]
rep stosb byte [rdi], al
lea rcx, [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rbp - 0x49]
mov ecx, 0x16
mov qword [rbx + 0x38], rax
mov r14d, 0x20206f49
call fcn.140002760
mov r8, rax
test rax, rax
je 0x14000cbde
mov rcx, r12
cmp dword [rax], r12d
jbe 0x14000cbc5
mov edi, dword [r8]
add rax, 8
mov rdx, qword [rax + 0x20]
mov r9, rcx
cmp rdx, rcx
jbe 0x14000cbb2
mov r14d, dword [rax]
add rax, 0x28
mov rcx, rdx
cmp rdx, r9
cmovbe rcx, r9
sub rdi, r13
jne 0x14000cba3
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 [rbx + 0x30]
mov dword [rbx + 0xc], r14d
movzx edx, word [r15 + 0x38]
mov r8, qword [r15 + 0x40]
shr rdx, 1
mov r9, rdx
call fcn.14000222c
mov rcx, qword [rbx + 0x30]
lea rdx, [0x14004cfa8]
call fcn.140002188
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rbx + 0x30]
call fcn.140002188
mov rcx, qword [rbx + 0x30]
lea rdx, str..sys
call fcn.140002188
mov rax, qword [rbx + 0x40]
mov rcx, rbx
call qword [rax + 8]
test eax, eax
je 0x14000cca9
mov rax, qword [rbx + 0x40]
mov dword [rbx + 0x50], r13d
mov rax, qword [rax + 0x18]
test rax, rax
je 0x14000c82e
test byte [rsi + 0x14], 0x40
mov rdx, rbx
jne 0x14000cc56
mov edx, dword [rsi + 8]
mov rcx, qword [rbx + 0x28]
call rax
test eax, eax
jne 0x14000c82e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____Could_not_register_provider_driver__GetLastError__lu_r_n
mov ecx, r13d
mov r8d, eax
call fcn.1400103f0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14000cc8b
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rbx + 0x40]
mov rcx, rbx
call qword [rax + 0x10]
mov r8, qword [rbx + 0x30]
test r8, r8
je 0x14000ccc6
mov rax, qword gs:[0x30]
jmp 0x14000ccb6
mov rax, qword gs:[0x30]
mov r8, qword [rbx + 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, rbx
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, r12
jmp 0x14000c82e