Function at 0x140081cc0
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov qword [rsp + 0xd8], r9
mov r12, rcx
mov r15, rdx
mov ebp, r8d
test byte [rcx + 0x24], 1
jne 0x140081de0
mov rbx, qword [rcx + 0x10]
test rdx, rdx
je 0x140081d38
test byte [rdx + 0xa47], 0x10
je 0x140081d38
mov rax, qword [rdx + 0x1270]
test rax, rax
je 0x140081d12
mov r9d, dword [rax + 8]
test r9d, r9d
jle 0x140081d38
mov rax, qword [r12]
mov r8d, dword [rax + 0xc]
test r8d, r8d
jle 0x140081d38
lea r8, str.connect
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop dword [rax]
mov rcx, qword [r12 + 8]
mov r9, qword [rsp + 0xd8]
movzx r8d, bpl
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x140081dc5
mov rax, qword [rsp + 0xd8]
cmp byte [rax], 0
je 0x140081dc5
mov byte [rax], 0
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x140082878
mov eax, dword [rbx + 0xa8]
mov rsi, qword [0x1401718c0]
cmp eax, 4
jne 0x140081df0
mov rcx, qword [r15 + 0x1300]
call qword [rsi]
mov rax, qword [r12 + 0x10]
mov qword [r15 + 0x1300], 0
test rax, rax
je 0x140081dba
cmp dword [rax + 0xa8], 4
je 0x140082968
mov rax, qword [rsp + 0xd8]
mov byte [rax], 0
mov eax, dword [rsp + 0x48]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov byte [r9], 1
mov dword [rsp + 0x48], 0
jmp 0x140081dc5
cmp eax, 5
jne 0x140081f15
mov dword [rsp + 0x48], 0x38
jmp 0x140081dba
cmp eax, 3
jne 0x140081f07
test r15, r15
je 0x140081e58
test byte [r15 + 0xa47], 0x10
je 0x140081e58
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140081e35
mov r8d, dword [rax + 8]
test r8d, r8d
jle 0x140081e58
mov rax, qword [r12]
mov ecx, dword [rax + 0xc]
test ecx, ecx
jle 0x140081e58
lea r8, str.CONNECT_response
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop word [rax + rax]
cmp qword [r15 + 0x1c0], 0
je 0x140082280
lea rcx, [r15 + 0x100]
mov rdx, r15
call sym.Curl_req_soft_reset
test byte [rbx + 0xac], 2
jne 0x140082d38
mov rax, qword [rsp + 0x38]
test byte [rax + 0x3b8], 0x20
jne 0x140082d38
mov eax, dword [rbx + 0xa8]
test eax, eax
je 0x140081f07
test byte [r15 + 0xa47], 0x10
je 0x140081ed0
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140081ebb
mov eax, dword [rax + 8]
test eax, eax
jle 0x140081ed0
mov rax, qword [r12]
mov eax, dword [rax + 0xc]
test eax, eax
jg 0x140082a70
nop word [rax + rax]
mov rcx, rbx
call sym.Curl_dyn_reset
lea rcx, [rbx + 0x20]
call sym.Curl_dyn_reset
and byte [rbx + 0xac], 0xfd
mov dword [rbx + 0xa8], 0
mov dword [rbx + 0x98], 1
mov qword [rbx + 0xa0], 0
cmp qword [r15 + 0x1c0], 0
je 0x140082280
xor edx, edx
mov r8d, 1
mov rcx, r15
call sym.Curl_timeleft
test rax, rax
jle 0x140082d18
mov eax, dword [rbx + 0xa8]
cmp eax, 2
je 0x1400820f2
ja 0x140081e08
test eax, eax
je 0x140082590
lea r13, [rbx + 0x20]
test r15, r15
jne 0x140082414
mov rcx, r13
call sym.Curl_dyn_ptr
mov rcx, r13
mov rsi, rax
call sym.Curl_dyn_len
mov dword [rsp + 0x68], 0
mov rdi, rax
mov rax, qword [rbx + 0x40]
cmp rdi, rax
jbe 0x1400820a0
mov rcx, qword [r12 + 8]
add rsi, rax
lea rdx, [rsp + 0x68]
mov r9, rdi
sub r9, rax
mov r8, rsi
mov r11, qword [rcx]
mov qword [rsp + 0x28], rdx
mov rdx, r15
mov dword [rsp + 0x20], 0
call qword [r11 + 0x48]
mov r9, rax
test rax, rax
js 0x140082828
add qword [rbx + 0x40], rax
mov r8, rsi
mov edx, 2
mov rcx, r15
call sym.Curl_debug
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140082835
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, r15
call sym.Curl_failf
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140082835
mov byte [rsp + 0x5e], 0
mov dword [rsp + 0x48], eax
cmp dword [rbx + 0xa8], 5
je 0x140081dba
test r15, r15
je 0x140082050
test byte [r15 + 0xa47], 0x10
je 0x140082050
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x14008202f
mov esi, dword [rax + 8]
test esi, esi
jle 0x140082050
mov rax, qword [r12]
mov r11d, dword [rax + 0xc]
test r11d, r11d
jle 0x140082050
lea r8, str.new_tunnel_state_failed
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop
mov dword [rbx + 0xa8], 5
mov rcx, rbx
call sym.Curl_dyn_reset
lea rcx, [rbx + 0x20]
call sym.Curl_dyn_reset
mov rax, qword [0x1401718c0]
mov dword [r15 + 0x1328], 0
mov rcx, qword [r15 + 0x1300]
call qword [rax]
mov qword [r15 + 0x1300], 0
jmp 0x140081dba
cmp dword [rbx + 0xa8], 2
mov byte [rsp + 0x5e], 1
je 0x1400820f2
test r15, r15
je 0x1400820e8
test byte [r15 + 0xa47], 0x10
je 0x1400820e8
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400820d2
mov r13d, dword [rax + 8]
test r13d, r13d
jle 0x1400820e8
mov rax, qword [r12]
mov ebp, dword [rax + 0xc]
test ebp, ebp
jg 0x140082a90
nop dword [rax]
mov dword [rbx + 0xa8], 2
test r15, r15
je 0x140082138
test byte [r15 + 0xa47], 0x10
je 0x140082138
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082114
mov edi, dword [rax + 8]
test edi, edi
jle 0x140082138
mov rax, qword [r12]
mov esi, dword [rax + 0xc]
test esi, esi
jle 0x140082138
lea r8, str.CONNECT_receive
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop dword [rax]
mov edx, dword [r12 + 0x20]
mov rcx, r15
mov byte [rsp + 0x5e], 0
call sym.Curl_conn_data_pending
test al, al
je 0x1400826a8
mov r11d, dword [rbx + 0x98]
test r11d, r11d
je 0x140082272
lea rax, [rbx + 0x50]
lea rbp, [rsp + 0x5f]
mov qword [rsp + 0x40], rax
lea r13, [rsp + 0x60]
mov qword [rsp + 0x20], r13
mov edx, dword [r12 + 0x20]
mov r8, rbp
mov rcx, r15
mov r9d, 1
call sym.Curl_conn_recv
mov r14d, eax
cmp eax, 0x51
je 0x140082c20
mov rcx, r15
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x140082c30
test r14d, r14d
jne 0x140082c40
cmp qword [rsp + 0x60], 0
jle 0x140082c70
cmp dword [rbx + 0x98], 2
jne 0x140082240
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x140082468
sub rax, 1
mov qword [rbx + 0xa0], rax
test rax, rax
jg 0x140082175
mov dword [rbx + 0x98], 0
mov byte [rsp + 0x5e], 1
mov eax, dword [r15 + 0x132c]
mov rcx, r15
sub eax, 0xc8
cmp eax, 0x63
ja 0x140082b60
call sym.Curl_pgrsUpdate
test eax, eax
je 0x1400824c0
mov dword [rsp + 0x48], 0x2a
cmp dword [rbx + 0xa8], 5
jne 0x140082012
jmp 0x140081dba
mov r8d, 1
mov rdx, rbp
mov rcx, rbx
call sym.Curl_dyn_addn
test eax, eax
jne 0x140082dfc
cmp byte [rsp + 0x5f], 0xa
je 0x1400826d0
mov eax, dword [rbx + 0x98]
test eax, eax
jne 0x140082175
mov byte [rsp + 0x5e], 1
jmp 0x1400821f9
mov eax, dword [r15 + 0x132c]
sub eax, 0xc8
cmp eax, 0x63
ja 0x140082e70
cmp dword [rbx + 0xa8], 4
mov rsi, qword [0x1401718c0]
je 0x140082349
test byte [r15 + 0xa47], 0x10
je 0x1400822f3
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x14008312d
mov r13d, dword [rax + 8]
test r13d, r13d
jle 0x1400822dd
mov rdx, qword [r12]
mov r8d, dword [rdx + 0xc]
test r8d, r8d
jg 0x14008313b
mov ebp, dword [rax + 8]
test ebp, ebp
jle 0x1400822f3
lea rdx, str.CONNECT_phase_completed
mov rcx, r15
call sym.Curl_infof
movzx eax, byte [r15 + 0xcfc]
mov rcx, rbx
and eax, 0xfffffffc
or eax, 1
mov byte [r15 + 0xcfc], al
mov dword [rbx + 0xa8], 4
call sym.Curl_dyn_reset
lea rcx, [rbx + 0x20]
call sym.Curl_dyn_reset
mov rsi, qword [0x1401718c0]
mov dword [r15 + 0x1328], 0
mov rcx, qword [r15 + 0x1300]
call qword [rsi]
mov qword [r15 + 0x1300], 0
test byte [r15 + 0xa47], 0x10
je 0x140081d8f
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x14008236e
mov edi, dword [rax + 8]
test edi, edi
jle 0x140081d8f
mov r8d, dword [r15 + 0x132c]
lea rdx, str.CONNECT_tunnel_established__response__d
mov rcx, r15
call sym.Curl_infof
jmp 0x140081d8f
mov rcx, r15
call sym.Curl_creader_set_null
test eax, eax
jne 0x140082675
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400823af
call sym.Curl_http_req_free
cmp dword [rbx + 0xa8], 1
je 0x140082414
test byte [r15 + 0xa47], 0x10
je 0x1400823f8
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400823d5
mov eax, dword [rax + 8]
test eax, eax
jle 0x1400823f8
mov rax, qword [r12]
mov eax, dword [rax + 0xc]
test eax, eax
jle 0x1400823f8
lea r8, str.new_tunnel_state_connect
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop word [rax + rax]
mov dword [rbx + 0xa8], 1
mov rcx, rbx
mov dword [rbx + 0x98], 1
call sym.Curl_dyn_reset
test byte [r15 + 0xa47], 0x10
je 0x140081f58
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082439
mov eax, dword [rax + 8]
test eax, eax
jle 0x140081f58
mov rax, qword [r12]
mov r14d, dword [rax + 0xc]
test r14d, r14d
jle 0x140081f58
lea r8, str.CONNECT_send
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
jmp 0x140081f58
test byte [rbx + 0xac], 1
je 0x140082175
lea rax, [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov r8, rbp
mov rcx, r15
mov qword [rsp + 0x20], rax
mov r9d, 1
mov qword [rsp + 0x68], 0
call sym.Curl_httpchunk_read
test eax, eax
je 0x140082530
mov esi, eax
mov rcx, r15
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x1400826c0
test esi, esi
jne 0x1400831f5
cmp byte [rsp + 0x5e], 0
je 0x140082842
cmp dword [rbx + 0xa8], 3
je 0x140081e11
test r15, r15
je 0x140082520
test byte [r15 + 0xa47], 0x10
je 0x140082520
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400824fc
mov r10d, dword [rax + 8]
test r10d, r10d
jle 0x140082520
mov rax, qword [r12]
mov r9d, dword [rax + 0xc]
test r9d, r9d
jle 0x140082520
lea r8, str.new_tunnel_state_response
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop dword [rax + rax]
mov dword [rbx + 0xa8], 3
jmp 0x140081e11
mov rdx, qword [rsp + 0x40]
mov rcx, r15
call sym.Curl_httpchunk_is_done
test al, al
je 0x140082264
test r15, r15
je 0x140082861
test byte [r15 + 0xa47], 0x10
je 0x140082861
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082573
mov ecx, dword [rax + 8]
test ecx, ecx
jle 0x140082861
lea rdx, str.chunk_reading_DONE
mov rcx, r15
call sym.Curl_infof
jmp 0x140082861
test r15, r15
je 0x1400825c8
test byte [r15 + 0xa47], 0x10
je 0x1400825c8
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400825b2
mov edx, dword [rax + 8]
test edx, edx
jle 0x1400825c8
mov rax, qword [r12]
mov eax, dword [rax + 0xc]
test eax, eax
jg 0x140082ab0
nop dword [rax]
mov rax, qword [0x1401718c0]
mov rcx, qword [r15 + 0x1c0]
mov qword [rsp + 0x68], 0
call qword [rax]
lea rcx, [rsp + 0x68]
mov r9d, 1
mov r8, r15
mov qword [r15 + 0x1c0], 0
mov rdx, r12
call sym.Curl_http_proxy_create_CONNECT
test eax, eax
jne 0x140082675
test byte [r15 + 0xa47], 0x10
je 0x14008263b
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082623
mov eax, dword [rax + 8]
test eax, eax
jle 0x14008263b
mov rax, qword [rsp + 0x68]
lea rdx, str.Establish_HTTP_proxy_tunnel_to__s
mov rcx, r15
mov r8, qword [rax + 0x20]
call sym.Curl_infof
lea r13, [rbx + 0x20]
mov rcx, r13
call sym.Curl_dyn_reset
mov rax, qword [r12 + 0x18]
pxor xmm0, xmm0
xor edx, edx
movups xmmword [rbx + 0x40], xmm0
mov rcx, qword [rsp + 0x68]
mov r8, r13
cmp byte [rax + 0x104], 1
setne dl
call sym.Curl_h1_req_write_head
test eax, eax
je 0x140082390
mov rcx, r15
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov dword [rsp + 0x48], eax
call sym.Curl_failf
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x48]
test rcx, rcx
jne 0x1400831e7
mov dword [rsp + 0x48], eax
jmp 0x140082226
mov rcx, r15
call sym.Curl_pgrsUpdate
test eax, eax
je 0x1400824c0
nop dword [rax + rax]
mov dword [rsp + 0x48], 0x2a
jmp 0x140082000
add qword [rbx + 0x48], 1
mov rcx, rbx
call sym.Curl_dyn_ptr
mov rcx, rbx
mov r14, rax
call sym.Curl_dyn_len
mov r8, r14
mov edx, 1
mov rcx, r15
mov r9, rax
mov rdi, rax
call sym.Curl_debug
xor edx, edx
cmp qword [rbx + 0x48], 1
mov r9, rdi
sete dl
mov r8, r14
mov rcx, r15
lea edx, [rdx*8 + 0x14]
call sym.Curl_client_write
test eax, eax
jne 0x1400824a6
mov r8d, 1
mov rdx, rdi
mov rcx, r15
call sym.Curl_bump_headersize
test eax, eax
jne 0x1400824a6
movzx eax, byte [r14]
cmp al, 0xd
je 0x140082850
cmp al, 0xa
je 0x140082850
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x14008277d
mov eax, dword [r15 + 0x14c]
cmp eax, 0x191
je 0x140082ad0
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x1400827a8
mov eax, dword [r15 + 0x14c]
cmp eax, 0x197
je 0x140082ad0
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x140082b70
mov r8d, dword [r15 + 0x14c]
lea eax, [r8 - 0xc8]
cmp eax, 0x63
ja 0x140082ddf
test byte [r15 + 0xa47], 0x10
je 0x140082810
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400827f9
mov esi, dword [rax + 8]
test esi, esi
jle 0x140082810
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, r15
call sym.Curl_infof
nop dword [rax + rax]
mov rcx, rbx
call sym.Curl_dyn_reset
mov eax, dword [rbx + 0x98]
jmp 0x14008226a
mov eax, dword [rsp + 0x68]
cmp eax, 0x51
jne 0x140081fd4
mov rax, qword [rbx + 0x40]
cmp rdi, rax
jbe 0x1400820a0
mov rsi, qword [0x1401718c0]
jmp 0x140081d8f
cmp dword [r15 + 0x14c], 0x197
je 0x140082bb0
mov dword [rbx + 0x98], 0
mov byte [rsp + 0x5e], 1
jmp 0x1400821f9
mov rax, qword [rax + 0x3c0]
test byte [rax + 0x95], 0x40
jne 0x140082dc0
mov rax, qword [0x140171860]
mov edx, 0xb0
mov ecx, 1
call qword [rax]
mov rbx, rax
test rax, rax
je 0x140082f37
test r15, r15
je 0x1400828dc
test byte [r15 + 0xa47], 0x10
je 0x1400828dc
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400828cd
mov ecx, dword [rax + 8]
test ecx, ecx
jle 0x1400828dc
lea rdx, str.allocate_connect_buffer
mov rcx, r15
call sym.Curl_infof
mov edx, 0x4000
mov rcx, rbx
lea r13, [rbx + 0x20]
call sym.Curl_dyn_init
mov edx, 0x100000
mov rcx, r13
call sym.Curl_dyn_init
mov r8d, 1
lea rdx, [rbx + 0x50]
mov rcx, r15
call sym.Curl_httpchunk_init
mov rcx, qword [r12 + 0x18]
xor edx, edx
call sym.Curl_conncontrol
mov rcx, rbx
call sym.Curl_dyn_reset
mov rcx, r13
call sym.Curl_dyn_reset
mov rax, qword [r12 + 0x18]
and byte [rbx + 0xac], 0xfd
mov dword [rbx + 0xa8], 0
mov dword [rbx + 0x98], 1
mov qword [rbx + 0xa0], 0
mov qword [rsp + 0x38], rax
mov qword [r12 + 0x10], rbx
jmp 0x140081f15
mov rax, qword [rsp + 0xd8]
mov rdx, r15
lea rcx, [r15 + 0x100]
mov byte [rax], 1
or byte [r12 + 0x24], 1
call sym.Curl_req_soft_reset
mov rcx, r15
call sym.Curl_client_reset
xor edx, edx
mov rcx, r15
call sym.Curl_pgrsSetUploadCounter
xor edx, edx
mov rcx, r15
call sym.Curl_pgrsSetDownloadCounter
mov r13, qword [r12 + 0x10]
test r13, r13
je 0x140081dc5
cmp dword [r13 + 0xa8], 5
lea r14, [r13 + 0x20]
je 0x140082a3a
test byte [r15 + 0xa47], 0x10
je 0x140082a00
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400829df
mov r10d, dword [rax + 8]
test r10d, r10d
jle 0x140082a00
mov rax, qword [r12]
mov r9d, dword [rax + 0xc]
test r9d, r9d
jle 0x140082a00
lea r8, str.new_tunnel_state_failed
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop
mov dword [r13 + 0xa8], 5
mov rcx, r13
call sym.Curl_dyn_reset
mov rcx, r14
call sym.Curl_dyn_reset
mov rcx, qword [r15 + 0x1300]
mov dword [r15 + 0x1328], 0
call qword [rsi]
mov qword [r15 + 0x1300], 0
mov rcx, r13
call sym.Curl_dyn_free
mov rcx, r14
call sym.Curl_dyn_free
lea rdx, [r13 + 0x50]
mov rcx, r15
call sym.Curl_httpchunk_free
mov rcx, r13
call qword [rsi]
mov qword [r12 + 0x10], 0
jmp 0x140081dc5
lea r8, str.new_tunnel_state_init
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
jmp 0x140081ed0
lea r8, str.new_tunnel_state_receive
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
jmp 0x1400820e8
lea r8, str.CONNECT_start
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
jmp 0x1400825c8
cmp eax, 0x197
mov rcx, r14
sete sil
call sym.Curl_copy_header_value
mov rdi, rax
test rax, rax
je 0x140082ff8
test byte [r15 + 0xa47], 0x10
je 0x140082b30
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082b0a
mov eax, dword [rax + 8]
test eax, eax
jle 0x140082b30
mov rax, qword [r12]
mov eax, dword [rax + 0xc]
test eax, eax
jle 0x140082b30
mov r9, r14
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
nop word [rax + rax]
movzx edx, sil
mov r8, rdi
mov rcx, r15
call sym.Curl_http_input_auth
mov rcx, rdi
mov dword [rsp + 0x4c], eax
mov rax, qword [0x1401718c0]
call qword [rax]
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x140082810
jmp 0x1400824a6
call sym.Curl_http_auth_act
mov esi, eax
jmp 0x1400824a8
lea r9, [0x14016bc00]
mov r8d, 0xb
mov rcx, r14
mov qword [rsp + 0x20], 5
lea rdx, str.Connection:
call sym.Curl_compareheader
test al, al
je 0x140082f44
or byte [rbx + 0xac], 2
jmp 0x140082810
cmp byte [r15 + 0x131c], 0
js 0x140082861
movzx eax, byte [r15 + 0xa47]
mov r8, qword [rbx + 0xa0]
mov dword [rbx + 0x98], 2
and eax, 0x10
test r8, r8
je 0x140082e28
test al, al
je 0x140082175
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082c02
mov edx, dword [rax + 8]
test edx, edx
jle 0x140082175
lea rdx, str.Ignore__lld_bytes_of_response_body
mov rcx, r15
call sym.Curl_infof
mov eax, dword [rbx + 0x98]
jmp 0x14008226a
xor esi, esi
jmp 0x1400824a8
mov esi, 0x2a
jmp 0x1400824a8
mov dword [rbx + 0x98], 0
mov byte [rsp + 0x5e], 1
mov rcx, r15
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x1400826c0
mov dword [rsp + 0x48], r14d
jmp 0x140082000
mov r10d, dword [r15 + 0x218]
test r10d, r10d
je 0x140082ce8
mov r9d, dword [r15 + 0xcf8]
test r9d, r9d
je 0x140082ce8
cmp qword [r15 + 0x1300], 0
je 0x140082ce8
or byte [rbx + 0xac], 2
test byte [r15 + 0xa47], 0x10
je 0x1400821ea
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082cc0
mov r8d, dword [rax + 8]
test r8d, r8d
jle 0x1400821ea
lea rdx, str.Proxy_CONNECT_connection_closed
mov rcx, r15
call sym.Curl_infof
mov byte [rsp + 0x5e], 1
mov dword [rbx + 0x98], 0
jmp 0x1400821f9
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, r15
mov r14d, 0x38
call sym.Curl_failf
mov byte [rsp + 0x5e], 1
mov dword [rbx + 0x98], 0
jmp 0x140082c4f
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, r15
call sym.Curl_failf
mov dword [rsp + 0x48], 0x1c
jmp 0x140082000
test byte [r15 + 0xa47], 0x10
je 0x140082d7e
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140083002
mov edx, dword [rax + 8]
test edx, edx
jle 0x140082d68
mov rdx, qword [r12]
mov edx, dword [rdx + 0xc]
test edx, edx
jg 0x140083011
mov eax, dword [rax + 8]
test eax, eax
jle 0x140082d7e
lea rdx, str.Connect_me_again_please
mov rcx, r15
call sym.Curl_infof
mov rdx, r15
mov rcx, r12
call sym.Curl_conn_cf_close
mov rcx, qword [rsp + 0x38]
xor edx, edx
call sym.Curl_conncontrol
mov rcx, qword [r12 + 8]
xor r8d, r8d
mov rdx, r15
lea r9, [rsp + 0x5e]
call sym.Curl_conn_cf_connect
test eax, eax
je 0x140082842
jmp 0x14008269a
mov r8, qword [rax]
lea rdx, str._s_cannot_be_done_over_CONNECT
mov rcx, r15
call sym.Curl_failf
mov dword [rsp + 0x48], 1
jmp 0x140081dc5
lea rcx, [r14 + 0xf]
lea r9, [rbx + 0xa0]
mov r8d, 0xa
xor edx, edx
call sym.curlx_strtoofft
jmp 0x140082810
mov rcx, r15
lea rdx, str.CONNECT_response_too_large
call sym.Curl_failf
mov rcx, r15
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x1400826c0
mov dword [rsp + 0x48], 0x38
jmp 0x140082000
test byte [rbx + 0xac], 1
je 0x140082fb3
test al, al
je 0x140082175
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082e54
mov eax, dword [rax + 8]
test eax, eax
jle 0x140082175
lea rdx, str.Ignore_chunked_response_body
mov rcx, r15
call sym.Curl_infof
jmp 0x140082264
mov rsi, qword [0x1401718c0]
xor ecx, ecx
call qword [rsi]
mov rcx, qword [rsp + 0x38]
mov edx, 2
mov qword [r15 + 0x1c0], 0
call sym.Curl_conncontrol
cmp dword [rbx + 0xa8], 5
je 0x140082f14
test byte [r15 + 0xa47], 0x10
je 0x140082eda
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082ebb
mov eax, dword [rax + 8]
test eax, eax
jle 0x140082eda
mov rax, qword [r12]
mov r14d, dword [rax + 0xc]
test r14d, r14d
jle 0x140082eda
lea r8, str.new_tunnel_state_failed
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
mov dword [rbx + 0xa8], 5
mov rcx, rbx
call sym.Curl_dyn_reset
lea rcx, [rbx + 0x20]
call sym.Curl_dyn_reset
mov rcx, qword [r15 + 0x1300]
mov dword [r15 + 0x1328], 0
call qword [rsi]
mov qword [r15 + 0x1300], 0
mov r8d, dword [r15 + 0x14c]
lea rdx, str.CONNECT_tunnel_failed__response__d
mov rcx, r15
call sym.Curl_failf
mov dword [rsp + 0x48], 0x38
jmp 0x140081dba
mov dword [rsp + 0x48], 0x1b
jmp 0x140081dc5
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x140083050
mov r8d, dword [r15 + 0x14c]
lea eax, [r8 - 0xc8]
cmp eax, 0x63
ja 0x140083170
test byte [r15 + 0xa47], 0x10
je 0x140082810
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082f9f
mov r11d, dword [rax + 8]
test r11d, r11d
jle 0x140082810
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, r15
call sym.Curl_infof
jmp 0x140082810
test al, al
je 0x140082861
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x140082fd2
mov eax, dword [rax + 8]
test eax, eax
jle 0x140082861
mov rax, qword [r12]
mov eax, dword [rax + 0xc]
test eax, eax
jle 0x140082861
lea r8, str.CONNECT:_no_content_length_or_chunked
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
jmp 0x140082861
mov esi, 0x1b
jmp 0x1400824a8
mov rax, qword [r12]
mov ecx, dword [rax + 0xc]
test ecx, ecx
jle 0x140082d6f
lea r8, str.CONNECT_need_to_closeopen
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
test byte [r15 + 0xa47], 0x10
je 0x140082d7e
mov rax, qword [r15 + 0x1270]
test rax, rax
jne 0x140082d68
jmp 0x140082d6f
lea r9, [0x14016bc00]
mov r8d, 0x11
mov rcx, r14
mov qword [rsp + 0x20], 5
lea rdx, str.Proxy_Connection:
call sym.Curl_compareheader
test al, al
jne 0x140082b9d
mov ecx, 7
mov rsi, r14
lea rdi, str.HTTP_1.
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
jne 0x140082810
movzx eax, byte [r14 + 7]
sub eax, 0x30
cmp al, 1
ja 0x140082810
cmp byte [r14 + 8], 0x20
jne 0x140082810
movzx eax, byte [r14 + 9]
lea edx, [rax - 0x30]
cmp dl, 9
ja 0x140082810
movzx edx, byte [r14 + 0xa]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x140082810
movzx ecx, byte [r14 + 0xb]
lea r8d, [rcx - 0x30]
cmp r8b, 9
ja 0x140082810
movzx r8d, byte [r14 + 0xc]
sub r8d, 0x30
cmp r8b, 9
jbe 0x140082810
sub eax, 0x30
sub edx, 0x30
movsx eax, al
movsx edx, dl
imul edx, edx, 0xa
imul eax, eax, 0x64
add eax, edx
lea edx, [rcx - 0x30]
movsx edx, dl
add eax, edx
mov dword [r15 + 0x14c], eax
mov dword [r15 + 0x132c], eax
jmp 0x140082810
mov rax, qword [r12]
cmp dword [rax + 0xc], 0
jle 0x1400822e4
lea r8, str.new_tunnel_state_established
mov rdx, r12
mov rcx, r15
call sym.Curl_trc_cf_infof
test byte [r15 + 0xa47], 0x10
je 0x1400822f3
mov rax, qword [r15 + 0x1270]
test rax, rax
jne 0x1400822dd
jmp 0x1400822e4
lea r9, str.chunked
mov r8d, 0x12
mov rcx, r14
mov qword [rsp + 0x20], 7
lea rdx, str.Transfer_Encoding:
call sym.Curl_compareheader
test al, al
je 0x140082810
test byte [r15 + 0xa47], 0x10
je 0x1400831c8
mov rax, qword [r15 + 0x1270]
test rax, rax
je 0x1400831b9
cmp dword [rax + 8], 0
jle 0x1400831c8
lea rdx, str.CONNECT_responded_chunked
mov rcx, r15
call sym.Curl_infof
or byte [rbx + 0xac], 1
mov rdx, qword [rsp + 0x40]
mov r8d, 1
mov rcx, r15
call sym.Curl_httpchunk_reset
jmp 0x140082810
mov dword [rsp + 0x48], eax
call sym.Curl_http_req_free
jmp 0x140082226
mov dword [rsp + 0x48], esi
jmp 0x140082000