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

Disassembly:
mov eax, 0x10076805
call fcn.1004e918
mov eax, dword [0x10150b3c]
sub esp, 0x2f8
cmp dword [eax + 0x11d], 0
je 0x1004190d
cmp dword [0x101ac878], 0
je 0x1004190d
call fcn.1002b0cc
test eax, eax
jne 0x1004190d
mov eax, dword [0x101b4640]
push ebx
push esi
push edi
movss xmm0, dword [eax + 0xe46]
addss xmm0, dword [0x1008956c]
mov eax, dword [ebp + 0xc]
addss xmm0, dword [eax]
movss dword [eax], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101b9e38]
mov ebx, 0x3ec
add ecx, 0x3e8
cmp eax, ecx
jbe 0x100417fb
push 1
lea ecx, [ebp - 0x104]
call fcn.1000306d
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
push str.DostListesi.ini
push 0x101b9e58
push str._sSAMPFUNCS_s
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 1
push 0x200
push eax
call fcn.100080a0
add esp, 0x14
lea eax, [ebp - 0x304]
lea ecx, [ebp - 0x104]
push 0x40
push 1
push eax
call fcn.1000708d
push 0x139c
push 0
push dword [0x101b0750]
call fcn.10051060
and dword [0x101b9e34], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100028ca
add esp, 0x14
jmp 0x1004178f
mov ecx, dword [0x101ac878]
xor esi, esi
movzx eax, word [ecx]
cmp eax, esi
je 0x10041754
cmp dword [ecx + esi*4 + 0x26], 0
je 0x10041754
cmp dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
call fcn.1003ed14
pop ecx
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x10041745
test cl, cl
je 0x10041741
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x10041745
add edi, 2
add eax, 2
test cl, cl
jne 0x10041725
xor eax, eax
jmp 0x1004174a
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004175b
mov ecx, dword [0x101ac878]
inc esi
cmp esi, ebx
jl 0x10041705
jmp 0x1004177d
mov ecx, dword [0x101b9e34]
mov eax, dword [0x101b0750]
mov dword [eax + ecx*4 + 0x3ec], esi
inc ecx
mov eax, dword [0x101b0750]
mov dword [0x101b9e34], ecx
mov byte [eax + esi], 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100028ca
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x100416fd
lea ecx, [ebp - 0x104]
call fcn.100065db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101b9e38], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100417ec
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x100417e3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10002423
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1004e90a
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.10003756
mov ecx, dword [0x101b9e34]
xor esi, esi
test ecx, ecx
jle 0x1004190a
mov edx, dword [0x101ac878]
mov eax, dword [0x101b0750]
mov edi, dword [ebx + eax]
movzx eax, word [edx]
cmp eax, edi
je 0x100418fe
mov eax, dword [edx + edi*4 + 0x26]
test eax, eax
je 0x100418fe
add eax, 0x14
cmp dword [eax + 0x14], 0x10
jb 0x1004183b
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x4c]
push str._s__ID:__d_
push eax
call fcn.1000b0cc
mov eax, dword [ebp + 0xc]
add esp, 0x10
movss xmm0, dword [eax]
mov eax, dword [ebp + 8]
push 0
push 0
push ecx
push ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
movss dword [esp], xmm0
push 0xff000000
push edi
call fcn.1003f57f
pop ecx
pop ecx
mov ecx, dword [0x101b4640]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10040d98
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0xffff0000
movss xmm0, dword [eax]
subss xmm0, dword [0x1007dc38]
mov eax, dword [0x101b4640]
cvttss2si ecx, xmm0
movss xmm0, dword [edi]
addss xmm0, dword [eax + 0xe46]
addss xmm0, dword [0x1007dc38]
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [edi]
push ecx
push eax
push ecx
mov ecx, dword [0x101b4628]
call fcn.1004009b
mov eax, dword [0x101b4640]
mov ecx, dword [0x101b9e34]
movss xmm0, dword [eax + 0xe46]
addss xmm0, dword [0x1007dc38]
addss xmm0, dword [edi]
movss dword [edi], xmm0
mov edx, dword [0x101ac878]
inc esi
add ebx, 4
cmp esi, ecx
jl 0x10041811
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret