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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4b206c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp eax, 0x4963b4
jne 0x4266cf
cmp dword [esi + 0x247c], 0
je 0x4262d2
cmp dword [esi + 0x246c], 1
jg 0x4262d2
mov eax, dword [esi + 0x26a0]
mov dword [esi + 0x246c], 1
test eax, eax
je 0x4262d2
push dword [esi + 0x269c]
push 1
push esi
call eax
test eax, eax
je 0x4266bd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x2468]
mov edi, eax
mov edx, 0xa
mov dword [esp + 0x10], edi
cmp ecx, edx
mov dword [esi + 0x26ac], edi
lea eax, [esi + 0x62cb8]
mov dword [esi + 0x26cc], edi
cmovl edx, ecx
push eax
mov dword [esi + 0x2468], edx
call fcn.004727a7
add esp, 4
mov ecx, esi
push 0
call fcn.00426190
test eax, eax
je 0x4266bd
lea ebx, [esi + 0x26b4]
cmp dword [esi + 0x5d0f8], 7
je 0x426350
cmp dword [esi + 0x26a8], 0
je 0x426350
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x26ac]
cmp eax, dword [esi + 0x26a8]
ja 0x426670
push 0x2c
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00463e50
add esp, 8
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00426100
cmp eax, 1
jbe 0x42668c
push 0x1f4
push 0
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov dword [esp + 0x14], eax
sub edx, edi
cmp edx, 0x1f4
jb 0x42647f
mov ecx, dword [esi + 0x26c0]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x20], edx
call fcn.00429dd0
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
cmp eax, 6
jbe 0x4263ef
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
lea edx, [eax + 8]
sub ecx, edx
push ecx
push edx
push eax
call fcn.00461b40
add esp, 0xc
add dword [ebx + 4], 0xfffffff8
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
and eax, 0xfffffff8
cmp eax, 0x30
jne 0x42646d
mov eax, dword [ebx + 4]
xor edx, edx
sub eax, dword [ebx]
xor edi, edi
sar eax, 3
xor ecx, ecx
test eax, eax
je 0x42642e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
nop dword [eax]
add edx, dword [eax + ecx*8 + 4]
add edi, dword [eax + ecx*8]
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x426420
movd xmm0, edi
movd xmm1, edx
cvtdq2pd xmm0, xmm0
shr edi, 0x1f
shr edx, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm0, qword [edi*8 + 0x4ac4d0]
addsd xmm1, qword [edx*8 + 0x4ac4d0]
divsd xmm0, xmm1
mulsd xmm0, qword [0x4ac4a8]
call fcn.00484e01
mov dword [esi + 0x26b0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esi + 0x26c0], 0
lea eax, [esp + 0x20]
push eax
call fcn.004727a7
mov ecx, dword [esp + 0x24]
add esp, 4
sub ecx, dword [esi + 0x62cb8]
mov eax, dword [esp + 0x24]
sbb eax, dword [esi + 0x62cbc]
mov edi, dword [esi + 0x26b0]
mov dword [esi + 0x62cc0], ecx
mov dword [esi + 0x62cc4], eax
test edi, edi
je 0x4264ef
mov ecx, dword [esi + 0x5d100]
mov eax, ecx
mov edx, dword [esi + 0x5d104]
and eax, edx
cmp eax, 0xffffffff
je 0x4264ef
sub ecx, dword [esi + 0x5d110]
push 0
sbb edx, dword [esi + 0x5d114]
push edi
push edx
push ecx
call fcn.00461600
mov dword [esi + 0x62cc8], eax
mov dword [esi + 0x62ccc], edx
jmp 0x426503
mov dword [esi + 0x62cc8], 0
mov dword [esi + 0x62ccc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je case.default.0x4265aa
cmp eax, 0x102
jne 0x426560
cmp dword [esi + 0x246c], 6
mov edi, dword [esp + 0x10]
jne 0x426326
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 0x26a4]
cmp ecx, 0x3e8
jbe 0x426326
mov dword [esi + 0x26a4], eax
mov ecx, esi
mov eax, dword [esi]
push 0
push 6
call dword [eax + 4]
test eax, eax
je 0x4266bd
jmp 0x426326
test eax, eax
je 0x426667
lea ecx, [eax - 1]
mov eax, dword [esi + 0x26d8]
mov edi, dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x26c4], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42659e
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], 0
mov eax, dword [edi + 0x28]
cmp eax, 0xa
ja case.default.0x4265aa
jmp dword [eax*4 + 0x4266dc]
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00426710
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.004267a0
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00426870
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00426990
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00426fb0
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00427050
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00427120
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00427240
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00427460
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.004275a0
jmp 0x42665a
mov eax, dword [esp + 0xc]
mov ecx, esi
dec eax
push eax
call fcn.00427750
test eax, eax
je case.default.0x4265aa
mov edi, dword [esp + 0x10]
jmp 0x426326
cmp dword [esi + 0x5d0f8], 7
je 0x4266bd
mov dword [esi + 0x5d0f8], 9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x26f0], 0
je 0x4266bd
mov eax, dword [esi + 0x5d114]
cmp eax, dword [esi + 0x5d104]
ja 0x4266bd
jb case.default.0x4265aa
mov eax, dword [esi + 0x5d110]
cmp eax, dword [esi + 0x5d100]
jae 0x4266bd
mov dword [esi + 0x5d0f8], 8
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
push 0
push 1
call edx
jmp 0x4262ca