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

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x10086e90
call fcn.1005e900
mov eax, dword [0x101639c4]
sub esp, 0x260
cmp byte [eax + 0x52fc], 0
je 0x100417d1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x103fd850]
je 0x100417d0
call esi
mov dword [0x103fd850], eax
xor esi, esi
mov eax, dword [0x101639c4]
cmp dword [eax + 0x52fd], 0x7d0
jl 0x100415c4
mov dword [eax + 0x52fd], esi
push 0x3f
lea eax, [ebp]
push esi
push eax
call fcn.10061050
mov ecx, dword [0x103f5c14]
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0xc6]
movss dword [ebp + 0x30], xmm0
mov eax, dword [ecx + 0x1e]
mov ax, word [eax + 0x96]
mov word [ebp], ax
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ecx + 0x1e]
mov eax, dword [eax]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
call fcn.1004026b
mov ecx, dword [0x103f5c14]
add esp, 0x14
mov eax, dword [ecx + 0x1e]
mov eax, dword [eax]
mov eax, dword [eax + 0x2a4]
cvttss2si eax, dword [eax + 0x540]
mov byte [ebp + 0x34], al
mov eax, dword [ecx + 0x1e]
mov eax, dword [eax]
mov eax, dword [eax + 0x2a4]
cvttss2si eax, dword [eax + 0x548]
mov byte [ebp + 0x35], al
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0xba]
movss dword [ebp + 0x24], xmm0
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0xbe]
movss dword [ebp + 0x28], xmm0
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0xc2]
movss dword [ebp + 0x2c], xmm0
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0x9e]
movss dword [ebp + 8], xmm0
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0xa2]
movss dword [ebp + 0xc], xmm0
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0xa6]
movss dword [ebp + 0x10], xmm0
mov eax, dword [ecx + 0x1e]
lea ecx, [ebp - 0x26c]
movss xmm0, dword [eax + 0xaa]
mov eax, dword [0x101639c4]
movss dword [ebp + 0x14], xmm0
mov ax, word [eax + 0x52fd]
mov word [ebp + 0x39], ax
call fcn.1000153d
push 1
push 8
lea eax, [ebp + 0x40]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp + 0x40], 0xc8
call fcn.10001784
push 0x3f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x26c]
call fcn.10001733
mov ecx, dword [0x103f5c00]
lea eax, [ebp - 0x26c]
push esi
push 7
push 1
push eax
call fcn.10041187
xorps xmm0, xmm0
mov eax, dword [0x101639c4]
lea ecx, [ebp - 0x158]
movlpd qword [ebp - 0x36], xmm0
movlpd qword [ebp - 0x2e], xmm0
movlpd qword [ebp - 0x26], xmm0
movlpd qword [ebp - 0x1a], xmm0
movss xmm0, dword [ebp + 0x18]
subss xmm0, dword [0x1008cb40]
mov ax, word [eax + 0x52fd]
mov word [ebp - 0x44], ax
mov dword [ebp - 0x12], 0x3c23d70a
mov dword [ebp - 0x1e], 0xbc23d70a
movss dword [ebp - 0x42], xmm0
movss xmm0, dword [ebp + 0x1c]
movss dword [ebp - 0x3e], xmm0
movss xmm0, dword [ebp + 0x20]
movss dword [ebp - 0x3a], xmm0
call fcn.1000153d
push 1
push 8
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp + 0x40], 0xd2
call fcn.10001784
push 0x36
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x158]
call fcn.10001733
mov ecx, dword [0x103f5c00]
lea eax, [ebp - 0x158]
push esi
push 7
push 1
push eax
call fcn.10041187
lea ecx, [ebp - 0x158]
call fcn.10001558
lea ecx, [ebp - 0x26c]
call fcn.10001558
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x44
leave
ret