Function at 0x140004748
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5a8]
sub rsp, 0x6a8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rbx, r8
mov r12d, edx
mov r15, rcx
mov qword [rbp - 0x48], rbx
xor edx, edx
lea rcx, [rbp + 0x4d0]
mov r8d, 0xb8
mov rsi, r9
call fcn.14000a600
xor edi, edi
lea rcx, [rbp]
xorps xmm0, xmm0
mov dword [rbp - 0x74], edi
xor eax, eax
mov dword [rbp - 0x5c], edi
xor edx, edx
mov qword [rbp - 0x18], rax
mov r8d, 0xa0
mov qword [rsp + 0x78], rdi
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x70], rdi
call fcn.14000a600
movups xmm0, xmmword [0x14000c320]
mov rax, qword [rbx + 8]
lea rdx, [rbp + 0x4c0]
movdqu xmmword [rbp + 0x4c0], xmm0
movzx ecx, word [rax]
mov word [rbp + 0x4c8], cx
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rbp - 0x10]
lea rcx, [0x14000c330]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x68], 0x100
lea r14d, [rdi + 1]
mov qword [rsp + 0x60], rdi
lea r8, [rbp - 0x78]
mov dword [rsp + 0x58], edi
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x50], edi
mov eax, 0x200
mov qword [rsp + 0x48], rdi
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x20
mov r9, rsi
mov dword [rsp + 0x38], r14d
mov edx, 0x80100000
mov dword [rbp - 0x60], eax
lea rax, [rbp - 0x10]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdi
mov dword [rbp - 0x78], 0x30
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rax
movdqu xmmword [rbp - 0x58], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov ebx, eax
test eax, eax
jns 0x1400048a1
lfence
lea rcx, [0x14000c340]
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140004c58
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov edx, r14d
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
test eax, eax
jns 0x1400048e7
lfence
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [0x14000c360]
jmp 0x140004895
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax + 8]
mov r13, qword [rax + 0x10]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov cl, byte [r14 + 0x4c]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov rbx, rax
test rax, rax
jne 0x14000493d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x14000c390]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x140004c5a
xor r8d, r8d
lea rcx, [rbp - 0x28]
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rdx, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea r8, [rbp - 0x78]
mov dword [rsp + 0x38], edi
xorps xmm0, xmm0
mov eax, 0xd8
mov dword [rsp + 0x30], edi
mov dword [rbp - 0x78], 0x30
xor r9d, r9d
mov qword [rbp - 0x70], rdi
xor ecx, ecx
mov dword [rbp - 0x60], 0x40
mov qword [rbp - 0x68], rdi
movdqu xmmword [rbp - 0x58], xmm0
mov rdx, qword [rdx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call sub.ntoskrnl.exe_ObCreateObject
mov edi, eax
test eax, eax
jns 0x1400049c2
lfence
lea rcx, [0x14000c3b0]
mov edx, edi
call sub.ntoskrnl.exe_DbgPrint
mov eax, edi
jmp 0x140004c5a
mov rcx, qword [rsp + 0x70]
mov edi, 0xd8
mov r8d, edi
xor edx, edx
call fcn.14000a600
mov rax, qword [rsp + 0x70]
mov ecx, 5
mov edx, 0x200
mov word [rax], cx
mov rax, qword [rsp + 0x70]
mov word [rax + 2], di
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x50], 2
mov ecx, dword [0x140013060]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rcx, qword [rsp + 0x70]
mov edx, 0x200
mov rdi, qword [rbp - 0x48]
mov r8d, edx
mov r13d, 4
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x70]
mov word [rax + 0x5a], dx
xor edx, edx
movzx ecx, word [rdi]
mov rax, qword [rsp + 0x70]
sub cx, r13w
mov word [rax + 0x58], cx
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x60]
call fcn.14000a600
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rdi + 8]
add rdx, r13
movzx r8d, word [rcx + 0x58]
mov rcx, qword [rcx + 0x60]
call fcn.14000a340
mov rdx, qword [rsp + 0x70]
lea rcx, [0x14000c3d0]
add rdx, 0x58
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
lea edx, [r13 - 3]
sub rcx, 0xffffffffffffff80
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
add rcx, 0x98
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor edx, edx
lea rcx, [rbp + 0xa0]
mov r8d, 0x420
call fcn.14000a600
call qword [sym.imp.ntoskrnl.exe_IoGetFileObjectGenericMapping]
mov r8d, r12d
lea rdx, [rbp + 0xa0]
mov r9, rax
lea rcx, [rbp]
call sub.ntoskrnl.exe_SeCreateAccessState
xor r13d, r13d
mov edi, eax
test eax, eax
jns 0x140004b0e
lfence
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x14000c3f0]
jmp 0x1400049b4
mov qword [rbp - 0x40], r13
lea rax, [rbp]
mov qword [rbp - 0x38], rax
lea rcx, [0x140004dc0]
mov rax, qword [rbp + 0x638]
xorps xmm0, xmm0
mov dword [rbp - 0x30], r12d
mov dword [rbp - 0x2c], r13d
movups xmmword [rsi], xmm0
mov qword [rbx + 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rbx + 0x50], rax
mov qword [rbx + 8], r13
mov dword [rbx + 0x10], 0x84
mov word [rbx + 0x40], r13w
mov qword [rbx + 0x48], rsi
mov byte [rbx + 0x44], r13b
mov qword [rbx + 0x68], r13
mov rax, qword gs:[0x188]
mov rdx, qword [rbx + 0xb8]
mov qword [rbx + 0x98], rax
mov qword [rbx + 0xa0], r13
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0xc0], rax
mov byte [rdx - 0x48], r13b
mov qword [rdx - 0x20], r14
mov rax, qword [rsp + 0x70]
mov qword [rdx - 0x18], rax
lea rax, [rbp - 0x40]
mov qword [rdx - 0x40], rax
mov eax, dword [rbp + 0x628]
shl eax, 0x18
or eax, dword [rbp + 0x630]
mov dword [rdx - 0x38], eax
movzx eax, word [rbp + 0x618]
mov word [rdx - 0x30], ax
movzx eax, word [rbp + 0x620]
mov word [rdx - 0x2e], ax
mov eax, dword [rbp + 0x640]
mov dword [rdx - 0x28], eax
mov rdx, rbx
mov rax, qword [rbx + 0xb8]
mov qword [rax - 0x10], rcx
mov rcx, r14
mov qword [rax - 8], r13
mov byte [rax - 0x45], 0xe0
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
cmp eax, 0x103
jne 0x140004c0f
mov r9b, 1
mov qword [rsp + 0x20], r13
xor r8d, r8d
lea rcx, [rbp - 0x28]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov ebx, dword [rsi]
lfence
test ebx, ebx
jns 0x140004c31
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x14000c420]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140004c58
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
lock inc dword [rcx + 4]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140004c55
lock inc dword [rcx + 0x1c]
mov rax, qword [rsp + 0x70]
mov qword [r15], rax
mov eax, ebx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.14000a130
add rsp, 0x6a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret