Function at 0x11812
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x1c]
push 0x1ff
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x20f]
push 0
push eax
mov byte [ebp - 0x210], 0
call sub.ntoskrnl.exe_memset
mov ecx, dword [ebp + 0x18]
lea eax, [ebx + ecx]
add esp, 0xc
cmp byte [eax - 4], 0xd
jne 0x11bff
cmp byte [eax - 3], 0xa
jne 0x11bff
cmp byte [eax - 2], 0xd
jne 0x11bff
cmp byte [eax - 1], 0xa
jne 0x11bff
push 0x504b484e
lea eax, [ecx + 0x200]
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
mov dword [ebp - 0x224], esi
test esi, esi
je 0x11e09
mov eax, dword [ebp + 0x18]
add eax, 0x200
push eax
push 0
push esi
call sub.ntoskrnl.exe_memset
push dword [ebp + 0x18]
push ebx
push esi
call sub.ntoskrnl.exe_memcpy
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
add esp, 0x18
add eax, esi
push eax
add ecx, esi
push 0x133e6
mov dword [ebp - 0x218], eax
lea ebx, [edi + esi]
mov dword [ebp - 0x220], ecx
call fcn.00012402
mov edi, eax
test edi, edi
jne 0x11922
push dword [ebp - 0x218]
push 0x133e0
call fcn.00012402
mov edi, eax
test edi, edi
je 0x11da2
push edi
push 0x133de
call fcn.00012402
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x1193b
mov byte [eax - 1], 0x20
push edi
push 0x133d6
call fcn.00012402
mov dword [ebp - 0x228], eax
test eax, eax
je 0x11da2
push eax
push 0x133d2
call fcn.00012402
mov dword [ebp - 0x214], eax
test eax, eax
je 0x11976
sub eax, 3
mov dword [ebp - 0x214], eax
mov byte [eax + 1], 0xd
mov eax, dword [ebp - 0x21c]
mov ecx, edi
mov byte [eax - 1], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x11985
mov eax, dword [ebp - 0x214]
mov byte [eax + 1], 0
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x228]
sub ecx, edx
push edi
mov dword [ebp - 0x218], ecx
call fcn.00010fc2
mov dword [ebp - 0x228], eax
cmp eax, 3
je 0x11bc9
cmp eax, 4
je 0x11bc9
cmp eax, 5
je 0x11bc9
test eax, eax
je 0x11df3
mov eax, dword [ebp - 0x21c]
mov byte [eax - 1], 0x20
mov eax, dword [ebp - 0x214]
mov byte [eax + 1], 0xd
lea eax, [ebp - 0x210]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x119f7
sub eax, ecx
mov ecx, dword [ebp - 0x218]
sub esi, edi
add esi, dword [ebp + 0x18]
add ecx, edi
push esi
push ecx
add eax, edi
push eax
call dword [sym.imp.ntoskrnl.exe_memmove]
lea eax, [ebp - 0x210]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11a24
sub eax, esi
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call sub.ntoskrnl.exe_memcpy
lea eax, [ebp - 0x210]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11a47
sub eax, esi
mov byte [eax + edi], 0x20
lea eax, [ebp - 0x210]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11a5d
sub eax, esi
mov edi, eax
movzx eax, word [ebx + 2]
push eax
call fcn.00012d6a
sub edi, dword [ebp - 0x218]
movzx esi, ax
mov eax, dword [ebp - 0x254]
add esi, edi
lea ecx, [esi + 0xe]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
cmp ecx, eax
je 0x11b2b
sub eax, ecx
mov dword [ebp - 0x240], eax
push dword [ebx + 0x10]
call fcn.00012d40
mov edi, dword [ebp - 0x220]
mov dword [ebp - 0x248], eax
movzx eax, word [edi]
push eax
call fcn.00012d6a
movzx eax, ax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
push 0x13780
call fcn.000121f4
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x11b00
push 0x14
lea eax, [ebp - 0x250]
push eax
push 0x13780
call fcn.000121b4
test eax, eax
je 0x11b31
push eax
push 0x13780
call fcn.000122b4
jmp 0x11b31
push dword [edi + 4]
call fcn.00012d40
mov ecx, dword [ebp - 0x218]
sub eax, dword [ecx + 0x10]
push eax
call fcn.00012d40
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x218]
add dword [eax + 0x10], ecx
jmp 0x11b31
mov edi, dword [ebp - 0x220]
push esi
call fcn.00012d6a
mov word [ebx + 2], ax
xor eax, eax
mov word [ebx + 0xa], ax
movzx eax, byte [ebx]
and eax, 0xf
shl eax, 2
push eax
push 0
push ebx
call fcn.000124bc
push eax
call fcn.000124a2
movzx eax, ax
push eax
call fcn.00012d6a
mov word [ebx + 0xa], ax
lea eax, [esi + 0xe]
push eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x10]
push eax
call fcn.0001251e
push 0xc
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.000124bc
mov dword [ebp - 0x214], eax
xor eax, eax
mov word [edi + 0x10], ax
movzx eax, byte [ebx]
and eax, 0xf
shl eax, 2
sub esi, eax
push esi
push 0
push edi
call fcn.000124bc
add dword [ebp - 0x214], eax
push dword [ebp - 0x214]
call fcn.000124a2
movzx eax, ax
push eax
call fcn.00012d6a
mov word [edi + 0x10], ax
jmp 0x11e03
xor eax, eax
lea edi, [ebp - 0x23c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x504b484e
mov edi, 0x80a
push edi
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [ebp - 0x22c], eax
test eax, eax
jne 0x11c12
push 0x504b484e
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00012d86
leave
ret 0x18
push edi
push 0
push eax
call sub.ntoskrnl.exe_memset
mov eax, dword [ebp - 0x220]
movzx eax, word [eax]
add esp, 0xc
push eax
call fcn.00012d6a
movzx eax, ax
mov dword [ebp - 0x230], eax
push dword [ebx + 0x10]
call fcn.00012d40
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x22c]
add eax, 0x400
cmp dword [ebp - 0x228], 3
mov esi, 0x3ff
jne 0x11c9d
push 0x13356
push esi
push eax
call fcn.000117b2
mov ecx, dword [ebp - 0x22c]
lea eax, [ecx + 0x400]
add esp, 0x10
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x11c82
sub eax, edi
push eax
push 0x132d6
push esi
push ecx
call fcn.000117b2
add esp, 0x10
jmp 0x11ceb
push 0x13286
push esi
push eax
call fcn.000117b2
mov ecx, dword [ebp - 0x22c]
lea eax, [ecx + 0x400]
add esp, 0x10
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x11cbb
sub eax, edi
push eax
lea eax, [ebp - 0x210]
push eax
push 0x1320c
push esi
push ecx
call fcn.000117b2
push dword [ebp - 0x22c]
push 0x13208
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x1c
mov ecx, dword [ebp - 0x22c]
lea eax, [ecx + 0x400]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x11cfa
sub eax, esi
mov word [ecx + 0x802], ax
mov ecx, dword [ebp - 0x22c]
xor eax, eax
mov word [ecx + 0x804], ax
mov ecx, dword [ebp - 0x22c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x11d24
sub eax, esi
mov word [ecx + 0x800], ax
mov eax, dword [ebp - 0x22c]
and dword [eax + 0x806], 0
mov edi, 0x138d0
mov ecx, edi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov bl, al
lea eax, [ebp - 0x23c]
push eax
mov esi, 0x137e8
push esi
call fcn.000121f4
test eax, eax
jne 0x11d82
push 0x14
lea eax, [ebp - 0x23c]
push eax
push esi
call fcn.000121b4
test eax, eax
je 0x11d82
push eax
push esi
call fcn.000122b4
jmp 0x11d93
push 0x504b484e
push dword [ebp - 0x22c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dl, bl
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x11bff
and dword [ebp - 0x240], 0
mov edi, dword [ebp - 0x220]
movzx eax, word [edi]
push eax
call fcn.00012d40
mov dword [ebp - 0x248], eax
movzx eax, word [edi]
push eax
call fcn.00012d6a
movzx eax, ax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
mov ebx, 0x13780
push ebx
call fcn.000121f4
test eax, eax
je 0x11df3
test byte [edi + 0xd], 1
je 0x11df3
push eax
push ebx
call fcn.00012304
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [ebp - 0x224], 0
mov esi, dword [ebp - 0x224]
mov eax, esi
jmp 0x11c01