Function at 0x5c61d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x90]
mov ecx, dword [ebx + 0xb0]
add ebx, 0x38
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x60]
push esi
mov esi, dword [ebx + 0x3c]
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x40]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], ecx
jne 0x5c6e6
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x5c74d
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.0005db21
mov edi, eax
test edi, edi
mov dword [ebp + 0xc], edi
jne 0x5c74d
cmp byte [0x5422c], al
je 0x5c72e
xor ecx, ecx
mov eax, 0x54230
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
mov eax, dword [0x54220]
push edi
push edi
push 0xffffffffffffffff
push dword [ecx + 0x88]
push dword [ebp - 8]
push dword [ebp - 4]
push esi
call eax
push 0x54220
mov edi, eax
call fcn.00025c98
test edi, edi
je 0x5c72e
xor esi, esi
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040fcd
mov eax, esi
jmp 0x5cd1d
push 0x10
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00014b86
cmp dword [ebp - 4], edi
jne 0x5c668
mov esi, dword [ebp + 0xc]
inc dword [0x4fc9c]
cmp esi, edi
je 0x5c727
lea ecx, [esi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [esi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5c727
push esi
call fcn.0005dd43
mov esi, 0xc0000017
jmp 0x5c6d3
push dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [eax + 0x88]
push dword [esi + 0xc]
push dword [esi + 0x10]
call fcn.0005e272
jmp 0x5cd1b
inc dword [edi + 0x38]
mov ax, word [esi + 2]
mov ch, al
mov cl, ah
movzx eax, cx
add dword [edi + 0x3c], eax
movzx eax, byte [edi + 0x78]
sub eax, 0
je 0x5ccdc
dec eax
je 0x5ccd7
dec eax
je 0x5cbef
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0xc]
je 0x5c7dd
push edi
call fcn.00047492
push dword [ebp - 8]
movzx eax, byte [ebx + 0x69]
push dword [ebp - 4]
push eax
push dword [ebx + 0x48]
mov eax, dword [ebp - 0x14]
push 0x14
push esi
push dword [ebp - 0x28]
push edi
push dword [eax + 0xc]
call fcn.000474cc
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x93], 4
jne 0x5c7dd
inc dword [edi + 0x40]
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5cd0f
push edi
call fcn.0005dd43
jmp 0x5cd0f
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
and dword [eax], 0
mov dword [ecx + 4], 0x14
mov dword [ecx + 0x14], 1
test byte [eax + 6], 5
je 0x5c805
mov eax, dword [eax + 0xc]
jmp 0x5c80e
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPages]
mov ecx, dword [ebp + 8]
and eax, 0xfff
add eax, 0x1013
push 0x10
shr eax, 0xc
mov dword [ecx], eax
xor eax, eax
dec byte [esi + 8]
push 0x74504354
push 0x10
mov word [esi + 0xa], ax
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x5c87d
inc dword [edi + 0x50]
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5c861
push edi
call fcn.0005dd43
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040fcd
inc dword [0x4fc9c]
mov eax, 0xc0000017
jmp 0x5cd1d
push edi
call fcn.00047492
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov eax, dword [ebx + 0x40]
mov esi, dword [ebp - 0x28]
and dword [esi + 8], 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], esi
mov esi, dword [edi + 0x20]
jmp 0x5cb84
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0x2c]
jne 0x5c8c7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0xc]
cmp ecx, dword [esi + 0xc]
je 0x5cb82
cmp eax, 0x54060
jne 0x5c92d
cmp byte [0x5426c], 0
je 0x5cb82
xor ecx, ecx
mov eax, 0x54270
inc ecx
lock xadd dword [eax], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
movzx edx, byte [edx + 9]
mov ecx, dword [MmIsThisAnNtAsSystem]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push edx
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x10]
push dword [esi + 0x10]
call ecx
push MmIsThisAnNtAsSystem
mov dword [ebp - 0x24], eax
call fcn.00025c98
cmp dword [ebp - 0x24], 0xffffffff
je 0x5cb82
push dword [ebp - 0x24]
call fcn.00048447
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 4]
mov cl, byte [ecx + 8]
cmp cl, byte [eax + 0x92]
jae 0x5c946
lea eax, [esi + 0x14]
jmp 0x5c9db
cmp byte [0x5422c], 0
je 0x5c9af
cmp byte [ebp + 0x10], 0
je 0x5c95a
or ecx, 0xffffffff
jmp 0x5c966
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x88]
xor edx, edx
mov eax, 0x54230
inc edx
lock xadd dword [eax], edx
mov edx, dword [esi + 4]
mov eax, dword [0x54220]
push 0
push 0
push dword [edx + 0x88]
push ecx
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
call eax
push 0x54220
mov dword [ebp - 0x24], eax
call fcn.00025c98
cmp dword [ebp - 0x24], 0
je 0x5c9af
xor ecx, ecx
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
jmp 0x5c9db
mov eax, dword [esi + 4]
cmp dword [eax + 0xa4], 0
je 0x5cb82
cmp dword [esi], 0
je 0x5ca7d
lea eax, [ebp - 0x18]
push eax
call fcn.00044465
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x5c9e7
lea eax, [esi + 0x20]
xor ecx, ecx
inc ecx
lock xadd dword [eax], ecx
jmp 0x5cb82
mov eax, dword [ebp - 0x18]
add eax, 0x38
push 0xc
pop ecx
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
and byte [eax + 5], 0xf7
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x24]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x48], 0
mov dword [ebp - 0x38], eax
je 0x5ca77
movzx eax, byte [ebx + 0x69]
push 0x10
push 0x74504354
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x5ca57
mov eax, dword [ebp - 0x38]
and byte [eax + 5], 0xfe
push 0x2afe
push 1
push dword [ebp - 0x18]
call fcn.00013385
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0x20
inc ecx
lock xadd dword [eax], ecx
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
jmp 0x5cb82
movzx ecx, byte [ebx + 0x69]
mov esi, dword [ebx + 0x48]
mov edi, dword [ebp - 0x1c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
jmp 0x5ca8f
and dword [ebp - 0x1c], 0
jmp 0x5ca6f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x1c], eax
mov ecx, 0x4fc00
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov eax, dword [esi + 4]
inc dword [eax + 0xd0]
mov ecx, 0x4fc00
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
movzx eax, byte [ebx + 0x69]
add eax, dword [ebp - 0x30]
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0xac]
jbe 0x5cb29
xor ecx, ecx
lea eax, [esi + 0x18]
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [esi + 4]
push 0
push 1
lea ecx, [ebp - 0x10]
push ecx
movzx ecx, byte [ebx + 0x69]
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [eax + 0xac]
push dword [ebp - 0x30]
sub ecx, 0x14
push dword [ebp - 0x34]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push dword [esi + 0xc]
push ecx
push eax
call fcn.000444cf
test eax, eax
je 0x5cb13
cmp eax, 0x2bf7
je 0x5cb13
xor ecx, ecx
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
jmp 0x5cb7a
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 0x1c]
lock xadd dword [ecx], eax
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x58]
lock xadd dword [ecx], eax
jmp 0x5cb7a
mov eax, dword [ebp - 0x18]
or byte [eax + 0x18], 0x80
xor eax, eax
push eax
push eax
push eax
movzx eax, byte [ebx + 0x69]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x34]
push dword [ebp - 0x18]
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.000135b8
test eax, eax
je 0x5cb5c
cmp eax, 0x2bf7
jne 0x5cb07
xor edx, edx
lea ecx, [esi + 0x1c]
inc edx
lock xadd dword [ecx], edx
xor edx, edx
lea ecx, [edi + 0x58]
inc edx
lock xadd dword [ecx], edx
cmp eax, 0x2bf7
jne 0x5cb7a
inc dword [ebp - 0x10]
push dword [esi + 4]
call fcn.00012203
mov esi, dword [esi]
test esi, esi
mov dword [ebp - 0x20], esi
jne 0x5c8b0
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5cba1
push edi
call fcn.0005dd43
cmp dword [ebp - 0x10], 0
je 0x5cbce
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call fcn.000440bd
test eax, eax
jne 0x5cd1b
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push 0
push dword [ebx + 0x40]
push dword [ebp + 8]
jmp 0x5cbe5
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push dword [ebp - 0x28]
mov dword [esi + 0x44], edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push edi
push dword [ebx + 0x40]
push esi
call fcn.00041052
jmp 0x5cd1b
cmp byte [0x5422c], 0
je 0x5cc67
xor ecx, ecx
mov eax, 0x54230
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
mov eax, dword [0x54220]
push 0
push 0
push 0xffffffffffffffff
push dword [ecx + 0x88]
push dword [ebp - 8]
push dword [ebp - 4]
push esi
call eax
push 0x54220
mov dword [ebp - 0x24], eax
call fcn.00025c98
cmp dword [ebp - 0x24], 0
je 0x5cc67
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040fcd
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5cd1b
push edi
call fcn.0005dd43
jmp 0x5cd1b
push edi
call fcn.00047492
dec dword [edi + 0x38]
mov ax, word [esi + 2]
push dword [ebp + 8]
mov ch, al
push edi
mov cl, ah
movzx eax, cx
sub dword [edi + 0x3c], eax
call fcn.0005dcff
cmp eax, 0x103
mov dword [ebp + 0x10], eax
je 0x5ccb7
inc dword [edi + 0x38]
mov ax, word [esi + 2]
push dword [ebp + 8]
mov ch, al
mov cl, ah
movzx eax, cx
add dword [edi + 0x3c], eax
inc dword [edi + 0x50]
inc dword [0x4fc9c]
and byte [ebx + 5], 0xfe
call fcn.00040fcd
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5ccd2
push edi
call fcn.0005dd43
mov eax, dword [ebp + 0x10]
jmp 0x5cd1d
inc dword [edi + 0x4c]
jmp 0x5ccdf
inc dword [edi + 0x48]
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5ccfa
push edi
call fcn.0005dd43
cmp byte [ebp + 0x10], 0
jne 0x5cd0f
push dword [ebp - 8]
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call fcn.00040cf5
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040fcd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc