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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5d43
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x659fd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x5c], eax
call fcn.005b3bb6
lea eax, [ebp - 0x2c]
push 0xb
push eax
call fcn.005b3cb2
lea esi, [ebp - 0x2c]
add esp, 8
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x419c80
sub esi, ecx
mov ecx, dword [edi + 0x14]
sar esi, 1
mov dword [ebp - 0x50], ecx
cmp esi, ecx
ja 0x419cc9
mov dword [ebp - 0x48], edi
mov eax, edi
cmp ecx, 8
jb 0x419ca8
mov eax, dword [edi]
mov dword [ebp - 0x48], eax
mov dword [edi + 0x10], esi
lea ecx, [ebp - 0x2c]
add esi, esi
push esi
push ecx
push eax
call fcn.005abfe0
mov eax, dword [ebp - 0x48]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x419dbe
cmp esi, 0x7ffffffe
ja 0x419ed9
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x419ce9
mov edi, SysReAllocString
jmp 0x419d07
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x419cff
mov edi, SysReAllocString
jmp 0x419d07
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x419d19
or ecx, 0xffffffff
jmp 0x419d21
cmp ecx, 0x1000
jb 0x419d4a
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.00461253
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x419ede
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x419d5b
test ecx, ecx
je 0x419d59
push ecx
call fcn.00461253
add esp, 4
jmp 0x419d5b
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ecx + 0x10], esi
add esi, esi
mov dword [ecx + 0x14], edi
lea ecx, [ebp - 0x2c]
push esi
push ecx
push eax
call fcn.005aba60
mov edi, dword [ebp - 0x4c]
xor eax, eax
mov ecx, dword [ebp - 0x50]
add esp, 0xc
mov word [esi + edi], ax
mov esi, dword [ebp - 0x48]
cmp ecx, 8
jb 0x419dbc
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x419db2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ede
mov eax, edx
push ecx
push eax
call fcn.005a7e2d
add esp, 8
mov dword [esi], edi
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.00413c70
mov esi, dword [ebp - 0x54]
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
jne 0x419df4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x100]
mov dword [esi + 0x10], eax
call fcn.0040eac0
jmp 0x419e24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x100]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x62e6d0]
divsd xmm1, qword [0x62e670]
call fcn.0041a7c0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00414520
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x419e9b
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x419e76
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x419e6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ede
mov eax, edx
push ecx
push eax
call fcn.005a7e2d
add esp, 8
movups xmm0, xmmword [ebp - 0x44]
xor eax, eax
mov word [ebp - 0x44], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004076c4
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0xffffffff
call fcn.004138a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a7b5f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00405425
call fcn.005af179
int3