Function at 0x10782
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.000106b2
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1079d
mov eax, 0xc0000001
leave
ret
push edi
call fcn.0001074e
add eax, dword [ebp - 0xc]
mov edi, dword [eax]
mov dword [ebp - 8], edi
test edi, edi
je 0x10962
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
push esi
jmp 0x107c0
mov edi, dword [ebp - 8]
mov esi, dword [edi]
test esi, esi
je 0x1094c
push dword [edi + 0x48]
push 0x13148
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [edi + 0x48]
pop ecx
pop ecx
mov ecx, 0x1313c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10807
test dx, dx
je 0x10803
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10807
add eax, 4
add ecx, 4
test dx, dx
jne 0x107e1
xor eax, eax
jmp 0x1080c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1094c
call fcn.00010666
mov edi, eax
test edi, edi
je 0x10949
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], esi
mov eax, dword [esi + 0x30]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x54]
push dword [edi + 0x1c]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x58]
push dword [edi + 0x18]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x5c]
push dword [edi + 0x14]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x68]
push 0x13116
mov dword [edi + 0x4c], eax
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
push edi
call fcn.00010690
mov edi, 0x13868
mov ecx, edi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push dword [esi + 0x30]
mov byte [ebp - 1], al
call ebx
test al, al
je 0x108ce
mov dword [esi + 0x30], 0x11f28
push dword [esi + 0x38]
call ebx
test al, al
je 0x108de
mov dword [esi + 0x38], 0x1172c
push dword [esi + 0x54]
call ebx
test al, al
je 0x108ee
mov dword [esi + 0x54], 0x1170c
push dword [esi + 0x40]
call ebx
test al, al
je 0x108fe
mov dword [esi + 0x40], 0x128de
push dword [esi + 0x50]
call ebx
test al, al
je 0x1090e
mov dword [esi + 0x50], 0x12a20
push dword [esi + 0x34]
call ebx
test al, al
je 0x1091e
mov dword [esi + 0x34], 0x1287e
push dword [esi + 0x3c]
call ebx
test al, al
je 0x1092e
mov dword [esi + 0x3c], 0x1289e
push dword [esi + 0x44]
call ebx
test al, al
je 0x1093e
mov dword [esi + 0x44], 0x128be
mov dl, byte [ebp - 1]
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov edi, dword [ebp - 8]
call fcn.0001074e
add edi, eax
mov edi, dword [edi]
mov dword [ebp - 8], edi
test edi, edi
jne 0x107bd
pop esi
pop ebx
push dword [ebp - 0xc]
call fcn.00010732
xor eax, eax
pop edi
leave
ret