Function at 0x1400d4470
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 [0x1402b3040]
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 0x1400d44d6
mov rcx, qword [rbx + 0x6c8]
and eax, 0x2a
cmp eax, 2
jne 0x1400d44e5
mov r8, qword [rbx + 0x6d0]
mov rax, qword [rbx]
xor edx, edx
cmp qword [rax + 0x1510], 0
setne dl
or ebp, edx
jne 0x1400d450a
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call fcn.1400d6a80
mov ebp, eax
cmp ebp, 4
je 0x1400d454f
mov eax, dword [rsi + 0x1b8]
mov ecx, ebp
and ecx, eax
test cl, 1
je 0x1400d47d6
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 0x1400d4f3d
lea rdx, str.select_poll_returned_error
mov rcx, rsi
call fcn.1400b6d70
mov edi, 0x37
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400d457d
call fcn.14019d280
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 [0x1402c8640], 1
je 0x1400d45d3
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 0x1400d460c
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 [0x1402c8648]
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 0x1400d466d
mov rcx, rbx
call fcn.1400c1780
mov edi, Ordinal_46
test eax, eax
jne 0x1400d4563
lea r14, [rsi + 0x128]
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x60]
movaps xmmword [rdx], xmm0
mov rcx, rsi
call fcn.1400d1450
test eax, eax
je 0x1400d5572
mov edi, eax
jmp 0x1400d4563
cmp dword [rsi + 0x190], 1
jne 0x1400d462e
sub rcx, qword [rsi + 0x180]
movabs rdx, 0x20c49ba5e353f6
cmp rcx, rdx
jg 0x1400d46d3
movabs rdx, 0xffdf3b645a1cac0a
cmp rcx, rdx
jl 0x1400d462e
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 0x1400d462e
mov dword [rsi + 0x190], 0
or byte [rsi + 0x1b8], 2
mov rdx, qword [rsi + 0x1278]
test rdx, rdx
je 0x1400d4713
lea rcx, [rsi + 0x1278]
mov rax, qword [rdx]
cmp dword [rax + 0x28], 0
je 0x1400d470b
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1400d46f7
jmp 0x1400d4713
xor r8d, r8d
call fcn.1400cfc90
lea rdx, str.Done_waiting_for_100_continue_n
mov rcx, rsi
call fcn.1400b6a70
jmp 0x1400d462e
mov eax, dword [rsi + 0x1b8]
and eax, 0xfffffffe
mov dword [rsi + 0x1b8], eax
mov r14d, 1
test r12d, r12d
jg 0x1400d4753
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 0x1400d4787
cmp byte [rbx + 0x654], 1
mov r12, qword [rsp + 0x48]
jne 0x1400d478c
lea rdx, str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
mov rcx, rsi
call fcn.1400b6a70
and byte [rsi + 0x1b8], 0xfd
jmp 0x1400d478c
mov r12, qword [rsp + 0x48]
xor edi, edi
cmp byte [r12], 0
jne 0x1400d4563
mov eax, dword [rsi + 0x1b8]
jmp 0x1400d47d9
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x1400d455e
cmp edi, 0x51
jne 0x1400d4563
xor edi, edi
jmp 0x1400d484c
cmp qword [rsi + 0x100], 0
jne 0x1400d47ef
mov rcx, rsi
mov edx, 7
call fcn.1400c22b0
jmp 0x1400d47ef
xor r14d, r14d
and ebp, eax
test bpl, 2
je 0x1400d45a7
cmp qword [rsi + 0xf8], 0
je 0x1400d47bd
cmp qword [rsi + 0x1d0], 0
je 0x1400d4a62
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 [0x1402a4958]
mov rdi, rax
test rax, rax
js 0x1400d47a1
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 0x1400d48b6
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 0x1400d493d
mov rax, qword [rsi + 0x718]
test rax, rax
je 0x1400d493d
mov r8, qword [rsi + 0x1d8]
test rsi, rsi
je 0x1400d49f0
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
jne 0x1400d48f3
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x1400d4901
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 [0x1402a4958]
mov rax, qword [rsi + 0xd8]
test rax, rax
jne 0x1400d4936
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x1400d493d
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 0x1400d4967
cmp byte [rsi + 0x660], 1
jne 0x1400d4986
cmp rax, qword [rsi + 0x1508]
jne 0x1400d4986
mov byte [rsi + 0x65a], 1
lea rdx, str.We_are_completely_uploaded_and_fine_n
mov rcx, rsi
call fcn.1400b6a70
mov rax, qword [rsi + 0x1d0]
sub rax, rdi
jne 0x1400d4593
mov rax, qword [rsi + 0x1130]
test rax, rax
je 0x1400d4a12
mov qword [rsi + 0x1d8], rax
mov qword [rsi + 0x1d0], 0
mov r14d, 1
cmp byte [rsi + 0x65a], 1
jne 0x1400d45a7
and byte [rsi + 0x1b8], 0xfd
cmp byte [rbx + 0x665], 1
jne 0x1400d45a7
mov rcx, rbx
call fcn.1400d41d0
test eax, eax
jne 0x1400d4666
jmp 0x1400d45a7
mov rcx, qword [0x670]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, 4
mov r9, rdi
call qword [0x1402a4958]
jmp 0x1400d493d
mov rax, qword [fcn.14009cac0]
mov rcx, qword [rsi + 0xb78]
call qword [0x1402a4958]
mov qword [rsi + 0x1130], rax
test rax, rax
jne 0x1400d49a2
jmp 0x1400d4a58
mov rax, qword [fcn.14009cac0]
mov rcx, qword [rsi + 0xb78]
call qword [0x1402a4958]
mov qword [rsi + 0x1130], rax
test rax, rax
jne 0x1400d4a6e
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400d4563
mov rax, qword [rsi + 0x1130]
test rax, rax
je 0x1400d4a38
mov qword [rsi + 0x1d8], rax
cmp byte [rsi + 0x65a], 0
jne 0x1400d4b29
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rax
mov rcx, qword [rsi + 0x1e0]
cmp dword [rsi + 0x190], 2
jne 0x1400d4aae
cmp dword [rcx + 0x210], 2
je 0x1400d4b59
mov rax, qword [rbx + 0x698]
test dword [rax + 0x7c], 0x40003
je 0x1400d4b25
cmp dword [rcx + 0x210], 1
sete bpl
mov rdx, qword [rsi + 0xb78]
lea r8, [rsp + 0x78]
mov rcx, rbx
call fcn.1400d3b30
test eax, eax
jne 0x1400d4666
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1400d4b29
jle 0x1400d4b51
mov qword [rsi + 0x1d0], rdi
test bpl, bpl
jne 0x1400d4c1a
cmp byte [rsi + 0xf06], 1
jne 0x1400d4c1a
cmp qword [rsi + 0x11a8], 0
je 0x1400d5860
xor eax, eax
xor ecx, ecx
jmp 0x1400d4c58
xor ebp, ebp
jmp 0x1400d4ac9
mov eax, dword [rsi + 0x1b8]
mov r14d, 1
test al, 0x20
jne 0x1400d45a7
and eax, 0xfffffffd
mov dword [rsi + 0x1b8], eax
mov r14d, 1
jmp 0x1400d49ce
mov eax, dword [rsi + 0x1b8]
jmp 0x1400d4b3d
mov dword [rsi + 0x190], 1
and byte [rsi + 0x1b8], 0xfd
cmp byte [0x1402c8640], 1
je 0x1400d4b96
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 0x1400d4bc5
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 [0x1402c8648]
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.1400b7ed0
jmp 0x1400d45a7
cmp rcx, rdi
je 0x1400d4c1a
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 0x1400d47fd
mov rcx, rbx
mov rdx, rdi
call fcn.1400f05f0
test eax, eax
jne 0x1400d4666
jmp 0x1400d47fd
mov byte [r8 + rcx], dl
mov rdx, rcx
inc rax
mov rcx, rdx
inc rcx
cmp rdi, rax
je 0x1400d4bfd
mov rdx, qword [rsi + 0x1d8]
mov dl, byte [rdx + rax]
mov r8, qword [rsi + 0x11a8]
cmp dl, 0xa
jne 0x1400d4c43
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 0x1400d4c4a
mov rcx, qword [rsi + 0x1508]
cmp rcx, 0xffffffffffffffff
je 0x1400d4c4a
inc rcx
mov qword [rsi + 0x1508], rcx
jmp 0x1400d4c4a
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 [0x1402a4958]
test eax, eax
jne 0x1400d4666
mov r14d, 1
cmp byte [rsp + 0x77], 1
jne 0x1400d473c
mov eax, dword [rsi + 0x1b8]
or eax, 1
jmp 0x1400d4730
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 0x1400d4d9c
mov rcx, rsi
mov edx, 7
call fcn.1400c22b0
cmp dword [rsi + 0x190], 0
jle 0x1400d4dd5
cmp byte [0x1402c8640], 1
jne 0x1400d4d20
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 [0x1402c8648]
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 0x1400d4dd5
mov qword [rsp + 0x78], 0
mov edi, r15d
cmp qword [rsi + 0xf8], 0
je 0x1400d4d43
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400d4e88
xor r14d, r14d
test rax, rax
setg cl
or cl, r14b
test cl, 1
je 0x1400d4727
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 0x1400d4e4c
mov rcx, rsi
mov rdx, rbx
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x77]
call qword [0x1402a4958]
test eax, eax
jne 0x1400d4666
xor edi, edi
cmp byte [rsp + 0x77], 0
jne 0x1400d4736
cmp byte [rsi + 0x658], 1
mov r15d, edi
jne 0x1400d4e9b
mov byte [rsp + 0x60], 0
mov rcx, rsi
mov rdx, rbx
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x60]
call fcn.1400dc480
mov edi, 1
test eax, eax
je 0x1400d4ff3
mov r15d, eax
mov dword [rsp + 0x54], eax
jmp 0x1400d4ef3
cmp dword [rsi + 0x1a8], 0
sete r14b
jmp 0x1400d4de6
xor r15d, r15d
cmp qword [rsi + 0x150], 0
je 0x1400d4ec2
cmp byte [rsi + 0x658], 0
jne 0x1400d4ec2
cmp qword [rsp + 0x78], 0
setg al
or al, r14b
test al, 1
jne 0x1400d5100
mov rax, qword [rbx + 0x698]
cmp qword [rax + 0x68], 0
je 0x1400d4ed9
test r13, r13
jne 0x1400d4ca6
mov edi, dword [rsi + 0x1b8]
test r14b, r14b
je 0x1400d4eed
and edi, 0xfffffffe
mov dword [rsi + 0x1b8], edi
shr edi, 3
and edi, 2
mov r14d, 1
test edi, edi
jne 0x1400d5083
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx + 0x698]
test byte [rax + 0x7c], 0x30
jne 0x1400d4f2d
mov rax, qword [0x1402c1800]
mov rax, qword [rax + 0x48]
xor edx, edx
call qword [0x1402a4958]
test al, al
je 0x1400d473c
mov r14d, 1
add r12d, 0xffffffff
jae 0x1400d4741
movsxd rax, dword [rsi + 0xb70]
mov rcx, qword [rsi + 0xe8]
cmp rcx, 0xffffffffffffffff
je 0x1400d4f68
cmp byte [rsi + 0x658], 0
jne 0x1400d4f68
sub rcx, qword [rsi + 0xf8]
cmp rcx, rax
cmovl rax, rcx
test rax, rax
je 0x1400d4dbb
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 [0x1402a4958]
test rax, rax
js 0x1400d4fd9
add qword [rsp + 0x78], rax
xor edi, edi
jmp 0x1400d4dc7
mov edi, dword [rsp + 0x60]
cmp edi, 0x51
je 0x1400d473c
test edi, edi
jle 0x1400d4dc7
jmp 0x1400d4563
mov rax, qword [rbx + 0x698]
mov rax, qword [rax + 0x68]
test rax, rax
je 0x1400d503a
cmp qword [rsi + 0xf0], 0
jg 0x1400d503a
cmp qword [rsp + 0x78], 0
jle 0x1400d503a
mov rcx, rsi
mov rdx, rbx
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x77]
call qword [0x1402a4958]
test eax, eax
jne 0x1400d4e7f
cmp byte [rsp + 0x77], 0
jne 0x1400d5076
cmp byte [rsp + 0x60], 1
jne 0x1400d4e98
mov r8, qword [rsp + 0x78]
mov edi, 2
xor r15d, r15d
test r8, r8
jle 0x1400d4ef3
mov r9, qword [rsi + 0x1570]
mov rcx, rsi
lea rdx, str.Excess_found:_excess___zd_url___s__zero_length_body__n
call fcn.1400b6a70
jmp 0x1400d4ef3
mov edi, 2
xor r15d, r15d
jmp 0x1400d4ef3
cmp edi, 2
je 0x1400d473c
mov r12, qword [rsp + 0x48]
mov eax, dword [rsp + 0x54]
mov edi, eax
test eax, eax
jne 0x1400d4563
mov r14d, 1
jmp 0x1400d478c
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x1400d51a2
mov rdx, qword [rsi + 0xa00]
test rdx, rdx
je 0x1400d51a2
cmp eax, 2
jne 0x1400d579f
cmp rcx, rdx
jl 0x1400d51a2
jmp 0x1400d57b1
mov rcx, qword [0x670]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, 3
call qword [0x1402a4958]
jmp 0x1400d5244
cmp byte [rsi + 0xf1c], 1
je 0x1400d5540
cmp dword [rsi + 0x1a8], 0
setne al
or al, r14b
test al, 1
jne 0x1400d51a2
mov rax, qword [rbx + 0x698]
test dword [rax + 0x7c], 0x40003
je 0x1400d51a2
cmp qword [rsi + 0x1c8], 0
je 0x1400d515f
cmp byte [rbx + 0x654], 1
je 0x1400d584a
mov byte [rsi + 0x65b], 1
mov rcx, rsi
lea rdx, str.Ignoring_the_response_body_n
call fcn.1400b6a70
mov rax, qword [rsi + 0x14f0]
test rax, rax
je 0x1400d518a
cmp byte [rsi + 0x659], 0
jne 0x1400d518a
cmp dword [rsi + 0xa08], 1
jne 0x1400d518a
cmp byte [rsi + 0x65b], 0
je 0x1400d5809
mov eax, dword [rsi + 0x9f8]
test eax, eax
je 0x1400d51a2
cmp qword [rsi + 0x14e8], 0
je 0x1400d50aa
inc dword [rsi + 0x1a8]
cmp byte [rsi + 0xf1e], 1
jne 0x1400d52d1
cmp dword [rsi + 0x138], 0
mov rax, qword [rsi + 0x718]
je 0x1400d5258
test rax, rax
je 0x1400d5244
mov r9, qword [rsi + 0x148]
mov r8, qword [rsi + 0x1118]
test rsi, rsi
je 0x1400d50e1
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
jne 0x1400d51fd
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x1400d520b
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 [0x1402a4958]
mov rax, qword [rsi + 0xd8]
test rax, rax
jne 0x1400d523d
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x1400d5244
mov byte [rax + 0x18a], 0
cmp dword [rsi + 0x138], 1
jne 0x1400d52d1
mov rax, qword [rsi + 0x718]
test rax, rax
je 0x1400d52d1
mov r9, qword [rsp + 0x78]
mov r8, qword [rsi + 0x150]
test rsi, rsi
je 0x1400d535d
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
jne 0x1400d528a
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x1400d5298
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 [0x1402a4958]
mov rax, qword [rsi + 0xd8]
test rax, rax
jne 0x1400d52ca
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x1400d52d1
mov byte [rax + 0x18a], 0
cmp byte [rsi + 0x65d], 1
jne 0x1400d5334
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.1400cced0
test eax, eax
jg 0x1400d5719
cmp eax, 0xffffffff
jne 0x1400d5334
and byte [rsi + 0x1b8], 0xfe
mov r8, qword [rbx + 0x2b8]
test r8, r8
je 0x1400d5334
mov rcx, qword [rbx]
lea rdx, str.Leftovers_after_chunking:__zu_bytes_n
call fcn.1400b6a70
cmp dword [rsi + 0x138], 1
jne 0x1400d537c
mov rcx, qword [rsi + 0xf8]
cmp byte [rsi + 0x65b], 0
jne 0x1400d5383
add rcx, qword [rsi + 0x148]
mov qword [rsi + 0xf8], rcx
jmp 0x1400d5383
mov rcx, qword [0x670]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, 3
call qword [0x1402a4958]
jmp 0x1400d52d1
mov rcx, qword [rsi + 0xf8]
mov rax, qword [rsi + 0xf0]
mov rdx, qword [rsp + 0x78]
cmp rax, 0xffffffffffffffff
je 0x1400d5403
mov r8, r13
lea r13, [rdx + rcx]
sub r13, rax
jl 0x1400d53fe
je 0x1400d53dd
cmp byte [rsi + 0x65b], 0
jne 0x1400d53dd
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.1400b6a70
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 0x1400d540a
mov r13, r8
jmp 0x1400d540a
mov rax, 0xffffffffffffffff
add rcx, rdx
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0xf88], rcx
cmp byte [rsi + 0x65d], 0
jne 0x1400d4ec2
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 0x1400d4ec2
test ecx, ecx
je 0x1400d549a
cmp byte [rsi + 0x65b], 0
jne 0x1400d5495
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.1400b74d0
test eax, eax
jne 0x1400d4666
mov ecx, dword [rsi + 0x138]
xor r15d, r15d
cmp ecx, 1
jg 0x1400d5517
mov rax, qword [rbx]
cmp byte [rax + 0xf27], 1
je 0x1400d54e3
mov rdx, qword [rsi + 0x198]
mov al, byte [rsi + 0x65b]
test rdx, rdx
je 0x1400d54e9
test al, 1
jne 0x1400d5517
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x1400d5707
mov r8, qword [rsi + 0x150]
mov rax, qword [rdx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [0x1402a4958]
jmp 0x1400d5514
mov al, byte [rsi + 0x65b]
test al, 1
jne 0x1400d5517
mov rax, qword [rbx + 0x698]
test byte [rax + 0x7d], 0xc0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsi + 0x150]
mov rcx, rbx
je 0x1400d5534
mov rdx, r8
mov r8, r9
call fcn.1400ecdd0
mov r15d, eax
mov edi, r15d
mov dword [rsi + 0x138], 0
xor r15d, r15d
test edi, edi
je 0x1400d4ec2
jmp 0x1400d4563
mov edx, 1
call fcn.1400b74d0
jmp 0x1400d5514
mov rax, qword [rbx + 0x698]
test byte [rax + 0x81], 2
jne 0x1400d5560
cmp byte [rbx + 0x654], 0
jne 0x1400d5560
mov byte [rbx + 0x654], 1
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
mov edi, 8
jmp 0x1400d4563
cmp dword [rsi + 0x1b8], 0
je 0x1400d55a5
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.1400bbc20
test rax, rax
js 0x1400d561c
test byte [rsi + 0x1b8], 0x33
sete byte [r12]
xor edi, edi
jmp 0x1400d4563
cmp byte [rsi + 0xf1c], 0
jne 0x1400d55e0
mov r8, qword [rsi + 0xe8]
cmp r8, 0xffffffffffffffff
je 0x1400d55ce
sub r8, qword [rsi + 0xf8]
je 0x1400d55ce
cmp qword [rsi + 0x1c8], 0
je 0x1400d55f2
cmp byte [rsi + 0x65d], 1
jne 0x1400d55e0
cmp dword [rbx + 0x2a8], 4
jne 0x1400d5603
mov rcx, rbx
call fcn.1400c1780
test eax, eax
jne 0x1400d4563
jmp 0x1400d5592
lea rdx, str.transfer_closed_with__I64d_bytes_remaining_to_read
mov rcx, rsi
call fcn.1400b6d70
jmp 0x1400d5612
lea rdx, str.transfer_closed_with_outstanding_read_data_remaining
mov rcx, rsi
call fcn.1400b6d70
mov edi, 0x12
jmp 0x1400d4563
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 0x1400d56be
cmp rdx, r11
jg 0x1400d56a0
movabs r11, 0xffdf3b645a1cac0a
cmp rdx, r11
jl 0x1400d569d
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 0x1400d56a0
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.1400b6d70
mov edi, 0x1c
jmp 0x1400d4563
cmp rdx, r11
jg 0x1400d56d5
movabs rax, 0xffdf3b645a1cac0a
cmp rdx, rax
jge 0x1400d56de
inc r8
lea rdx, str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
jmp 0x1400d56ac
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 0x1400d56d5
mov dword [rsi + 0x138], 0
xor r15d, r15d
jmp 0x1400d4ec2
dec eax
cmp eax, 5
ja case.default.0x1400d5733
lea rcx, [0x140296db8]
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 0x1400d576e
lea r8, [0x1402782f3]
mov r12, qword [rsp + 0x48]
jmp 0x1400d576e
lea r8, [0x140293f10]
jmp 0x1400d576e
lea r8, str.Bad_content_encoding_found
jmp 0x1400d576e
lea r8, str.Malformed_encoding_found
jmp 0x1400d576e
lea r8, str.Out_of_memory
lea rdx, str._s_in_chunked_encoding
mov rcx, rsi
call fcn.1400b6d70
mov eax, 0x38
jmp 0x1400d5095
lea rdx, str.Failed_reading_the_chunked_encoded_stream
mov rcx, rsi
call fcn.1400b6d70
mov eax, dword [rsp + 0x60]
jmp 0x1400d5095
cmp rcx, rdx
jg 0x1400d51a2
lea rdx, str.The_requested_document_is_not_new_enough_n
jmp 0x1400d57b8
lea rdx, str.The_requested_document_is_not_old_enough_n
mov rcx, rsi
call fcn.1400b6a70
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.1400b6a70
mov r14d, 1
cmp byte [rbx + 0x654], 0
jne 0x1400d478c
mov byte [rbx + 0x654], 1
jmp 0x1400d478c
cmp qword [rsi + 0xe8], rax
je 0x1400d582b
lea rdx, str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
mov rcx, rsi
call fcn.1400b6d70
mov edi, 0x21
jmp 0x1400d4563
lea rdx, str.The_entire_document_is_already_downloaded
mov rcx, rsi
call fcn.1400b6a70
cmp byte [rbx + 0x654], 0
jne 0x1400d584a
mov byte [rbx + 0x654], 1
and byte [rsi + 0x1b8], 0xfe
mov r12, qword [rsp + 0x48]
mov byte [r12], 1
jmp 0x1400d509f
mov rax, qword [fcn.14009cac0]
mov rcx, qword [rsi + 0xb78]
add rcx, rcx
call qword [0x1402a4958]
mov qword [rsi + 0x11a8], rax
test rax, rax
jne 0x1400d4b1c
lea rdx, str.Failed_to_alloc_scratch_buffer_
mov rcx, rsi
call fcn.1400b6d70
jmp 0x1400d4a58