Function at 0x14006bb20
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
mov eax, 0x60
call fcn.1401ef830
sub rsp, rax
mov rax, qword [rbp + 0x60]
mov rdi, rdx
xor edx, edx
mov esi, 0x64
mov r12, r9
mov byte [rbp + 0x40], dl
mov rbx, r8
mov dword [rbp - 0x20], esi
mov byte [rax], dl
mov r14, rcx
mov rax, qword [rbp + 0x68]
mov r15d, edx
mov r13d, edx
mov byte [rax], dl
mov eax, dword [r14 + 0x524]
mov ecx, 0x4000
test eax, eax
cmovne ecx, eax
mov rax, qword [rbx]
movsxd r9, ecx
cmp rax, 0xffffffffffffffff
je 0x14006bb9e
cmp byte [rbx + 0x48], 0
jne 0x14006bb9e
sub rax, qword [rbx + 0x20]
cmp rax, r9
cmovl r9, rax
test r9, r9
je 0x14006bbdc
mov r8, qword [rbx + 0x120]
lea rax, [rbp - 0x18]
mov rdx, qword [rdi + 0x418]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140059e70
mov r15d, eax
cmp eax, 0x51
je 0x14006bc9f
test eax, eax
jg 0x14006bce1
mov rcx, qword [rbp - 0x18]
jmp 0x14006bbe3
mov rcx, rdx
mov qword [rbp - 0x18], rdx
cmp qword [rbx + 0x20], 0
jne 0x14006bc7e
cmp qword [rbx + 0x28], 0
jne 0x14006bc7e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [rbp - 0x10], edx
mov rdx, qword [r14 + 0x8b8]
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rbp - 0xc], eax
mov rcx, qword [rbp - 0x10]
call fcn.140068490
movsd qword [r14 + 0x8a0], xmm0
cmp dword [rbx + 0xa4], 0
jle 0x14006bc7a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [rbp - 8], edx
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rbp - 4], eax
mov rax, qword [rbp - 8]
mov qword [rbx + 0x9c], rax
mov rcx, qword [rbp - 0x18]
or dword [r12], 1
test rcx, rcx
jne 0x14006bcf9
cmp dword [rbx + 0x118], ecx
jne 0x14006bcf9
mov r12b, 1
test r12b, r12b
jne 0x14006bd01
and dword [rbx + 0x138], 0xfffffffe
test esi, esi
jg 0x14006bcb4
mov rax, qword [rbp + 0x68]
mov dword [rdi + 0x708], 1
mov byte [rax], 1
mov eax, dword [rbx + 0x138]
and al, 3
cmp al, 2
jne 0x14006bcdf
cmp byte [rdi + 0x3c9], 0
je 0x14006bcdf
lea rdx, str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
mov rcx, r14
call fcn.140059720
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
xor r12b, r12b
test rcx, rcx
jle 0x14006bc98
mov rax, qword [rbx + 0x120]
mov byte [rcx + rax], 0
mov rax, qword [rbx + 0x120]
mov qword [rbx + 0x68], rax
mov rax, qword [rdi + 0x400]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x14006bd48
lea r9, [rbp + 0x40]
mov rdx, rdi
lea r8, [rbp - 0x18]
mov rcx, r14
call r10
mov r15d, eax
test eax, eax
jne 0x14006bce1
cmp byte [rbp + 0x40], al
jne 0x14006bc9f
cmp byte [rbx + 0x48], 0
je 0x14006bdbd
lea r9, [rbp + 0x50]
mov byte [rbp + 0x50], 0
lea r8, [rbp - 0x18]
mov rdx, rdi
mov rcx, r14
call fcn.1400733d0
mov r15d, eax
test eax, eax
jne 0x14006bce1
mov rax, qword [rdi + 0x400]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x14006bdb3
cmp qword [rbx + 0x10], 0
jg 0x14006bdb3
cmp qword [rbp - 0x18], 0
jle 0x14006bdb3
lea r9, [rbp + 0x40]
mov rdx, rdi
lea r8, [rbp - 0x18]
mov rcx, r14
call r10
mov r15d, eax
test eax, eax
jne 0x14006bce1
cmp byte [rbp + 0x40], al
jne 0x14006bc9f
cmp byte [rbp + 0x50], 0
jne 0x14006c281
cmp qword [rbx + 0x68], 0
je 0x14006c1ee
cmp byte [rbx + 0x48], 0
jne 0x14006c1ee
cmp qword [rbp - 0x18], 0
jg 0x14006bde2
test r12b, r12b
je 0x14006c1ee
cmp byte [r14 + 0x570], 0
jne 0x14006c3c6
cmp dword [rbx + 0x118], 0
jne 0x14006be9c
test r12b, r12b
jne 0x14006be9c
mov rax, qword [rdi + 0x400]
test dword [rax + 0x74], 0x40003
je 0x14006be9c
cmp qword [r14 + 0x1d8], 0
je 0x14006be47
cmp byte [rdi + 0x3c9], r12b
jne 0x14006c31a
lea rdx, str.Ignoring_the_response_body_n
mov byte [rbx + 0x13d], 1
mov rcx, r14
call fcn.140059720
cmp qword [r14 + 0x8b10], 0
je 0x14006be71
cmp byte [rbx + 0x88], 0
jne 0x14006be71
cmp dword [r14 + 0x3e0], 1
jne 0x14006be71
cmp byte [rbx + 0x13d], 0
je 0x14006c2ef
cmp dword [r14 + 0x3d0], 0
je 0x14006be9c
cmp qword [r14 + 0x8b08], 0
jne 0x14006be9c
mov rdx, qword [rbx + 0x110]
mov rcx, r14
call fcn.14006baa0
test al, al
je 0x14006c343
inc dword [rbx + 0x118]
cmp byte [r14 + 0x578], 0
je 0x14006beef
cmp dword [rbx + 0x4c], 0
mov edx, 3
mov qword [rsp + 0x20], rdi
mov rcx, r14
je 0x14006bee2
mov r9, qword [rbx + 0x60]
mov r8, qword [r14 + 0x978]
call fcn.14005a090
cmp dword [rbx + 0x4c], 1
jne 0x14006beef
mov qword [rsp + 0x20], rdi
mov edx, 3
mov rcx, r14
mov r9, qword [rbp - 0x18]
mov r8, qword [rbx + 0x68]
call fcn.14005a090
cmp byte [rbx + 0x160], 0
je 0x14006bf70
mov r8, qword [rbp - 0x18]
lea r9, [rbp - 0x18]
mov rdx, qword [rbx + 0x68]
mov rcx, rdi
call fcn.140093950
test eax, eax
jg 0x14006c37d
cmp eax, 0xffffffff
jne 0x14006bf70
and dword [rbx + 0x138], 0xfffffffe
mov rsi, qword [rdi + 0x30]
test rsi, rsi
je 0x14006bf6d
mov rcx, qword [rdi]
lea rdx, str.Leftovers_after_chunking:__zu_bytes_n
mov r8, rsi
call fcn.140059720
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x78]
test rax, rax
je 0x14006bf6d
test byte [rax + 0xb8], 1
je 0x14006bf6d
mov r8, rsi
lea rdx, str.Rewinding__zu_bytes_n
call fcn.140059720
sub qword [rdi + 0x498], rsi
mov byte [rdi + 0x3e1], 1
mov esi, dword [rbp - 0x20]
cmp dword [rbx + 0x4c], 0
je 0x14006bf87
cmp byte [rbx + 0x13d], 0
jne 0x14006bf87
mov rax, qword [rbx + 0x60]
add qword [rbx + 0x20], rax
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x14006c051
mov rax, qword [rbx + 0x20]
mov r8, qword [rbp - 0x18]
add rax, r8
cmp rax, rcx
jl 0x14006c051
mov r9, qword [rbx + 0x20]
mov r13, r9
sub r13, rcx
add r13, r8
je 0x14006c035
cmp byte [rbx + 0x13d], 0
jne 0x14006c035
mov rax, qword [rdi]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x14006c016
test byte [rdx + 0xb8], 1
je 0x14006c016
mov rax, qword [rbx]
lea rdx, str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___I64d__maxdownload___I64d__bytecount___I64d__nread___zd__n
mov qword [rsp + 0x38], r8
mov r8, r13
mov qword [rsp + 0x30], r9
mov r9, qword [r14 + 0x8af8]
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.140059720
sub qword [rdi + 0x498], r13
mov byte [rdi + 0x3e1], 1
jmp 0x14006c035
mov qword [rsp + 0x28], r9
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
mov r9, qword [rbx]
mov r8, r13
mov qword [rsp + 0x20], rcx
mov rcx, r14
call fcn.140059720
mov rax, qword [rbx + 0x10]
mov ecx, 0
sub rax, qword [rbx + 0x20]
cmovs rax, rcx
and dword [rbx + 0x138], 0xfffffffe
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rcx, r14
add qword [rbx + 0x20], rax
mov rdx, qword [rbx + 0x20]
call fcn.14006ea60
cmp byte [rbx + 0x160], 0
jne 0x14006c1ee
cmp qword [rbp - 0x18], 0
jne 0x14006c088
cmp dword [rbx + 0x4c], 0
jne 0x14006c08e
test r12b, r12b
je 0x14006c1ee
cmp dword [rbx + 0x4c], 0
je 0x14006c102
cmp byte [rbx + 0x13d], 0
jne 0x14006c102
mov r9, qword [rbx + 0x10]
cmp r9, 0xffffffffffffffff
je 0x14006c0cc
cmp qword [rbx + 0x60], r9
jle 0x14006c0cc
mov r8, qword [r14 + 0x978]
test r9, r9
jne 0x14006c0ea
or r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [r8 + r9], 0
jne 0x14006c0c0
jmp 0x14006c0ea
mov r9, qword [rbx + 0x60]
mov r8, qword [r14 + 0x978]
test r9, r9
jne 0x14006c0ea
or r9, 0xffffffffffffffff
inc r9
cmp byte [r8 + r9], 0
jne 0x14006c0e0
mov edx, 1
mov rcx, rdi
call fcn.140059c70
mov r15d, eax
test eax, eax
jne 0x14006c3be
cmp dword [rbx + 0x4c], 2
jge 0x14006c1e0
mov rax, qword [rdi]
cmp byte [rax + 0x599], 0
je 0x14006c11e
xor eax, eax
mov ecx, eax
jmp 0x14006c124
mov ecx, dword [rbx + 0xac]
test ecx, ecx
je 0x14006c184
sub ecx, 1
je 0x14006c16a
cmp ecx, 1
je 0x14006c14c
lea rdx, str.Unrecognized_content_encoding_type._libcurl_understands__identity___deflate_and__gzip_content_encodings.
mov rcx, r14
call fcn.140059810
mov r15d, 0x3d
jmp 0x14006c1e0
cmp byte [rbx + 0x13d], 0
jne 0x14006c1e0
mov r8, qword [rbp - 0x18]
mov rdx, rbx
mov rcx, rdi
call fcn.140094320
jmp 0x14006c1dd
cmp byte [rbx + 0x13d], 0
jne 0x14006c1e0
mov r8, qword [rbp - 0x18]
mov rdx, rbx
mov rcx, rdi
call fcn.140094150
jmp 0x14006c1dd
cmp byte [rbx + 0x13d], 0
jne 0x14006c1e0
mov rax, qword [rdi + 0x400]
mov r8, qword [rbp - 0x18]
test dword [rax + 0x74], 0xc000
je 0x14006c1af
mov rdx, qword [rbx + 0x68]
mov rcx, rdi
call fcn.140080b40
jmp 0x14006c1dd
mov rax, qword [rbx + 0x68]
test r8, r8
jne 0x14006c1ca
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006c1c0
mov r9, r8
mov edx, 1
mov r8, rax
mov rcx, rdi
call fcn.140059c70
mov r15d, eax
xor eax, eax
mov dword [rbx + 0x4c], eax
test r15d, r15d
jne 0x14006c3be
mov rax, qword [rdi + 0x400]
cmp qword [rax + 0x68], 0
je 0x14006c20e
test r13, r13
je 0x14006c20e
cmp byte [rdi + 0x3e1], 0
je 0x14006c3fc
test r12b, r12b
je 0x14006c21a
and dword [rbx + 0x138], 0xfffffffe
mov rax, qword [rdi + 0x400]
test byte [rax + 0x74], 0x30
jne 0x14006c267
mov rcx, qword [rdi + 0x2d0]
test rcx, rcx
je 0x14006bc9f
mov rax, qword [rcx + 8]
call qword [rax + 0xa0]
test eax, eax
jne 0x14006c267
mov rcx, qword [rdi + 0x320]
test rcx, rcx
je 0x14006bc9f
mov rax, qword [rcx + 8]
call qword [rax + 0xa0]
test eax, eax
je 0x14006bc9f
mov eax, esi
dec esi
mov dword [rbp - 0x20], esi
test eax, eax
je 0x14006bc9f
mov r12, qword [rbp + 0x58]
xor edx, edx
jmp 0x14006bb70
mov r8, qword [rbp - 0x18]
test r8, r8
jle 0x14006bc9f
mov rax, qword [rdi]
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x14006c2d0
test byte [rcx + 0xb8], 1
je 0x14006c2d0
mov r9, qword [r14 + 0x8af8]
lea rdx, str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
mov rcx, r14
call fcn.140059720
mov rax, qword [rbp - 0x18]
sub qword [rdi + 0x498], rax
mov byte [rdi + 0x3e1], 1
jmp 0x14006bc9f
mov r9, qword [r14 + 0x8af8]
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
mov r8, qword [rbp - 0x18]
mov rcx, r14
call fcn.140059720
jmp 0x14006bc9f
mov rax, qword [r14 + 0x8b10]
mov rcx, r14
cmp qword [rbx], rax
jne 0x14006c32d
lea rdx, str.The_entire_document_is_already_downloaded
call fcn.140059720
cmp byte [rdi + 0x3c9], 1
je 0x14006c31a
mov byte [rdi + 0x3c9], 1
mov rax, qword [rbp + 0x60]
and dword [rbx + 0x138], 0xfffffffe
mov byte [rax], 1
jmp 0x14006bcdf
lea rdx, str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
call fcn.140059810
mov eax, reloc.WLDAP32.dll_Ordinal_33
jmp 0x14006bce1
mov rax, qword [rbp + 0x60]
lea rdx, str.Simulate_a_HTTP_304_response__n
mov rcx, r14
mov dword [r14 + 0x8b98], 0x130
mov byte [rax], 1
call fcn.140059720
cmp byte [rdi + 0x3c9], 1
je 0x14006bcdf
mov byte [rdi + 0x3c9], 1
jmp 0x14006bcdf
cmp eax, 4
jne 0x14006c39b
lea rdx, str.Failed_writing_data
mov rcx, r14
call fcn.140059810
mov eax, reloc.WS2_32.dll_socket
jmp 0x14006bce1
mov ecx, eax
call fcn.140093e30
mov r8, rax
lea rdx, str._s_in_chunked_encoding
mov rcx, r14
call fcn.140059810
mov eax, Ordinal_60
jmp 0x14006bce1
mov eax, r15d
jmp 0x14006bce1
mov rax, qword [rdi + 0x400]
mov ecx, dword [rax + 0x78]
and ecx, 0x200
sete al
test ecx, ecx
jne 0x14006c3eb
cmp al, byte [rdi + 0x3c9]
je 0x14006c3eb
mov byte [rdi + 0x3c9], al
mov rax, qword [rbp + 0x60]
mov byte [rax], 1
mov eax, 8
jmp 0x14006bce1
mov rax, qword [rbp - 0x18]
lea r9, [rbp + 0x40]
add qword [rbx + 0x68], rax
lea r8, [rbp - 0x18]
mov rax, qword [rdi + 0x400]
mov rdx, rdi
mov rcx, r14
mov qword [rbp - 0x18], r13
call qword [rax + 0x68]
test eax, eax
jne 0x14006bce1
cmp byte [rbp + 0x40], al
je 0x14006bc9f
or dword [rbx + 0x138], 1
jmp 0x14006bc9f