Function at 0x5c51d
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 0x5c5e6
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x5c64d
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.0005da21
mov edi, eax
test edi, edi
mov dword [ebp + 0xc], edi
jne 0x5c64d
cmp byte [0x541ac], al
je 0x5c62e
xor ecx, ecx
mov eax, 0x541b0
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
mov eax, dword [0x541a0]
push edi
push edi
push 0xffffffffffffffff
push dword [ecx + 0x88]
push dword [ebp - 8]
push dword [ebp - 4]
push esi
call eax
push 0x541a0
mov edi, eax
call fcn.00025cd8
test edi, edi
je 0x5c62e
xor esi, esi
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040f4d
mov eax, esi
jmp 0x5cc1d
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 0x5c568
mov esi, dword [ebp + 0xc]
inc dword [0x4fc1c]
cmp esi, edi
je 0x5c627
lea ecx, [esi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [esi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5c627
push esi
call fcn.0005dc43
mov esi, 0xc0000017
jmp 0x5c5d3
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.0005e172
jmp 0x5cc1b
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 0x5cbdc
dec eax
je 0x5cbd7
dec eax
je 0x5caef
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0xc]
je 0x5c6dd
push edi
call fcn.00047412
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.0004744c
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x93], 4
jne 0x5c6dd
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 0x5cc0f
push edi
call fcn.0005dc43
jmp 0x5cc0f
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 0x5c705
mov eax, dword [eax + 0xc]
jmp 0x5c70e
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 0x5c77d
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 0x5c761
push edi
call fcn.0005dc43
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040f4d
inc dword [0x4fc1c]
mov eax, 0xc0000017
jmp 0x5cc1d
push edi
call fcn.00047412
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 0x5ca84
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0x2c]
jne 0x5c7c7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0xc]
cmp ecx, dword [esi + 0xc]
je 0x5ca82
cmp eax, 0x53fe0
jne 0x5c82d
cmp byte [reloc.ntoskrnl.exe_RtlIpv4StringToAddressW], 0
je 0x5ca82
xor ecx, ecx
mov eax, 0x541f0
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 [0x541e0]
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 0x541e0
mov dword [ebp - 0x24], eax
call fcn.00025cd8
cmp dword [ebp - 0x24], 0xffffffff
je 0x5ca82
push dword [ebp - 0x24]
call fcn.000483c7
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 0x5c846
lea eax, [esi + 0x14]
jmp 0x5c8db
cmp byte [0x541ac], 0
je 0x5c8af
cmp byte [ebp + 0x10], 0
je 0x5c85a
or ecx, 0xffffffff
jmp 0x5c866
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x88]
xor edx, edx
mov eax, 0x541b0
inc edx
lock xadd dword [eax], edx
mov edx, dword [esi + 4]
mov eax, dword [0x541a0]
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 0x541a0
mov dword [ebp - 0x24], eax
call fcn.00025cd8
cmp dword [ebp - 0x24], 0
je 0x5c8af
xor ecx, ecx
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
jmp 0x5c8db
mov eax, dword [esi + 4]
cmp dword [eax + 0xa4], 0
je 0x5ca82
cmp dword [esi], 0
je 0x5c97d
lea eax, [ebp - 0x18]
push eax
call fcn.000443e5
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x5c8e7
lea eax, [esi + 0x20]
xor ecx, ecx
inc ecx
lock xadd dword [eax], ecx
jmp 0x5ca82
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 0x5c977
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 0x5c957
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 0x5ca82
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 0x5c98f
and dword [ebp - 0x1c], 0
jmp 0x5c96f
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, 0x4fb80
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov eax, dword [esi + 4]
inc dword [eax + 0xd0]
mov ecx, 0x4fb80
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 0x5ca29
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.0004444f
test eax, eax
je 0x5ca13
cmp eax, 0x2bf7
je 0x5ca13
xor ecx, ecx
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
jmp 0x5ca7a
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 0x5ca7a
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 0x5ca5c
cmp eax, 0x2bf7
jne 0x5ca07
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 0x5ca7a
inc dword [ebp - 0x10]
push dword [esi + 4]
call fcn.00012203
mov esi, dword [esi]
test esi, esi
mov dword [ebp - 0x20], esi
jne 0x5c7b0
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5caa1
push edi
call fcn.0005dc43
cmp dword [ebp - 0x10], 0
je 0x5cace
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call fcn.0004403d
test eax, eax
jne 0x5cc1b
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push 0
push dword [ebx + 0x40]
push dword [ebp + 8]
jmp 0x5cae5
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.00040fd2
jmp 0x5cc1b
cmp byte [0x541ac], 0
je 0x5cb67
xor ecx, ecx
mov eax, 0x541b0
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
mov eax, dword [0x541a0]
push 0
push 0
push 0xffffffffffffffff
push dword [ecx + 0x88]
push dword [ebp - 8]
push dword [ebp - 4]
push esi
call eax
push 0x541a0
mov dword [ebp - 0x24], eax
call fcn.00025cd8
cmp dword [ebp - 0x24], 0
je 0x5cb67
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040f4d
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5cc1b
push edi
call fcn.0005dc43
jmp 0x5cc1b
push edi
call fcn.00047412
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.0005dbff
cmp eax, 0x103
mov dword [ebp + 0x10], eax
je 0x5cbb7
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 [0x4fc1c]
and byte [ebx + 5], 0xfe
call fcn.00040f4d
lea ecx, [edi + 0x14]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
lea eax, [edi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5cbd2
push edi
call fcn.0005dc43
mov eax, dword [ebp + 0x10]
jmp 0x5cc1d
inc dword [edi + 0x4c]
jmp 0x5cbdf
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 0x5cbfa
push edi
call fcn.0005dc43
cmp byte [ebp + 0x10], 0
jne 0x5cc0f
push dword [ebp - 8]
push dword [ebp - 4]
push esi
push dword [ebp - 0x14]
call fcn.00040c75
push dword [ebp + 8]
and byte [ebx + 5], 0xfe
call fcn.00040f4d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc