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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b3e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
mov esi, ecx
mov dword [ebp - 0x28], 0xf
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], 0
cmp byte [ecx], 0
mov byte [ebp - 0x3c], 0
jne 0x451950
xor edx, edx
jmp 0x45195e
mov edx, ecx
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x451955
sub edx, edi
push edx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004095b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0
test eax, eax
je 0x451c13
xor edi, edi
push ebx
lea ecx, [ecx]
cmp edi, eax
jae 0x451c12
push 1
push edi
lea eax, [ebp + 0x10]
mov byte [ebp + 0x10], 0x26
push eax
lea ecx, [ebp - 0x3c]
call fcn.004415d0
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
js 0x451c12
push 2
lea ecx, [ebx + 1]
push ecx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044b110
push ebx
push 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044b110
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
mov ebx, eax
add esp, 4
cmp ebx, 0x45
ja 0x451bc8
push ebx
mov ecx, 0x6d38a0
call fcn.00458280
cmp dword [eax + 8], 1
jle 0x451b16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x1628]
je 0x451a51
mov edi, dword [esi + 0x1624]
mov ecx, 0x6d38a0
push ebx
call fcn.00458280
imul eax, dword [eax + 8], 0x32
sub eax, 5
cmp edi, eax
jb 0x451a3c
mov dword [esi + 0x1624], 0
jmp 0x451a51
lea eax, [edi + 5]
mov dword [esi + 0x1624], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1628], eax
mov eax, 0x51eb851f
mov ecx, 0x6d38a0
mul dword [esi + 0x1624]
mov eax, dword [ebp - 0x10]
mov esi, edx
add eax, 0x13a4
shr esi, 4
mov edi, esi
shl edi, 5
add eax, edi
push ebx
mov dword [ebp + 0x10], eax
call fcn.00458280
add eax, 0xc
shl esi, 4
add eax, esi
mov ecx, 0x6d38a0
push eax
push dword [ebp + 0x10]
push ebx
call fcn.00458280
mov ecx, 0x6d38a0
mov eax, dword [eax + 4]
push eax
call fcn.00458350
mov esi, dword [ebp - 0x10]
cmp dword [edi + esi + 0x13a8], 0
je 0x451bc8
mov eax, dword [ebp - 0x44]
push 0xffffffffffffffff
lea eax, [eax + eax*2]
add eax, eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x597e20]
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [esi + 0x13a4]
cvtpd2ps xmm1, xmm0
add ecx, edi
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x597e08]
addss xmm1, xmm0
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm1
subss xmm0, dword [str.ff_]
movss dword [ebp - 0x18], xmm0
jmp 0x451bb8
push ebx
mov ecx, 0x6d38a0
call fcn.00458280
test eax, eax
je 0x451bc8
push ebx
mov ecx, 0x6d38a0
lea edi, [esi + 0x13a4]
call fcn.00458280
add eax, 0xc
mov ecx, 0x6d38a0
push eax
push edi
push ebx
call fcn.00458280
mov ecx, 0x6d38a0
mov eax, dword [eax + 4]
push eax
call fcn.00458350
cmp dword [esi + 0x13a8], 0
je 0x451bc8
mov eax, dword [ebp - 0x44]
push 0xffffffffffffffff
lea eax, [eax + eax*2]
add eax, eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x597e20]
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, edi
cvtpd2ps xmm1, xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x597e08]
addss xmm1, xmm0
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm1
subss xmm0, dword [str.ff_]
movss dword [ebp - 0x20], xmm0
mov dword [esp], 0
push 0
push 0
call fcn.0044e530
mov edi, dword [ebp - 0x14]
add edi, 2
cmp dword [ebp - 0x40], 0x10
jb 0x451bdf
push dword [ebp - 0x54]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0
jb 0x451c06
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test edi, edi
js 0x451c12
mov eax, dword [ebp - 0x2c]
jmp 0x451980
pop ebx
cmp dword [ebp - 0x28], 0x10
pop edi
pop esi
jb 0x451c26
push dword [ebp - 0x3c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc