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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc4]
xor ebx, ebx
cmp eax, 1
push edi
mov byte [esp + 0x14], 1
jne 0x7612df
mov byte [esp + 0x14], bl
push ecx
mov eax, esp
mov dword [eax], 0x20d60dbf
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], esp
push eax
lea ecx, [esp + 0x24]
call fcn.00734d30
mov ecx, eax
call fcn.00654af0
cmp dword [0x9b0858], ebx
je 0x761313
mov ecx, 0x90dac4
call fcn.00447350
mov ecx, dword [0x91cf90]
cmp dword [ecx + 0x13c], ebx
jne 0x761337
lea edx, [esp + 0x13]
push edx
mov byte [esp + 0x17], 0
call fcn.0079bac0
mov ecx, eax
call fcn.0079a1d0
mov eax, dword [esi]
cmp eax, 5
je 0x76134c
cmp eax, 3
je 0x76134c
cmp eax, 4
jne 0x7615f0
mov al, byte [esp + 0x34]
test al, al
je 0x7613f7
mov ecx, dword [esi + 4]
cmp ecx, ebx
mov ebp, 0xc
je 0x76138d
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je 0x761387
cmp eax, 6
je 0x761387
cmp eax, ebx
je 0x761387
cmp eax, 5
je 0x761387
mov dword [ecx + 0x1144], 6
mov dword [ecx + 0x1170], ebp
lea edx, [esi + 8]
mov edi, 4
mov ecx, dword [edx]
cmp ecx, ebx
je 0x7613f1
cmp ecx, dword [esi + 4]
je 0x7613f1
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je 0x7613f1
cmp eax, 6
je 0x7613f1
cmp eax, ebx
je 0x7613f1
cmp eax, 5
je 0x7613f1
cmp eax, 3
je 0x7613f1
cmp dword [0x9b0fa0], 6
jl 0x7613cc
cmp eax, 2
jl 0x7613f1
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je 0x7613eb
cmp eax, 6
je 0x7613eb
cmp eax, ebx
je 0x7613eb
cmp eax, 5
je 0x7613eb
mov dword [ecx + 0x1144], ebx
mov dword [ecx + 0x1170], ebp
add edx, 4
dec edi
jne 0x761395
mov ecx, dword [esi + 8]
cmp ecx, ebx
lea ebp, [esi + 8]
je 0x761429
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je 0x761421
cmp eax, 6
je 0x761421
cmp eax, ebx
je 0x761421
cmp eax, 5
je 0x761421
mov eax, 1
jmp 0x761423
xor eax, eax
mov byte [ecx + 0x1155], al
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x761458
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je 0x761450
cmp eax, 6
je 0x761450
cmp eax, ebx
je 0x761450
cmp eax, 5
je 0x761450
mov eax, 1
jmp 0x761452
xor eax, eax
mov byte [ecx + 0x1155], al
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x761487
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je 0x76147f
cmp eax, 6
je 0x76147f
cmp eax, ebx
je 0x76147f
cmp eax, 5
je 0x76147f
mov eax, 1
jmp 0x761481
xor eax, eax
mov byte [ecx + 0x1155], al
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x7614b6
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je 0x7614ae
cmp eax, 6
je 0x7614ae
cmp eax, ebx
je 0x7614ae
cmp eax, 5
je 0x7614ae
mov eax, 1
jmp 0x7614b0
xor eax, eax
mov byte [ecx + 0x1155], al
cmp dword [0x9b416c], ebx
je 0x761561
fild dword [0x925ae8]
xor ebx, ebx
or edx, 0xffffffff
xor edi, edi
fmul dword [0x890984]
mov ecx, dword [ebp]
test ecx, ecx
je 0x76153b
cmp ecx, dword [esi + 4]
je 0x76153b
fild dword [ecx + 0x125c]
fmul dword [0x890984]
fsub st(1)
fabs
fcomp dword [0x894b58]
fnstsw ax
test ah, 0x41
jp 0x76153b
inc ebx
cmp ebx, 1
jle 0x761539
mov eax, dword [ecx + 0x1144]
test eax, eax
je 0x761518
mov dword [ecx + 0x1144], 0
test edx, edx
jl 0x76153b
mov eax, dword [esi + edx*4 + 8]
mov ecx, dword [eax + 0x1144]
test ecx, ecx
je 0x761534
mov dword [eax + 0x1144], 0
or edx, 0xffffffff
jmp 0x76153b
mov edx, edi
inc edi
add ebp, 4
cmp edi, 4
jl 0x7614d5
cmp ebx, 1
fstp st(0)
jle 0x761561
mov eax, dword [esi + 4]
cmp dword [eax + 0x1144], 4
je 0x761561
mov dword [eax + 0x1144], 4
mov ecx, esi
call fcn.00735d20
mov ecx, esi
call fcn.00741780
mov byte [esi + 0x68], 0
xor ebx, ebx
lea ecx, [esi + 0xb4c]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
call fcn.0078a840
lea ecx, [esi + 0xc98]
call fcn.0078a840
lea ecx, [esi + 0xde4]
call fcn.0078a840
lea ecx, [esi + 0xf30]
call fcn.0078a840
lea ecx, [esi + 0x1314]
call fcn.0078a840
lea ecx, [esi + 0x11c8]
call fcn.0078a840
lea ecx, [esi + 0x1460]
call fcn.0078a840
lea ecx, [esi + 0x107c]
call fcn.0078a840
lea ecx, [esi + 0x15ac]
call fcn.0078a840
mov al, byte [esp + 0x34]
test al, al
jne 0x76165d
mov eax, dword [esi]
cmp eax, 6
je 0x76165d
cmp eax, 5
mov dword [esi], 6
jne 0x7616f1
mov ecx, 0x9b42a4
call fcn.0078b2c0
sub eax, dword [0x9b0fc0]
test eax, eax
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jge 0x761630
fadd dword [0x891214]
fmul dword [0x890d60]
fmul dword [0x893718]
fadd dword [0x8933d4]
call fcn.007c4b80
mov ecx, dword [0x9203b0]
push eax
call fcn.00627860
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov al, byte [esi + 0x111]
test al, al
je 0x7616e9
lea eax, [esi + 0xc0]
push eax
push 2
call fcn.0045d9a0
add esp, 8
mov ecx, esi
call fcn.00761240
mov eax, dword [esi]
cmp eax, 3
je 0x7616da
cmp eax, 5
mov dword [esi], 3
jne 0x7616da
mov ecx, 0x9b42a4
call fcn.0078b2c0
sub eax, dword [0x9b0fc0]
test eax, eax
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jge 0x7616b7
fadd dword [0x891214]
fmul dword [0x890d60]
fmul dword [0x893718]
fadd dword [0x8933d4]
call fcn.007c4b80
mov ecx, dword [0x9203b0]
push eax
call fcn.00627860
call fcn.007a1050
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
push ebx
mov ecx, esi
call fcn.00761140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4