Function at 0x140018bc0
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 0x140018ec2
cmp byte [rdx], 0x5f
jne 0x140018c91
cmp byte [rdx + 1], 0x5f
jne 0x140018c91
cmp byte [rdx + 2], 0x49
jne 0x140018c91
lea rdx, str.__ImageBase
mov rcx, r14
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x140018c3c
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 0x140018c66
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 0x140018c91
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 0x140018e9c
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 0x140018e8a
mov ebx, dword [rdi + 0x3c]
cmp r11d, ebx
jae 0x140018e8a
mov eax, r11d
add rax, qword [rdi + 0x20]
mov r8, r14
sub r8, rax
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x140018cf4
inc rax
test cl, cl
jne 0x140018ce0
xor eax, eax
jmp 0x140018cf9
sbb eax, eax
or eax, 1
test eax, eax
jle 0x140018d07
mov r10d, r9d
mov dword [rsp + 0x30], r9d
jmp 0x140018d11
jns 0x140018d13
lea edx, [r9 + 1]
mov dword [rsp + 0x34], edx
jmp 0x140018ca0
mov rax, qword [rdi + 0x60]
movzx ecx, word [rax + r9*2]
mov r8d, ecx
mov r9d, dword [rdi + 0x50]
cmp ecx, r9d
jae 0x140018e81
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 0x140018d51
mov qword [r12], rsi
xor eax, eax
jmp 0x140018ecf
sub ebx, r11d
mov edx, ebx
mov rcx, rsi
call sym.VBoxNetFlt.sys_RTStrNLen
mov rdx, rax
cmp rax, rbx
jae 0x140018e5c
mov ecx, dword [rsp + 0x90]
cmp rax, 9
jbe 0x140018e03
lea r10, str.ntoskrnl.exe
cmp rdi, r10
je 0x140018e03
cmp qword [0x14002e030], 0
je 0x140018e03
cmp ecx, 2
jae 0x140018e03
movzx eax, byte [rsi]
sub al, 0x4e
test al, 0xdf
jne 0x140018e03
movzx eax, byte [rsi + 1]
sub al, 0x54
test al, 0xdf
jne 0x140018e03
movzx eax, byte [rsi + 2]
sub al, 0x4f
test al, 0xdf
jne 0x140018e03
movzx eax, byte [rsi + 3]
sub al, 0x53
test al, 0xdf
jne 0x140018e03
movzx eax, byte [rsi + 4]
sub al, 0x4b
test al, 0xdf
jne 0x140018e03
movzx eax, byte [rsi + 5]
sub al, 0x52
test al, 0xdf
jne 0x140018e03
movzx eax, byte [rsi + 6]
sub al, 0x4e
test al, 0xdf
jne 0x140018e03
movzx eax, byte [rsi + 7]
sub al, 0x4c
test al, 0xdf
jne 0x140018e03
cmp byte [rsi + 8], 0x2e
jne 0x140018e03
lea r8d, [rcx + 1]
lea rdx, [rsi + 9]
mov r9, r12
mov rcx, r10
call fcn.140018bc0
jmp 0x140018ecf
cmp rdx, 4
jbe 0x140018e5c
lea r10, str.hal.dll
cmp rdi, r10
je 0x140018e5c
cmp qword [0x14002e0a0], 0
je 0x140018e5c
cmp ecx, 2
jae 0x140018e5c
movzx eax, byte [rsi]
sub al, 0x48
test al, 0xdf
jne 0x140018e5c
movzx eax, byte [rsi + 1]
sub al, 0x41
test al, 0xdf
jne 0x140018e5c
movzx eax, byte [rsi + 2]
sub al, 0x4c
test al, 0xdf
jne 0x140018e5c
cmp byte [rsi + 3], 0x2e
jne 0x140018e5c
lea r8d, [rcx + 1]
lea rdx, [rsi + 4]
mov r9, r12
mov rcx, r10
call fcn.140018bc0
jmp 0x140018ecf
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 0x140018e9c
lea rcx, str.rtR0DbgKrnlInfoLookupSymbol:__s:_Name_ordinal_for__s_is_out_of_bounds:__x__max__x__n
jmp 0x140018e94
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 0x140018ec2
mov qword [r12], 0
mov eax, 0xfffffd9f
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret