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

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004153d0
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
add esp, 4
mov dword [esp + 0x14], 0xffffff00
call ebp
mov esi, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x100
call ebp
add eax, 0x14
cmp esi, eax
mov dword [esp + 0x20], eax
ja 0x414313
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0xa8]
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x18]
imul ecx, dword [0x466be4]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xa8]
mov esi, dword [esi + 0xa8]
mov ebx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x10], ecx
jge 0x41421f
cmp esi, ecx
jge 0x41421d
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x10], ebx
mov ebp, ecx
shr ecx, 2
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi + 0x18]
add edx, ecx
add eax, edi
dec ebx
jne 0x4141f0
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
xor esi, esi
mov ebx, dword [0x466be4]
cmp dword [esp + 0x10], ebx
jge 0x4142d7
mov ecx, dword [0x466c48]
shl esi, 9
add esi, 0x100
xor edi, edi
test ecx, ecx
jle 0x4142b6
xor ecx, ecx
mov cl, byte [edx]
xor ebx, ebx
mov bl, byte [eax]
mov ebp, ecx
and ebp, 0xff
sub ebp, ebx
sub cl, byte [esi + ebp + 0x53afa0]
mov byte [eax], cl
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ebx, ebx
mov bl, byte [eax + 1]
inc eax
mov ebp, ecx
and ebp, 0xff
sub ebp, ebx
sub cl, byte [esi + ebp + 0x53afa0]
mov byte [eax], cl
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ebx, ebx
mov bl, byte [eax + 1]
inc eax
mov ebp, ecx
and ebp, 0xff
sub ebp, ebx
sub cl, byte [esi + ebp + 0x53afa0]
inc edx
mov byte [eax], cl
mov ecx, dword [0x466c48]
inc eax
inc edi
cmp edi, ecx
jl 0x414244
mov ebx, dword [0x466be4]
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
add esi, 0x200
cmp esi, 0x1ff00
jg 0x4142dd
mov edi, dword [esp + 0x10]
inc edi
cmp edi, ebx
mov dword [esp + 0x10], edi
jl 0x41423e
jmp 0x4142dd
mov ecx, dword [0x466c48]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push edx
push ebx
push ecx
mov ecx, dword [0x466c14]
push 0
push 0
push eax
push ecx
call fcn.00401350
add esp, 0x28
call ebp
cmp eax, dword [esp + 0x20]
jbe 0x414305
call ebp
mov esi, eax
jmp 0x414316
add esi, 0x14
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov eax, 0x10
add ecx, eax
sub ebx, eax
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x414352
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0x2e
mov dword [esp + 0x1c], eax
jl 0x414186
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x466be4]
push 0
push 0
push eax
mov eax, dword [0x466c48]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0
push 0
push ecx
call fcn.00413610
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret