Function at 0x140016070
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x48
mov r12, r9
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x30], 0
je 0x140016372
cmp byte [rdx], 0x5f
jne 0x140016141
cmp byte [rdx + 1], 0x5f
jne 0x140016141
cmp byte [rdx + 2], 0x49
jne 0x140016141
lea rdx, str.__ImageBase
mov rcx, r14
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x1400160ec
mov rax, qword [rdi + 0x20]
mov qword [r12], rax
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.__ImageSize
mov rcx, r14
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x140016116
mov eax, dword [rdi + 0x3c]
mov qword [r12], rax
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.__ImageNtHdrs
mov rcx, r14
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x140016141
mov rax, qword [rdi + 0x28]
mov qword [r12], rax
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
xor edx, edx
mov dword [rsp + 0x34], edx
mov r10d, dword [rdi + 0x54]
mov dword [rsp + 0x30], r10d
cmp edx, r10d
jae 0x14001634c
mov r9d, r10d
sub r9d, edx
shr r9d, 1
add r9d, edx
mov rax, qword [rdi + 0x58]
mov r11d, dword [rax + r9*4]
cmp r11d, dword [rdi + 0x38]
jb 0x14001633a
mov ebx, dword [rdi + 0x3c]
cmp r11d, ebx
jae 0x14001633a
mov eax, r11d
add rax, qword [rdi + 0x20]
mov r8, r14
sub r8, rax
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x1400161a4
inc rax
test cl, cl
jne 0x140016190
xor eax, eax
jmp 0x1400161a9
sbb eax, eax
or eax, 1
test eax, eax
jle 0x1400161b7
mov r10d, r9d
mov dword [rsp + 0x30], r9d
jmp 0x1400161c1
jns 0x1400161c3
lea edx, [r9 + 1]
mov dword [rsp + 0x34], edx
jmp 0x140016150
mov rax, qword [rdi + 0x60]
movzx ecx, word [rax + r9*2]
mov r8d, ecx
mov r9d, dword [rdi + 0x50]
cmp ecx, r9d
jae 0x140016331
mov rax, qword [rdi + 0x48]
mov r15d, dword [rax + rcx*4]
mov esi, r15d
add rsi, qword [rdi + 0x20]
mov eax, r15d
sub eax, dword [rdi + 0x40]
cmp eax, dword [rdi + 0x44]
jb 0x140016201
mov qword [r12], rsi
xor eax, eax
jmp 0x14001637f
sub ebx, r11d
mov edx, ebx
mov rcx, rsi
call sym.VBoxNetAdp.sys_RTStrNLen
mov rdx, rax
cmp rax, rbx
jae 0x14001630c
mov ecx, dword [rsp + 0x90]
cmp rax, 9
jbe 0x1400162b3
lea r10, str.ntoskrnl.exe
cmp rdi, r10
je 0x1400162b3
cmp qword [0x14002c100], 0
je 0x1400162b3
cmp ecx, 2
jae 0x1400162b3
movzx eax, byte [rsi]
sub al, 0x4e
test al, 0xdf
jne 0x1400162b3
movzx eax, byte [rsi + 1]
sub al, 0x54
test al, 0xdf
jne 0x1400162b3
movzx eax, byte [rsi + 2]
sub al, 0x4f
test al, 0xdf
jne 0x1400162b3
movzx eax, byte [rsi + 3]
sub al, 0x53
test al, 0xdf
jne 0x1400162b3
movzx eax, byte [rsi + 4]
sub al, 0x4b
test al, 0xdf
jne 0x1400162b3
movzx eax, byte [rsi + 5]
sub al, 0x52
test al, 0xdf
jne 0x1400162b3
movzx eax, byte [rsi + 6]
sub al, 0x4e
test al, 0xdf
jne 0x1400162b3
movzx eax, byte [rsi + 7]
sub al, 0x4c
test al, 0xdf
jne 0x1400162b3
cmp byte [rsi + 8], 0x2e
jne 0x1400162b3
lea r8d, [rcx + 1]
lea rdx, [rsi + 9]
mov r9, r12
mov rcx, r10
call fcn.140016070
jmp 0x14001637f
cmp rdx, 4
jbe 0x14001630c
lea r10, str.hal.dll
cmp rdi, r10
je 0x14001630c
cmp qword [0x14002c170], 0
je 0x14001630c
cmp ecx, 2
jae 0x14001630c
movzx eax, byte [rsi]
sub al, 0x48
test al, 0xdf
jne 0x14001630c
movzx eax, byte [rsi + 1]
sub al, 0x41
test al, 0xdf
jne 0x14001630c
movzx eax, byte [rsi + 2]
sub al, 0x4c
test al, 0xdf
jne 0x14001630c
cmp byte [rsi + 3], 0x2e
jne 0x14001630c
lea r8d, [rcx + 1]
lea rdx, [rsi + 4]
mov r9, r12
mov rcx, r10
call fcn.140016070
jmp 0x14001637f
mov eax, dword [rdi + 0x44]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x40]
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8, r14
mov rdx, rdi
lea rcx, str.rtR0DbgKrnlInfoLookupSymbol:__s:_Forwarded_symbol__s:_offExport_x__dir__x_LB__x__n
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001634c
lea rcx, str.rtR0DbgKrnlInfoLookupSymbol:__s:_Name_ordinal_for__s_is_out_of_bounds:__x__max__x__n
jmp 0x140016344
mov r8d, r11d
lea rcx, str.rtR0DbgKrnlInfoLookupSymbol:__s:_Bad_export_name_entry:__x__iCur_x__n
mov rdx, rdi
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140016372
mov qword [r12], 0
mov eax, 0xfffffd9f
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret