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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58650c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0xf
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], 0
cmp byte [ecx], 0
mov byte [ebp - 0x2c], 0
jne 0x45a9a3
xor edx, edx
jmp 0x45a9b1
mov edx, ecx
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x45a9a8
sub edx, edi
push edx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004095e0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
test eax, eax
je 0x45aea2
xor edi, edi
push ebx
cmp edi, eax
jae 0x45aea1
push 1
push edi
lea eax, [ebp + 0x10]
mov byte [ebp + 0x10], 0xfa
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043e6c0
mov edi, eax
mov dword [ebp + 0x10], edi
test edi, edi
js 0x45aea1
push 2
lea ecx, [edi + 1]
push ecx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00448200
push edi
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00448200
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
mov ebx, eax
add esp, 4
cmp ebx, 0x45
ja 0x45ab85
push ebx
mov ecx, 0x6d0898
call fcn.004552c0
cmp dword [eax + 8], 1
jle 0x45ade2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x147c]
je 0x45aaad
mov edi, dword [esi + 0x1478]
mov ecx, 0x6d0898
push ebx
call fcn.004552c0
imul eax, dword [eax + 8], 0x32
sub eax, 5
cmp edi, eax
jb 0x45aa98
mov dword [esi + 0x1478], 0
jmp 0x45aaad
lea eax, [edi + 5]
mov dword [esi + 0x1478], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x147c], eax
mov eax, 0x51eb851f
mov ecx, 0x6d0898
mul dword [esi + 0x1478]
mov eax, dword [ebp - 0x10]
mov esi, edx
add eax, 0x11f8
shr esi, 4
mov edi, esi
shl edi, 5
add eax, edi
push ebx
mov dword [ebp - 0x14], eax
call fcn.004552c0
add eax, 0xc
shl esi, 4
add eax, esi
mov ecx, 0x6d0898
push eax
push dword [ebp - 0x14]
push ebx
call fcn.004552c0
mov ecx, 0x6d0898
mov eax, dword [eax + 4]
push eax
call fcn.00455390
mov esi, dword [ebp - 0x10]
cmp dword [edi + esi + 0x11fc], 0
je 0x45ab82
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
lea eax, [eax + eax*2]
add eax, eax
subss xmm0, dword [0x5971ec]
movss dword [ebp - 0x88], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x594960]
lea eax, [ebp - 0x8c]
push eax
push ecx
mov dword [esp], 0
lea ecx, [esi + 0x11f8]
cvtpd2ps xmm1, xmm0
add ecx, edi
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x594948]
addss xmm1, xmm0
movss dword [ebp - 0x8c], xmm1
call fcn.0044b620
mov edi, dword [ebp + 0x10]
cmp ebx, 0xffffffff
jne 0x45ac33
lea ecx, [ebp - 0x84]
call fcn.0044b5a0
push 8
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
push eax
push 0x1d
mov ecx, 0x6d0898
call fcn.004553e0
movd xmm0, dword [ebp + 0xc]
movzx eax, word [esi + 0x1c]
cvtdq2ps xmm0, xmm0
push ebx
movzx eax, word [eax*4 + 0x6d011c]
imul eax, dword [ebp - 0x34]
subss xmm0, dword [0x595054]
movss dword [ebp - 0x58], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x594960]
lea eax, [ebp - 0x5c]
push eax
push ecx
mov dword [esp], 0
lea ecx, [ebp - 0x84]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5971f0]
addss xmm1, xmm0
movss dword [ebp - 0x5c], xmm1
call fcn.0044b620
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.0044b5d0
cmp ebx, 0xfffffffe
jne 0x45ace2
lea ecx, [ebp - 0x84]
call fcn.0044b5a0
push 8
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 4
push eax
push 0x1e
mov ecx, 0x6d0898
call fcn.004553e0
movd xmm0, dword [ebp + 0xc]
movzx eax, word [esi + 0x1c]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
movzx eax, word [eax*4 + 0x6d011c]
imul eax, dword [ebp - 0x34]
subss xmm0, dword [0x595054]
movss dword [ebp - 0x48], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x594960]
lea eax, [ebp - 0x4c]
push eax
push ecx
mov dword [esp], 0
lea ecx, [ebp - 0x84]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5971f0]
addss xmm1, xmm0
movss dword [ebp - 0x4c], xmm1
call fcn.0044b620
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.0044b5d0
cmp ebx, 0xfffffffd
jne 0x45ad91
lea ecx, [ebp - 0x84]
call fcn.0044b5a0
push 8
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 5
push eax
push 0x1f
mov ecx, 0x6d0898
call fcn.004553e0
movd xmm0, dword [ebp + 0xc]
movzx eax, word [esi + 0x1c]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
movzx eax, word [eax*4 + 0x6d011c]
imul eax, dword [ebp - 0x34]
subss xmm0, dword [0x595054]
movss dword [ebp - 0x60], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x594960]
lea eax, [ebp - 0x64]
push eax
push ecx
mov dword [esp], 0
lea ecx, [ebp - 0x84]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5971f0]
addss xmm1, xmm0
movss dword [ebp - 0x64], xmm1
call fcn.0044b620
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.0044b5d0
add edi, 2
cmp dword [ebp - 0x30], 0x10
jb 0x45ada5
push dword [ebp - 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x90], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0
jb 0x45add2
push dword [ebp - 0xa4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test edi, edi
js 0x45aea1
mov eax, dword [ebp - 0x1c]
jmp 0x45a9d0
push ebx
mov ecx, 0x6d0898
call fcn.004552c0
test eax, eax
je 0x45ab85
push ebx
mov ecx, 0x6d0898
call fcn.004552c0
add eax, 0xc
mov ecx, 0x6d0898
push eax
lea eax, [esi + 0x11f8]
push eax
push ebx
call fcn.004552c0
mov ecx, 0x6d0898
mov eax, dword [eax + 4]
push eax
call fcn.00455390
cmp dword [esi + 0x11fc], 0
je 0x45ab85
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
lea eax, [eax + eax*2]
add eax, eax
subss xmm0, dword [0x5971ec]
movss dword [ebp - 0x50], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x594960]
lea eax, [ebp - 0x54]
push eax
push ecx
mov dword [esp], 0
lea ecx, [esi + 0x11f8]
cvtpd2ps xmm1, xmm0
push 0
push 0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x594948]
addss xmm1, xmm0
movss dword [ebp - 0x54], xmm1
call fcn.0044b620
jmp 0x45ab85
pop ebx
cmp dword [ebp - 0x18], 0x10
pop edi
pop esi
jb 0x45aeb5
push dword [ebp - 0x2c]
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