Function at 0x14000c910
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xb8
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x64], 0
call fcn.140002210
cdqe
lea rcx, [0x140023d80]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x80], rax
call fcn.140002210
cdqe
lea rcx, [0x140023d80]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x80]
cmp qword [rcx + 8], rax
jb 0x14000c96f
mov dword [rsp + 0x60], 1
jmp 0x14000c977
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x5c], eax
call fcn.140002210
mov edx, eax
lea rcx, [0x140016a30]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x5c], 0
je 0x14000c99e
call fcn.14000d0a0
call fcn.140002210
cdqe
lea rcx, [0x140023d80]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x88], rax
call fcn.140002210
cdqe
lea rcx, [0x140023d80]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
movzx eax, al
cmp eax, 2
jge 0x14000ca03
mov dword [rsp + 0x64], 1
call fcn.140002940
mov byte [rsp + 0x50], al
call fcn.140002210
mov edx, eax
lea rcx, [0x140016a50]
call sub.ntoskrnl.exe_DbgPrint
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdx, rax
lea rcx, [0x140016a60]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14000cab4
call fcn.140002210
cdqe
lea rcx, [0x140023d80]
mov rax, qword [rcx + rax*8]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rax]
mov rcx, qword [rsp + 0x70]
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x68]
lea rcx, [0x140016a80]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140002210
cdqe
lea rcx, [0x140023d80]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x90], rax
call fcn.140002210
cdqe
lea rcx, [0x140023d80]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
jmp 0x14000cad9
lea rcx, [0x140016a90]
call sub.ntoskrnl.exe_DbgPrint
movzx ecx, byte [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeLowerIrql]
call fcn.140002280
mov eax, dword [rsp + 0x5c]
jmp 0x14000ccf8
cmp dword [rsp + 0x64], 0
je 0x14000caeb
movzx ecx, byte [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeLowerIrql]
cmp dword [0x14001e3e8], 0
je 0x14000cb5f
lea rcx, [0x140016ab0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14001e3e0]
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [rsp + 0x78], eax
mov edx, dword [rsp + 0x78]
lea rcx, [0x140016ad0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000ccef
lea rcx, [0x140016af0]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [0x14001e368], 0
je 0x14000cce3
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14001e3c0]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
test eax, eax
jne 0x14000cce3
lea rcx, [0x140016b20]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x14001e380]
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
lea rcx, [0x140016b60]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [0x14001e368], 0
je 0x14000cc31
mov dword [rsp + 0x54], 0xffffffff
mov dword [rsp + 0x58], 0
jmp 0x14000cbea
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [0x14001b008]
cmp dword [rsp + 0x58], eax
jge 0x14000cc2f
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 0x30
mov rcx, qword [0x14001e368]
cmp dword [rcx + rax], 0
je 0x14000cc2d
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov rcx, qword [0x14001e368]
mov dword [rcx + rax], 0
jmp 0x14000cc2f
jmp 0x14000cbe0
jmp 0x14000cc39
mov dword [rsp + 0x54], 0xffffffff
cmp dword [rsp + 0x54], 0
jl 0x14000ccd4
lfence
mov edx, dword [rsp + 0x54]
lea rcx, [0x140016ba0]
call sub.ntoskrnl.exe_DbgPrint
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov rcx, qword [0x14001e368]
mov rdx, qword [rsp + 0x68]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov rcx, qword [0x14001e368]
mov edx, dword [rsp + 0x70]
mov dword [rcx + rax + 0x10], edx
call fcn.140002210
movsxd rcx, dword [rsp + 0x54]
imul rcx, rcx, 0x30
mov rdx, qword [0x14001e368]
mov dword [rdx + rcx + 0x14], eax
lea rcx, [0x140016bc0]
call sub.ntoskrnl.exe_DbgPrint
movsxd rax, dword [rsp + 0x54]
imul rax, rax, 0x30
mov rcx, qword [0x14001e368]
lea rax, [rcx + rax + 0x18]
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
lea rcx, [0x14001e380]
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
jmp 0x14000ccef
lea rcx, [0x140016bf0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140002280
mov eax, dword [rsp + 0x5c]
add rsp, 0xb8
pop rdi
pop rsi
ret