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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov ebx, ecx
push esi
push edi
push 8
mov eax, dword [ebx + 0x50]
lea esi, [ebp + 4]
pop ecx
lea edi, [ebx + 0x5c]
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
push 8
lea esi, [ebp + 0x24]
xor eax, eax
lea edi, [ebx + 0x7c]
mov dword [esp + 0x28], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
movsx esi, word [ebp + 2]
movsx ecx, word [ebp]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
cmp word [ebp + 0x48], ax
jne 0x4e01ce
lea eax, [ebp + 0x4d]
push eax
lea ecx, [ebx + 4]
call fcn.004e1bfa
mov esi, dword [ebx + 4]
push ebp
mov dword [esp + 0x28], esi
call fcn.004ed662
cmp byte [ebx + 0x4c], 0
pop ecx
jne 0x4e01ab
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x18]
shl eax, 2
push eax
call fcn.004edb63
pop ecx
mov ecx, eax
mov eax, dword [ebx + 0x58]
imul eax, dword [ebx + 0x54]
mov dword [esp + 0x20], ecx
shl eax, 2
push eax
push dword [ebx + 0x9c]
push ecx
call fcn.00505060
mov ecx, dword [ebx + 0xa4]
lea eax, [esp + 0x20]
add esp, 0xc
push eax
call fcn.004e03b8
mov byte [ebx + 0x4c], 1
jmp 0x4e01bf
test esi, esi
je 0x4e01c7
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0xa4]
call fcn.004e03b8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx], eax
mov al, 1
jmp 0x4e03ae
lea edi, [ebx + 0x58]
mov byte [ebx + 0x4c], al
cmp dword [ebx + 0x54], ecx
jne 0x4e01dd
cmp dword [edi], esi
je 0x4e022c
mov ecx, ebx
call fcn.004e00c7
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [ebx + 0x54], eax
imul eax, esi
push 4
pop edx
mov dword [edi], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004edb63
mov dword [ebx + 0x9c], eax
mov eax, dword [edi]
imul eax, dword [ebx + 0x54]
pop ecx
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004edb63
pop ecx
mov dword [ebx + 0xa0], eax
cmp byte [ebp + 0x4c], 0
jne 0x4e02c5
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x615350]
cmp eax, dword [ecx + 4]
jle 0x4e0274
push 0x615350
call fcn.004ed7e8
cmp dword [0x615350], 0xffffffff
pop ecx
jne 0x4e0274
call fcn.00401d90
push 0x615350
mov dword [0x615354], eax
call fcn.004ed79e
pop ecx
movsx ecx, word [ebp + 0x46]
imul ecx, dword [ebx + 0x54]
push 3
push 4
pop eax
push eax
movsx eax, word [ebp + 0x4a]
push eax
mov eax, dword [ebx + 0x54]
shl eax, 2
push eax
movsx eax, word [ebp + 0x48]
push eax
movsx eax, word [ebp + 0x44]
add ecx, eax
mov eax, dword [ebx + 0x9c]
lea eax, [eax + ecx*4]
push eax
mov eax, dword [esp + 0x84]
add eax, 0xffffffb3
push eax
lea eax, [ebp + 0x4d]
push eax
push dword [0x615354]
call fcn.00402620
add esp, 0x24
jmp 0x4e0351
movsx eax, word [ebp + 0x4a]
lea edx, [esp + 0x68]
movsx ecx, word [ebp + 0x48]
imul ecx, eax
lea eax, [ebp + 0x4d]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
add eax, 0xffffffb3
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
shl ecx, 2
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0xa0]
push eax
call fcn.004e6e3a
movzx eax, word [ebp + 0x4a]
pop ecx
xor ecx, ecx
cmp cx, ax
jge 0x4e0351
xor esi, esi
movsx ecx, word [ebp + 0x48]
mov eax, ecx
imul ecx, esi
shl eax, 2
push eax
mov eax, dword [ebx + 0xa0]
lea eax, [eax + ecx*4]
movsx ecx, word [ebp + 0x46]
add ecx, esi
imul ecx, dword [ebx + 0x54]
push eax
movsx eax, word [ebp + 0x44]
add ecx, eax
mov eax, dword [ebx + 0x9c]
lea eax, [eax + ecx*4]
push eax
call fcn.00505060
movsx eax, word [ebp + 0x4a]
add esp, 0xc
inc esi
cmp esi, eax
jl 0x4e030b
mov esi, dword [esp + 0x10]
push ebp
call fcn.004ed662
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebx]
cmp ecx, 0x12c
jbe 0x4e03ac
imul esi, dword [esp + 0x18]
mov dword [ebx], eax
shl esi, 2
push esi
call fcn.004edb63
pop ecx
mov ecx, dword [ebx + 0x54]
imul ecx, dword [edi]
mov dword [esp + 0x20], eax
shl ecx, 2
push ecx
push dword [ebx + 0x9c]
push eax
call fcn.00505060
mov ecx, dword [ebx + 0xa4]
lea eax, [esp + 0x20]
add esp, 0xc
push eax
call fcn.004e03b8
mov byte [ebx + 0x4c], 1
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8