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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1402bf7c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebp, r9d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x5c], r8d
mov r13, rdx
mov qword [rsp + 0x48], rdx
mov rbx, rcx
mov r14, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xf8]
cmp dword [rcx + 0x388], 0x991144aa
je 0x1401b66fe
xor ecx, ecx
call fcn.14000f580
mov dword [rbx + 0xb8c], 0
mov edi, 1
mov r12d, edi
test ebp, ebp
cmovne r12d, ebp
cmp byte [rbx + 0xb8a], 0
je 0x1401b6741
mov edi, 3
mov dword [rbx + 0xb8c], edi
mov rax, qword [rsi]
lea rdx, str.Already_at_end_of_stream
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401b6cb1
lea rcx, [rbx + 0xd20]
call fcn.14000c890
test al, al
jne 0x1401b68ff
cmp qword [rbx + 0xb60], 0
jne 0x1401b690d
mov ecx, 0x118
call fcn.1401dab7c
mov rbp, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1401b6793
xor edx, edx
mov r8d, 0x118
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbp
call fcn.1400d4a40
nop
mov qword [rbx + 0xb60], rax
mov r8, rsi
lea rdx, [rbx + 0xd20]
mov rcx, rax
call fcn.1400d5590
test al, al
jne 0x1401b67c2
mov eax, 4
mov dword [rbx + 0xb8c], eax
xor al, al
jmp 0x1401b6cb1
mov rdx, rsi
mov rcx, qword [rbx + 0xb60]
call fcn.1400d5500
mov rbp, rax
xor edx, edx
mov r15d, edx
test rax, rax
jg 0x1401b681b
mov byte [rbx + 0xb8a], 1
mov qword [rbx + 0xb68], rdx
mov rcx, qword [rbx + 0xb60]
test rcx, rcx
je 0x1401b6802
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x50]
xor edx, edx
mov qword [rbx + 0xb60], rdx
mov edi, 3
mov dword [rbx + 0xb8c], edi
xor al, al
jmp 0x1401b6cb1
movsxd rcx, dword [rbx + 0x450]
test ecx, ecx
jle 0x1401b68de
movsxd rax, dword [rbx + 0x454]
test eax, eax
jle 0x1401b68de
mov r15, rax
imul r15, rcx
mov rcx, qword [rbx + 0xb60]
cmp r15, rbp
jl 0x1401b6882
mov byte [rbx + 0xb8a], 1
mov qword [rbx + 0xb68], rdx
test rcx, rcx
je 0x1401b6802
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x50]
xor edx, edx
mov qword [rbx + 0xb60], rdx
mov edi, 3
mov dword [rbx + 0xb8c], edi
xor al, al
jmp 0x1401b6cb1
mov r8, rsi
mov rdx, r15
call fcn.1400eed10
test al, al
jne 0x1401b68de
mov rax, qword [rsi]
lea rdx, str.Failed_to_skip_forward_to_source_file_part.
mov rcx, rsi
call qword [rax + 0x28]
mov byte [rbx + 0xb8a], 1
xor esi, esi
mov qword [rbx + 0xb68], rsi
mov rcx, qword [rbx + 0xb60]
test rcx, rcx
je 0x1401b68c5
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x50]
mov qword [rbx + 0xb60], rsi
mov edi, 3
mov dword [rbx + 0xb8c], edi
xor al, al
jmp 0x1401b6cb1
movsxd rax, dword [rbx + 0x454]
test eax, eax
jle 0x1401b68f8
sub rbp, r15
mov qword [rbx + 0xb68], rax
cmp rax, rbp
jle 0x1401b68ff
mov qword [rbx + 0xb68], rbp
cmp qword [rbx + 0xb60], 0
je 0x1401b6a26
mov ebp, dword [rsp + 0x5c]
mov rax, qword [rbx + 0xb68]
cmp rax, rbp
cmovle ebp, eax
setle al
mov byte [rbx + 0xb8a], al
mov rcx, r13
call fcn.140044dc0
mov edi, eax
lea edx, [rax + rbp]
mov rcx, r13
call fcn.1400445a0
test al, al
jne 0x1401b694f
mov dword [rbx + 0xb8c], 5
jmp 0x1401b6cb1
mov edx, edi
mov rcx, r13
call fcn.140044a60
mov dword [rsp + 0x5c], 0
mov byte [rsp + 0x58], 0
mov rcx, qword [rbx + 0xb60]
mov r10, qword [rcx]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x5c]
mov r8d, ebp
mov rdx, rax
call qword [r10 + inet_addr]
movzx ebp, al
cmp byte [rsp + 0x58], 0
je 0x1401b69a9
mov byte [rbx + 0xb8a], 1
mov r8d, dword [rsp + 0x5c]
test r8d, r8d
je 0x1401b69e1
sub qword [rbx + 0xb68], r8
lea edx, [r8 + rdi]
mov rcx, r13
call fcn.140046a70
mov eax, dword [rsp + 0x5c]
add qword [rbx + 0x440], rax
cmp byte [rbx + 0xd0c], 0
jne 0x1401b69e1
add qword [rbx + 0x448], rax
test bpl, bpl
jne 0x1401b6a1d
mov eax, 4
mov dword [rbx + 0xb8c], eax
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
call qword [rax + 0x18]
test al, al
je 0x1401b6a0b
mov dword [rbx + 0xb8c], 2
cmp byte [rsp + 0x58], 0
je 0x1401b6a1d
mov edi, 3
mov dword [rbx + 0xb8c], edi
movzx eax, bpl
jmp 0x1401b6cb1
mov rdx, qword [rbx + 0xb78]
test rdx, rdx
je 0x1401b6b68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
call fcn.140010fd0
nop
mov rcx, r13
call fcn.140044dc0
mov r15d, eax
mov rcx, qword [rbx + 0xb78]
mov r10, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov r9d, r12d
mov r8d, dword [rsp + 0x5c]
mov rdx, r13
call qword [r10 + 0x18]
movzx ebp, al
mov rcx, r13
call fcn.140044dc0
cmp eax, r15d
jbe 0x1401b6aaa
sub eax, r15d
mov ecx, eax
add qword [rbx + 0x440], rcx
cmp byte [rbx + 0xd0c], 0
jne 0x1401b6aaa
add qword [rbx + 0x448], rcx
mov rcx, qword [rbx + 0xb78]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x1401b6adb
cmp byte [rsi + 0x169], 0
je 0x1401b6ad4
mov rax, qword [rsi]
lea rdx, str.Reached_end_of_stream.
mov rcx, rsi
call qword [rax + 0x30]
mov byte [rbx + 0xb8a], 1
test bpl, bpl
jne 0x1401b6b55
cmp byte [rbx + 0xb8a], bpl
je 0x1401b6af6
mov edi, 3
mov dword [rbx + 0xb8c], edi
jmp 0x1401b6b39
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
test al, al
je 0x1401b6b0b
mov dword [rbx + 0xb8c], edi
jmp 0x1401b6b39
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
call qword [rax + 0x18]
test al, al
je 0x1401b6b2c
mov dword [rbx + 0xb8c], 2
mov edi, 2
jmp 0x1401b6b39
mov eax, 4
mov dword [rbx + 0xb8c], eax
mov edi, eax
cmp byte [rsi + 0x169], 0
je 0x1401b6b55
mov r8d, edi
lea rdx, str.readFailReason
mov rcx, rsi
call fcn.1400552e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400110e0
movzx eax, bpl
jmp 0x1401b6cb1
lea rcx, [rbx + 0xac8]
call fcn.1401b7a20
mov rbp, rax
test rax, rax
jne 0x1401b6bc9
mov r15d, 0xfa
cmp dword [rsp + 0x40], r15d
cmovae r15d, dword [rsp + 0x40]
call sub.KERNEL32.dll_GetTickCount
mov r13d, eax
mov ecx, 2
call sub.KERNEL32.dll_Sleep
lea rcx, [rbx + 0xac8]
call fcn.1401b7a20
mov rbp, rax
call sub.KERNEL32.dll_GetTickCount
sub eax, r13d
cmp eax, r15d
ja 0x1401b6c6a
test rbp, rbp
je 0x1401b6b95
mov r13, qword [rsp + 0x48]
mov byte [rsp + 0x58], 0
mov rcx, r13
call fcn.140044dc0
mov r15d, eax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r13
mov r9d, dword [rsp + 0x5c]
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0x40]
mov rcx, rbp
call fcn.1401b8100
movzx esi, al
mov rcx, rbp
call fcn.1401b7730
test al, al
je 0x1401b6c0f
mov byte [rbx + 0xb8a], 1
mov rcx, r13
call fcn.140044dc0
cmp eax, r15d
jbe 0x1401b6c38
sub eax, r15d
mov ecx, eax
add qword [rbx + 0x440], rcx
cmp byte [rbx + 0xd0c], 0
jne 0x1401b6c38
add qword [rbx + 0x448], rcx
test sil, sil
jne 0x1401b6ca1
movzx ecx, byte [rsp + 0x58]
test cl, cl
je 0x1401b6c54
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x30]
movzx ecx, byte [rsp + 0x58]
cmp byte [rbx + 0xb8a], 0
je 0x1401b6c91
mov edi, 3
mov dword [rbx + 0xb8c], edi
jmp 0x1401b6ca1
test rbp, rbp
jne 0x1401b6bc4
mov dword [rbx + 0xb8c], 5
mov rax, qword [rsi]
lea rdx, str.No_stream_source.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1401b6cb1
mov eax, 4
test cl, cl
cmovne eax, edi
mov dword [rbx + 0xb8c], eax
lea rcx, [rbx + 0xac8]
call fcn.1401b7cd0
movzx eax, sil
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401da8c0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret