Function at 0x140002868
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x14000c330]
xor rax, rsp
mov qword [rbp + 0x290], rax
or qword [rsp + 0x70], 0xffffffffffffffff
xor eax, eax
mov qword [rbp - 0x48], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rdx
xor esi, esi
lea r8d, [rcx + 0x48]
mov word [rbp - 0x40], cx
mov edi, ecx
mov ebx, ecx
mov word [rbp + 0x70], cx
mov qword [rbp + 0x20], rcx
lea rcx, [rbp + 0x28]
xor edx, edx
mov dword [rsp + 0x60], 0xc0000001
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp + 0x72], rax
mov dword [rbp + 0x7a], eax
mov word [rbp + 0x7e], ax
call fcn.140001550
xor ecx, ecx
xor eax, eax
lea r8d, [rbx + 0x28]
mov dword [rsp + 0x78], ecx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x28], rcx
mov dword [rbp - 0x18], ecx
lea rcx, [rbp - 0x10]
xor edx, edx
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov dword [rbp - 0x6c], eax
mov qword [rbp - 0x20], rax
call fcn.140001550
xor eax, eax
and qword [rsp + 0x68], rax
mov word [rbp - 0x58], ax
mov qword [rbp - 0x56], rax
mov dword [rbp - 0x4e], eax
mov word [rbp - 0x4a], ax
cmp qword [rbp - 0x48], rax
je 0x140002c91
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140002c91
lea rcx, [rbp - 0x58]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor ecx, ecx
lea rax, [rbp - 0x58]
xorps xmm0, xmm0
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 0x60
movdqu xmmword [rbp + 8], xmm0
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], ecx
mov qword [rbp - 0x10], rcx
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x28]
lea rcx, [rsp + 0x68]
lea r8, [rbp - 0x18]
mov edx, 0x40000000
mov dword [rbp - 0x18], 0x30
mov dword [rbp], 0x240
mov qword [rbp - 8], rax
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jns 0x1400029c9
lea rcx, [0x140009560]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140002c91
mov rax, qword [rsp + 0x68]
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x20]
mov qword [rbp - 0x60], rax
call fcn.140001550
mov rdx, qword [rbp - 0x48]
and dword [rbp - 0x74], 0x80ffffff
lea rax, [rbp - 0x60]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x70], rax
mov eax, dword [rsp + 0x78]
and eax, 0xfffe13fd
or eax, 0x1001
mov dword [rsp + 0x78], eax
lea rax, [0x140002d24]
mov qword [rbp + 0x50], rax
call fcn.140002de0
test eax, eax
je 0x140002a34
lea rcx, [0x140009590]
call sub.ntoskrnl.exe_DbgPrint
mov rsi, qword [rbp - 0x38]
jmp 0x140002c91
mov rsi, qword [rbp - 0x38]
mov edx, 0x2710
mov rcx, rsi
call fcn.14000270c
mov ecx, eax
test eax, eax
jne 0x140002a57
lea rcx, [0x1400095c0]
jmp 0x1400029bf
movzx eax, word [rbp - 0x40]
mov r9d, 2
mov dword [rbp + 0x74], ecx
rol ax, 8
lea edx, [r9 - 1]
xor r8d, r8d
mov ecx, r9d
mov word [rbp + 0x70], r9w
mov word [rbp + 0x72], ax
call fcn.1400079bc
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x140002a97
lea rcx, [0x1400095f0]
jmp 0x1400029bf
lea rdx, [rbp + 0x70]
mov r8d, 0x10
mov rcx, rax
call fcn.140004cec
test eax, eax
jns 0x140002ab9
lea rcx, [0x140009620]
jmp 0x1400029bf
mov edx, 0x1000
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
jne 0x140002add
lea rcx, [0x140009640]
jmp 0x1400029bf
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call fcn.140001550
mov r9, qword [rbp - 0x30]
lea r8, [0x140009670]
mov edx, 0x1000
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.140004050
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x140002b0e
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call fcn.1400077f8
test eax, eax
jg 0x140002b39
lea rcx, [0x140009690]
jmp 0x1400029bf
mov edx, 0x1000
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rbx, rax
test rax, rax
jne 0x140002b5d
lea rcx, [0x1400096c0]
jmp 0x1400029bf
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call fcn.140001550
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, rbx
call fcn.140007698
test eax, eax
jle 0x140002c6e
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x78]
movsxd r9, eax
mov r8, rbx
call fcn.1400051d4
movzx eax, word [rbp - 0x74]
mov edx, eax
cmp eax, 0xc8
jne 0x140002bb7
mov byte [0x14000c340], 1
xor edx, edx
jmp 0x140002bcf
lea rcx, [0x140009720]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, word [rbp - 0x74]
xor edx, edx
mov byte [0x14000c340], dl
movzx ecx, ax
cmp ecx, 0x12c
jb 0x140002c56
cmp ecx, 0x190
jae 0x140002c56
mov byte [rbp + 0x80], dl
lea rcx, [rbp + 0x81]
mov r8d, 0x207
xor edx, edx
call fcn.140001550
lea rdx, [rbp + 0x80]
mov r8d, 0x208
mov rcx, rbx
call fcn.140002d70
xor r8d, r8d
test al, al
je 0x140002c59
lea rdx, [rbp + 0x80]
lea rcx, [0x140009750]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002c42
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x80]
call fcn.140002868
mov dword [rsp + 0x60], eax
xor r8d, r8d
mov edx, dword [rbp - 0x74]
cmp dx, 0xc8
jne 0x140002c91
cmp qword [rbp - 0x80], r8
je 0x140002c7d
jmp 0x140002b6d
lea rcx, [0x1400096f0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [rbp - 0x74]
cmp dx, 0xc8
jne 0x140002c91
mov rax, qword [rbp - 0x80]
neg rax
sbb ecx, ecx
and dword [rsp + 0x60], ecx
cmp byte [0x14000c340], 0
je 0x140002cad
mov rax, qword [rsp + 0x70]
cmp rax, 0xffffffffffffffff
je 0x140002cad
mov rcx, rax
call fcn.140004c1c
test rdi, rdi
je 0x140002cbd
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rbx, rbx
je 0x140002ccd
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rsi, rsi
je 0x140002cdd
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140002cee
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002cfe
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400092a0
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x3a0
pop rdi
pop rsi
pop rbp
ret