Function at 0x1400d6480
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebp, dword [rcx + 0xae8]
mov dword [rcx + 0xae8], 0
mov eax, dword [rdx + 0x1b8]
mov edx, eax
and edx, 0x15
mov r8, 0xffffffffffffffff
mov rcx, 0xffffffffffffffff
cmp edx, 1
jne 0x1400d64e6
mov rcx, qword [rbx + 0x6c8]
and eax, 0x2a
cmp eax, 2
jne 0x1400d64f5
mov r8, qword [rbx + 0x6d0]
mov rax, qword [rbx]
xor edx, edx
cmp qword [rax + 0x1510], 0
setne dl
or ebp, edx
jne 0x1400d651a
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call fcn.1400d8a90
mov ebp, eax
cmp ebp, 4
je 0x1400d655f
mov eax, dword [rsi + 0x1b8]
mov ecx, ebp
and ecx, eax
test cl, 1
je 0x1400d67e6
xor eax, eax
lea rcx, [rsp + 0x77]
mov byte [rcx], al
mov qword [rsp + 0x48], r12
mov byte [r12], al
mov qword [rsp + 0x58], rdi
mov byte [rdi], al
mov r12d, 0x64
xor r14d, r14d
xor r13d, r13d
xor r15d, r15d
jmp 0x1400d6f4d
lea rdx, str.select_poll_returned_error
mov rcx, rsi
call fcn.1400b8d80
mov edi, 0x37
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x1400d658d
call fcn.14019f290
int3
mov eax, edi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi + 0x1d0], rax
add qword [rsi + 0x1d8], rdi
mov r14d, 1
cmp byte [0x1402cc640], 1
je 0x1400d65e3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1400d661c
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov r8, qword [0x1402cc648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
mov edx, eax
movabs r8, 0xaaaaaaaa00000000
or rdx, r8
mov qword [rsi + 0x128], rcx
mov qword [rsi + 0x130], rdx
test r14d, r14d
je 0x1400d667d
mov rcx, rbx
call fcn.1400c3790
mov edi, Ordinal_46
test eax, eax
jne 0x1400d6573
lea r14, [rsi + 0x128]
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x60]
movaps xmmword [rdx], xmm0
mov rcx, rsi
call fcn.1400d3460
test eax, eax
je 0x1400d7582
mov edi, eax
jmp 0x1400d6573
cmp dword [rsi + 0x190], 1
jne 0x1400d663e
sub rcx, qword [rsi + 0x180]
movabs rdx, 0x20c49ba5e353f6
cmp rcx, rdx
jg 0x1400d66e3
movabs rdx, 0xffdf3b645a1cac0a
cmp rcx, rdx
jl 0x1400d663e
imul rcx, rcx, 0x3e8
sub eax, dword [rsi + 0x188]
cdqe
imul rax, rax, 0x10624dd3
mov rdx, rax
shr rdx, 0x3f
sar rax, 0x26
add eax, edx
cdqe
add rax, rcx
movsxd rcx, dword [rsi + 0xea0]
cmp rax, rcx
jl 0x1400d663e
mov dword [rsi + 0x190], 0
or byte [rsi + 0x1b8], 2
mov rdx, qword [rsi + 0x1278]
test rdx, rdx
je 0x1400d6723
lea rcx, [rsi + 0x1278]
mov rax, qword [rdx]
cmp dword [rax + 0x28], 0
je 0x1400d671b
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1400d6707
jmp 0x1400d6723
xor r8d, r8d
call fcn.1400d1ca0
lea rdx, str.Done_waiting_for_100_continue_n
mov rcx, rsi
call fcn.1400b8a80
jmp 0x1400d663e
mov eax, dword [rsi + 0x1b8]
and eax, 0xfffffffe
mov dword [rsi + 0x1b8], eax
mov r14d, 1
test r12d, r12d
jg 0x1400d6763
mov dword [rbx + 0xae8], 1
mov rax, qword [rsp + 0x58]
mov byte [rax], 1
mov eax, dword [rsi + 0x1b8]
and eax, 3
cmp eax, 2
jne 0x1400d6797
cmp byte [rbx + 0x654], 1
mov r12, qword [rsp + 0x48]
jne 0x1400d679c
lea rdx, str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
mov rcx, rsi
call fcn.1400b8a80
and byte [rsi + 0x1b8], 0xfd
jmp 0x1400d679c
mov r12, qword [rsp + 0x48]
xor edi, edi
cmp byte [r12], 0
jne 0x1400d6573
mov eax, dword [rsi + 0x1b8]
jmp 0x1400d67e9
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x1400d656e
cmp edi, 0x51
jne 0x1400d6573
xor edi, edi
jmp 0x1400d685c
cmp qword [rsi + 0x100], 0
jne 0x1400d67ff
mov rcx, rsi
mov edx, 7
call fcn.1400c42c0
jmp 0x1400d67ff
xor r14d, r14d
and ebp, eax
test bpl, 2
je 0x1400d65b7
cmp qword [rsi + 0xf8], 0
je 0x1400d67cd
cmp qword [rsi + 0x1d0], 0
je 0x1400d6a72
mov r9, qword [rsi + 0x1d0]
mov r8, qword [rsi + 0x1d8]
mov rax, qword [rbx + 0x6d0]
lea r15, [rsp + 0x60]
mov dword [r15], 0
xor edx, edx
cmp rax, qword [rbx + 0x4c8]
sete dl
mov rax, qword [rbx + rdx*8 + 0x4f8]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [0x1402a7b00]
mov rdi, rax
test rax, rax
js 0x1400d67b1
mov r14, qword [rbx + 0x6d0]
mov eax, 0xaaaaaaaa
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x78]
mov dword [rcx], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x28], 4
mov rcx, r14
mov edx, 0x4004747b
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x1400d68c6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x60]
mov rcx, r14
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp byte [rsi + 0xf1e], 1
jne 0x1400d694d
mov rax, qword [rsi + 0x718]
test rax, rax
je 0x1400d694d
mov r8, qword [rsi + 0x1d8]
test rsi, rsi
je 0x1400d6a00
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
jne 0x1400d6903
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x1400d6911
mov byte [rcx + 0x18a], 1
mov rax, qword [rsi + 0x718]
mov rcx, qword [rsi + 0x670]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov edx, 4
mov r9, rdi
call qword [0x1402a7b00]
mov rax, qword [rsi + 0xd8]
test rax, rax
jne 0x1400d6946
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x1400d694d
mov byte [rax + 0x18a], 0
mov rax, qword [rsi + 0x100]
add rax, rdi
mov qword [rsi + 0x100], rax
mov qword [rsi + 0xf90], rax
cmp byte [rsi + 0x65e], 1
jne 0x1400d6977
cmp byte [rsi + 0x660], 1
jne 0x1400d6996
cmp rax, qword [rsi + 0x1508]
jne 0x1400d6996
mov byte [rsi + 0x65a], 1
lea rdx, str.We_are_completely_uploaded_and_fine_n
mov rcx, rsi
call fcn.1400b8a80
mov rax, qword [rsi + 0x1d0]
sub rax, rdi
jne 0x1400d65a3
mov rax, qword [rsi + 0x1130]
test rax, rax
je 0x1400d6a22
mov qword [rsi + 0x1d8], rax
mov qword [rsi + 0x1d0], 0
mov r14d, 1
cmp byte [rsi + 0x65a], 1
jne 0x1400d65b7
and byte [rsi + 0x1b8], 0xfd
cmp byte [rbx + 0x665], 1
jne 0x1400d65b7
mov rcx, rbx
call fcn.1400d61e0
test eax, eax
jne 0x1400d6676
jmp 0x1400d65b7
mov rcx, qword [0x670]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, 4
mov r9, rdi
call qword [0x1402a7b00]
jmp 0x1400d694d
mov rax, qword [fcn.14009ead0]
mov rcx, qword [rsi + 0xb78]
call qword [0x1402a7b00]
mov qword [rsi + 0x1130], rax
test rax, rax
jne 0x1400d69b2
jmp 0x1400d6a68
mov rax, qword [fcn.14009ead0]
mov rcx, qword [rsi + 0xb78]
call qword [0x1402a7b00]
mov qword [rsi + 0x1130], rax
test rax, rax
jne 0x1400d6a7e
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400d6573
mov rax, qword [rsi + 0x1130]
test rax, rax
je 0x1400d6a48
mov qword [rsi + 0x1d8], rax
cmp byte [rsi + 0x65a], 0
jne 0x1400d6b39
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rax
mov rcx, qword [rsi + 0x1e0]
cmp dword [rsi + 0x190], 2
jne 0x1400d6abe
cmp dword [rcx + 0x210], 2
je 0x1400d6b69
mov rax, qword [rbx + 0x698]
test dword [rax + 0x7c], 0x40003
je 0x1400d6b35
cmp dword [rcx + 0x210], 1
sete bpl
mov rdx, qword [rsi + 0xb78]
lea r8, [rsp + 0x78]
mov rcx, rbx
call fcn.1400d5b40
test eax, eax
jne 0x1400d6676
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1400d6b39
jle 0x1400d6b61
mov qword [rsi + 0x1d0], rdi
test bpl, bpl
jne 0x1400d6c2a
cmp byte [rsi + 0xf06], 1
jne 0x1400d6c2a
cmp qword [rsi + 0x11a8], 0
je 0x1400d7870
xor eax, eax
xor ecx, ecx
jmp 0x1400d6c68
xor ebp, ebp
jmp 0x1400d6ad9
mov eax, dword [rsi + 0x1b8]
mov r14d, 1
test al, 0x20
jne 0x1400d65b7
and eax, 0xfffffffd
mov dword [rsi + 0x1b8], eax
mov r14d, 1
jmp 0x1400d69de
mov eax, dword [rsi + 0x1b8]
jmp 0x1400d6b4d
mov dword [rsi + 0x190], 1
and byte [rsi + 0x1b8], 0xfd
cmp byte [0x1402cc640], 1
je 0x1400d6ba6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1400d6bd5
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov r8, qword [0x1402cc648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
mov eax, eax
movabs rdx, 0xaaaaaaaa00000000
or rax, rdx
mov qword [rsi + 0x180], rcx
mov qword [rsi + 0x188], rax
and r14d, 0xfffffffd
movsxd rdx, dword [rsi + 0xea0]
mov rcx, rsi
xor r8d, r8d
call fcn.1400b9ee0
jmp 0x1400d65b7
cmp rcx, rdi
je 0x1400d6c2a
mov rax, qword [rsi + 0x11a8]
mov qword [rsi + 0x1d8], rax
mov qword [rsi + 0x1d0], rcx
mov rdi, rcx
mov rax, qword [rbx + 0x698]
test byte [rax + 0x7e], 3
je 0x1400d680d
mov rcx, rbx
mov rdx, rdi
call fcn.1400f2600
test eax, eax
jne 0x1400d6676
jmp 0x1400d680d
mov byte [r8 + rcx], dl
mov rdx, rcx
inc rax
mov rcx, rdx
inc rcx
cmp rdi, rax
je 0x1400d6c0d
mov rdx, qword [rsi + 0x1d8]
mov dl, byte [rdx + rax]
mov r8, qword [rsi + 0x11a8]
cmp dl, 0xa
jne 0x1400d6c53
lea rdx, [rcx + 1]
mov byte [r8 + rcx], Ordinal_14
mov r8, qword [rsi + 0x11a8]
mov byte [r8 + rcx + 1], 0xa
cmp byte [rsi + 0xf06], 0
jne 0x1400d6c5a
mov rcx, qword [rsi + 0x1508]
cmp rcx, 0xffffffffffffffff
je 0x1400d6c5a
inc rcx
mov qword [rsi + 0x1508], rcx
jmp 0x1400d6c5a
mov rax, qword [rsi + 0x150]
lea r8, [rsp + 0x78]
add rax, qword [r8]
mov qword [rsi + 0x150], rax
movsxd rcx, dword [rsi + 0xb70]
add rcx, qword [rsi + 0x1b0]
mov rdx, rcx
sub rdx, rax
add rax, r13
cmp rax, rcx
cmovbe rdx, r13
mov qword [r8], rdx
mov rax, qword [rbx + 0x698]
mov rax, qword [rax + 0x68]
lea r9, [rsp + 0x77]
mov rcx, rsi
mov rdx, rbx
call qword [0x1402a7b00]
test eax, eax
jne 0x1400d6676
mov r14d, 1
cmp byte [rsp + 0x77], 1
jne 0x1400d674c
mov eax, dword [rsi + 0x1b8]
or eax, 1
jmp 0x1400d6740
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1400d6dac
mov rcx, rsi
mov edx, 7
call fcn.1400c42c0
cmp dword [rsi + 0x190], 0
jle 0x1400d6de5
cmp byte [0x1402cc640], 1
jne 0x1400d6d30
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
mov r8, qword [0x1402cc648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
mov eax, eax
movabs rdx, 0xaaaaaaaa00000000
or rax, rdx
mov qword [rsi + 0x180], rcx
mov qword [rsi + 0x188], rax
jmp 0x1400d6de5
mov qword [rsp + 0x78], 0
mov edi, r15d
cmp qword [rsi + 0xf8], 0
je 0x1400d6d53
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400d6e98
xor r14d, r14d
test rax, rax
setg cl
or cl, r14b
test cl, 1
je 0x1400d6737
mov rcx, qword [rsi + 0x1b0]
mov byte [rcx + rax], 0
mov rax, qword [rsi + 0x1b0]
mov qword [rsi + 0x150], rax
mov rax, qword [rbx + 0x698]
mov rax, qword [rax + 0x68]
test rax, rax
je 0x1400d6e5c
mov rcx, rsi
mov rdx, rbx
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x77]
call qword [0x1402a7b00]
test eax, eax
jne 0x1400d6676
xor edi, edi
cmp byte [rsp + 0x77], 0
jne 0x1400d6746
cmp byte [rsi + 0x658], 1
mov r15d, edi
jne 0x1400d6eab
mov byte [rsp + 0x60], 0
mov rcx, rsi
mov rdx, rbx
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x60]
call fcn.1400de490
mov edi, 1
test eax, eax
je 0x1400d7003
mov r15d, eax
mov dword [rsp + 0x54], eax
jmp 0x1400d6f03
cmp dword [rsi + 0x1a8], 0
sete r14b
jmp 0x1400d6df6
xor r15d, r15d
cmp qword [rsi + 0x150], 0
je 0x1400d6ed2
cmp byte [rsi + 0x658], 0
jne 0x1400d6ed2
cmp qword [rsp + 0x78], 0
setg al
or al, r14b
test al, 1
jne 0x1400d7110
mov rax, qword [rbx + 0x698]
cmp qword [rax + 0x68], 0
je 0x1400d6ee9
test r13, r13
jne 0x1400d6cb6
mov edi, dword [rsi + 0x1b8]
test r14b, r14b
je 0x1400d6efd
and edi, 0xfffffffe
mov dword [rsi + 0x1b8], edi
shr edi, 3
and edi, 2
mov r14d, 1
test edi, edi
jne 0x1400d7093
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx + 0x698]
test byte [rax + 0x7c], 0x30
jne 0x1400d6f3d
mov rax, qword [str.Xo__]
mov rax, qword [rax + 0x48]
xor edx, edx
call qword [0x1402a7b00]
test al, al
je 0x1400d674c
mov r14d, 1
add r12d, 0xffffffff
jae 0x1400d6751
movsxd rax, dword [rsi + 0xb70]
mov rcx, qword [rsi + 0xe8]
cmp rcx, 0xffffffffffffffff
je 0x1400d6f78
cmp byte [rsi + 0x658], 0
jne 0x1400d6f78
sub rcx, qword [rsi + 0xf8]
cmp rcx, rax
cmovl rax, rcx
test rax, rax
je 0x1400d6dcb
mov r8, qword [rsi + 0x1b0]
mov rcx, qword [rbx + 0x6c8]
mov dword [rsp + 0x60], 0x38
xor edx, edx
cmp rcx, qword [rbx + 0x4c8]
mov rcx, qword [rbx]
sete dl
mov qword [rsp + 0x78], 0
movsxd r9, dword [rcx + 0xb70]
cmp rax, r9
cmovb r9, rax
mov rax, qword [rbx + rdx*8 + 0x4e8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [0x1402a7b00]
test rax, rax
js 0x1400d6fe9
add qword [rsp + 0x78], rax
xor edi, edi
jmp 0x1400d6dd7
mov edi, dword [rsp + 0x60]
cmp edi, 0x51
je 0x1400d674c
test edi, edi
jle 0x1400d6dd7
jmp 0x1400d6573
mov rax, qword [rbx + 0x698]
mov rax, qword [rax + 0x68]
test rax, rax
je 0x1400d704a
cmp qword [rsi + 0xf0], 0
jg 0x1400d704a
cmp qword [rsp + 0x78], 0
jle 0x1400d704a
mov rcx, rsi
mov rdx, rbx
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x77]
call qword [0x1402a7b00]
test eax, eax
jne 0x1400d6e8f
cmp byte [rsp + 0x77], 0
jne 0x1400d7086
cmp byte [rsp + 0x60], 1
jne 0x1400d6ea8
mov r8, qword [rsp + 0x78]
mov edi, 2
xor r15d, r15d
test r8, r8
jle 0x1400d6f03
mov r9, qword [rsi + 0x1570]
mov rcx, rsi
lea rdx, str.Excess_found:_excess___zd_url___s__zero_length_body__n
call fcn.1400b8a80
jmp 0x1400d6f03
mov edi, 2
xor r15d, r15d
jmp 0x1400d6f03
cmp edi, 2
je 0x1400d674c
mov r12, qword [rsp + 0x48]
mov eax, dword [rsp + 0x54]
mov edi, eax
test eax, eax
jne 0x1400d6573
mov r14d, 1
jmp 0x1400d679c
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x1400d71b2
mov rdx, qword [rsi + 0xa00]
test rdx, rdx
je 0x1400d71b2
cmp eax, 2
jne 0x1400d77af
cmp rcx, rdx
jl 0x1400d71b2
jmp 0x1400d77c1
mov rcx, qword [0x670]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, 3
call qword [0x1402a7b00]
jmp 0x1400d7254
cmp byte [rsi + 0xf1c], 1
je 0x1400d7550
cmp dword [rsi + 0x1a8], 0
setne al
or al, r14b
test al, 1
jne 0x1400d71b2
mov rax, qword [rbx + 0x698]
test dword [rax + 0x7c], 0x40003
je 0x1400d71b2
cmp qword [rsi + 0x1c8], 0
je 0x1400d716f
cmp byte [rbx + 0x654], 1
je 0x1400d785a
mov byte [rsi + 0x65b], 1
mov rcx, rsi
lea rdx, str.Ignoring_the_response_body_n
call fcn.1400b8a80
mov rax, qword [rsi + 0x14f0]
test rax, rax
je 0x1400d719a
cmp byte [rsi + 0x659], 0
jne 0x1400d719a
cmp dword [rsi + 0xa08], 1
jne 0x1400d719a
cmp byte [rsi + 0x65b], 0
je 0x1400d7819
mov eax, dword [rsi + 0x9f8]
test eax, eax
je 0x1400d71b2
cmp qword [rsi + 0x14e8], 0
je 0x1400d70ba
inc dword [rsi + 0x1a8]
cmp byte [rsi + 0xf1e], 1
jne 0x1400d72e1
cmp dword [rsi + 0x138], 0
mov rax, qword [rsi + 0x718]
je 0x1400d7268
test rax, rax
je 0x1400d7254
mov r9, qword [rsi + 0x148]
mov r8, qword [rsi + 0x1118]
test rsi, rsi
je 0x1400d70f1
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
jne 0x1400d720d
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x1400d721b
mov byte [rcx + 0x18a], 1
mov rax, qword [rsi + 0x718]
mov rcx, qword [rsi + 0x670]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov edx, 3
call qword [0x1402a7b00]
mov rax, qword [rsi + 0xd8]
test rax, rax
jne 0x1400d724d
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x1400d7254
mov byte [rax + 0x18a], 0
cmp dword [rsi + 0x138], 1
jne 0x1400d72e1
mov rax, qword [rsi + 0x718]
test rax, rax
je 0x1400d72e1
mov r9, qword [rsp + 0x78]
mov r8, qword [rsi + 0x150]
test rsi, rsi
je 0x1400d736d
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
jne 0x1400d729a
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x1400d72a8
mov byte [rcx + 0x18a], 1
mov rax, qword [rsi + 0x718]
mov rcx, qword [rsi + 0x670]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov edx, 3
call qword [0x1402a7b00]
mov rax, qword [rsi + 0xd8]
test rax, rax
jne 0x1400d72da
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x1400d72e1
mov byte [rax + 0x18a], 0
cmp byte [rsi + 0x65d], 1
jne 0x1400d7344
mov dword [rsp + 0x60], 0xaaaaaaaa
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsi + 0x150]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea r9, [rsp + 0x78]
call fcn.1400ceee0
test eax, eax
jg 0x1400d7729
cmp eax, 0xffffffff
jne 0x1400d7344
and byte [rsi + 0x1b8], 0xfe
mov r8, qword [rbx + 0x2b8]
test r8, r8
je 0x1400d7344
mov rcx, qword [rbx]
lea rdx, str.Leftovers_after_chunking:__zu_bytes_n
call fcn.1400b8a80
cmp dword [rsi + 0x138], 1
jne 0x1400d738c
mov rcx, qword [rsi + 0xf8]
cmp byte [rsi + 0x65b], 0
jne 0x1400d7393
add rcx, qword [rsi + 0x148]
mov qword [rsi + 0xf8], rcx
jmp 0x1400d7393
mov rcx, qword [0x670]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, 3
call qword [0x1402a7b00]
jmp 0x1400d72e1
mov rcx, qword [rsi + 0xf8]
mov rax, qword [rsi + 0xf0]
mov rdx, qword [rsp + 0x78]
cmp rax, 0xffffffffffffffff
je 0x1400d7413
mov r8, r13
lea r13, [rdx + rcx]
sub r13, rax
jl 0x1400d740e
je 0x1400d73ed
cmp byte [rsi + 0x65b], 0
jne 0x1400d73ed
mov r9, qword [rsi + 0xe8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea rdx, str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
mov r8, r13
call fcn.1400b8a80
mov rax, qword [rsi + 0xf0]
mov rcx, qword [rsi + 0xf8]
mov rdx, rax
sub rdx, rcx
test rdx, rdx
mov r8d, 0
cmovle rdx, r8
mov qword [rsp + 0x78], rdx
and byte [rsi + 0x1b8], 0xfe
jmp 0x1400d741a
mov r13, r8
jmp 0x1400d741a
mov rax, 0xffffffffffffffff
add rcx, rdx
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0xf88], rcx
cmp byte [rsi + 0x65d], 0
jne 0x1400d6ed2
test rdx, rdx
setne dl
mov ecx, dword [rsi + 0x138]
test ecx, ecx
setne r8b
or r8b, dl
or r8b, r14b
test r8b, 1
je 0x1400d6ed2
test ecx, ecx
je 0x1400d74aa
cmp byte [rsi + 0x65b], 0
jne 0x1400d74a5
mov rcx, qword [rsi + 0x148]
cmp rcx, rax
mov r9, rax
cmovl r9, rcx
cmp rax, 0xffffffffffffffff
cmove r9, rcx
mov r8, qword [rsi + 0x1118]
mov rcx, rbx
mov edx, 1
call fcn.1400b94e0
test eax, eax
jne 0x1400d6676
mov ecx, dword [rsi + 0x138]
xor r15d, r15d
cmp ecx, 1
jg 0x1400d7527
mov rax, qword [rbx]
cmp byte [rax + 0xf27], 1
je 0x1400d74f3
mov rdx, qword [rsi + 0x198]
mov al, byte [rsi + 0x65b]
test rdx, rdx
je 0x1400d74f9
test al, 1
jne 0x1400d7527
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x1400d7717
mov r8, qword [rsi + 0x150]
mov rax, qword [rdx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [0x1402a7b00]
jmp 0x1400d7524
mov al, byte [rsi + 0x65b]
test al, 1
jne 0x1400d7527
mov rax, qword [rbx + 0x698]
test byte [rax + 0x7d], 0xc0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsi + 0x150]
mov rcx, rbx
je 0x1400d7544
mov rdx, r8
mov r8, r9
call fcn.1400eede0
mov r15d, eax
mov edi, r15d
mov dword [rsi + 0x138], 0
xor r15d, r15d
test edi, edi
je 0x1400d6ed2
jmp 0x1400d6573
mov edx, 1
call fcn.1400b94e0
jmp 0x1400d7524
mov rax, qword [rbx + 0x698]
test byte [rax + 0x81], 2
jne 0x1400d7570
cmp byte [rbx + 0x654], 0
jne 0x1400d7570
mov byte [rbx + 0x654], 1
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
mov edi, 8
jmp 0x1400d6573
cmp dword [rsi + 0x1b8], 0
je 0x1400d75b5
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.1400bdc30
test rax, rax
js 0x1400d762c
test byte [rsi + 0x1b8], 0x33
sete byte [r12]
xor edi, edi
jmp 0x1400d6573
cmp byte [rsi + 0xf1c], 0
jne 0x1400d75f0
mov r8, qword [rsi + 0xe8]
cmp r8, 0xffffffffffffffff
je 0x1400d75de
sub r8, qword [rsi + 0xf8]
je 0x1400d75de
cmp qword [rsi + 0x1c8], 0
je 0x1400d7602
cmp byte [rsi + 0x65d], 1
jne 0x1400d75f0
cmp dword [rbx + 0x2a8], 4
jne 0x1400d7613
mov rcx, rbx
call fcn.1400c3790
test eax, eax
jne 0x1400d6573
jmp 0x1400d75a2
lea rdx, str.transfer_closed_with__I64d_bytes_remaining_to_read
mov rcx, rsi
call fcn.1400b8d80
jmp 0x1400d7622
lea rdx, str.transfer_closed_with_outstanding_read_data_remaining
mov rcx, rsi
call fcn.1400b8d80
mov edi, 0x12
jmp 0x1400d6573
movabs r11, 0x20c49ba5e353f6
mov rax, qword [rsi + 0xe8]
mov rdx, qword [rsi + 0x128]
sub rdx, qword [rsi + 0x1000]
mov r9, qword [rsi + 0xf8]
mov ecx, dword [rsi + 0x130]
mov r10d, dword [rsi + 0x1008]
movabs r8, 0x7fffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x1400d76ce
cmp rdx, r11
jg 0x1400d76b0
movabs r11, 0xffdf3b645a1cac0a
cmp rdx, r11
jl 0x1400d76ad
imul rdx, rdx, 0x3e8
sub ecx, r10d
movsxd rcx, ecx
imul rcx, rcx, 0x10624dd3
mov r8, rcx
shr r8, 0x3f
sar rcx, 0x26
add ecx, r8d
movsxd r8, ecx
add r8, rdx
jmp 0x1400d76b0
inc r8
mov qword [rsp + 0x20], rax
lea rdx, str.Operation_timed_out_after__I64d_milliseconds_with__I64d_out_of__I64d_bytes_received
mov rcx, rsi
call fcn.1400b8d80
mov edi, 0x1c
jmp 0x1400d6573
cmp rdx, r11
jg 0x1400d76e5
movabs rax, 0xffdf3b645a1cac0a
cmp rdx, rax
jge 0x1400d76ee
inc r8
lea rdx, str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
jmp 0x1400d76bc
imul rax, rdx, 0x3e8
sub ecx, r10d
movsxd rcx, ecx
imul rcx, rcx, 0x10624dd3
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x26
add ecx, edx
movsxd r8, ecx
add r8, rax
jmp 0x1400d76e5
mov dword [rsi + 0x138], 0
xor r15d, r15d
jmp 0x1400d6ed2
dec eax
cmp eax, 5
ja case.default.0x1400d7743
lea rcx, [0x140299f58]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov r12, qword [rsp + 0x48]
jmp rax
lea r8, str.Illegal_or_missing_hexadecimal_sequence
jmp 0x1400d777e
lea r8, [0x14027b303]
mov r12, qword [rsp + 0x48]
jmp 0x1400d777e
lea r8, [0x1402970b0]
jmp 0x1400d777e
lea r8, str.Bad_content_encoding_found
jmp 0x1400d777e
lea r8, str.Malformed_encoding_found
jmp 0x1400d777e
lea r8, str.Out_of_memory
lea rdx, str._s_in_chunked_encoding
mov rcx, rsi
call fcn.1400b8d80
mov eax, 0x38
jmp 0x1400d70a5
lea rdx, str.Failed_reading_the_chunked_encoded_stream
mov rcx, rsi
call fcn.1400b8d80
mov eax, dword [rsp + 0x60]
jmp 0x1400d70a5
cmp rcx, rdx
jg 0x1400d71b2
lea rdx, str.The_requested_document_is_not_new_enough_n
jmp 0x1400d77c8
lea rdx, str.The_requested_document_is_not_old_enough_n
mov rcx, rsi
call fcn.1400b8a80
mov al, 1
mov byte [rsi + 0x16d0], al
mov r12, qword [rsp + 0x48]
mov byte [r12], al
mov dword [rsi + 0x15f8], 0x130
lea rdx, str.Simulate_a_HTTP_304_response__n
mov rcx, rsi
call fcn.1400b8a80
mov r14d, 1
cmp byte [rbx + 0x654], 0
jne 0x1400d679c
mov byte [rbx + 0x654], 1
jmp 0x1400d679c
cmp qword [rsi + 0xe8], rax
je 0x1400d783b
lea rdx, str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
mov rcx, rsi
call fcn.1400b8d80
mov edi, 0x21
jmp 0x1400d6573
lea rdx, str.The_entire_document_is_already_downloaded
mov rcx, rsi
call fcn.1400b8a80
cmp byte [rbx + 0x654], 0
jne 0x1400d785a
mov byte [rbx + 0x654], 1
and byte [rsi + 0x1b8], 0xfe
mov r12, qword [rsp + 0x48]
mov byte [r12], 1
jmp 0x1400d70af
mov rax, qword [fcn.14009ead0]
mov rcx, qword [rsi + 0xb78]
add rcx, rcx
call qword [0x1402a7b00]
mov qword [rsi + 0x11a8], rax
test rax, rax
jne 0x1400d6b2c
lea rdx, str.Failed_to_alloc_scratch_buffer_
mov rcx, rsi
call fcn.1400b8d80
jmp 0x1400d6a68