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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rbp + 0x60]
xor r12d, r12d
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rax], r12d
mov r15d, r12d
mov r13d, r12d
mov dword [rbp + 0x40], r12d
nop dword [rax]
mov eax, dword [rsi + 0x468]
mov ecx, 0x4000
test eax, eax
cmovne ecx, eax
mov rax, qword [rbx]
movsxd r9, ecx
cmp rax, 0xffffffffffffffff
je 0x1400bec9d
cmp dword [rbx + 0x48], 0
jne 0x1400bec9d
sub rax, qword [rbx + 0x20]
cmp rax, r9
cmovl r9, rax
test r9, r9
je 0x1400becdb
mov r8, qword [rbx + 0x120]
mov rdx, qword [rdi + 0x338]
lea rax, [rbp - 0x20]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400b8f80
mov r15d, eax
cmp eax, 0x51
je 0x1400bf418
test eax, eax
jg 0x1400bf445
mov rcx, qword [rbp - 0x20]
jmp 0x1400bece2
mov rcx, r12
mov qword [rbp - 0x20], rcx
cmp qword [rbx + 0x20], 0
jne 0x1400bed7c
cmp qword [rbx + 0x28], 0
jne 0x1400bed7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rbp - 0x18], edx
imul ecx, edx, 0x3e8
mov rdx, qword [rsi + 0x7d0]
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rbp - 0x14], eax
mov rcx, qword [rbp - 0x18]
call fcn.1400b9310
movsd qword [rsi + 0x7b8], xmm0
cmp dword [rbx + 0xa4], 0
jle 0x1400bed78
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rbp - 0x10], edx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 0x10]
mov qword [rbx + 0x9c], rax
mov rcx, qword [rbp - 0x20]
or dword [r14], 1
test rcx, rcx
jne 0x1400bed96
cmp dword [rbx + 0x118], ecx
jne 0x1400bed93
lea r12d, [rcx + 1]
jmp 0x1400bed9c
test rcx, rcx
jle 0x1400bf411
mov rax, qword [rbx + 0x120]
mov byte [rcx + rax], 0
mov rax, qword [rbx + 0x120]
mov qword [rbx + 0x68], rax
mov rax, qword [rdi + 0x320]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x1400bede7
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x1400bf445
cmp dword [rbp + 0x40], eax
jne 0x1400bf418
cmp dword [rbx + 0x48], 0
je 0x1400beebb
lea r9, [rbp + 0x50]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
mov dword [rbp + 0x50], 0
call fcn.1400c4780
mov r15d, eax
test eax, eax
jne 0x1400bf445
mov rax, qword [rdi + 0x320]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x1400bee5b
cmp qword [rbx + 0x10], 0
jg 0x1400bee5b
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jle 0x1400bee5f
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x1400bf445
cmp dword [rbp + 0x40], eax
jne 0x1400bf418
mov rcx, qword [rbp - 0x20]
cmp dword [rbp + 0x50], 0
je 0x1400beebf
test rcx, rcx
jle 0x1400bf418
mov rax, qword [rdi]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x1400bf304
cmp dword [rdx + 0x58], 0
je 0x1400bf304
mov r9, qword [rsi + 0x8ad8]
mov r8, rcx
lea rdx, str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
mov rcx, rsi
call fcn.1400b89e0
mov rax, qword [rbp - 0x20]
mov dword [rdi + 0x2fc], 1
sub qword [rdi + 0x420], rax
jmp 0x1400bf418
mov rcx, qword [rbp - 0x20]
cmp qword [rbx + 0x68], 0
je 0x1400bf292
cmp dword [rbx + 0x48], 0
jne 0x1400bf292
test rcx, rcx
jg 0x1400beee2
test r12d, r12d
je 0x1400bf292
cmp dword [rbx + 0x118], 0
jne 0x1400befb7
test r12d, r12d
jne 0x1400befb7
mov rax, qword [rdi + 0x320]
test dword [rax + 0x74], 0x40003
je 0x1400befb7
cmp qword [rsi + 0x1e0], 0
je 0x1400bef40
cmp dword [rdi + 0x2a8], r12d
jne 0x1400bf322
lea rdx, str.Ignoring_the_response_body_n
mov rcx, rsi
mov dword [rbx + 0x140], 1
call fcn.1400b89e0
mov rcx, qword [rbp - 0x20]
cmp qword [rsi + 0x8af8], 0
je 0x1400bef69
cmp dword [rbx + 0x88], 0
jne 0x1400bef69
cmp dword [rsi + 0x3f0], 1
jne 0x1400bef69
cmp dword [rbx + 0x140], 0
je 0x1400bf338
mov r8d, dword [rsi + 0x3e0]
test r8d, r8d
je 0x1400befb7
cmp qword [rsi + 0x8af0], 0
jne 0x1400befb7
mov rdx, qword [rbx + 0x110]
test rdx, rdx
je 0x1400befb7
mov rax, qword [rsi + 0x3e8]
test rax, rax
je 0x1400befb7
cmp r8d, 2
je 0x1400befae
cmp rdx, rax
jg 0x1400befb7
lea rdx, str.The_requested_document_is_not_new_enough_n
jmp 0x1400bf358
cmp rdx, rax
jge 0x1400bf351
inc dword [rbx + 0x118]
cmp dword [rsi + 0x4f4], 0
je 0x1400bf012
cmp dword [rbx + 0x4c], 0
mov qword [rsp + 0x20], rdi
mov edx, 3
je 0x1400befff
mov r9, qword [rbx + 0x60]
mov r8, qword [rsi + 0x870]
mov rcx, rsi
call fcn.1400b9170
cmp dword [rbx + 0x4c], 1
jne 0x1400bf00e
mov r9, qword [rbp - 0x20]
mov qword [rsp + 0x20], rdi
mov edx, 3
jmp 0x1400bf002
mov r9, rcx
mov r8, qword [rbx + 0x68]
mov rcx, rsi
call fcn.1400b9170
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x168], 0
je 0x1400bf093
mov rdx, qword [rbx + 0x68]
mov r8, rcx
lea r9, [rbp - 0x20]
mov rcx, rdi
call fcn.1400d0760
test eax, eax
jg 0x1400bf39c
cmp eax, 0xffffffff
jne 0x1400bf08f
and dword [rbx + 0x138], 0xfffffffe
mov r14, qword [rdi + 0x30]
test r14, r14
je 0x1400bf08f
mov rcx, qword [rdi]
lea rdx, str.Leftovers_after_chunking:__zu_bytes_n
mov r8, r14
call fcn.1400b89e0
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x78]
test rax, rax
je 0x1400bf08f
cmp dword [rax + 0x58], 0
je 0x1400bf08f
lea rdx, str.Rewinding__zu_bytes_n
mov r8, r14
call fcn.1400b89e0
sub qword [rdi + 0x420], r14
mov dword [rdi + 0x2fc], 1
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x4c], 0
je 0x1400bf0aa
cmp dword [rbx + 0x140], 0
jne 0x1400bf0aa
mov rax, qword [rbx + 0x60]
add qword [rbx + 0x20], rax
mov rdx, qword [rbx + 0x10]
cmp rdx, 0xffffffffffffffff
je 0x1400bf171
mov r8, qword [rbx + 0x20]
lea rax, [r8 + rcx]
cmp rax, rdx
jl 0x1400bf171
mov r13, r8
sub r13, rdx
add r13, rcx
je 0x1400bf152
cmp dword [rbx + 0x140], 0
jne 0x1400bf152
mov rax, qword [rdi]
mov r9, qword [rax + 0x78]
test r9, r9
je 0x1400bf133
cmp dword [r9 + 0x58], 0
je 0x1400bf133
mov rax, qword [rbx]
mov r9, qword [rsi + 0x8ad8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
lea rdx, str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___lld__maxdownload___lld__bytecount___lld__nread___zd__n
mov r8, r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1400b89e0
sub qword [rdi + 0x420], r13
mov dword [rdi + 0x2fc], 1
jmp 0x1400bf152
mov r9, qword [rbx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___lld__maxdownload___lld__bytecount___lld_n
mov r8, r13
mov rcx, rsi
call fcn.1400b89e0
mov rcx, qword [rbx + 0x10]
mov r14d, 0
sub rcx, qword [rbx + 0x20]
cmovs rcx, r14
and dword [rbx + 0x138], 0xfffffffe
mov qword [rbp - 0x20], rcx
jmp 0x1400bf174
xor r14d, r14d
add qword [rbx + 0x20], rcx
mov rax, qword [rbx + 0x20]
mov qword [rsi + 0x758], rax
cmp dword [rbx + 0x168], 0
jne 0x1400bf28e
test rcx, rcx
jne 0x1400bf1a3
cmp dword [rbx + 0x4c], ecx
jne 0x1400bf1a9
test r12d, r12d
je 0x1400bf28e
cmp dword [rbx + 0x4c], 0
je 0x1400bf1e9
cmp dword [rbx + 0x140], 0
jne 0x1400bf1e9
mov r9, qword [rbx + 0x10]
cmp r9, 0xffffffffffffffff
je 0x1400bf1c2
cmp qword [rbx + 0x60], r9
jg 0x1400bf1c6
mov r9, qword [rbx + 0x60]
mov r8, qword [rsi + 0x870]
mov edx, 1
mov rcx, rdi
call fcn.1400b8dc0
mov r15d, eax
test eax, eax
jne 0x1400bf3da
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x4c], 2
jge 0x1400bf281
mov rax, qword [rdi]
mov edx, r14d
cmp dword [rax + 0x540], 0
jne 0x1400bf208
mov edx, dword [rbx + 0xac]
test edx, edx
je 0x1400bf25d
dec edx
je 0x1400bf244
dec edx
je 0x1400bf22b
lea rdx, [0x14025a630]
mov rcx, rsi
call fcn.1400b8ac0
mov r15d, 0x3d
jmp 0x1400bf27d
cmp dword [rbx + 0x140], 0
jne 0x1400bf281
mov r8, rcx
mov rdx, rbx
mov rcx, rdi
call fcn.1400d10f0
jmp 0x1400bf27a
cmp dword [rbx + 0x140], 0
jne 0x1400bf281
mov r8, rcx
mov rdx, rbx
mov rcx, rdi
call fcn.1400d0f20
jmp 0x1400bf27a
cmp dword [rbx + 0x140], 0
jne 0x1400bf281
mov r8, qword [rbx + 0x68]
mov r9, rcx
mov edx, 1
mov rcx, rdi
call fcn.1400b8dc0
mov r15d, eax
mov rcx, qword [rbp - 0x20]
mov dword [rbx + 0x4c], r14d
test r15d, r15d
jne 0x1400bf3da
mov r14, qword [rbp + 0x58]
mov rax, qword [rdi + 0x320]
cmp qword [rax + 0x68], 0
je 0x1400bf2b2
test r13, r13
je 0x1400bf2b2
cmp dword [rdi + 0x2fc], 0
je 0x1400bf3df
test r12d, r12d
je 0x1400bf2be
and dword [rbx + 0x138], 0xfffffffe
mov rax, qword [rdi + 0x320]
mov r12d, 0
test byte [rax + 0x74], 0x30
jne 0x1400bec70
mov rcx, qword [rdi + 0x200]
test rcx, rcx
je 0x1400bf418
mov rax, qword [rcx + 8]
call qword [rax + 0xa0]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
jne 0x1400bec70
jmp 0x1400bf418
mov r9, qword [rsi + 0x8ad8]
mov r8, rcx
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
mov rcx, rsi
call fcn.1400b89e0
jmp 0x1400bf418
mov rax, qword [rbp + 0x60]
and dword [rbx + 0x138], 0xfffffffe
mov dword [rax], 1
jmp 0x1400bf443
lea rdx, str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
mov rcx, rsi
call fcn.1400b8ac0
mov eax, 0x21
jmp 0x1400bf445
lea rdx, str.The_requested_document_is_not_old_enough_n
mov rcx, rsi
call fcn.1400b89e0
mov rax, qword [rbp + 0x60]
lea rdx, str.Simulate_a_HTTP_304_response__n
mov rcx, rsi
mov dword [rsi + 0x8b60], 1
mov dword [rsi + 0x8b50], 0x130
mov dword [rax], 1
call fcn.1400b89e0
mov dword [rdi + 0x2a8], 1
jmp 0x1400bf443
cmp eax, 4
jne 0x1400bf3ba
lea rdx, str.Failed_writing_data
mov rcx, rsi
call fcn.1400b8ac0
mov eax, reloc.WS2_32.dll_socket
jmp 0x1400bf445
mov ecx, eax
call fcn.1400d0bf0
lea rdx, str._s_in_chunked_encoding
mov rcx, rsi
mov r8, rax
call fcn.1400b8ac0
mov eax, 0x38
jmp 0x1400bf445
mov eax, r15d
jmp 0x1400bf445
add qword [rbx + 0x68], rcx
mov rax, qword [rdi + 0x320]
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
mov qword [rbp - 0x20], r13
call qword [rax + 0x68]
test eax, eax
jne 0x1400bf445
cmp dword [rbp + 0x40], eax
je 0x1400bf418
or dword [rbx + 0x138], 1
jmp 0x1400bf418
and dword [rbx + 0x138], 0xfffffffe
mov eax, dword [rbx + 0x138]
and al, 3
cmp al, 2
jne 0x1400bf443
cmp dword [rdi + 0x2a8], 0
je 0x1400bf443
lea rdx, str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
mov rcx, rsi
call fcn.1400b89e0
and dword [rbx + 0x138], 0xfffffffd
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret