Function at 0x419b80
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 0x5d72b3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x65bfd4]
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.005b50f6
lea eax, [ebp - 0x2c]
push 0xb
push eax
call fcn.005b51f2
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 0x419bf0
sub esi, ecx
mov ecx, dword [edi + 0x14]
sar esi, 1
mov dword [ebp - 0x50], ecx
cmp esi, ecx
ja 0x419c39
mov dword [ebp - 0x48], edi
mov eax, edi
cmp ecx, 8
jb 0x419c18
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.005ad520
mov eax, dword [ebp - 0x48]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x419d2e
cmp esi, 0x7ffffffe
ja 0x419e49
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x419c59
mov edi, SysReAllocString
jmp 0x419c77
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x419c6f
mov edi, SysReAllocString
jmp 0x419c77
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x419c89
or ecx, 0xffffffff
jmp 0x419c91
cmp ecx, 0x1000
jb 0x419cba
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004627a8
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x419e4e
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x419ccb
test ecx, ecx
je 0x419cc9
push ecx
call fcn.004627a8
add esp, 4
jmp 0x419ccb
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.005acfa0
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 0x419d2c
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x419d22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e4e
mov eax, edx
push ecx
push eax
call fcn.005a9369
add esp, 8
mov dword [esi], edi
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.00413bf0
mov esi, dword [ebp - 0x54]
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
jne 0x419d64
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x100]
mov dword [esi + 0x10], eax
call fcn.0040e950
jmp 0x419d94
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 + 0x62fbb0]
divsd xmm1, qword [0x62fb50]
call fcn.0041a730
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00414480
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x419e0b
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x419de6
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x419ddc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e4e
mov eax, edx
push ecx
push eax
call fcn.005a9369
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.00407500
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0xffffffff
call fcn.00413820
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.005a909b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00408030
call fcn.005b06b9
int3