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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov esi, edx
mov edi, eax
mov byte [esp], 0
mov ebx, dword [edi + 0x380]
test ebx, ebx
je 0x5e76a9
mov ecx, 7
mov edx, ebx
mov eax, edi
call fcn.005ea2bc
test al, al
je 0x5e767c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x3fc]
cmp eax, dword [edi + 0xb60]
jle 0x5e7676
mov eax, esi
mov byte [edi + 0x2c], al
call sub.kernel32.dll_GetTickCount_1
add eax, dword [edi + 0xb60]
mov dword [edi + 0x3fc], eax
call sub.kernel32.dll_GetTickCount_1
add eax, dword [edi + 0xb60]
mov dword [edi + 0x384], eax
push 1
mov ecx, dword [edi + 0x112]
shr ecx, 0x10
movzx eax, word [edi + 0x112]
sub cx, ax
movsx ecx, cx
movzx edx, ax
mov eax, edi
call fcn.0066b858
mov dword [esp + 4], eax
cmp byte [edi + 0xc20], 0
je 0x5e74ce
push 0
push 0
mov eax, dword [edi + 0x380]
push eax
push 0
push 0
mov ecx, esi
mov dx, 0xc0
mov eax, edi
call fcn.006633cc
mov eax, dword [edi + 0x414]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5e766f
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x414]
call fcn.0041fbf0
mov esi, dword [eax]
test esi, esi
je 0x5e74bb
test esi, esi
je 0x5e74bb
cmp byte [esi + 0x2e4], 0
jne 0x5e74bb
cmp byte [esi + 0x2ec], 0
jne 0x5e74bb
mov edx, esi
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x5e74bb
cmp byte [esi + 0x319], 0
je 0x5e7410
cmp byte [edi + 0x31b], 0
je 0x5e74bb
mov eax, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x28]
push eax
push 0x10
push 0
push 0x64
xor ecx, ecx
mov dx, 0xc9
mov eax, edi
call fcn.006633cc
mov ecx, dword [esp + 4]
mov edx, edi
mov eax, esi
call fcn.0066853c
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jle 0x5e747e
lea edx, [esp + 0x10]
mov ecx, edi
mov eax, esi
call fcn.00668730
movzx eax, word [esp + 0x10]
push eax
movzx eax, word [esi + 0x11e]
push eax
movzx eax, word [esi + 0x122]
push eax
push edi
push 0
push 0xc8
mov cx, 0xa4
mov edx, 0x9e
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x18]
cmp word [esi + 0x1b4], 0
ja 0x5e74bb
push 0
mov eax, dword [esp + 8]
push eax
push edi
fild dword [esp + 0x10]
mov eax, dword [select]
fild dword [eax + 0x6430]
fdivp st(1)
call fcn.00403560
push eax
push 0
push 0x190
mov cx, 0xa9
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x18]
inc dword [esp + 0x14]
dec dword [esp + 0x1c]
jne 0x5e73ae
jmp 0x5e766f
movzx eax, byte [edi + 0x2c]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x28]
push eax
mov cx, 0x1391
mov dx, 0x9a
mov eax, edi
call fcn.0066835c
mov eax, dword [edi + 0x380]
mov edx, dword [eax + 0x24]
push edx
mov eax, dword [eax + 0x28]
push eax
push 0xf
push 0
push 0x64
xor ecx, ecx
mov dx, 0xc9
mov eax, edi
call fcn.006633cc
mov eax, dword [edi + 0x380]
mov eax, dword [eax + 0x24]
mov edx, eax
dec edx
inc eax
sub eax, edx
jl 0x5e766f
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x380]
mov eax, dword [eax + 0x28]
mov edx, eax
dec edx
inc eax
sub eax, edx
jl 0x5e7661
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0x18]
push eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x2e0]
call fcn.00673738
test al, al
je 0x5e7653
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 0
je 0x5e7653
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5e7653
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x14]
call fcn.0041fbf0
test eax, eax
je 0x5e7645
cmp byte [eax], 1
jne 0x5e7645
mov esi, dword [eax + 1]
test esi, esi
je 0x5e7645
cmp byte [esi + 0x2e4], 0
jne 0x5e7645
cmp byte [esi + 0x2ec], 0
jne 0x5e7645
mov edx, esi
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x68]
test al, al
je 0x5e7645
cmp byte [esi + 0x319], 0
je 0x5e75f2
cmp byte [edi + 0x31b], 0
je 0x5e7645
mov ecx, dword [esp + 4]
mov edx, edi
mov eax, esi
call fcn.0066853c
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jle 0x5e7645
lea edx, [esp + 0x10]
mov ecx, edi
mov eax, esi
call fcn.00668730
movzx eax, word [esp + 0x10]
push eax
movzx eax, word [esi + 0x11e]
push eax
movzx eax, word [esi + 0x122]
push eax
push edi
push 0
push 0xc8
mov cx, 0xa4
mov edx, 0x9e
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x18]
inc dword [esp + 0x14]
dec dword [esp + 0x24]
jne 0x5e7595
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x5e7547
inc dword [esp + 8]
dec dword [esp + 0x1c]
jne 0x5e7529
mov eax, edi
call fcn.00667e24
mov byte [esp], 1
jmp 0x5e76a9
mov eax, dword [edi + 0x380]
mov edx, dword [eax + 0x2e0]
cmp edx, dword [edi + 0x2e0]
jne 0x5e76a2
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x84]
jmp 0x5e76a9
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x74]
movzx eax, byte [esp]
add esp, 0x28
pop edi
pop esi
pop ebx
ret