Function at 0x1e560
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
cmp dword [rsp + 0x118], 0x40
jle 0x1e590
mov eax, 0xc0000001
jmp 0x1e874
mov eax, dword [rsp + 0x108]
mov dword [0x00030448], eax
cmp dword [0x00030448], 0
je 0x1e69f
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0xa8], 0x30
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xc0], 0x240
lea rax, [rsp + 0x90]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov rdx, qword [rsp + 0x98]
lea rcx, [0x000265f0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [0x00030440], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x24
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa8]
mov edx, 0x10100005
lea rcx, [0x00030440]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0xa0], eax
mov edx, dword [rsp + 0xa0]
lea rcx, [0x00026610]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x118]
mov dword [0x0002919c], eax
mov r8d, dword [0x0002919c]
mov edx, dword [0x0002919c]
lea rcx, [0x00030420]
call qword [sym.imp.ntoskrnl.exe_KeInitializeSemaphore]
lea rcx, [0x000303c0]
call fcn.0001d440
movsxd rdx, dword [0x0002919c]
imul rdx, rdx, 0x30
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x00030410], rax
movsxd rdx, dword [0x0002919c]
shl rdx, 3
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x000303f8], rax
movsxd rcx, dword [0x0002919c]
imul rcx, rcx, 0x30
mov rdi, qword [0x00030410]
xor eax, eax
rep stosb byte [rdi], al
movsxd rcx, dword [0x0002919c]
shl rcx, 3
mov rdi, qword [0x000303f8]
xor eax, eax
rep stosb byte [rdi], al
cmp qword [0x00030410], 0
je 0x1e863
cmp qword [0x000303f8], 0
je 0x1e863
mov dword [rsp + 0x60], 0
jmp 0x1e763
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [0x0002919c]
cmp dword [rsp + 0x60], eax
jge 0x1e7ec
movsxd rcx, dword [rsp + 0x60]
imul rcx, rcx, 0x30
mov rax, qword [0x00030410]
mov qword [rax + rcx + 8], 0
movsxd rcx, dword [rsp + 0x60]
imul rcx, rcx, 0x30
mov rax, qword [0x00030410]
lea rcx, [rax + rcx + 0x18]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
movsxd rcx, dword [rsp + 0x60]
imul rcx, rcx, 0x30
mov rax, qword [0x00030410]
mov dword [rax + rcx], 1
movsxd rcx, dword [rsp + 0x60]
imul rcx, rcx, 0x30
mov rax, qword [0x00030410]
lea rdx, [rax + rcx + 0x18]
movsxd rcx, dword [rsp + 0x60]
mov rax, qword [0x000303f8]
mov qword [rax + rcx*8], rdx
jmp 0x1e758
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x78], eax
lea r8, [0x000291a8]
mov edx, 8
mov ecx, 1
mov rax, qword [sym.imp.ntoskrnl.exe_HalDispatchTable]
call qword [rax + 0x10]
mov dword [rsp + 0xd8], eax
mov edx, dword [rsp + 0xd8]
lea rcx, [0x00026630]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [0x0001dfa0]
call fcn.00012100
xor eax, eax
jmp 0x1e874
lea rcx, [0x00026660]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc00000a0
add rsp, 0xe0
pop rdi
ret