Function at 0x140004740
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 [0x14000d2b8]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rbx, r8
mov r13d, edx
mov r12, rcx
mov qword [rbp - 0x48], rbx
xor edx, edx
lea rcx, [rbp + 0x4d0]
mov r8d, 0xb8
mov r14, r9
call fcn.140006a40
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 - 8], rax
mov r8d, 0xa0
mov qword [rsp + 0x78], rdi
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x80], rdi
movups xmmword [rbp - 0x18], xmm0
mov qword [rsp + 0x70], rdi
call fcn.140006a40
movups xmm0, xmmword [0x1400071b0]
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 - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rbp - 0x40]
lea rcx, [0x1400071c0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x68], 0x100
lea esi, [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, r14
mov dword [rsp + 0x38], esi
mov edx, 0x80100000
mov dword [rbp - 0x60], eax
lea rax, [rbp - 0x40]
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 0x140004898
lea rcx, [0x1400071e0]
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140004c4f
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, esi
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
test eax, eax
jns 0x1400048da
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [0x140007210]
jmp 0x14000488c
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax + 8]
mov r15, 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 [rsi + 0x4c]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov rbx, rax
test rax, rax
jne 0x140004924
lea rcx, [0x140007250]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x140004c51
xor r8d, r8d
lea rcx, [rbp - 0x18]
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 0x1400049a6
lea rcx, [0x140007270]
mov edx, edi
call sub.ntoskrnl.exe_DbgPrint
mov eax, edi
jmp 0x140004c51
mov rcx, qword [rsp + 0x70]
mov edi, 0xd8
mov r8d, edi
xor edx, edx
call fcn.140006a40
mov rax, qword [rsp + 0x70]
mov ecx, 5
mov edx, 0x200
mov word [rax], cx
xor ecx, ecx
mov rax, qword [rsp + 0x70]
mov word [rax + 2], di
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], r15
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x50], 2
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rcx, qword [rsp + 0x70]
xor r15d, r15d
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x60], r15
jne 0x140004a22
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x14000491a
mov rdi, qword [rbp - 0x48]
mov edx, 0x200
mov word [rax + 0x5a], dx
mov r8d, edx
mov rax, qword [rsp + 0x70]
xor edx, edx
movzx ecx, word [rdi]
sub cx, 4
mov word [rax + 0x58], cx
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x60]
call fcn.140006a40
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rdi + 8]
add rdx, 4
movzx r8d, word [rcx + 0x58]
mov rcx, qword [rcx + 0x60]
call fcn.140006b40
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1400072a0]
add rdx, 0x58
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
sub rcx, 0xffffffffffffff80
lea edx, [r8 + 1]
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.140006a40
call qword [sym.imp.ntoskrnl.exe_IoGetFileObjectGenericMapping]
mov r8d, r13d
lea rdx, [rbp + 0xa0]
mov r9, rax
lea rcx, [rbp]
call sub.ntoskrnl.exe_SeCreateAccessState
mov edi, eax
test eax, eax
jns 0x140004b05
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x1400072c0]
jmp 0x140004998
mov qword [rbp - 0x30], r15
lea rax, [rbp]
mov qword [rbp - 0x28], rax
lea rcx, [0x140004db0]
mov rax, qword [rbp + 0x638]
xorps xmm0, xmm0
mov dword [rbp - 0x20], r13d
mov dword [rbp - 0x1c], r15d
movups xmmword [r14], xmm0
mov qword [rbx + 0x18], rax
lea rax, [rbp - 0x18]
mov qword [rbx + 0x50], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 0x84
mov word [rbx + 0x40], r15w
mov qword [rbx + 0x48], r14
mov byte [rbx + 0x44], r15b
mov qword [rbx + 0x68], r15
mov rax, qword gs:[0x188]
mov rdx, qword [rbx + 0xb8]
mov qword [rbx + 0x98], rax
mov qword [rbx + 0xa0], r15
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0xc0], rax
mov byte [rdx - 0x48], r15b
mov qword [rdx - 0x20], rsi
mov rax, qword [rsp + 0x70]
mov qword [rdx - 0x18], rax
lea rax, [rbp - 0x30]
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, rsi
mov qword [rax - 8], r15
mov byte [rax - 0x45], 0xe0
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
cmp eax, 0x103
jne 0x140004c07
mov r9b, 1
mov qword [rsp + 0x20], r15
xor r8d, r8d
lea rcx, [rbp - 0x18]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov ebx, dword [r14]
test ebx, ebx
jns 0x140004c27
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x1400072f0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140004c4f
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 0x140004c4b
lock inc dword [rcx + 0x1c]
mov rax, qword [rsp + 0x70]
mov qword [r12], rax
mov eax, ebx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.1400067f0
add rsp, 0x6a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret