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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, 6
cmp dword [eax + 0x597c4], ecx
push edi
je 0x100358aa
fldz
xor edi, edi
fst dword [esi + 0x48]
mov dword [esi + 0x38], edi
fst dword [esi + 0x44]
fstp dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 0x597c8], ecx
mov ebp, dword [eax + 0x5975c]
mov dword [esp + 0x14], ebp
je 0x100358eb
mov edi, dword [esi + 0x30]
cmp dword [esi + 0x2c], edi
lea ebx, [esi + 0x28]
jbe 0x100358cc
call fcn.10080d40
mov ebp, dword [ebx + 4]
cmp ebp, dword [ebx + 8]
jbe 0x100358d9
call fcn.10080d40
push edi
push ebx
push ebp
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.10013f80
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp dword [ebp + 0x94], edi
jne 0x100359c9
cmp dword [ebp + 0x98], edi
jne 0x100359c9
mov eax, dword [esi + 0x2c]
cmp eax, edi
lea ebx, [esi + 0x28]
je 0x10035919
mov ecx, dword [ebx + 8]
sub ecx, eax
sar ecx, 4
jne 0x10035923
mov ecx, esi
call fcn.10035ac0
mov dword [esi + 0x24], edi
mov edx, dword [esi + 0x14]
cmp dword [edx + 0x61c], edi
je 0x100359f0
push 0x3c
call fcn.100579d0
test eax, eax
je 0x100359d8
cmp dword [ebp + 0x94], edi
jne 0x100359be
cmp dword [ebp + 0x98], edi
jne 0x100359be
cmp dword [esi + 0x80], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, 1
jne 0x1003599b
mov eax, dword [esp + 0x14]
push eax
call fcn.10021900
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x100bb2cc]
mov dword [esi + 0x80], ebp
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 0x3b
call eax
call ebx
cmp dword [esi + 0x80], edi
mov dword [esi + 0x7c], eax
je 0x100359b2
call ebx
sub eax, dword [esi + 0x7c]
cmp eax, 0x2710
jbe 0x100359b2
mov dword [esi + 0x80], edi
call ebx
mov dword [esi + 0x7c], eax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x80], edi
je 0x100359f0
mov edx, esi
mov dword [esi + 0x80], edi
call fcn.10035cf0
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
call fcn.1001b260
mov ebp, 1
cmp eax, ebp
jne 0x10035ab2
mov eax, ebx
call fcn.10013840
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10021900
mov eax, dword [esi + 0x14]
add eax, 0x597d0
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], 6
call fcn.1001d970
mov dword [eax], edi
mov ebx, dword [esi + 0x14]
add ebx, 0x59790
call fcn.1001d830
mov edx, dword [esi + 0x14]
mov dword [edx + 0x5980c], ebp
mov eax, dword [esi + 0x14]
mov dword [eax + 0x59810], edi
mov eax, dword [esi + 0x14]
add eax, 0x597d0
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], 7
call fcn.1001d970
push edi
mov dword [eax], ebp
call fcn.10046e70
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0xb297c], edi
mov edx, dword [esi + 0x14]
mov dword [edx + 0xb2980], edi
mov esi, dword [esi + 0x14]
add esp, 4
cmp dword [esi + 0x28], ebp
mov dword [0x100b95d4], ebp
je 0x10035a9d
cmp dword [esi + 0x150], edi
je 0x10035ab2
mov ecx, dword [0x100bb2cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x98]
push str.ResetInstances__
call edx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4