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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
movzx ecx, word [edi]
test cx, cx
je 0x70ecaab8
lea eax, [ecx - 1]
cmp ax, 0x11
ja 0x70eca998
mov eax, 1
shl eax, cl
test eax, 0x30180
jne 0x70eca9a8
test al, 0x5a
jne 0x70ecaa80
test eax, 0x40200
je 0x70eca998
movzx eax, word [ebx + 4]
test ax, ax
jne 0x70ecab70
lea esi, [esi]
mov byte [ebx + 6], 1
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [edi + 8], 1
je 0x70ecab30
mov ecx, dword [ebx]
pxor xmm3, xmm3
pxor xmm2, xmm2
pxor xmm4, xmm4
movzx eax, word [edi + 0x1c]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0x10]
lea edx, [eax + ecx]
cvtsi2ss xmm3, eax
cmp edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
mulss xmm1, xmm3
setae dl
divss xmm1, dword [0x70eec4d8]
mulss xmm1, dword [0x70eec4dc]
sub eax, ecx
movzx ecx, ax
shr eax, 0x10
cvtsi2ss xmm2, eax
mulss xmm2, dword [0x70eec4a0]
cvtsi2ss xmm4, ecx
addss xmm1, xmm0
addss xmm2, xmm4
subss xmm1, xmm0
divss xmm2, xmm3
comiss xmm2, dword [0x70eec4bc]
ja 0x70ecaa27
mulss xmm1, xmm2
addss xmm0, xmm1
movss dword [ebx + 8], xmm0
movzx eax, word [edi]
cmp ax, 7
je 0x70ecac00
cmp ax, 0x10
je 0x70ecac00
movss dword [esi + 0x1c], xmm0
test dl, dl
jne 0x70eca99c
movzx eax, word [ebx + 4]
test ax, ax
je 0x70eca998
cmp ax, 0xff
je 0x70ecaa74
cmp ax, 0xffff
je 0x70ecaa74
sub eax, 1
mov word [ebx + 4], ax
movzx eax, word [edi + 0xc]
add dword [ebx], eax
jmp 0x70eca99c
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], 0
mov edx, dword [esi + 0x44]
mov dword [esi + 0x24], edi
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x40]
mov dword [esi + 0x2c], edi
mov dword [esp], ecx
call fcn.70ec7770
jmp 0x70eca998
movzx eax, byte [edi + 8]
mov edx, eax
and edx, 1
test al, 2
je 0x70ecab90
test dl, dl
jne 0x70ecac10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov ecx, dword [edx]
movzx eax, word [edx + 0xa]
mov esi, dword [ecx + 0x28]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
movzx esi, word [eax + 0x10]
test si, si
jne 0x70ecaca5
mov esi, dword [edx + 0x34]
test esi, esi
je 0x70ecac10
mov eax, dword [ebp + 8]
test si, si
je 0x70ecad10
mov byte [eax + 0x22], 3
call sub.kernel32.dll_GetTickCount
mov edi, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x24]
mov word [edi + 0x20], si
or dword [eax + 0x24], 0x10
jmp 0x70eca998
movzx edx, byte [edi + 0x10]
test dl, 4
je 0x70ecacbd
movss xmm0, dword [edi + 0x14]
and edx, 1
je 0x70ecaa2b
movzx eax, word [edi]
cmp ax, 7
je 0x70ecacb1
cmp ax, 0x10
je 0x70ecacb1
addss xmm0, dword [esi + 0x1c]
xor edx, edx
jmp 0x70ecaa2b
cmp ax, 0xff
je 0x70ecab7d
sub eax, 1
mov word [ebx + 4], ax
movzx eax, word [edi + 0xe]
add dword [ebx], eax
jmp 0x70eca99c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x70ecaba6
movzx edx, dl
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.70ec77d0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x70ecabbc
mov dword [esp], eax
call fcn.70ec7750
mov dword [esi + 0x34], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x14], 0
je 0x70eca998
xor eax, eax
lea esi, [esi]
nop
mov ecx, dword [esi]
lea edx, [eax + eax*2]
xor edi, edi
add eax, 1
shl edx, 2
mov word [ecx + edx + 4], di
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov byte [ecx + edx + 6], 1
cmp al, byte [edi + 0x14]
jb 0x70ecabd0
jmp 0x70eca998
movss dword [esi + 0x18], xmm0
jmp 0x70ecaa4c
mov eax, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax]
cmp byte [eax + 0xb], 0
je 0x70eca998
mov dword [ebp + 0x18], ebx
lea esi, [esi]
mov esi, dword [ebp + 8]
lea ebx, [edi + edi*4]
shl ebx, 4
add ebx, dword [esi + 4]
imul esi, edi, 0x1c
add esi, dword [eax + 0x10]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x70ecac51
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.70ec77d0
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x70ecac67
mov dword [esp], eax
call fcn.70ec7750
mov dword [ebx + 0x34], 0
xor eax, eax
cmp byte [esi + 0x14], 0
je 0x70ecac8e
nop
mov ecx, dword [ebx]
lea edx, [eax + eax*2]
add eax, 1
shl edx, 2
mov word [ecx + edx + 4], 0
mov ecx, dword [ebx]
mov byte [ecx + edx + 6], 1
cmp al, byte [esi + 0x14]
jb 0x70ecac70
mov eax, dword [ebp + 8]
add edi, 1
mov ebx, edi
mov eax, dword [eax]
cmp bl, byte [eax + 0xb]
jb 0x70ecac28
mov ebx, dword [ebp + 0x18]
jmp 0x70eca998
mov eax, dword [ebp + 8]
mov byte [eax + 0x22], 2
jmp 0x70ecab0e
addss xmm0, dword [esi + 0x18]
xor edx, edx
jmp 0x70ecaa2b
pxor xmm0, xmm0
test dl, 8
je 0x70ecab42
movss xmm7, dword [edi + 0x14]
call fcn.70ec8ad0
pxor xmm1, xmm1
movss xmm0, dword [edi + 0x18]
add eax, 0x80000000
subss xmm0, dword [edi + 0x14]
cvtsi2sd xmm1, eax
movzx edx, byte [edi + 0x10]
addsd xmm1, qword [0x70eec490]
mulsd xmm1, qword [0x70eec498]
cvtsd2ss xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, xmm7
jmp 0x70ecab42
mov dword [esp], eax
call fcn.70ec94c0
jmp 0x70eca998