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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
sub eax, dword [edx + 0x40]
sbb ecx, dword [edx + 0x44]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jg 0x1013baad
jl 0x1013baa8
cmp dword [ebp - 0x38], 0x14
ja 0x1013baad
jmp 0x1013bcdd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov eax, dword [ebp - 0x24]
add eax, 0x20
push eax
call fcn.10009070
mov ecx, dword [0x10229c40]
add ecx, 0xc4
call fcn.100cb630
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x1013bb08
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x52], 0
jmp 0x1013bcdd
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 0
jne 0x1013bb16
jmp 0x1013bcdd
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0x52]
test eax, eax
jne 0x1013bb26
jmp 0x1013bcdd
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x10229c40]
call fcn.100c3a40
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x102af8a8
call fcn.10012020
lea ecx, [ebp - 0x20]
call fcn.10008ea0
nop
mov ecx, 0x102af8a8
call fcn.10008c40
test eax, eax
ja 0x1013bb7a
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x52], 0
jmp 0x1013bcdd
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + 0x20]
cmp edx, 0x15
jne 0x1013bbff
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [0x10229c40]
call fcn.100c40a0
movzx edx, al
test edx, edx
jne 0x1013bbb4
push 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [0x10229c40]
call fcn.100c4070
nop
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [0x10229c40]
call fcn.100c40a0
movzx ecx, al
test ecx, ecx
je 0x1013bbe2
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [0x10229c40]
call fcn.100c4070
nop
push 0xfffcfcfc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [0x10229c40]
call fcn.100c6650
nop
jmp 0x1013bcdd
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0x20]
cmp ecx, 0x14
jne 0x1013bc81
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x10229c40]
call fcn.100c40a0
movzx ecx, al
test ecx, ecx
je 0x1013bc39
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x10229c40]
call fcn.100c4070
nop
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
push edx
mov ecx, dword [0x10229c40]
call fcn.100c40a0
movzx eax, al
test eax, eax
jne 0x1013bc67
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
push edx
mov ecx, dword [0x10229c40]
call fcn.100c4070
nop
push 0xffdf3434
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [0x10229c40]
call fcn.100c6650
nop
jmp 0x1013bcdd
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x10229c40]
call fcn.100c40a0
movzx ecx, al
test ecx, ecx
je 0x1013bcaf
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x10229c40]
call fcn.100c4070
nop
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
push edx
mov ecx, dword [0x10229c40]
call fcn.100c40a0
movzx eax, al
test eax, eax
je 0x1013bcdd
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
push edx
mov ecx, dword [0x10229c40]
call fcn.100c4070
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret