Function at 0x14010ff80
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov rax, qword [0x1402ba030]
xor rax, rsp
mov qword [rbp - 9], rax
xor r15d, r15d
mov qword [rbp - 0x49], r9
mov rsi, rcx
mov qword [rbp - 0x69], r15
mov rcx, qword [rbp + 0x77]
mov rbx, r8
mov r13, rdx
mov qword [rbp - 0x61], rcx
mov rdx, qword [rbp + 0x7f]
add r8, 0xd9
mov rax, qword [rsi + 0xca8]
lea r10, [rsi + 0x18]
mov qword [rbp - 0x71], rax
lea r11, [rbx + 0x10]
mov byte [rcx], r15b
mov rax, r10
mov qword [rbp - 0x39], rdx
mov byte [rbp - 0x29], r15b
mov dword [rsp + 0x30], 0x64
mov byte [rdx], r15b
nop word [rax + rax]
mov edx, dword [rsi + 0x6c4]
mov rcx, rax
mov rax, qword [rbx]
mov r12, r11
mov qword [rsp + 0x38], r10
mov r14, r8
mov rdi, r11
mov r9d, edx
cmp rax, 0xffffffffffffffff
je 0x14011004e
cmp byte [r8], 0
lea r10, [rsi + 0x18]
mov qword [rsp + 0x38], r10
jne 0x14011004e
sub rax, qword [r11]
mov r10, rcx
mov qword [rsp + 0x38], rcx
cmp rax, rdx
jge 0x14011004e
lea r10, [rsi + 0x18]
mov r9, rax
mov qword [rsp + 0x38], r10
test r9, r9
je 0x1401100cc
mov r10, qword [r10]
xor ecx, ecx
mov r8, qword [rbp - 0x71]
mov dword [rbp - 0x21], gethostname
mov rax, qword [r10 + 0x1b0]
cmp qword [r13 + 0x348], rax
mov qword [rbp - 0x31], 0
sete cl
cmp r9, rdx
mov eax, ecx
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x20], rcx
cmovae r9, rdx
mov rcx, rsi
mov edx, eax
call qword [r10 + rax*8 + 0x1b8]
mov rcx, rax
test rax, rax
mov rax, qword [rbp - 0x31]
js 0x1401100b3
add rax, rcx
mov qword [rbp - 0x31], rax
xor r15d, r15d
jmp 0x1401100b7
mov r15d, dword [rbp - 0x21]
cmp r15d, 0x51
je 0x14011071f
test r15d, r15d
jg 0x1401108a5
jmp 0x1401100d2
xor eax, eax
mov qword [rbp - 0x31], rax
cmp qword [rdi], 0
jne 0x14011022e
cmp byte [0x1402bcc60], 0
je 0x14011011c
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x1402bcc58]
mov rax, qword [rbp - 0x19]
cqo
idiv r8
mov r9, rax
mov rax, qword [rbp - 0x19]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
mov r10, rax
jmp 0x140110140
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov r9d, edx
sub ecx, eax
imul r10d, ecx, 0x3e8
cmp byte [rsi + 0xc65], 0
lea r8, [rsi + 0xb50]
jne 0x1401101b2
mov byte [rsi + 0xc65], 1
test r8, r8
je 0x1401101b2
sub r9, qword [rsi + 0xb70]
movabs rax, 0x8637bd05af6
cmp r9, rax
jl 0x14011017e
movabs rdx, 0x7fffffffffffffff
jmp 0x1401101af
movabs rax, 0xfffff79c842fa50a
cmp r9, rax
jle 0x1401101aa
movsxd rax, dword [rsi + 0xb78]
imul rdx, r9, 0xf4240
sub rdx, rax
movsxd rax, r10d
add rdx, rax
cmp rdx, 1
jge 0x1401101af
mov edx, 1
add qword [r8], rdx
cmp dword [rbx + 0x88], 0
jle 0x14011022a
cmp byte [0x1402bcc60], 0
je 0x1401101f9
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x1402bcc58]
mov rax, qword [rbp - 0x11]
cqo
idiv r8
mov qword [rbp - 0x59], rax
mov rax, qword [rbp - 0x11]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x14011021f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
mov qword [rbp - 0x59], rax
imul eax, edx, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rbp - 0x51], eax
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbx + 0x78], xmm0
mov rax, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x49]
or dword [rcx], 1
test rax, rax
jne 0x140110247
cmp dword [rbx + 0xa0], eax
jne 0x140110247
mov dil, 1
jmp 0x14011024a
xor dil, dil
test rax, rax
jg 0x140110258
test dil, dil
je 0x140110727
mov rcx, qword [rbp - 0x71]
mov byte [rax + rcx], 0
mov qword [rbx + 0x60], rcx
mov rax, qword [r13 + 0x328]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x140110299
lea r9, [rbp - 0x29]
mov rdx, r13
lea r8, [rbp - 0x31]
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x1401108a5
cmp byte [rbp - 0x29], al
jne 0x140110865
cmp byte [r14], 0
mov qword [rbp - 0x21], r14
je 0x14011033f
lea r9, [rbp - 0x28]
mov byte [rbp - 0x28], 0
lea r8, [rbp - 0x31]
mov rdx, r13
mov rcx, rsi
call fcn.14011b770
mov r15d, eax
test eax, eax
jne 0x1401108a5
mov rax, qword [r13 + 0x328]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x14011030e
cmp qword [rbx + 8], 0
jg 0x14011030e
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jle 0x140110312
lea r9, [rbp - 0x29]
mov rdx, r13
lea r8, [rbp - 0x31]
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x1401108a5
cmp byte [rbp - 0x29], al
jne 0x140110865
mov rcx, qword [rbp - 0x31]
cmp byte [rbp - 0x28], 0
je 0x140110343
test rcx, rcx
jle 0x140110865
mov r9, qword [rsi + 0x11a8]
lea rdx, str.Excess_found:_excess___zd_url___s__zero_length_body_
mov r8, rcx
mov rcx, rsi
call fcn.140106050
jmp 0x140110865
mov rcx, qword [rbp - 0x31]
cmp byte [r14], 0
jne 0x140110600
test rcx, rcx
jg 0x14011035b
test dil, dil
je 0x140110600
cmp byte [rsi + 0x1cb], 0
jne 0x1401107c0
cmp dword [rbx + 0xa0], 0
jne 0x1401103b3
test dil, dil
jne 0x1401103b3
mov rax, qword [r13 + 0x328]
test dword [rax + 0x84], 0xc0040003
je 0x1401103b3
mov r14, qword [rbp - 0x61]
mov rdx, r13
mov r8, r14
mov rcx, rsi
call fcn.1401192c0
mov r15d, eax
test eax, eax
jne 0x1401108a5
cmp byte [r14], al
jne 0x1401108a5
mov rcx, qword [rbp - 0x31]
inc dword [rbx + 0xa0]
cmp byte [rsi + 0xaa7], 0
je 0x140110407
cmp dword [rbx + 0x58], 0
mov edx, 3
je 0x1401103f4
mov r9, qword [rsi + 0xc90]
mov rcx, rsi
mov r8, qword [rsi + 0xc88]
call fcn.140105dd0
cmp dword [rbx + 0x58], 1
jne 0x140110403
mov r9, qword [rbp - 0x31]
mov edx, 3
jmp 0x1401103f7
mov r9, rcx
mov r8, qword [rbx + 0x60]
mov rcx, rsi
call fcn.140105dd0
mov rcx, qword [rbp - 0x31]
cmp byte [rbx + 0xde], 0
je 0x140110459
mov rdx, qword [rbx + 0x60]
lea rax, [rbp - 0x79]
mov r8, rcx
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r9, [rbp - 0x31]
call fcn.140143110
test eax, eax
jg 0x140110730
cmp eax, 0xffffffff
jne 0x140110455
and dword [rbx + 0x74], 0xfffffffe
mov r8, qword [r13 + 0x18]
test r8, r8
je 0x140110455
lea rdx, str.Leftovers_after_chunking:___I64du_bytes
mov rcx, rsi
call fcn.140106050
mov rcx, qword [rbp - 0x31]
cmp dword [rbx + 0x58], 1
jne 0x140110473
cmp byte [rbx + 0xdc], 0
jne 0x140110473
mov rax, qword [rsi + 0xc90]
add qword [r12], rax
mov rdx, qword [rbx + 8]
cmp rdx, 0xffffffffffffffff
je 0x1401104eb
mov r8, qword [r12]
lea rax, [r8 + rcx]
cmp rax, rdx
jl 0x1401104eb
mov rax, r8
sub rax, rdx
add rax, rcx
mov qword [rbp - 0x69], rax
je 0x1401104d3
cmp byte [rbx + 0xdc], 0
jne 0x1401104d3
mov r9, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x28], r8
mov r8, rax
mov qword [rsp + 0x20], rdx
lea rdx, str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
call fcn.140106050
cmp byte [r13 + 0x30e], 1
je 0x1401104d3
mov byte [r13 + 0x30e], 1
mov rcx, qword [rbx + 8]
sub rcx, qword [r12]
mov qword [rbp - 0x31], rcx
jns 0x1401104e7
xor ecx, ecx
mov qword [rbp - 0x31], rcx
and dword [rbx + 0x74], 0xfffffffe
add qword [r12], rcx
mov rax, qword [r12]
mov qword [rsi + 0xaf8], rax
cmp byte [rbx + 0xde], 0
jne 0x140110600
test rcx, rcx
jne 0x14011051a
cmp dword [rbx + 0x58], ecx
jne 0x140110520
test dil, dil
je 0x140110600
cmp dword [rbx + 0x58], 0
je 0x140110565
cmp byte [rbx + 0xdc], 0
jne 0x140110565
mov r9, qword [rbx + 8]
mov rax, qword [rsi + 0xc90]
cmp r9, 0xffffffffffffffff
je 0x14011053f
cmp rax, r9
jg 0x140110542
mov r9, rax
mov r8, qword [rsi + 0xc88]
mov edx, 1
mov rcx, rsi
call fcn.1400f7ff0
mov r15d, eax
test eax, eax
jne 0x1401108a5
mov rcx, qword [rbp - 0x31]
cmp dword [rbx + 0x58], 2
jge 0x1401105f0
cmp byte [rsi + 0xaaf], 0
jne 0x1401105a4
mov rdx, qword [rbx + 0x90]
test rdx, rdx
je 0x1401105a4
cmp byte [rbx + 0xdc], 0
jne 0x1401105f0
test rcx, rcx
je 0x1401105f0
mov rax, qword [rdx]
mov r9, rcx
mov r8, qword [rbx + 0x60]
mov rcx, rsi
call qword [rax + Ordinal_26]
jmp 0x1401105e9
cmp byte [rbx + 0xdc], 0
jne 0x1401105f0
test rcx, rcx
je 0x1401105f0
mov rax, qword [r13 + 0x328]
mov rdx, qword [rbx + 0x60]
test dword [rax + 0x84], 0xc000
je 0x1401105d6
mov r8, rcx
mov rcx, rsi
call fcn.140133580
jmp 0x1401105e9
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rsi
call fcn.1400f7ff0
mov rcx, qword [rbp - 0x31]
mov r15d, eax
mov dword [rbx + 0x58], 0
test r15d, r15d
jne 0x1401108a5
mov rax, qword [r13 + 0x328]
cmp qword [rax + 0x68], 0
je 0x14011061b
mov r9, qword [rbp - 0x69]
test r9, r9
jne 0x14011080d
test dil, dil
je 0x140110624
and dword [rbx + 0x74], 0xfffffffe
mov eax, dword [rbx + 0x74]
test al, 0x10
jne 0x140110865
test al, 1
je 0x140110865
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x328]
mov edx, dword [rax + 0x84]
test dl, 0xc
je 0x140110698
cmp qword [rcx + 0x208], 0
je 0x140110679
cmp qword [rcx + 0x210], 0
je 0x140110679
mov rax, qword [rcx + 0x220]
cmp qword [rcx + 0x218], rax
jbe 0x140110679
mov al, 1
jmp 0x1401106ee
mov rcx, qword [rcx + 0x1e0]
test rcx, rcx
je 0x140110694
cmp byte [rcx + 0x24], 0
jne 0x1401106e5
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140110685
xor al, al
jmp 0x1401106ee
test dl, 0x30
jne 0x1401106f6
cmp qword [rcx + 0x1e8], 0
je 0x1401106c1
cmp qword [rcx + 0x1f0], 0
je 0x1401106c1
mov rax, qword [rcx + 0x200]
cmp qword [rcx + 0x1f8], rax
ja 0x1401106f6
mov rcx, qword [rcx + 0x1d8]
test rcx, rcx
je 0x140110865
cmp byte [rcx + 0x24], 0
jne 0x1401106e5
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1401106d1
jmp 0x140110865
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + gethostname]
test al, al
je 0x140110865
mov ecx, dword [rsp + 0x30]
mov eax, ecx
dec ecx
mov dword [rsp + 0x30], ecx
test eax, eax
je 0x140110865
mov r8, qword [rbp - 0x21]
lea r10, [rsi + 0x18]
mov rax, qword [rsp + 0x38]
mov r11, r12
jmp 0x140110000
xor r15d, r15d
jmp 0x140110865
and dword [rbx + 0x74], 0xfffffffe
jmp 0x140110865
cmp eax, 6
jne 0x14011074d
lea rdx, str.Failed_reading_the_chunked_encoded_stream
mov rcx, rsi
call fcn.140105f20
mov r15d, dword [rbp - 0x79]
jmp 0x1401108a5
dec eax
cmp eax, 5
ja case.default.0x140110767
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x1108c8]
add rcx, rdx
jmp rcx
lea r8, str.Too_long_hexadecimal_number
jmp 0x1401107a6
lea r8, str.Illegal_or_missing_hexadecimal_sequence
jmp 0x1401107a6
lea r8, str.Malformed_encoding_found
jmp 0x1401107a6
lea r8, [0x1401fe219]
jmp 0x1401107a6
lea r8, str.Bad_content_encoding_found
jmp 0x1401107a6
lea r8, str.Out_of_memory
jmp 0x1401107a6
lea r8, [0x140294d28]
lea rdx, str._s_in_chunked_encoding
mov rcx, rsi
call fcn.140105f20
mov r15d, gethostname
jmp 0x1401108a5
mov rcx, qword [r13 + 0x1d8]
test rcx, rcx
je 0x1401107e9
nop dword [rax]
mov rax, qword [rcx]
mov edx, dword [rax + 8]
test dl, 4
jne 0x1401107fb
test dl, 3
jne 0x1401107e9
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1401107d0
mov al, 1
cmp al, byte [r13 + 0x30e]
je 0x1401107fb
mov byte [r13 + 0x30e], al
mov rcx, qword [rbp - 0x61]
mov r15d, 8
mov byte [rcx], 1
jmp 0x1401108a5
mov rdx, qword [rbx + 0x60]
mov r11, qword [rbp - 0x71]
add rdx, rcx
mov qword [rbx + 0x60], rdx
mov r8d, dword [rsi + 0x6c4]
lea rax, [rdx + r9]
lea rcx, [r8 + r11]
cmp rax, rcx
jbe 0x140110839
mov r9d, r8d
sub r9, rdx
add r9, r11
mov rax, qword [r13 + 0x328]
lea r8, [rbp - 0x31]
mov qword [rbp - 0x31], r9
mov rdx, r13
lea r9, [rbp - 0x29]
mov rcx, rsi
call qword [rax + 0x68]
mov r15d, eax
test eax, eax
jne 0x1401108a5
cmp byte [rbp - 0x29], al
je 0x140110865
or dword [rbx + 0x74], 1
mov eax, dword [rsp + 0x30]
test eax, eax
jg 0x14011087f
mov rax, qword [rbp - 0x39]
mov dword [r13 + 0x71c], 1
mov byte [rax], 1
mov eax, dword [rbx + 0x74]
and al, 3
cmp al, 2
jne 0x1401108a5
cmp byte [r13 + 0x30e], 0
je 0x1401108a5
lea rdx, str.we_are_done_reading_and_this_is_set_to_close__stop_send
mov rcx, rsi
call fcn.140106050
and dword [rbx + 0x74], 0xfffffffd
mov eax, r15d
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401526c0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret