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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [0x10067c8c], edi
je 0x100138f4
cmp dword [0x10067b90], edi
je 0x100138f4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10067b98]
mov edx, dword [0x10067f18]
add ecx, edx
cmp ecx, eax
jae 0x10013e8a
mov dword [0x10067f18], eax
call fcn.10021a60
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x10067c94], edi
je 0x10013a0c
push 0x10037738
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10067f14]
add ecx, 0x12c
cmp ecx, eax
jae 0x10013e8a
cmp dword [0x10067e80], edi
mov dword [0x10067f14], eax
jne 0x10013957
mov edx, dword [0x10068324]
mov eax, dword [edx*4 + 0x1005dc78]
push eax
call fcn.1001e480
mov dword [0x10067e80], 1
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x10067f10], edi
jne 0x10013973
call fcn.10021ae0
mov dword [0x10067f10], 1
pop edi
mov esp, ebp
pop ebp
ret
push 0x100381fc
push 0x100381f4
call fcn.1001d200
test eax, eax
je 0x100139a3
push 1
push 0x100381e8
mov dword [0x10067e80], edi
call fcn.10001160
mov dword [0x10067f10], edi
pop edi
mov esp, ebp
pop ebp
ret
push 6
push 1
push 0x100381f4
call fcn.1001c6b0
test eax, eax
jne 0x100139b9
push 1
jmp 0x100139f5
push 6
push 3
push 0x100381f4
call fcn.1001c6b0
test eax, eax
jne 0x100139cf
push 2
jmp 0x100139f5
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
mov eax, dword ds:[eax + 0x50ce0]
test eax, eax
je 0x100139ea
mov eax, dword ds:[eax + 0x226]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3c3e7262
je 0x10013a01
push 3
push 8
push 0x100381f4
call fcn.1001c730
mov dword [0x10067f10], edi
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x10067c98], edi
push esi
je 0x10013b2c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10067f0c]
mov esi, eax
add ecx, 0x12c
cmp ecx, esi
jae case.default.0x10013b8f
push 0x10037738
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp dword [0x10067e80], edi
mov dword [ebp - 8], eax
mov dword [0x10067f0c], esi
jne 0x10013a74
mov edx, dword [0x10068328]
mov eax, dword [edx*4 + 0x1005d51c]
push eax
call fcn.1001e480
pop esi
mov dword [0x10067e80], 1
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x10067f08], edi
jne 0x10013a91
call fcn.10021b40
pop esi
mov dword [0x10067f08], 1
pop edi
mov esp, ebp
pop ebp
ret
push 0x100381e0
push 0x100381d8
call fcn.1001d200
test eax, eax
je 0x10013ac2
push 1
push 0x100381cc
mov dword [0x10067e80], edi
call fcn.10001160
pop esi
mov dword [0x10067f08], edi
pop edi
mov esp, ebp
pop ebp
ret
push 6
push 1
push 0x100381d8
call fcn.1001c6b0
test eax, eax
jne 0x10013ad8
push 1
jmp 0x10013b14
push 6
push 3
push 0x100381d8
call fcn.1001c6b0
test eax, eax
jne 0x10013aee
push 2
jmp 0x10013b14
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
mov eax, dword ds:[eax + 0x50ce0]
test eax, eax
je 0x10013b09
mov eax, dword ds:[eax + 0x226]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3c3e7262
je 0x10013b20
push 3
push 8
push 0x100381d8
call fcn.1001c730
pop esi
mov dword [0x10067f08], edi
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x10067c9c], edi
je 0x10013e07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10067f04]
add ecx, 0x32
cmp ecx, eax
jae case.default.0x10013b8f
cmp dword [0x10067e80], edi
mov dword [0x10067f04], eax
jne 0x10013b81
xor eax, eax
mov dword [0x10067f00], eax
mov dword [0x10067efc], edi
mov dword [0x10067ef8], edi
mov dword [0x10067ef4], edi
mov dword [0x10067e80], 1
jmp switch.0x10013b8f
mov eax, dword [0x10067f00]
cmp eax, 0xb
ja case.default.0x10013b8f
jmp dword [eax*4 + 0x10013e90]
push 0xfa1
call fcn.1001e430
cmp eax, 0xa
jae 0x10013caf
push 0xed70
call fcn.1001e430
test eax, eax
jbe 0x10013bc6
push 0xed70
call fcn.1001e480
jmp 0x10013caf
push 0x179
push 0xc3
call fcn.10012530
pop esi
mov dword [0x10067f00], 1
pop edi
mov esp, ebp
pop ebp
ret
push 6
call fcn.10012200
test eax, eax
je case.default.0x10013b8f
call fcn.10021b20
pop esi
mov dword [0x10067f00], 3
pop edi
mov esp, ebp
pop ebp
ret
push 7
call fcn.10012200
test eax, eax
je case.default.0x10013b8f
call fcn.10021b00
pop esi
mov dword [0x10067f00], 4
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10067f98]
mov eax, dword [edx]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
mov dword [0x10067ef4], eax
ja case.default.0x10013b8f
mov esi, 0x14
jmp 0x10013c55
mov eax, dword [0x10067ef4]
push 0x190
push 0xfa1
push eax
call fcn.100130f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
call fcn.100134f0
sub esi, 1
jne 0x10013c50
mov edx, dword [0x10067ef4]
push 0x28
push 0xfa1
push edx
call fcn.100130f0
push 0x165
push 0xd6
call fcn.10012530
pop esi
mov dword [0x10067f00], 2
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10067f98]
mov eax, dword [eax]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
mov dword [0x10067ef4], eax
ja case.default.0x10013b8f
push 1
push 0x3a2
push eax
call fcn.100130f0
pop esi
mov dword [0x10067f00], 5
pop edi
mov esp, ebp
pop ebp
ret
push 0x3a2
call fcn.10022db0
cmp eax, edi
mov dword [0x10067ef8], eax
je case.default.0x10013b8f
cmp dword [0x10067efc], edi
jne 0x10013d3b
push eax
call fcn.10013290
pop esi
mov dword [0x10067efc], 1
pop edi
mov esp, ebp
pop ebp
ret
call fcn.100132d0
add dword [0x10067f00], 1
add dword [0x10067ef0], 2
pop esi
mov dword [0x10067efc], edi
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10067ef8]
mov eax, dword [edx + 8]
mov ecx, dword [0x10067ef4]
push eax
push ecx
call fcn.100131b0
push 4
call fcn.10001020
push eax
call fcn.100130b0
push 0x3ed
mov esi, eax
call fcn.10001020
cmp esi, eax
jae 0x10013d9e
push 1
push 0x100381c4
call fcn.10001160
call fcn.100134a0
cmp dword [0x10067ef0], 0x2c
jbe 0x10013dc2
call fcn.10013440
pop esi
mov dword [0x10067ef0], edi
mov dword [0x10067f00], 9
pop edi
mov esp, ebp
pop ebp
ret
pop esi
mov dword [0x10067f00], 0xb
pop edi
mov esp, ebp
pop ebp
ret
call fcn.10013340
add dword [0x10067f00], 1
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 0x3a2
call fcn.10022db0
cmp eax, edi
mov dword [0x10067ef8], eax
jne case.default.0x10013b8f
pop esi
mov dword [0x10067f00], edi
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x10067ca0], edi
je 0x10013e64
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x10067eec]
add edx, 0x3e8
cmp edx, eax
jae case.default.0x10013b8f
cmp dword [0x10067dd0], edi
mov dword [0x10067eec], eax
je case.default.0x10013b8f
call fcn.1001f660
test eax, eax
je case.default.0x10013b8f
mov ecx, dword [0x10067dd0]
lea eax, [ebp - 0xc]
push eax
push ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.10001220
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push edx
push eax
call fcn.10023580
pop esi
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x10067e88], edi
je case.default.0x10013b8f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10067ee8]
add ecx, 0x32
cmp ecx, eax
jae case.default.0x10013b8f
mov dword [0x10067ee8], eax
call fcn.10013730
pop esi
pop edi
mov esp, ebp
pop ebp
ret