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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, edx
mov dword [esp + 8], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
push esi
mov esi, dword [eax*4 + 0x20a514c]
push edi
test eax, eax
js 0x4e8a7f
cmp eax, 0x1194
jge 0x4e8a7f
cmp dword [esi + 4], 3
jne 0x4e8a7f
cmp word [esi + 0x78], 1
jne 0x4e8475
cmp byte [esi + 0xa], 0
jg 0x4e8a7f
cmp byte [esi + 0x9c0], 0
jne 0x4e8a7f
cmp byte [esi + 0x217], 0
jg 0x4e8a7f
cmp byte [esi + 0x214], 0
jne 0x4e8a7f
mov ecx, esi
call fcn.0051fbf0
test al, al
jne 0x4e8a7f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x208]
cmp eax, 0x64
jb 0x4e8a7f
cmp byte [esi + 0xf24], 0
jne 0x4e84fd
call edi
sub eax, dword [esi + 0x208]
cmp eax, 0x64
jb 0x4e8a7f
push esi
call fcn.00478780
test al, al
jne 0x4e84e3
push esi
call fcn.00478810
test al, al
je 0x4e84fd
call edi
mov dword [esi + 0x208], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x5ea], 0
je 0x4e858d
xor eax, eax
mov dword [esp + 0x10], 0x110
mov word [esi + 0x5ea], ax
mov ecx, 0xa9b83c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00405650
mov eax, dword [esp + 0x20]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x4e8549
cmp dword [eax + 0x10], 0x110
jle 0x4e854b
mov eax, ecx
cmp eax, ecx
jne 0x4e856e
push 0x110
push str.Could_not_find_message__d_
push 0xa9b7bc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, 0xa9b7bc
jmp 0x4e8571
add eax, 0x18
push eax
push 0
push 0
push 0
push 0
push 0
push 1
push dword [esi]
push 0xb90558
call fcn.004cdc70
add esp, 0x24
mov al, byte [ebx + 5]
shr al, 4
mov byte [esi + 0x148], al
mov byte [esi + 0x204], 0
mov dword [esi + 0x174], 0
movzx eax, byte [ebx + 5]
and eax, 0xf
mov dword [esi + 0x170], eax
call edi
mov dword [esi + 0x208], eax
lea edx, [esi + 0x198]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov word [edx + 0x1c], 0
movups xmmword [esi + 0x1b6], xmm0
movq qword [esi + 0x1c6], xmm0
mov dword [esi + 0x1ce], 0
mov word [esi + 0x1d2], 0
movups xmmword [esi + 0x17a], xmm0
movq qword [esi + 0x18a], xmm0
mov dword [esi + 0x192], 0
mov word [esi + 0x196], 0
movzx eax, byte [ebx + 3]
mov ecx, dword [esi + 0x170]
mov word [esi + 0x166], ax
movzx eax, byte [ebx + 4]
mov word [esi + 0x168], ax
xor eax, eax
test ecx, ecx
mov byte [esi + 0x178], 1
lea edi, [ecx + 1]
setg al
test ecx, ecx
mov dword [esi + 0x174], eax
cmovle edi, ecx
mov dword [esi + 0x170], edi
movzx eax, byte [ebx + 3]
mov word [edx], ax
movzx eax, byte [ebx + 4]
mov ebx, 1
mov word [esi + 0x1b6], ax
mov al, byte [esi + 0x148]
mov byte [esi + 0x1d4], al
cmp edi, ebx
jle 0x4e87b6
nop word [eax + eax]
lea edi, [ebx + 1]
mov eax, edi
test eax, eax
jns 0x4e869c
add eax, 1
sar eax, 1
mov ecx, dword [esp + 0x24]
add ecx, eax
lea eax, [edx + 2]
mov dword [esp + 0x10], eax
test bl, 1
movzx ebx, word [edx]
movzx eax, byte [ecx + 5]
jne 0x4e8729
and eax, 0xf
movzx eax, word [eax*4 + 0x5542dc]
add ax, bx
mov ebx, dword [esp + 0x10]
mov word [esi + 0x166], ax
movzx eax, byte [ecx + 5]
and eax, 0xf
movzx eax, word [eax*4 + 0x5542de]
add ax, word [edx + 0x1e]
mov word [esi + 0x168], ax
movzx eax, byte [ecx + 5]
and eax, 0xf
movzx eax, word [eax*4 + 0x5542dc]
add ax, word [edx]
mov word [ebx], ax
movzx eax, byte [ecx + 5]
and eax, 0xf
movzx eax, word [eax*4 + 0x5542de]
add ax, word [edx + 0x1e]
mov word [edx + 0x20], ax
mov al, byte [ecx + 5]
and al, 0xf
movzx eax, al
mov word [edx - 0x1e], ax
mov al, byte [ecx + 5]
and al, 0xf
jmp 0x4e879b
shr eax, 4
movzx eax, word [eax*4 + 0x5542dc]
add ax, bx
mov ebx, dword [esp + 0x10]
mov word [esi + 0x166], ax
movzx eax, byte [ecx + 5]
shr eax, 4
movzx eax, word [eax*4 + 0x5542de]
add ax, word [edx + 0x1e]
mov word [esi + 0x168], ax
movzx eax, byte [ecx + 5]
shr eax, 4
movzx eax, word [eax*4 + 0x5542dc]
add ax, word [edx]
mov word [ebx], ax
movzx eax, byte [ecx + 5]
shr eax, 4
movzx eax, word [eax*4 + 0x5542de]
add ax, word [edx + 0x1e]
mov word [edx + 0x20], ax
mov al, byte [ecx + 5]
shr al, 4
movzx eax, al
mov word [edx - 0x1e], ax
mov al, byte [ecx + 5]
shr al, 4
mov byte [esi + edi + 0x1d3], al
mov ebx, edi
mov edi, dword [esi + 0x170]
mov edx, dword [esp + 0x10]
cmp ebx, edi
jl 0x4e8690
cmp byte [esi + 0xf24], 0
jne 0x4e8923
movsx ecx, word [esi + 0x144]
movzx eax, word [esi + 0x166]
movsx edx, ax
lea eax, [ecx - 0xf]
cmp edx, eax
jl 0x4e8874
lea eax, [ecx + 0xf]
cmp edx, eax
jg 0x4e8874
movsx ebx, word [esi + 0x146]
movzx eax, word [esi + 0x168]
movsx ecx, ax
lea eax, [ebx - 0xf]
cmp ecx, eax
jl 0x4e8874
lea eax, [ebx + 0xf]
cmp ecx, eax
jg 0x4e8874
test edi, edi
jle 0x4e8923
movzx eax, byte [esi + 0x149]
imul edi, eax, 0x15d38
test edx, edx
js 0x4e8874
cmp edx, dword [edi + 0xd2f384]
jge 0x4e8874
test ecx, ecx
js 0x4e8874
mov eax, dword [edi + 0xd2f388]
cmp ecx, eax
jge 0x4e8874
imul ecx, eax
add ecx, dword [edi + 0xd2f380]
test byte [ecx + edx], 4
jne 0x4e8874
movzx eax, word [esi + 0x168]
movsx ecx, ax
movzx eax, word [esi + 0x166]
movsx edx, ax
mov eax, dword [edi + 0xd2f388]
imul eax, ecx
add eax, dword [edi + 0xd2f380]
test byte [eax + edx], 8
je 0x4e8923
mov dword [esi + 0x174], 0
xorps xmm0, xmm0
mov dword [esi + 0x170], 0
mov byte [esi + 0x178], 0
movups xmmword [esi + 0x198], xmm0
movq qword [esi + 0x1a8], xmm0
mov dword [esi + 0x1b0], 0
mov word [esi + 0x1b4], 0
movups xmmword [esi + 0x1b6], xmm0
movq qword [esi + 0x1c6], xmm0
mov dword [esi + 0x1ce], 0
mov word [esi + 0x1d2], 0
movups xmmword [esi + 0x17a], xmm0
movq qword [esi + 0x18a], xmm0
mov dword [esi + 0x192], 0
mov word [esi + 0x196], 0
movsx eax, word [esi + 0x146]
movsx edx, word [esi + 0x144]
mov ecx, dword [esi]
push eax
call fcn.00525a30
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 0x149]
movsx edi, word [esi + 0x162]
movsx edx, word [esi + 0x164]
imul eax, eax, 0x15d38
test edi, edi
js 0x4e8967
cmp edi, dword [eax + 0xd2f384]
jge 0x4e8967
test edx, edx
js 0x4e8967
mov ecx, dword [eax + 0xd2f388]
cmp edx, ecx
jge 0x4e8967
mov eax, dword [eax + 0xd2f380]
imul ecx, edx
add eax, ecx
and byte [eax + edi], 0xfd
mov ecx, dword [esp + 0x24]
movzx edx, word [esi + 0x166]
movzx eax, byte [ecx + 3]
mov word [esi + 0x144], ax
movzx eax, byte [ecx + 4]
movzx ecx, word [esi + 0x168]
mov word [esi + 0x146], ax
movzx eax, byte [esi + 0x149]
mov word [esi + 0x166], dx
mov word [esi + 0x162], dx
movsx edx, dx
imul eax, eax, 0x15d38
mov word [esi + 0x168], cx
mov word [esi + 0x164], cx
mov byte [esi + 0x205], 0
movsx edi, cx
test edx, edx
js 0x4e89ee
cmp edx, dword [eax + 0xd2f384]
jge 0x4e89ee
test edi, edi
js 0x4e89ee
mov ecx, dword [eax + 0xd2f388]
cmp edi, ecx
jge 0x4e89ee
mov eax, dword [eax + 0xd2f380]
imul ecx, edi
add eax, ecx
or byte [eax + edx], 2
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x27], al
mov al, byte [esi + 0x166]
mov byte [esp + 0x29], al
mov al, byte [esi + 0x168]
mov byte [esp + 0x2a], al
mov al, byte [esi + 0x148]
shl al, 4
cmp word [esi + 0x78], 1
mov word [esp + 0x24], 0x8c1
mov byte [esp + 0x26], 0xd4
mov byte [esp + 0x28], cl
mov byte [esp + 0x2b], al
jne 0x4e8a40
push 8
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.005192f0
xor edi, edi
mov ecx, dword [esi + 0x368]
cmp byte [ecx + edi + 3], 1
jne 0x4e8a74
mov al, byte [ecx + edi]
test al, al
je 0x4e8a74
cmp al, 8
je 0x4e8a74
cmp al, 0x10
je 0x4e8a74
movzx eax, byte [esp + 0x25]
push eax
lea eax, [esp + 0x28]
push eax
movsx eax, word [ecx + edi + 1]
push eax
call fcn.005192f0
add edi, 4
cmp edi, 0x12c
jl 0x4e8a42
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret