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

Disassembly:
push 0xffffffffffffffff
push 0x791f70
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
call fcn.0054ddf0
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0x20]
push 1
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 0
call fcn.00549490
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
lea ebp, [esi + 4]
mov esi, dword [ebp]
mov byte [esp + 0x48], 1
mov edi, eax
lea ecx, [ecx]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp]
test esi, esi
je 0x54e14e
cmp esi, eax
je 0x54e153
call fcn.00565471
cmp edi, ebx
je 0x54e253
test esi, esi
jne 0x54e1e5
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x54e174
call fcn.00565471
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp eax, dword [edi + 0xc]
jb 0x54e233
test esi, esi
jne 0x54e1e9
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x54e19a
call fcn.00565471
cmp dword [edi + 0xc], 0
je 0x54e1f5
test esi, esi
jne 0x54e1ed
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x54e1b5
call fcn.00565471
call ebx
sub eax, 0x7530
cmp eax, dword [edi + 0xc]
jb 0x54e1f5
test esi, esi
jne 0x54e1f1
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x54e1d6
call fcn.00565471
call ebx
add eax, 0x2710
mov dword [edi + 0xc], eax
jmp 0x54e140
mov eax, dword [esi]
jmp 0x54e16a
mov eax, dword [esi]
jmp 0x54e190
mov eax, dword [esi]
jmp 0x54e1ab
mov eax, dword [esi]
jmp 0x54e1cc
test esi, esi
jne 0x54e22f
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x54e20a
call fcn.00565471
lea ecx, [edi + 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0054e040
push edi
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.0054d620
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x54e140
mov eax, dword [esi]
jmp 0x54e200
test esi, esi
jne 0x54e24f
call fcn.00565471
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x54e248
call fcn.00565471
mov edi, dword [edi]
jmp 0x54e140
mov eax, dword [esi]
jmp 0x54e23e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0
call fcn.00549420
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ecx, edi
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
xor ebp, ebp
add eax, edx
je 0x54e2f2
cmp ebp, eax
jb 0x54e294
call fcn.00565471
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
lea eax, [ebx + esi]
mov dword [esp + 0x50], eax
sub edi, esi
mov eax, 0x2aaaaaab
imul edi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x54e2ba
call fcn.00565471
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
mov ecx, dword [ebx + esi]
push 0
push eax
call ecx
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov ecx, edi
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add esp, 8
add ebx, 0xc
cmp ebp, eax
jb 0x54e294
xor ebx, ebx
cmp esi, ebx
je 0x54e2ff
push esi
call fcn.00564155
add esp, 4
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00564155
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret