Function at 0x22080
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
push 0x4641444b
push 0x82
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x220dd
push 0x2c240
push 0x122b
push 0xc000009a
call fcn.00019350
mov dword [ebp - 0x10], eax
jmp 0x222b1
mov ecx, dword [ebp - 0x18]
call fcn.000222e0
mov ecx, dword [ebp - 0x18]
movsx dx, byte [ecx + 0x176a6]
mov word [ebp - 0xc], dx
movzx eax, word [ebp - 0xc]
push eax
call fcn.00027dc0
movzx ecx, al
test ecx, ecx
je 0x2219b
push 0x82
push 0
mov edx, dword [ebp - 4]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x2c600
movzx eax, word [ebp - 0xc]
push eax
push 0x2d640
push 0x40
mov ecx, dword [ebp - 4]
push ecx
call fcn.00019730
add esp, 0x14
mov edx, dword [ebp - 4]
push edx
push 0x2d620
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00021e70
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + edx*4 + 0x19b50], eax
cmp dword [ebp - 0x10], 0
je 0x22182
push 0x2c240
push 0x1238
mov edx, dword [ebp - 0x10]
push edx
call fcn.00019350
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax*4 + 0x19b50], 0
je 0x2219b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x221ad
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1a
jae 0x2228b
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
movsx dx, byte [ecx + 0x176a7]
mov word [ebp - 0xc], dx
movzx eax, word [ebp - 0xc]
test eax, eax
jne 0x221d6
jmp 0x2228b
movzx ecx, word [ebp - 0xc]
push ecx
call fcn.00027dc0
movzx edx, al
test edx, edx
jne 0x221ec
jmp 0x2228b
push 0x82
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x2c5c0
movzx ecx, word [ebp - 0xc]
push ecx
push 0x2d640
push 0x40
mov edx, dword [ebp - 4]
push edx
call fcn.00019730
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
push 0x2d620
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00021e70
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [edx + ecx*4 + 0x19b50], eax
cmp dword [ebp - 0x10], 0
je 0x22265
push 0x2c240
push 0x124b
mov eax, dword [ebp - 0x10]
push eax
call fcn.00019350
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
cmp dword [edx + ecx*4 + 0x19b50], 0
je 0x22286
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jb 0x22286
jmp 0x2228b
jmp 0x221a4
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x222a9
cmp dword [ebp - 8], 0
jne 0x222a2
mov dword [ebp - 0x10], 0xc0000034
jmp 0x222a9
mov dword [ebp - 0x10], 0
xor edx, edx
jne 0x220a6
cmp dword [ebp - 4], 0
je 0x222c3
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4