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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041bca
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100590e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
mov dword [ebp - 0x24], esi
call dword [eax]
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], edi
cmp eax, dword [edi + 4]
je 0x1001387b
nop dword [eax]
mov eax, dword [edi]
mov ebx, dword [eax]
mov dword [ebp - 0x1c], ebx
cmp byte [ebx + 0x24], 0
je 0x100138a1
mov ecx, dword [edi + 4]
mov edx, ecx
sub edx, eax
and edx, 0xfffffffc
cmp edx, 8
jl 0x10013845
lea edx, [ecx - 4]
mov ecx, dword [edx]
mov dword [ebp - 0x18], ecx
mov ecx, ebx
mov dword [edx], ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
sub edx, eax
push ecx
sar edx, 2
push edx
push 0
push eax
call fcn.1000f410
add esp, 0x14
add dword [edi + 4], 0xfffffffc
mov ecx, dword [ebx + 0x20]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10013865
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add eax, ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x30
push ebx
mov byte [ebp - 4], 0
call fcn.1001feff
mov eax, dword [edi]
add esp, 8
cmp eax, dword [edi + 4]
jne 0x10013800
xor bl, bl
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 4
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x1005a888]
test eax, eax
jne 0x100138b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
jmp 0x100138b6
call eax
cmp edx, dword [ebx + 0x14]
jb 0x1001387b
ja 0x100138c2
cmp eax, dword [ebx + 0x10]
jb 0x1001387b
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x100138da
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add eax, ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x100138f4
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add eax, ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
mov ecx, dword [edi + 4]
mov edx, ecx
mov eax, dword [edi]
sub edx, eax
and edx, 0xfffffffc
cmp edx, 8
jl 0x10013932
lea edx, [ecx - 4]
mov ecx, dword [edx]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
sub edx, eax
push ecx
sar edx, 2
push edx
push 0
push eax
call fcn.1000f410
add esp, 0x14
add dword [edi + 4], 0xfffffffc
cmp byte [ebx], 0
jne 0x100139c9
mov edx, dword [esi + 0x38]
mov ecx, edx
mov edi, dword [ebp - 0x14]
add ecx, 1
mov esi, dword [esi + 0x3c]
mov eax, esi
adc eax, 0
mov dword [edi + 0x38], ecx
mov ecx, edi
mov dword [ecx + 0x3c], eax
mov eax, dword [0x1005a888]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], esi
test eax, eax
jne 0x10013973
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
jmp 0x10013975
call eax
mov ecx, dword [ebx + 8]
mov edi, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebx + 0xc]
adc eax, edx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
call fcn.10017080
mov eax, dword [edi + 4]
mov edx, eax
mov ecx, dword [edi]
sub edx, ecx
sar edx, 2
cmp edx, 2
jl 0x100139bf
mov eax, dword [eax - 4]
dec edx
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push edx
push ecx
call fcn.1000f4e0
add esp, 0x14
mov esi, dword [ebp - 0x14]
mov bl, 1
jmp 0x1001387d
push dword [ebx + 0x28]
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x2c]
call fcn.10016550
mov ecx, dword [ebx + 0x20]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100139f4
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add eax, ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x30
push ebx
call fcn.1001feff
add esp, 8
mov bl, 1
jmp 0x1001387d