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

Disassembly:
push 0x68
mov eax, 0x1018f1a2
call fcn.1015d10b
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x68]
lea eax, [ebp - 0x74]
push eax
mov ecx, edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x24], edi
call fcn.10034420
cmp dword [eax + 0x18], 0x10
jb 0x10112789
mov eax, dword [eax + 4]
jmp 0x1011278c
add eax, 4
push ebx
push 1
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x50], eax
call fcn.10001b20
mov ecx, dword [esi + 0x39c]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x54], 3
mov eax, dword [ecx]
push edi
call dword [eax + 0x34]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x1c], eax
mov al, byte [eax]
test al, al
mov byte [esi + 0x3e0], bl
je 0x10112ccf
mov edi, dword [ebp + 8]
cmp byte [edi + 0x34], 0
jne 0x10112ccf
cmp byte [esi + 0x3e0], 0
jne 0x10112ccf
lea eax, [esi + 0x410]
push eax
lea ecx, [ebp - 0x34]
call fcn.100035d0
lea ecx, [ebp - 0x34]
mov dword [esi + 0x3d8], ebx
call fcn.100035f0
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
je 0x10112cb4
cmp byte [edi + 0x35], 0
je 0x10112824
push edi
mov ecx, esi
call fcn.10110d71
lea eax, [esi + 0x4a4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100035d0
mov eax, dword [edi + 0x10]
sub eax, dword [esi + 0x3d0]
mov ecx, dword [edi + 0x14]
sbb ecx, dword [esi + 0x3d4]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x3c]
call fcn.100035f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0x1c]
jmp 0x10112c28
cmp dword [edi + 0xc], ebx
jl 0x10112ca2
jg 0x10112875
cmp dword [edi + 8], ebx
jbe 0x10112ca2
push ebx
push dword [esi + 0x538]
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a904
push 1
push dword [esi + 0x538]
shl eax, 0xa
mov dword [ebp - 0x14], eax
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a904
shl eax, 0xa
cmp dword [esi + 0x538], ebx
mov dword [ebp + 8], eax
jbe 0x10112912
push ebx
push ebx
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a904
mov ebx, eax
push 1
push 0
shl ebx, 0xa
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a904
shl eax, 0xa
cmp dword [ebp - 0x14], 0
jbe 0x101128ef
test ebx, ebx
jbe 0x101128ef
cmp dword [ebp - 0x14], ebx
jb 0x101128f7
jmp 0x101128f4
cmp dword [ebp - 0x14], ebx
ja 0x101128f7
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 0
jbe 0x10112908
test eax, eax
jbe 0x10112908
cmp dword [ebp + 8], eax
jb 0x10112910
jmp 0x1011290d
cmp dword [ebp + 8], eax
ja 0x10112910
mov dword [ebp + 8], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10112925
cmp dword [ebp + 8], ebx
je 0x10112925
cmp eax, dword [ebp + 8]
jb 0x1011292d
jmp 0x1011292a
cmp eax, dword [ebp + 8]
ja 0x1011292d
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.10110a18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x480]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp + 0xb], 0
call fcn.100035d0
mov ecx, dword [esi + 0x49c]
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x10112974
cmp byte [esi + 0x54c], 0
je 0x10112974
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jne 0x10112974
mov byte [ebp + 0xb], 1
mov ecx, dword [esi + 0x4a0]
cmp ecx, ebx
je 0x1011298b
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jne 0x1011298b
mov byte [ebp + 0xb], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100035f0
cmp byte [ebp + 0xb], 0
je 0x101129cb
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e8
jb 0x101129be
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.10110e61
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], eax
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10112c22
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 2
call dword [eax + 0xc]
test al, al
je 0x10112c34
lea eax, [esi + 0x4a4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100035d0
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
jne 0x101129f8
mov dword [ebp + 8], ebx
jmp 0x10112a00
mov eax, dword [esi + 0x20]
sub eax, ecx
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x4c]
call fcn.100035f0
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
push eax
sub ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.10110afa
test al, al
je 0x10112c8b
lea eax, [esi + 0x4a4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100035d0
push dword [edi + 8]
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.10110ce2
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x10112a4f
push 1
jmp 0x10112a6b
shr eax, 0xa
push eax
push dword [esi + 0x534]
call fcn.10063c50
mov ecx, eax
call fcn.1005f650
test al, al
jne 0x10112a82
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100035f0
jmp 0x10112c22
mov eax, dword [esi + 8]
mov ebx, dword [eax]
lea eax, [esi + 0x38]
push eax
mov eax, dword [edi + 0x10]
push dword [ebp + 8]
sub eax, dword [edi + 8]
lea ecx, [esi + 0x18]
push eax
add ebx, 4
call fcn.10110bd7
mov ecx, dword [esi + 8]
push eax
call dword [ebx]
or dword [ebp - 4], 0xffffffff
mov ebx, eax
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], ebx
call fcn.100035f0
test ebx, ebx
jle 0x10112bee
mov al, byte [esi + 0x38]
test al, al
je 0x10112bee
cmp dword [esi + 0x520], 0
jne 0x10112adf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x520], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
add dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x39c]
mov edx, dword [ecx]
lea ebx, [eax + ebx - 1]
push ebx
push eax
push dword [edi + 0x18]
push dword [ebp - 0x24]
call dword [edx + 0x38]
mov ebx, dword [ebp + 8]
push ebx
push 0
push dword [esi + 0x538]
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a9db
push ebx
push 1
push dword [esi + 0x538]
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a9db
xor eax, eax
cmp dword [esi + 0x538], eax
jbe 0x10112b5e
push ebx
push eax
push eax
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a9db
push ebx
push 1
push 0
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a9db
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push dword [esi + 0x538]
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a963
test al, al
jne 0x10112be1
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push dword [esi + 0x538]
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a963
test al, al
jne 0x10112be1
xor eax, eax
cmp dword [esi + 0x538], eax
jbe 0x10112bee
lea ecx, [ebp - 0x20]
push ecx
push eax
push eax
push eax
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a963
test al, al
jne 0x10112be1
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0
call fcn.1010b39c
pop ecx
pop ecx
mov ecx, eax
call fcn.1010a963
test al, al
je 0x10112bee
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10112b62
push edi
push ebx
mov ecx, esi
call fcn.10111f1a
test al, al
je 0x10112ca0
mov ebx, dword [ebp - 0x14]
mov eax, ebx
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e8
jb 0x10112c20
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.10110e61
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], ebx
xor ebx, ebx
lea eax, [esi + 0x38]
mov dword [ebp - 0x1c], eax
mov al, byte [eax]
test al, al
jne 0x10112861
jmp 0x10112ca2
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x10112c72
cmp byte [esi + 0x3e0], al
jne 0x10112c93
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e8
jb 0x101129be
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.10110e61
mov eax, dword [ebp + 8]
jmp 0x101129b8
mov ecx, dword [esi + 0x39c]
inc dword [esi + 0x3ec]
mov eax, dword [ecx]
push ebx
push 1
push ebx
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
jmp 0x10112ca2
mov ecx, esi
call fcn.10110f3d
mov byte [edi + 0x34], 0
jmp 0x10112ca2
xor ebx, ebx
lea eax, [esi + 0x38]
mov dword [ebp - 0x1c], eax
mov al, byte [eax]
test al, al
jne 0x101127d6
jmp 0x10112ccf
mov esi, dword [esi + 0x39c]
mov eax, dword [esi]
push 1
push ebx
push ebx
push ebx
push dword [ebp - 0x24]
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
call fcn.1015d1e3
ret 4