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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e24e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x118], 0xffffffff
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
je 0x110ce634
xor edi, edi
cmp dword [esi + 0x20], edi
jne 0x110ce634
cmp dword [esi + 0x340], edi
jne 0x110ce634
mov ebx, dword [eax + 8]
push 0x10000000
push 0x18cc
push ebx
mov dword [ebp - 0x14], ebx
call fcn.110ecb00
xor eax, eax
cmp dword [esi + 0x114], 1
push 0x18cc
sete al
push edi
push eax
push esi
call fcn.110cc070
mov ecx, dword [esi + 8]
add esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x10], edi
call fcn.111b8750
push eax
push 0x10000000
lea eax, [edi + 0x18d0]
push eax
push ebx
call fcn.110ecb00
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
jmp 0x110ce2d9
mov edi, dword [ebp - 0x10]
push 1
or ebx, 0xffffffff
call fcn.11068bb0
xor edx, edx
cmp dword [esi + 0x114], 1
push eax
sete dl
lea eax, [edi + 0x18d0]
push eax
push 1
push edx
push esi
call fcn.110cc070
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [edi*4 + str.2345]
cmp eax, 0x3e7
jne 0x110ce35d
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x1c]
push edx
call fcn.110c5160
test eax, eax
je 0x110ce384
mov edi, dword [ebp - 0x1c]
push edi
push 0x18d9
push 1
push 1
push esi
call fcn.110cc070
add esp, 0x14
cmp edi, dword [esi + 8]
jle 0x110ce384
mov dword [ebp - 0x2c], 1
mov ebx, 4
jmp 0x110ce384
cmp edi, 5
jge 0x110ce36b
push 0x101
mov ebx, eax
jmp 0x110ce378
mov eax, dword [edi*4 + 0x11272580]
push eax
mov ebx, 0x35
mov eax, esi
call fcn.110cd910
mov ebx, eax
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x28], eax
lea eax, [ebx + 1]
cmp eax, 0x80
ja case.0x110ce3a3.1
movzx ecx, byte [eax + 0x110ce69c]
jmp dword [ecx*4 + 0x110ce688]
push 0x18db
call fcn.111be4c0
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], 1
xor ebx, ebx
jmp 0x110ce3e3
push 0x18dc
call fcn.111be4c0
add esp, 4
jmp 0x110ce3e1
push ebx
push 0x18dd
call fcn.111be4c0
add esp, 8
mov edi, eax
test edi, edi
je 0x110ce407
cmp dword [esi + 0x114], 1
jl 0x110ce407
mov edx, dword [ebp - 0x28]
push edx
push edi
push 0x18da
push 0
push 1
push esi
call fcn.110cc070
add esp, 0x18
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x20], 0
jne case.0x110ce491.2
call fcn.111b8750
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x18d0
push eax
call fcn.111be4c0
mov ebx, eax
mov dword [ebp - 0x38], ebx
xor eax, eax
cmp dword [esi + 0x114], 1
push ebx
sete al
push 0x18df
push 0
mov dword [ebp - 4], 0
push eax
push esi
call fcn.110cc070
push ebx
mov dword [ebp - 4], 0xffffffff
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov edi, eax
neg edi
sbb edi, edi
add edi, 4
add eax, 0x18e5
push edi
push eax
mov eax, dword [edx + 4]
push ecx
call eax
mov ebx, eax
lea eax, [ebx - 2]
add esp, 0x2c
cmp eax, 5
ja case.0x110ce491.4
jmp dword [eax*4 + 0x110ce720]
mov eax, dword [ebp - 0x24]
inc eax
xor ecx, ecx
cmp dword [esi + 0x114], 1
push eax
sete cl
push 0x18e0
push 0
mov dword [ebp - 0x24], eax
push ecx
push esi
call fcn.110cc070
add esp, 0x14
jmp case.0x110ce491.4
cmp dword [ebp - 0x10], 0
mov edi, 1
je 0x110ce57a
xor edx, edx
cmp dword [esi + 0x114], edi
push 0x18e1
sete dl
push 0
push edx
push esi
call fcn.110cc070
add esp, 0x10
jmp 0x110ce4f4
mov edi, 1
cmp ebx, 2
je 0x110ce57f
cmp ebx, 3
je 0x110ce57f
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 4
jne 0x110ce563
cmp dword [esi + 0x118], edi
jne 0x110ce5f9
mov ecx, dword [ebp - 0x14]
push 0x10000000
push 0x18cd
push ecx
mov dword [ebp - 0x18], 0
call fcn.110ecb00
mov edx, dword [ebp - 0x14]
push 0x10000000
push 0x18ce
push edx
call fcn.110ecb00
xor eax, eax
cmp dword [esi + 0x114], edi
push 0x18cd
sete al
push 0
push eax
push esi
call fcn.110cc070
add esp, 0x28
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0x10], eax
cmp eax, 8
jge 0x110ce57f
mov ebx, dword [ebp - 0x14]
mov edi, eax
jmp 0x110ce2b1
mov ebx, 2
cmp dword [esi + 0x118], edi
jne 0x110ce5f9
test ebx, ebx
jne 0x110ce5f9
mov ecx, dword [ebp - 0x18]
cmp ecx, 4
jb 0x110ce603
shr ecx, 2
xor edx, edx
mov eax, 0x1f4000
div ecx
xor ecx, ecx
lea ebx, [eax + eax*4]
add ebx, ebx
cmp dword [esi + 0x114], edi
push ebx
sete cl
push 0x18e3
push 0
push ecx
push esi
call fcn.110cc070
add esp, 0x14
cmp dword [ebp - 0x2c], 0
jne 0x110ce603
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax*8 + 5]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x110ce603
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edi
push 0x18ee
push eax
call edx
add esp, 0xc
mov ebx, eax
cmp ebx, 2
je 0x110ce64a
cmp ebx, 3
je 0x110ce64a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x20], edi
jne 0x110ce634
push 0x18de
push 0
push 1
push esi
call fcn.110cc070
add esp, 0x10
mov dword [esi + 0x20], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
push edi
call fcn.110ce0b0
cmp ebx, 2
jne 0x110ce674
xor eax, eax
cmp dword [esi + 0x114], edi
push 0x18e2
sete al
push 0
push eax
push esi
call fcn.110cc070
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret