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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
push ecx
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0x8c]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x88]
movss dword [esp], xmm0
mov ecx, 0x101b96a0
call fcn.1012ef30
fstp st(0)
mov dword [ebp - 0xc], 0
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 8], xmm0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x50], 0
jbe 0x1015c0d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x50]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, 0x1388
sub edx, eax
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x28]
imul eax, eax, 0x64
xor edx, edx
mov ecx, 0x1388
div ecx
mov dword [ebp - 0x10], eax
cvtsi2sd xmm0, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a10c0]
movsd qword [ebp - 0x30], xmm0
cvtsd2ss xmm0, qword [ebp - 0x30]
divss xmm0, dword [0x101a0c00]
movss dword [ebp - 8], xmm0
jmp 0x1015c15a
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x80]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x24]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + esi*4 + 0x58]
sub ecx, eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28]
imul eax, eax, 0x64
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + edx*4 + 0x58]
imul ecx, ecx, 0x3e8
xor edx, edx
div ecx
mov dword [ebp - 0x14], eax
cvtsi2sd xmm0, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a10c0]
movsd qword [ebp - 0x38], xmm0
cvtsd2ss xmm0, qword [ebp - 0x38]
divss xmm0, dword [0x101a0c00]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x101a00e0]
comiss xmm0, dword [ebp - 8]
jbe 0x1015c175
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 8], xmm0
cvtss2sd xmm0, dword [ebp - 8]
comisd xmm0, xmmword [0x101a0600]
jbe 0x1015c191
movss xmm0, dword [0x101a04ac]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x101a0cb4]
mulss xmm0, dword [ebp - 8]
movss dword [0x101bbfbc], xmm0
push ecx
movss xmm0, dword [0x101a0aac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a0cd0]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x8c]
addss xmm0, dword [0x101a0b18]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x90]
subss xmm0, dword [0x101a0cd0]
divss xmm0, dword [0x101a0650]
mov edx, dword [ebp - 4]
addss xmm0, dword [edx + 0x88]
push ecx
movss dword [esp], xmm0
push 0x7a65
mov eax, 0x790b50
call eax
add esp, 0x10
movss xmm0, dword [0x101a0a84]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101bbfbc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x8c]
addss xmm0, dword [0x101a0b2c]
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0x90]
subss xmm0, dword [0x101a0cb4]
divss xmm0, dword [0x101a0650]
mov eax, dword [ebp - 4]
addss xmm0, dword [eax + 0x88]
push ecx
movss dword [esp], xmm0
push 0x7a66
mov ecx, 0x790b50
call ecx
add esp, 0x10
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc910
mov edx, dword [0x8793704]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x1015c2e5
cmp dword [ebp - 0x18], 1
je 0x1015c422
jmp 0x1015c52a
mov ecx, dword [0x101e0de0]
call fcn.100bcac0
push 0
mov ecx, dword [0x101e0de0]
call fcn.100bcaf0
push 0x85
mov ecx, 0x101e5d10
call fcn.100dcbc0
push eax
push ecx
movss xmm0, dword [0x101a0740]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x90]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x8c]
addss xmm0, dword [0x101a0a94]
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0x88]
movss dword [esp], xmm0
mov eax, dword [0x101e0de0]
push eax
call fcn.100bc870
add esp, 0x18
mov ecx, dword [0x101e0de0]
call fcn.100bd1c0
push 1
mov ecx, dword [0x101e0de0]
call fcn.100bcaf0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x80]
add edx, 1
mov dword [ebp - 0x1c], edx
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x88
mov ecx, 0x101e5d10
call fcn.100dcbc0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10001270
push esi
call fcn.10054a70
add esp, 0x10
mov dword [ebp - 0x28], eax
push ecx
movss xmm0, dword [0x101a0740]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0x90]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x8c]
addss xmm0, dword [0x101a0b7c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0x88]
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc990
mov edx, dword [ebp - 4]
mov byte [edx + 0x56], 1
jmp 0x1015c59e
mov ecx, dword [0x101e0de0]
call fcn.100bcac0
push 0
mov ecx, dword [0x101e0de0]
call fcn.100bcaf0
push 0x86
mov ecx, 0x101e5d10
call fcn.100dcbc0
push eax
push ecx
movss xmm0, dword [0x101a0740]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x90]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x8c]
addss xmm0, dword [0x101a0a94]
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0x88]
movss dword [esp], xmm0
mov eax, dword [0x101e0de0]
push eax
call fcn.100bc870
add esp, 0x18
mov ecx, dword [0x101e0de0]
call fcn.100bd1c0
push 1
mov ecx, dword [0x101e0de0]
call fcn.100bcaf0
push 0x87
mov ecx, 0x101e5d10
call fcn.100dcbc0
push eax
push ecx
movss xmm0, dword [0x101a0740]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0x90]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0x8c]
addss xmm0, dword [0x101a0b7c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x88]
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
push ecx
call fcn.100bc870
add esp, 0x18
mov edx, dword [ebp - 4]
mov byte [edx + 0x56], 1
jmp 0x1015c59e
mov ecx, dword [0x101e0de0]
call fcn.100bd1c0
push 2
mov ecx, dword [0x101e0de0]
call fcn.100bcaf0
push str.Error_
push ecx
movss xmm0, dword [0x101a0740]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x90]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x8c]
addss xmm0, dword [0x101a0b18]
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0x88]
movss dword [esp], xmm0
mov eax, dword [0x101e0de0]
push eax
call fcn.100bc870
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret