Function at 0x4e8280
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ef20
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x559540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5646a4
mov dword [ebp - 0x20], vtable.nfapi::AutoLock.0
mov dword [ebp - 0x1c], 0x5646a4
call edi
cmp dword [0x564588], 0
mov dword [ebp - 4], 0
je case.0x4e82eb.6
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, 0x19
ja case.0x4e82eb.6
movzx eax, byte [eax + 0x4e8b20]
jmp dword [eax*4 + 0x4e8ae0]
push dword [esi + 8]
push dword [esi + 4]
push dword [0x564698]
call fcn.004eb120
add esp, 0xc
test eax, eax
je 0x4e834b
movdqu xmm0, xmmword [esi + 0x10]
lea ecx, [eax - 8]
movdqu xmmword [ecx + 0x48], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ecx + 0x58], xmm0
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [ecx + 0x68], xmm0
movdqu xmm0, xmmword [esi + 0x40]
movdqu xmmword [ecx + 0x78], xmm0
mov ax, word [esi + 0x50]
mov word [ecx + 0x88], ax
mov al, byte [esi + 0x52]
mov byte [ecx + 0x8a], al
jmp 0x4e8367
lea eax, [esi + 0x10]
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.004e6b90
mov ecx, eax
add esp, 0xc
test ecx, ecx
je case.0x4e82eb.6
or dword [ecx + 0x93], 0x10
lea eax, [ecx + 0x53]
push 0x1c
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.004e9370
add esp, 0x10
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
push 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 1
call fcn.004ea520
jmp 0x4e8abc
lea eax, [esi + 0x10]
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.004e6b90
add esp, 0xc
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
push 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 2
call fcn.004ea520
jmp 0x4e8abc
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 3
call fcn.004ea520
jmp 0x4e8abc
push dword [esi + 8]
push dword [esi + 4]
push dword [0x564698]
call fcn.004eb120
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4e8562
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], eax
lea eax, [ecx + 0xc]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4e8493
cmp dword [eax], eax
je 0x4e8493
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x14]
add eax, edx
cmp eax, 0x2000
ja 0x4e8493
push edx
lea eax, [esi + 0x10]
push eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
add eax, ecx
push eax
call fcn.004ef340
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [esi + 0xc]
add dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
add ecx, 0xfffffff8
add dword [ecx + 0x1c], eax
jmp 0x4e8506
push 0
push 0x2018
call fcn.004eb240
mov edx, eax
add esp, 8
mov dword [ebp - 0x14], edx
test edx, edx
je case.0x4e82eb.6
mov ecx, dword [esi + 4]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 0x10], ecx
mov ecx, dword [esi]
mov dword [edx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e84e1
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [edx + 0x18]
push eax
call fcn.004ef340
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
lea ecx, [edi - 8]
add dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x10]
add edi, 0xc
mov dword [edx], edi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [edi + 0x10], edx
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ecx + 0x40], 0x40000
jae 0x4e852a
cmp dword [ecx + 0x34], 0x40000
jae 0x4e852a
cmp dword [ecx + 0x28], 0x40000
jae 0x4e852a
cmp dword [ecx + 0x1c], 0x40000
jb 0x4e8535
push 1
push ecx
call fcn.004e9e70
add esp, 8
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 4
call fcn.004ea520
jmp 0x4e8abc
push dword [esi + 0xc]
lea eax, [esi + 0x10]
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.004e9d80
add esp, 0x10
jmp case.0x4e82eb.6
push dword [esi + 8]
push dword [esi + 4]
push dword [0x564698]
call fcn.004eb120
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4e86c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], eax
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4e85f4
lea eax, [ecx + 0x18]
cmp dword [eax], eax
je 0x4e85f4
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x14]
add eax, edx
cmp eax, 0x2000
ja 0x4e85f4
push edx
lea eax, [esi + 0x10]
push eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
add eax, ecx
push eax
call fcn.004ef340
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [esi + 0xc]
add dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
add ecx, 0xfffffff8
add dword [ecx + 0x28], eax
jmp 0x4e8667
push 0
push 0x2018
call fcn.004eb240
mov edx, eax
add esp, 8
mov dword [ebp - 0x14], edx
test edx, edx
je case.0x4e82eb.6
mov ecx, dword [esi + 4]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 0x10], ecx
mov ecx, dword [esi]
mov dword [edx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e8642
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [edx + 0x18]
push eax
call fcn.004ef340
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
lea ecx, [edi - 8]
add dword [ecx + 0x28], eax
mov eax, dword [edi + 0x1c]
add edi, 0x18
mov dword [edx], edi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [edi + 0x1c], edx
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ecx + 0x40], 0x40000
jae 0x4e868b
cmp dword [ecx + 0x34], 0x40000
jae 0x4e868b
cmp dword [ecx + 0x28], 0x40000
jae 0x4e868b
cmp dword [ecx + 0x1c], 0x40000
jb 0x4e8696
push 1
push ecx
call fcn.004e9e70
add esp, 8
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 5
call fcn.004ea520
jmp 0x4e8abc
push dword [esi + 0xc]
lea eax, [esi + 0x10]
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.004e9da0
add esp, 0x10
jmp case.0x4e82eb.6
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 6
jmp 0x4e8ab1
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 7
jmp 0x4e8ab1
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x19
push dword [esi + 8]
mov byte [ebp - 4], 8
push dword [esi + 4]
call fcn.004e9820
add esp, 0xc
jmp 0x4e8abc
lea eax, [esi + 0x10]
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.004e69d0
add esp, 0xc
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
push 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 9
call fcn.004ea520
jmp 0x4e8abc
push dword [esi + 8]
push dword [esi + 4]
push dword [0x5646a0]
call fcn.004eb120
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4e87e2
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [ecx + 0x5e], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ecx + 0x6e], xmm0
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [ecx + 0x7e], xmm0
movdqu xmm0, xmmword [esi + 0x40]
movdqu xmmword [ecx + 0x8e], xmm0
mov ax, word [esi + 0x50]
mov word [ecx + 0x9e], ax
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 0xa
call fcn.004ea520
jmp 0x4e8abc
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 0xb
call fcn.004ea520
jmp 0x4e8abc
push dword [esi + 8]
push dword [esi + 4]
push dword [0x5646a0]
call fcn.004eb120
add esp, 0xc
test eax, eax
jne 0x4e888b
xorps xmm0, xmm0
mov word [ebp - 0x24], ax
mov ax, word [esi + 0x10]
movdqu xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x44]
push eax
push dword [esi + 8]
movdqu xmmword [ebp - 0x34], xmm0
push dword [esi + 4]
call fcn.004e69d0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4e8891
jmp case.0x4e82eb.6
add eax, 0xfffffff8
mov dword [ebp - 0x10], eax
push 0
push 0x20018
call fcn.004eb240
mov edx, eax
add esp, 8
mov dword [ebp - 0x14], edx
test edx, edx
je case.0x4e82eb.6
mov ecx, dword [esi + 4]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 0x10], ecx
mov ecx, dword [esi]
mov dword [edx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e88df
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [edx + 0x18]
push eax
call fcn.004ef340
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
add dword [ecx + 0x1c], eax
lea edi, [ecx + 0x14]
mov eax, dword [ecx + 0x18]
mov dword [edx], edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [ecx + 0x18], edx
cmp dword [ecx + 0x40], 0x40000
jae 0x4e8922
cmp dword [ecx + 0x34], 0x40000
jae 0x4e8922
cmp dword [ecx + 0x28], 0x40000
jae 0x4e8922
cmp dword [ecx + 0x1c], 0x40000
jb 0x4e892d
push 1
push ecx
call fcn.004ea270
add esp, 8
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 0xc
call fcn.004ea520
jmp 0x4e8abc
push dword [esi + 8]
push dword [esi + 4]
push dword [0x5646a0]
call fcn.004eb120
add esp, 0xc
test eax, eax
jne 0x4e89a9
xorps xmm0, xmm0
mov word [ebp - 0x24], ax
mov ax, word [esi + 0x10]
movdqu xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x44]
push eax
push dword [esi + 8]
movdqu xmmword [ebp - 0x34], xmm0
push dword [esi + 4]
call fcn.004e69d0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4e89af
jmp case.0x4e82eb.6
add eax, 0xfffffff8
mov dword [ebp - 0x10], eax
push 0
push 0x20018
call fcn.004eb240
mov edx, eax
add esp, 8
mov dword [ebp - 0x14], edx
test edx, edx
je case.0x4e82eb.6
mov ecx, dword [esi + 4]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 0x10], ecx
mov ecx, dword [esi]
mov dword [edx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e89fd
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [edx + 0x18]
push eax
call fcn.004ef340
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
add dword [ecx + 0x28], eax
lea edi, [ecx + 0x20]
mov eax, dword [ecx + 0x24]
mov dword [edx], edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [ecx + 0x24], edx
cmp dword [ecx + 0x40], 0x40000
jae 0x4e8a40
cmp dword [ecx + 0x34], 0x40000
jae 0x4e8a40
cmp dword [ecx + 0x28], 0x40000
jae 0x4e8a40
cmp dword [ecx + 0x1c], 0x40000
jb 0x4e8a4b
push 1
push ecx
call fcn.004ea270
add esp, 8
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov ecx, 0x5646d8
mov byte [ebp - 4], 0xd
call fcn.004ea520
jmp 0x4e8abc
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0xe
jmp 0x4e8ab1
push 0x5646a4
mov dword [ebp - 0x18], vtable.nfapi::AutoUnlock.0
mov dword [ebp - 0x14], 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0xf
push esi
mov ecx, 0x564738
call fcn.004ea520
push 0x5646a4
call edi
push 0x5646a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret