Function at 0x4d8830
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525f78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp + 8]
add eax, 0x180
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], vtable.ProtocolFilters::AutoLock.0
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4d8a41
cmp byte [ebp + 0xc], 0
je 0x4d89f9
mov ecx, ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d88b0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.004a4bf0
mov ebx, dword [ebp - 0x34]
add ebx, 0x8c
mov eax, dword [ebx]
mov esi, eax
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x4d8904
nop dword [eax]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004d7280
test al, al
je 0x4d88f8
mov edi, dword [edi + 8]
jmp 0x4d88fc
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x4d88e0
mov eax, dword [ebx]
cmp esi, eax
je 0x4d891d
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d7280
test al, al
je 0x4d891f
mov eax, dword [ebx]
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004a4f70
cmp esi, dword [ebx]
jne 0x4d89cb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x2c]
mov edi, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8951
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004a4bf0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.004dc0a0
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebx]
je 0x4d8991
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d7280
test al, al
je 0x4d89bf
lea eax, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2d]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x52bc40
call fcn.004d4870
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.004d5780
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 1
jmp 0x4d8a39
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 0x28]
cmp ecx, 0x2710
jbe 0x4d8a41
mov dword [esi + 0x28], eax
cmp ecx, 0x493e0
jae 0x4d8a6e
inc dword [esi + 0x2c]
cmp dword [esi + 0x2c], 2
jbe 0x4d8a41
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8a10
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.004a4bf0
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
lea ecx, [ecx + 0xd0]
call fcn.004d8a80
lea ecx, [ebp - 0x28]
call fcn.004a4f70
mov eax, dword [ebp - 0x34]
add eax, 0x180
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x2c], 1
jmp 0x4d8a41