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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4857e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
sub eax, 0x34
jae 0x485648
mov eax, dword [0x4e9b08]
cmp byte [eax], 0
je 0x4853f2
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e97c0]
sub eax, dword [edx]
cmp eax, 0x1388
jbe 0x4853f2
mov eax, dword [0x4e9b08]
mov byte [eax], 0
mov eax, dword [0x4e9b08]
cmp byte [eax], 0
jne 0x4857c3
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
cmp byte [edx + eax*4], 0
je 0x4857c3
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
cmp byte [edx + eax*4 + 0xf], 3
ja 0x4857c3
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
mov ecx, dword [0x4e9b08]
lea esi, [edx + eax*4]
mov edi, ecx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
mov byte [edx + eax*4], 0
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
cmp byte [edx + eax*4 + 0xf], 4
jne 0x4855e2
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
cmp byte [edx + eax*4 + 0x10], 0x64
jae 0x4855e2
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
cmp byte [edx + eax*4 + 0x10], 0x32
jae 0x485551
mov edx, 0x4857f4
lea eax, [ebp - 0x30]
call fcn.00403834
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
lea edx, [edx + eax*4]
lea eax, [ebp - 0x30]
mov cl, 0x20
call fcn.00403804
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x54]
call fcn.00403834
mov edx, 0x485808
lea eax, [ebp - 0x54]
mov cl, 0x22
call fcn.00403804
lea edx, [ebp - 0x54]
lea eax, [ebp - 0xc]
call fcn.0040527c
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4e9afc]
mov eax, dword [eax]
mov cx, word [0x48580c]
call fcn.004a9378
cmp eax, 6
je 0x4855e2
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
mov ecx, dword [0x4e9b08]
lea edi, [edx + eax*4]
mov esi, ecx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
jmp 0x4857c3
mov edx, 0x4857f4
lea eax, [ebp - 0x30]
call fcn.00403834
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
lea edx, [edx + eax*4]
lea eax, [ebp - 0x30]
mov cl, 0x20
call fcn.00403804
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x54]
call fcn.00403834
mov edx, 0x485808
lea eax, [ebp - 0x54]
mov cl, 0x22
call fcn.00403804
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x58]
call fcn.0040527c
mov edx, dword [ebp - 0x58]
mov eax, dword [0x4e9afc]
mov eax, dword [eax]
mov cx, word [0x48580c]
call fcn.004a9378
cmp eax, 6
je 0x4855e2
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
mov ecx, dword [0x4e9b08]
lea edi, [edx + eax*4]
mov esi, ecx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
jmp 0x4857c3
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e97c0]
mov dword [edx], eax
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [0x4e9354]
lea edx, [ecx + edx*4]
call fcn.0040527c
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
mov edx, dword [edx + eax*4 + 0x3c]
mov eax, dword [ebp - 4]
call fcn.00489050
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x4e9354]
movzx eax, byte [edx + eax*4 + 0xf]
call fcn.004c48fc
jmp 0x4857c3
cmp dword [ebp - 8], 0xffffffff
jne 0x4857c3
mov eax, dword [0x4e9238]
cmp byte [eax], 0
je 0x4857c3
mov eax, dword [0x4e9238]
mov byte [eax], 0
mov eax, dword [0x4e9b0c]
mov edx, dword [0x4e9b08]
lea esi, [eax + 4]
mov edi, edx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4e9b0c]
mov byte [eax + 4], 0
mov eax, dword [0x4e9b08]
cmp byte [eax + 0xf], 4
jne 0x485786
mov eax, dword [0x4e9b08]
cmp byte [eax + 0x10], 0x64
jae 0x485786
mov eax, dword [0x4e9b08]
cmp byte [eax + 0x10], 0x32
jae 0x48571d
mov edx, 0x4857f4
lea eax, [ebp - 0x30]
call fcn.00403834
mov edx, dword [0x4e9b08]
lea eax, [ebp - 0x30]
mov cl, 0x20
call fcn.00403804
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x54]
call fcn.00403834
mov edx, 0x485808
lea eax, [ebp - 0x54]
mov cl, 0x22
call fcn.00403804
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x60]
call fcn.0040527c
mov edx, dword [ebp - 0x60]
mov eax, dword [0x4e9afc]
mov eax, dword [eax]
mov cx, word [0x48580c]
call fcn.004a9378
cmp eax, 6
je 0x485786
mov eax, dword [0x4e9b08]
call fcn.004d5208
jmp 0x4857c3
mov edx, 0x4857f4
lea eax, [ebp - 0x30]
call fcn.00403834
mov edx, dword [0x4e9b08]
lea eax, [ebp - 0x30]
mov cl, 0x20
call fcn.00403804
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x54]
call fcn.00403834
mov edx, 0x485808
lea eax, [ebp - 0x54]
mov cl, 0x22
call fcn.00403804
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x64]
call fcn.0040527c
mov edx, dword [ebp - 0x64]
mov eax, dword [0x4e9afc]
mov eax, dword [eax]
mov cx, word [0x48580c]
call fcn.004a9378
cmp eax, 6
je 0x485786
mov eax, dword [0x4e9b08]
call fcn.004d5208
jmp 0x4857c3
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x4e97c0]
mov dword [edx], eax
lea eax, [ebp - 0x68]
mov edx, dword [0x4e9b08]
call fcn.0040527c
mov ecx, dword [ebp - 0x68]
mov edx, dword [0x4e9b08]
mov edx, dword [edx + 0x3c]
mov eax, dword [ebp - 4]
call fcn.00489050
mov eax, dword [0x4e9b08]
movzx eax, byte [eax + 0xf]
call fcn.004c48fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4857ed
lea eax, [ebp - 0x68]
mov edx, 5
call fcn.0040503c
lea eax, [ebp - 0xc]
call fcn.00405018
ret