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

Disassembly:
push 0xffffffffffffffff
push 0x6974b3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x2a4], 0x991144aa
je 0x5c80bf
push 0
call fcn.0047ab30
add esp, 4
mov eax, dword [esp + 0x40]
xor ebp, ebp
cmp eax, ebp
mov dword [esi + 0x890], ebp
mov dword [esp + 0x18], eax
jne 0x5c80db
mov dword [esp + 0x18], 1
cmp byte [esi + 0x88e], 0
je 0x5c80f8
mov dword [esi + 0x890], 3
push str.Already_at_end_of_stream
jmp 0x5c8690
lea ebx, [esi + 0x9c4]
mov ecx, ebx
call fcn.00481390
test al, al
jne 0x5c82cd
cmp dword [esi + 0x870], ebp
jne 0x5c82cd
push 0xd0
call fcn.00609260
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x30], ebp
je 0x5c813b
mov ecx, eax
call fcn.004d1a20
jmp 0x5c813d
xor eax, eax
mov edi, dword [esp + 0x48]
push edi
push ebx
mov ecx, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x870], eax
call fcn.004d2110
test al, al
jne 0x5c816b
mov dword [esi + 0x890], 4
jmp 0x5c869b
mov ecx, dword [esi + 0x870]
push edi
call fcn.004d15b0
mov edi, edx
xor ebp, ebp
mov ecx, eax
xor ebx, ebx
cmp edi, ebp
mov dword [esp + 0x1c], ecx
jg 0x5c81ca
jl 0x5c818d
cmp ecx, ebp
ja 0x5c81ca
mov ecx, dword [esi + 0x870]
cmp ecx, ebp
mov byte [esi + 0x88e], 1
mov dword [esi + 0x878], ebp
mov dword [esi + 0x87c], ebp
je 0x5c81b5
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push 1
call edx
xor ebp, ebp
mov dword [esi + 0x870], ebp
mov dword [esi + 0x890], 3
jmp 0x5c869b
mov edx, dword [esi + 0x330]
cmp edx, ebp
jle 0x5c829c
mov eax, dword [esi + 0x334]
test eax, eax
jle 0x5c829c
imul edx
mov ebp, edx
cmp ebp, edi
mov ebx, eax
jl 0x5c8235
jg 0x5c81f6
cmp ebx, ecx
jb 0x5c8235
mov ecx, dword [esi + 0x870]
xor eax, eax
cmp ecx, eax
mov byte [esi + 0x88e], 1
mov dword [esi + 0x878], eax
mov dword [esi + 0x87c], eax
je 0x5c8220
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push 1
call edx
xor eax, eax
mov dword [esi + 0x870], eax
mov dword [esi + 0x890], 3
jmp 0x5c869b
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x870]
push eax
push ebp
push ebx
call fcn.00542680
test al, al
jne 0x5c8298
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Failed_to_skip_forward_to_source_file_part.
call eax
mov ecx, dword [esi + 0x870]
xor edi, edi
cmp ecx, edi
mov byte [esi + 0x88e], 1
mov dword [esi + 0x878], edi
mov dword [esi + 0x87c], edi
je 0x5c8283
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 1
call eax
mov dword [esi + 0x870], edi
mov dword [esi + 0x890], 3
jmp 0x5c869b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x334]
test eax, eax
jle 0x5c82c1
sub ecx, ebx
cdq
sbb edi, ebp
cmp edx, edi
mov dword [esi + 0x878], eax
mov dword [esi + 0x87c], edx
jl 0x5c82cd
jg 0x5c82c1
cmp eax, ecx
jbe 0x5c82cd
mov dword [esi + 0x87c], edi
mov dword [esi + 0x878], ecx
cmp dword [esi + 0x870], 0
je 0x5c8419
mov ecx, dword [esi + 0x87c]
mov ebx, dword [esp + 0x3c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x40], ebx
jg 0x5c830d
jl 0x5c82fa
mov edx, dword [esi + 0x878]
cmp edx, ebx
ja 0x5c830d
mov ebx, dword [esi + 0x878]
mov byte [esi + 0x88e], 1
mov dword [esp + 0x40], ebx
jmp 0x5c8314
mov byte [esi + 0x88e], 0
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.00544a30
mov ebp, eax
lea eax, [ebx + ebp]
push eax
mov ecx, edi
call fcn.0046c5f0
test al, al
jne 0x5c833f
mov dword [esi + 0x890], 5
jmp 0x5c869b
push ebp
mov ecx, edi
call fcn.00467dd0
mov ebx, dword [esp + 0x48]
mov ecx, dword [esi + 0x870]
push ebx
mov ebx, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x4c]
push ebx
lea ebx, [esp + 0x44]
push ebx
lea ebx, [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], 0
mov byte [esp + 0x4c], 0
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x38], 0
mov bl, al
je 0x5c8390
mov byte [esi + 0x88e], 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5c83d5
sub dword [esi + 0x878], eax
mov ecx, edi
sbb dword [esi + 0x87c], 0
add eax, ebp
push eax
call fcn.00467ff0
mov eax, dword [esp + 0x3c]
xor ecx, ecx
add dword [esi + 0x320], eax
adc dword [esi + 0x324], ecx
cmp byte [esi + 0x9b4], cl
jne 0x5c83d5
add dword [esi + 0x328], eax
adc dword [esi + 0x32c], ecx
test bl, bl
jne 0x5c8412
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esi + 0x890], 4
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
call edx
test al, al
je 0x5c8401
mov dword [esi + 0x890], 2
cmp byte [esp + 0x38], 0
je 0x5c8412
mov dword [esi + 0x890], 3
mov al, bl
jmp 0x5c869d
mov eax, dword [esi + 0x884]
test eax, eax
je 0x5c8553
push eax
lea ecx, [esp + 0x20]
call fcn.0048eb90
mov edi, dword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.00544a30
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0x884]
push ebx
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x48]
mov ebp, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push edi
call eax
mov ecx, edi
mov byte [esp + 0x48], al
call fcn.00544a30
cmp eax, ebp
jbe 0x5c849b
sub eax, ebp
xor ecx, ecx
add dword [esi + 0x320], eax
adc dword [esi + 0x324], ecx
cmp byte [esi + 0x9b4], cl
jne 0x5c849b
add dword [esi + 0x328], eax
adc dword [esi + 0x32c], ecx
mov ecx, dword [esi + 0x884]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x5c84ca
cmp byte [ebx + 0x121], 0
je 0x5c84c3
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push str.Reached_end_of_stream.
mov ecx, ebx
call eax
mov byte [esi + 0x88e], 1
cmp byte [esp + 0x48], 0
jne 0x5c8539
cmp byte [esi + 0x88e], 0
je 0x5c84e6
mov dword [esi + 0x890], 3
jmp 0x5c851d
mov edi, dword [esp + 0x44]
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test al, al
je 0x5c8503
mov dword [esi + 0x890], 1
jmp 0x5c851d
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push ebx
mov ecx, edi
call eax
neg al
sbb eax, eax
and eax, 0xfffffffe
add eax, 4
mov dword [esi + 0x890], eax
cmp byte [ebx + 0x121], 0
je 0x5c8539
mov ecx, dword [esi + 0x890]
push ecx
push str.readFailReason
mov ecx, ebx
call fcn.004b14c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0048ee60
mov al, byte [esp + 0x48]
jmp 0x5c869d
lea ebp, [esi + 0x818]
mov ecx, ebp
mov dword [esp + 0x1c], ebp
call fcn.005c76f0
mov edi, eax
test edi, edi
jne 0x5c85b2
mov ebx, dword [esp + 0x40]
cmp ebx, 0xfa
jae 0x5c857b
mov ebx, 0xfa
call sub.KERNEL32.dll_GetTickCount
mov dword [esp + 0x18], eax
push 2
call fcn.004ab8b0
add esp, 4
mov ecx, ebp
call fcn.005c76f0
mov edi, eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [esp + 0x18]
cmp eax, ebx
ja 0x5c85aa
test edi, edi
je 0x5c8584
jmp 0x5c85b2
test edi, edi
je 0x5c8681
mov ebp, dword [esp + 0x38]
mov ecx, ebp
mov byte [esp + 0x17], 0
call fcn.00544a30
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
push ebp
mov ebx, eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x23]
push ecx
push edx
mov ecx, edi
call fcn.005c7c60
mov ecx, edi
mov byte [esp + 0x48], al
call fcn.005c7e60
test al, al
je 0x5c85f6
mov byte [esi + 0x88e], 1
mov ecx, ebp
call fcn.00544a30
cmp eax, ebx
jbe 0x5c8625
sub eax, ebx
xor ecx, ecx
add dword [esi + 0x320], eax
adc dword [esi + 0x324], ecx
cmp byte [esi + 0x9b4], cl
jne 0x5c8625
add dword [esi + 0x328], eax
adc dword [esi + 0x32c], ecx
mov bl, byte [esp + 0x48]
test bl, bl
jne 0x5c8674
mov al, byte [esp + 0x17]
test al, al
je 0x5c8644
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov al, byte [esp + 0x17]
cmp byte [esi + 0x88e], 0
je 0x5c8664
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x890], 3
call fcn.005c77b0
mov al, bl
jmp 0x5c869d
neg al
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [esi + 0x890], eax
mov ecx, dword [esp + 0x1c]
call fcn.005c77b0
mov al, bl
jmp 0x5c869d
mov dword [esi + 0x890], 5
push str.No_stream_source.
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14