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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x111024c]
mov esi, 0x111024c
cmp eax, esi
je 0x10e242d
test byte [eax + 0x1c], 1
je 0x10e242d
cmp byte [eax + 0x19], 4
jb 0x10e242d
push 0x1011308
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
cmp eax, esi
je 0x10e246f
test byte [eax + 0x1c], 1
je 0x10e246f
cmp byte [eax + 0x19], 4
jb 0x10e246f
push dword [ebp + 0x10]
mov ebx, 0x1011308
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01100308
jmp 0x10e2474
mov ebx, 0x1011308
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.010f1c30
mov edi, eax
test edi, edi
jge 0x10e24b4
mov eax, dword [0x111024c]
cmp eax, esi
je 0x10e2734
test byte [eax + 0x1c], 1
je 0x10e2734
cmp byte [eax + 0x19], 2
jb 0x10e2734
push edi
push ebx
push 0x36
jmp 0x10e2724
push 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.010e1f6d
mov edi, eax
test edi, edi
jge 0x10e24f6
mov eax, dword [0x111024c]
cmp eax, esi
je 0x10e2734
test byte [eax + 0x1c], 1
je 0x10e2734
cmp byte [eax + 0x19], 2
jb 0x10e2734
push edi
push ebx
push 0x37
jmp 0x10e2724
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, ebx
sbb edx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
mov edi, ecx
add edi, dword [ebp + 0xc]
mov esi, edx
adc esi, dword [ebp + 0x10]
sub eax, edi
sbb ebx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e256a
test byte [eax + 0x1c], 1
je 0x10e256a
cmp byte [eax + 0x19], 4
jb 0x10e256a
push ebx
push dword [ebp - 0x20]
push esi
push edi
push edx
push ecx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1011308
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010ee218
mov eax, dword [0x111024c]
mov ecx, dword [ebp - 4]
cmp esi, ecx
jb 0x10e260e
ja 0x10e2580
cmp edi, dword [ebp - 8]
jb 0x10e260e
mov ecx, 0x80780030
mov edi, ecx
cmp eax, 0x111024c
je 0x10e2605
test byte [eax + 0x1c], 1
je 0x10e25b2
cmp byte [eax + 0x19], 2
jb 0x10e25b2
push ecx
push 0x1011308
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e2605
test byte [eax + 0x1c], 1
je 0x10e25e0
cmp byte [eax + 0x19], 2
jb 0x10e25e0
push edi
push dword [ebp + 8]
push 0x1011308
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e2605
test byte [eax + 0x1c], 1
je 0x10e2605
cmp byte [eax + 0x19], 4
jb 0x10e2605
push 0x1011308
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
mov edx, dword [ebp - 8]
shrd edx, ecx, 3
shr ecx, 3
cmp ebx, ecx
ja 0x10e2652
jb 0x10e2623
cmp dword [ebp - 0x20], edx
jae 0x10e2652
mov ecx, 0x80780030
mov edi, ecx
cmp eax, 0x111024c
je 0x10e2605
test byte [eax + 0x1c], 1
je 0x10e25b2
cmp byte [eax + 0x19], 2
jb 0x10e25b2
push ecx
push 0x1011308
push 0x3a
jmp 0x10e25a2
push 1
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.010e1bc0
mov edi, eax
test edi, edi
jge 0x10e2697
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e2734
test byte [eax + 0x1c], 1
je 0x10e2734
cmp byte [eax + 0x19], 2
jb 0x10e2734
push edi
push 0x1011308
push 0x3b
jmp 0x10e2724
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.010f1c30
mov edi, eax
test edi, edi
jl 0x10e25ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0x10]
ja 0x10e272f
jb 0x10e26db
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
ja 0x10e272f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, 0x3a98
jb 0x10e26a1
mov ecx, 0x8078005b
mov edi, ecx
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e2605
test byte [eax + 0x1c], 1
je 0x10e25b2
cmp byte [eax + 0x19], 2
jb 0x10e25b2
push ecx
push 0x1011308
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
test edi, edi
jge 0x10e25e0
jmp 0x10e25b2