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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, eax
mov eax, dword [edi]
fld dword [eax + 0x34]
xor ebx, ebx
fstp dword [esp + 0x24]
mov dword [esp + 0x14], ebx
fld dword [eax + 0x30]
fstp dword [esp + 0x20]
fld dword [eax + 0x38]
fstp dword [esp + 0x28]
fld dword [eax + 0x3c]
fstp dword [esp + 0x2c]
call fcn.1007f280
test eax, eax
jne 0x10047209
call fcn.1007f200
test eax, eax
mov dword [esp + 0x10], 7
je 0x10047211
mov dword [esp + 0x10], 0x14
fld dword [esi + 4]
fstp dword [esp + 0x18]
fld dword [esi]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
fld dword [esp + 0x1c]
fsub dword [esp + 0x20]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.10094530
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fild dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x100473b4
fld dword [esi + 4]
sub esp, 0x10
fsub dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esi]
fsub dword [esp + 0x30]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp qword [esp + 8]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.1006ddc0
fstp st(0)
add esp, 4
fld dword [esi + 8]
fstp dword [esp + 8]
fld dword [esi + 4]
fstp dword [esp + 4]
fld dword [esi]
fstp dword [esp]
call fcn.1007fa80
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call ebp
mov ebx, eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x100472f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov dword [edi + 4], ebx
call fcn.10081ab1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, ebx
sub edx, eax
cmp edx, dword [edi + 0x1c]
jbe 0x100473a3
lea esi, [edi + 8]
lea eax, [esp + 0x20]
mov ecx, esi
call fcn.10003a50
fld dword [edi + 0x20]
fcompp
fnstsw ax
test ah, 5
jp 0x1004734d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [edi + 4], ebx
call fcn.10081ab1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, 2
cmp dword [edi + 0x24], esi
jge 0x10047379
mov ecx, dword [0x100bb2cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
add dword [edi + 0x24], 1
call fcn.10081ab1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov dword [edi + 0x24], 0
call ebp
sub eax, dword [edi + 0x2c]
cmp eax, 0xbb8
jbe 0x100473a3
mov eax, 0x1221
call fcn.10047800
test eax, eax
jne 0x1004739e
mov dword [esp + 0x14], esi
call ebp
mov dword [edi + 0x2c], eax
call fcn.10081ab1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, 1
mov dword [edi + 4], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret