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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x462270
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4625d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
jbe 0x4625b5
xor edi, edi
mov eax, 0x4df638
mov edx, dword [eax]
cmp esi, edx
je 0x4622b4
test edx, edx
jne 0x4622ab
mov dword [eax], esi
jmp 0x4622b4
inc edi
add eax, 0x10
cmp edi, 0xc
jne 0x46229d
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 0x10]
call fcn.00403ea4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00406ec8
mov eax, dword [ebp - 8]
mov edx, 0x4625e8
call fcn.004040b8
jne 0x462309
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63c], 1
call sub.kernel32.dll_GetTickCount
mov edx, edi
add edx, edx
mov dword [edx*8 + 0x4df640], eax
mov eax, edi
add eax, eax
mov dword [eax*8 + 0x4df644], 0x1f40
jmp 0x46250b
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
call fcn.00403ea4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00406ec8
mov eax, dword [ebp - 0x10]
mov edx, 0x4625f8
call fcn.004040b8
jne 0x46235e
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63c], 1
call sub.kernel32.dll_GetTickCount
mov edx, edi
add edx, edx
mov dword [edx*8 + 0x4df640], eax
mov eax, edi
add eax, eax
mov dword [eax*8 + 0x4df644], 0x1b58
jmp 0x46250b
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
call fcn.00403ea4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00406ec8
mov eax, dword [ebp - 0x18]
mov edx, 0x462610
call fcn.004040b8
jne 0x4623b3
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63c], 1
call sub.kernel32.dll_GetTickCount
mov edx, edi
add edx, edx
mov dword [edx*8 + 0x4df640], eax
mov eax, edi
add eax, eax
mov dword [eax*8 + 0x4df644], 0x1194
jmp 0x46250b
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x10]
call fcn.00403ea4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00406ec8
mov eax, dword [ebp - 0x20]
mov edx, 0x462624
call fcn.004040b8
jne 0x462408
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63c], 1
call sub.kernel32.dll_GetTickCount
mov edx, edi
add edx, edx
mov dword [edx*8 + 0x4df640], eax
mov eax, edi
add eax, eax
mov dword [eax*8 + 0x4df644], 0xfa0
jmp 0x46250b
lea eax, [ebp - 0x2c]
mov edx, dword [ebp + 0x10]
call fcn.00403ea4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00406ec8
mov eax, dword [ebp - 0x28]
mov edx, 0x462640
call fcn.004040b8
jne 0x46245d
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63c], 1
call sub.kernel32.dll_GetTickCount
mov edx, edi
add edx, edx
mov dword [edx*8 + 0x4df640], eax
mov eax, edi
add eax, eax
mov dword [eax*8 + 0x4df644], 0xfa0
jmp 0x46250b
lea eax, [ebp - 0x34]
mov edx, dword [ebp + 0x10]
call fcn.00403ea4
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00406ec8
mov eax, dword [ebp - 0x30]
mov edx, 0x462654
call fcn.004040b8
jne 0x4624af
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63c], 1
call sub.kernel32.dll_GetTickCount
mov edx, edi
add edx, edx
mov dword [edx*8 + 0x4df640], eax
mov eax, edi
add eax, eax
mov dword [eax*8 + 0x4df644], 0xfa0
jmp 0x46250b
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
jne 0x462509
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63c], 0
call sub.kernel32.dll_GetTickCount
mov edx, edi
add edx, edx
sub eax, dword [edx*8 + 0x4df640]
mov dword [ebp - 4], eax
call fcn.00417294
mov edx, edi
add edx, edx
mov edx, dword [edx*8 + 0x4df644]
sub edx, eax
cmp edx, dword [ebp - 4]
ja 0x4624fb
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63d], 1
jmp 0x46250b
mov eax, edi
add eax, eax
mov byte [eax*8 + 0x4df63d], 0
jmp 0x46250b
mov bl, 1
test bl, bl
jne 0x4625b5
xor eax, eax
push ebp
push 0x46257c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x477b00]
cmp byte [eax], 0
je 0x462572
mov eax, dword [0x477a9c]
cmp byte [eax], 0
je 0x462572
mov ebx, edi
add ebx, ebx
mov al, byte [ebx*8 + 0x4df63c]
push eax
mov al, byte [ebx*8 + 0x4df63d]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx*8 + 0x4df640]
push eax
mov eax, dword [ebx*8 + 0x4df644]
push eax
mov eax, dword [0x477904]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x10]
mov edx, esi
call fcn.0044ffcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4625b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4625d7
lea eax, [ebp - 0x34]
mov edx, 0xc
call fcn.00403cd0
ret