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

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.00794170
mov ecx, 0x9b42a4
call fcn.0078b2c0
mov edx, dword [esi + 0x1c]
mov edi, eax
sub eax, edx
cmp eax, 0x64
jbe 0x761b5c
mov ecx, 0x9b42a4
call fcn.0078b2c0
mov dword [esi + 0x1c], edi
mov eax, dword [0x925e90]
mov edi, 6
cmp eax, edi
jne 0x761b91
mov al, byte [0x91ca58]
test al, al
je 0x761b91
mov eax, dword [0x91ca60]
test eax, eax
jne 0x761b91
push 0
call fcn.00549460
add esp, 4
pop edi
pop esi
add esp, 8
ret 4
mov al, byte [esi + 0x19]
test al, al
jne 0x761ba1
call fcn.0078eba0
test al, al
je 0x761bf2
cmp dword [esi], edi
je 0x761bf2
mov eax, dword [0x9b416c]
test eax, eax
jne 0x761bf2
mov al, byte [0x91ca58]
test al, al
jne 0x761bf2
call fcn.0079f090
push 0
mov ecx, eax
call fcn.0078c380
test eax, eax
je 0x761be0
call fcn.0079f090
push 0
mov ecx, eax
call fcn.0078c380
cmp dword [eax + 0x88], 3
je 0x761bf2
cmp dword [0x925e90], edi
jne 0x761bf2
push 0
call fcn.00549460
add esp, 4
cmp dword [esi], 5
push ebp
jne 0x761c50
mov eax, dword [0x9b416c]
test eax, eax
jne 0x761c50
mov ecx, 0x9b42a4
call fcn.0078b2c0
mov edi, eax
mov eax, dword [esi + 0x20]
mov ecx, 0x9b42a4
sub edi, eax
call fcn.0078b2c0
add eax, dword [esi + 0x28]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x64
jg 0x761c46
cmp ecx, 0xffffff9c
jl 0x761c46
cmp ecx, 3
mov eax, dword [esi + 0x20]
jle 0x761c3a
add eax, 0xfffffffd
jmp 0x761c4d
cmp ecx, 0xffffffff
jge 0x761c42
inc eax
jmp 0x761c4d
sub eax, ecx
jmp 0x761c4d
sub edi, eax
mov eax, dword [esi + 0x20]
add eax, edi
mov dword [esi + 0x20], eax
mov eax, dword [esi]
dec eax
cmp eax, 5
ja case.default.0x761c5d
push ebx
jmp dword [eax*4 + 0x76206c]
mov eax, dword [0x9b4174]
test eax, eax
jne 0x761c98
mov eax, dword [0x926064]
test eax, eax
je 0x761c98
mov ecx, 0x9b42a4
call fcn.0078b010
cmp al, 1
jne 0x761c98
mov ecx, dword [0x91cf90]
mov byte [ecx + 0x141], 0
mov ecx, esi
call fcn.007617d0
mov byte [esi + 0x118], 0
mov byte [esi + 0x119], 0
jmp case.0x761c5d.2
mov eax, dword [0x9b416c]
xor ebx, ebx
cmp eax, ebx
jne 0x761ce5
call fcn.0045ce40
mov edx, dword [esi + 0x114]
mov edi, eax
push edi
push edx
call fcn.0045ce70
fcomp dword [0x8b536c]
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x761ce5
mov dword [esi + 0x114], edi
call fcn.00793d10
mov eax, dword [esi + 0x7c]
cmp eax, ebx
je 0x761d68
cmp eax, 0x7fffffff
je 0x761d68
mov al, byte [esi + 0x2c]
test al, al
jne 0x761d68
mov ecx, esi
call fcn.00735650
test al, al
jne 0x761d68
cmp dword [0x9b416c], ebx
je 0x761d3a
mov eax, dword [0x925b14]
sub eax, dword [esi + 0x7c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x890984]
fcomp dword [0x8970c0]
fnstsw ax
test ah, 0x41
jne 0x761d68
mov dword [esi + 0x7c], ebx
call fcn.007a13c0
jmp 0x761d68
mov eax, dword [esi + 0x7c]
mov ecx, dword [0x925b14]
sub ecx, eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x890984]
fcomp dword [0x8b265c]
fnstsw ax
test ah, 0x41
jne 0x761d68
mov dword [esi + 0x7c], ebx
call fcn.007a12e0
call fcn.0045ce40
push eax
mov ecx, esi
call fcn.007359f0
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jp case.0x761c5d.2
mov ecx, esi
call fcn.00741430
jmp case.0x761c5d.2
cmp dword [0x925e90], 6
jne case.0x761c5d.2
mov ecx, esi
call fcn.007361e0
cmp al, 1
jne 0x761ddb
mov al, byte [0x91ca58]
test al, al
jne 0x761ddb
push 0
push 0
call fcn.0079f090
mov ecx, eax
call fcn.0078c180
push 0
mov ecx, esi
call fcn.007612c0
push 0
call fcn.00549460
add esp, 4
jmp case.0x761c5d.2
call fcn.0079f090
mov ecx, eax
call fcn.0078c2a0
test eax, eax
jne 0x761e00
mov ecx, dword [esi + 4]
call fcn.00734fe0
test al, al
jne 0x761e00
push 0xc
push 0
call fcn.007350a0
call fcn.0079f090
mov ecx, eax
call fcn.0078c2a0
test eax, eax
jne 0x761e25
mov ecx, dword [esi + 4]
call fcn.00734fe0
test al, al
jne 0x761e25
push 0xc
push 0
call fcn.007350a0
mov ebx, dword [0x92d84c]
mov edx, dword [0x92d854]
lea eax, [ebx + edx*4]
cmp ebx, eax
mov byte [esp + 0x13], 1
je 0x761eba
mov edi, dword [ebx]
mov ecx, dword [edi + 4]
push 0x402840
call fcn.005d59f0
test eax, eax
je 0x761eb2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [0x91e000]
mov ecx, edi
mov dword [esp + 0x14], eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
push eax
call fcn.005e8b20
test ebp, ebp
je 0x761e9d
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x761e8d
mov ecx, ebp
call fcn.00734fe0
test al, al
je 0x761eff
mov ecx, ebp
call fcn.00733200
test al, al
je 0x761e9d
mov byte [esp + 0x13], 0
mov eax, dword [0x92d84c]
mov ecx, dword [0x92d854]
add ebx, 4
lea edx, [eax + ecx*4]
cmp ebx, edx
jne 0x761e41
mov al, byte [esp + 0x13]
test al, al
je 0x761ece
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x761ece
mov dword [esi + 0xc4], 1
push 0
mov ecx, esi
call fcn.007612c0
mov al, byte [esp + 0x13]
test al, al
je 0x761f86
mov al, byte [0x91ca58]
test al, al
jne 0x761f86
push 0
call fcn.00549460
add esp, 4
jmp 0x761f86
mov eax, dword [0x9b416c]
test eax, eax
je 0x761f29
mov eax, dword [0x9259bc]
lea edi, [esi + 0x6c]
push eax
mov ecx, edi
call fcn.00654870
test eax, eax
jne 0x761f29
mov ecx, esi
call fcn.00735ef0
mov dword [edi], 0xfa0
mov ecx, dword [0x9259bc]
lea edi, [esi + 0x70]
push ecx
mov ecx, edi
call fcn.00654870
test eax, eax
jne 0x761f4b
mov ecx, esi
call fcn.00741ca0
mov dword [edi], 0x4e20
mov eax, dword [esi + 0xcc]
mov edx, dword [0x925b14]
sub edx, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x890984]
fcomp dword [0x890d3c]
fnstsw ax
test ah, 0x41
jne 0x761f86
mov ecx, esi
call fcn.00741bf0
mov eax, dword [0x925b14]
mov dword [esi + 0xcc], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x1144]
cmp eax, 4
je case.0x761c5d.2
cmp eax, 6
je case.0x761c5d.2
test eax, eax
je case.0x761c5d.2
cmp eax, 5
je case.0x761c5d.2
mov edx, dword [0x925970]
push edx
call fcn.00754fd0
mov eax, dword [0x91cf90]
mov cl, byte [eax + 0x141]
test cl, cl
jne 0x761fd6
mov eax, dword [0x926064]
test eax, eax
je case.0x761c5d.2
mov al, byte [0x9b10a5]
test al, al
jne case.0x761c5d.2
mov ecx, dword [esi + 4]
fld dword [ecx + 0x1264]
fcomp dword [0x8af9f0]
fnstsw ax
test ah, 5
jp case.0x761c5d.2
lea edi, [esi + 8]
mov ebx, 4
lea ecx, [ecx]
mov esi, dword [edi]
test esi, esi
je 0x762023
mov ecx, esi
call fcn.00734fe0
test al, al
jne 0x762023
push 4
call fcn.00740fa0
push 0xb
push 3
mov ecx, esi
call fcn.007350a0
add edi, 4
dec ebx
jne 0x762000
jmp case.0x761c5d.2
mov byte [esi + 0x110], 0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x762040
cmp eax, 0x7fffffff
jne case.0x761c5d.2
mov edx, dword [0x925ae8]
mov dword [esi + 0x78], edx
pop ebx
mov al, byte [esp + 0x18]
test al, al
pop ebp
je 0x762061
call fcn.0078eba0
test al, al
je 0x762061
call fcn.007a1740
pop edi
pop esi
add esp, 8
ret 4