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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x57a040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, ebx
mov dword [ebp - 0x10], 0
push esi
push edi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xc], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405dd0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x20]
call fcn.004068e0
lea eax, [ebp - 0x20]
mov ecx, 0x57ac44
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406850
mov edi, dword [ebp - 0x24]
mov esi, dword [0x57ac44]
cmp byte [edi + 0xd], 0
jne 0x405e15
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004067b0
test al, al
je 0x405e17
mov edi, esi
mov ecx, dword [ebp - 0xc]
cmp ecx, 0xf
jbe 0x405e51
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405e41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060b6
push ecx
push edx
call fcn.00529f3f
mov esi, dword [0x57ac44]
add esp, 8
cmp edi, esi
je 0x4060a1
cmp byte [edi + 0x40], 0
je 0x405f0a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x44]
mul ecx
shr edx, 6
cmp edx, dword [0xbdcd1c]
jle 0x406002
mov edx, ebx
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movups xmmword [ebp - 0x20], xmm0
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x405ea0
sub edx, esi
lea ecx, [ebp - 0x20]
push edx
push ebx
call fcn.004068e0
lea eax, [ebp - 0x20]
mov ecx, 0x57ac44
push eax
call fcn.004060c0
mov ecx, dword [ebp - 0xc]
cmp ecx, 0xf
jbe 0x405ef5
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405eeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060b6
push ecx
push edx
call fcn.00529f3f
add esp, 8
push ebx
push str._PROTECTION__FLOOD___s__IP_UNLOCK
push 1
call fcn.005262e0
add esp, 0xc
jmp 0x4060a1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x3c]
mul ecx
shr edx, 6
cmp edx, dword [0xbdcd14]
jge 0x406017
mov eax, dword [edi + 0x38]
cmp eax, dword [0xbdcd18]
jb 0x4060a1
cmp byte [edi + 0x40], 0
jne 0x4060a1
mov ecx, ebx
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movups xmmword [ebp - 0x20], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405f60
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x20]
call fcn.004068e0
lea eax, [ebp - 0x20]
mov ecx, 0x57ac44
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406850
mov edi, dword [ebp - 0x24]
mov esi, dword [0x57ac44]
cmp byte [edi + 0xd], 0
jne 0x405fa5
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004067b0
test al, al
je 0x405fa7
mov edi, esi
mov ecx, dword [ebp - 0xc]
cmp ecx, 0xf
jbe 0x405fe1
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405fd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060b6
push ecx
push edx
call fcn.00529f3f
mov esi, dword [0x57ac44]
add esp, 8
cmp edi, esi
je 0x406002
mov byte [edi + 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push str._PROTECTION__FLOOD_DETECTED___s__IP_LOCK
push 1
mov dword [edi + 0x44], eax
call fcn.005262e0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [edi + 0x48]
mul ecx
shr edx, 6
cmp edx, dword [0xbdcd10]
jle 0x4060a1
mov ecx, ebx
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movups xmmword [ebp - 0x20], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406050
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x20]
call fcn.004068e0
lea eax, [ebp - 0x20]
mov ecx, 0x57ac44
push eax
call fcn.004060c0
mov ecx, dword [ebp - 0xc]
cmp ecx, 0xf
jbe 0x4060a1
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406097
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060b6
push ecx
push edx
call fcn.00529f3f
add esp, 8
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4
call fcn.0052d95f
int3