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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x20
xor eax, eax
cmp dword [ebx + 0x10], eax
pop ecx
lea edi, [ebp - 0xa4]
rep stosd dword es:[edi], eax
je 0x5dde9
push dword [ebx + 0xc]
call fcn.000483c7
test eax, eax
mov dword [ebp - 8], eax
je 0x5dddf
cmp eax, 0x51440
je 0x5dddf
cmp eax, 0x53fe0
je 0x5dddf
cmp dword [ebx + 0x10], 1
jne 0x5dded
mov ecx, dword [ebx + 0x20]
cmp ecx, dword [ebx + 0xc]
jne 0x5dded
push eax
call fcn.00012203
mov eax, 0xc000000d
jmp 0x5e167
and dword [ebp - 8], 0
mov eax, dword [ebx]
push esi
push 0x7f
pop ecx
xor edx, edx
div ecx
mov edi, edx
lea esi, [edi + edi*2]
shl esi, 3
lea ecx, [esi + 0x507cc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea ecx, [esi + 0x507d0]
mov byte [ebp + 0xb], al
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
push dword [ebx]
and dword [ebp - 0xc], 0
mov byte [ebp - 2], 0
call fcn.0005d9a9
test eax, eax
mov dword [ebp - 0x24], eax
je 0x5de82
push dword [ebx + 8]
push dword [ebx + 4]
push eax
call fcn.0005d9e0
test eax, eax
mov dword [ebp - 0xc], eax
je 0x5de82
cmp byte [eax + 0x78], 3
jne 0x5de7e
push 0x20
pop ecx
push eax
push dword [ebp - 0x24]
mov esi, eax
push dword [ebx + 8]
lea edi, [ebp - 0xa4]
push dword [ebx + 4]
rep movsd dword es:[edi], dword [esi]
push dword [ebx]
mov byte [ebp - 2], 1
call fcn.0005dcd1
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x5dec4
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push edi
push dword [ebx]
call fcn.0005dad7
mov esi, eax
test esi, esi
je 0x5dec4
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp dword [ebp - 8], 0
je 0x5debd
push dword [ebp - 8]
call fcn.00012203
mov eax, esi
jmp 0x5e166
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
call esi
mov ecx, dword [ebp - 0x20]
call esi
mov esi, dword [ebp - 0xc]
xor edi, edi
cmp dword [esi + 0x18], edi
je 0x5deeb
cmp dword [ebp - 8], edi
je 0x5deeb
push dword [ebp - 8]
call fcn.00012203
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x18], eax
mov byte [esi + 0x78], 3
call dword [sym.imp.ntoskrnl.exe_KeQueryTimeIncrement]
mov ecx, eax
mov eax, dword [ebx + 0x14]
imul eax, eax, 0x3e8
mov edx, 0x2710
mul edx
push edi
push ecx
push edx
push eax
call sub.ntoskrnl.exe__alldiv
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
mov edi, dword [esi + 0x20]
jmp 0x5df42
push dword [edi + 4]
call fcn.00012203
mov eax, dword [edi]
push edi
push 0x506a0
mov dword [ebp - 0x18], eax
call fcn.00048479
mov edi, dword [ebp - 0x18]
test edi, edi
jne 0x5df27
and dword [ebp - 0xc], edi
cmp dword [ebx + 0x10], edi
mov byte [ebp - 1], 0
jbe 0x5dfc1
lea edi, [ebx + 0x20]
push dword [edi]
call fcn.000483c7
test eax, eax
mov dword [ebp - 8], eax
je 0x5dfbd
cmp eax, 0x51440
je 0x5dfbd
push 0x506a0
call fcn.00048448
xor ecx, ecx
cmp eax, ecx
je 0x5dfb5
mov edx, dword [esi + 0x20]
inc dword [ebp - 0xc]
mov dword [eax], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov edx, dword [edi]
mov dword [eax + 8], edx
mov edx, dword [edi + 4]
mov dword [eax + 0xc], edx
mov edx, dword [edi + 8]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xc]
add edi, 0x10
cmp eax, dword [ebx + 0x10]
jae 0x5dfc1
jmp 0x5df55
push dword [ebp - 8]
call fcn.00012203
mov byte [ebp - 1], 1
cmp byte [ebp - 1], 0
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1c], eax
je 0x5e088
mov dl, byte [ebp + 0xb]
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea ecx, [esi + 0x14]
call edi
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp + 0xb], al
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
push dword [ebx]
call fcn.0005d9a9
test eax, eax
mov dword [ebp - 0x24], eax
je 0x5e05b
push dword [ebx + 8]
push dword [ebx + 4]
push eax
call fcn.0005d9e0
or edx, 0xffffffff
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x5e03a
lea ecx, [eax + 0x34]
lock xadd dword [ecx], edx
jne 0x5e027
push eax
call fcn.0005dc43
push esi
push dword [ebp - 0x24]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.0005dcd1
jmp 0x5e06d
lea ecx, [esi + 0x34]
lock xadd dword [ecx], edx
jne 0x5e04c
push esi
call fcn.0005dc43
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x34]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5e06d
push eax
jmp 0x5e068
lea eax, [esi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5e06d
push esi
call fcn.0005dc43
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 0x20]
call edi
mov eax, 0xc000000d
jmp 0x5e166
cmp dword [ebx + 0x10], 0
jne 0x5e092
mov byte [esi + 0x78], 1
cmp byte [ebp - 2], 0
je 0x5e0ce
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x58], eax
push esi
call fcn.00047412
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x2c]
cmp dword [eax], eax
je 0x5e0fc
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x30]
mov dword [ecx], edx
mov dword [esi + 0x30], eax
mov dword [eax], eax
and dword [esi + 0x28], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
cmp ecx, eax
je 0x5e146
lea edi, [esi + 0x34]
lea ebx, [esi + 0x14]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
xor eax, eax
inc eax
lock xadd dword [edi], eax
push 1
push esi
add edx, 0xffffff98
push edx
call fcn.0005c51d
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
cmp ecx, eax
jne 0x5e115
mov dl, byte [ebp + 0xb]
lea ecx, [esi + 0x14]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea eax, [esi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5e164
push esi
call fcn.0005dc43
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 4