Function at 0x14018f2a0
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 r14, rcx
mov r12, rdx
mov ebx, r8d
mov rsi, r9
test byte [rcx + 0x24], 1
je 0x14018f2cd
mov byte [r9], 1
xor ebx, ebx
jmp 0x140190160
mov r13, qword [rcx + 0x10]
test rdx, rdx
je 0x14018f30c
test byte [rdx + 0x986], 0x20
je 0x14018f30c
mov rax, qword [rdx + 0x1120]
test rax, rax
je 0x14018f2f1
cmp dword [rax + 8], 0
jle 0x14018f30c
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018f30c
lea r8, str.connect
mov rdx, r14
mov rcx, r12
call sym.Curl_trc_cf_infof
mov rcx, qword [r14 + 8]
movzx r8d, bl
mov r9, rsi
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
jne 0x140190160
cmp byte [rsi], 0
je 0x140190160
mov byte [rsi], 0
test r13, r13
jne 0x14018f446
mov rax, qword [r14 + 0x18]
mov rax, qword [rax + 0x348]
test byte [rax + 0x95], 0x40
je 0x14018f36f
mov r8, qword [rax]
lea rdx, str._s_cannot_be_done_over_CONNECT
mov rcx, r12
mov ebx, 1
call sym.Curl_failf
jmp 0x140190160
mov rax, qword [0x14027aba0]
mov edx, 0xb8
mov ecx, 1
call qword [rax]
mov r13, rax
test rax, rax
je 0x14019015b
test r12, r12
je 0x14018f3c0
test byte [r12 + 0x986], 0x20
je 0x14018f3c0
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018f3b1
cmp dword [rax + 8], 0
jle 0x14018f3c0
lea rdx, str.allocate_connect_buffer
mov rcx, r12
call sym.Curl_infof
lea r9, [r13 + 8]
mov edx, 0x4000
lea r15, [r13 + 0x28]
mov rcx, r9
mov qword [rsp + 0x30], r9
call sym.Curl_dyn_init
mov edx, 0x100000
mov rcx, r15
call sym.Curl_dyn_init
mov r8d, 1
lea rdx, [r13 + 0x58]
mov rcx, r12
call sym.Curl_httpchunk_init
mov rcx, qword [r14 + 0x18]
xor edx, edx
call sym.Curl_conncontrol
mov r9, qword [rsp + 0x30]
mov rcx, r9
call sym.Curl_dyn_reset
mov rcx, r15
call sym.Curl_dyn_reset
and byte [r13 + 0xb4], 0xfd
mov dword [r13 + 0xb0], 0
mov dword [r13 + 0xa0], 1
mov qword [r13 + 0xa8], 0
mov qword [r14 + 0x10], r13
mov eax, dword [r13 + 0xb0]
cmp eax, 4
je 0x1401900e0
cmp eax, 5
je 0x14019006c
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 1
mov rcx, r12
call sym.Curl_timeleft
test rax, rax
jg 0x14018f496
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, r12
mov edi, 0x1c
call sym.Curl_failf
jmp 0x1401900c8
mov eax, dword [r13 + 0xb0]
cmp eax, 2
je 0x14018f71f
ja 0x14018f4b2
test eax, eax
jne 0x14018f60a
jmp 0x14018f4c0
cmp eax, 3
je 0x14018fecc
jmp 0x14018fffa
test r12, r12
je 0x14018f4fe
test byte [r12 + 0x986], 0x20
je 0x14018f4fe
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018f4e3
cmp dword [rax + 8], 0
jle 0x14018f4fe
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018f4fe
lea r8, str.CONNECT_start
mov rdx, r14
mov rcx, r12
call sym.Curl_trc_cf_infof
mov rax, qword [0x14027abd0]
mov rcx, qword [r12 + 0x1b8]
mov qword [rsp + 0x68], 0
call qword [rax]
lea rcx, [rsp + 0x68]
mov r9d, 1
mov r8, r12
mov qword [r12 + 0x1b8], 0
mov rdx, r14
call sym.Curl_http_proxy_create_CONNECT
mov edi, eax
test eax, eax
jne 0x14018f5ce
test byte [r12 + 0x986], 0x20
je 0x14018f57a
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018f562
cmp dword [rax + 8], 0
jle 0x14018f57a
mov rax, qword [rsp + 0x68]
lea rdx, str.Establish_HTTP_proxy_tunnel_to__s
mov rcx, r12
mov r8, qword [rax + 0x20]
call sym.Curl_infof
lea r8, [r13 + 0x28]
mov rcx, r8
mov qword [rsp + 0x38], r8
call sym.Curl_dyn_reset
mov rax, qword [r14 + 0x18]
xor edx, edx
mov r8, qword [rsp + 0x38]
mov qword [r13 + 0x48], 0
mov rcx, qword [rsp + 0x68]
mov qword [r13 + 0x50], 0
cmp byte [rax + 0xec], 1
setne dl
call sym.Curl_h1_req_write_head
mov edi, eax
test eax, eax
jne 0x14018f5ce
mov rcx, r12
call sym.Curl_creader_set_null
mov edi, eax
test eax, eax
je 0x14018f5dd
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, r12
call sym.Curl_failf
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14018f5ec
call sym.Curl_http_req_free
test edi, edi
jne 0x1401900c8
mov r9, r12
mov r8d, 1
mov rdx, r13
mov rcx, r14
call sym.h1_tunnel_go_state
jmp 0x14018f60f
test r12, r12
je 0x14018f648
test byte [r12 + 0x986], 0x20
je 0x14018f648
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018f62d
cmp dword [rax + 8], 0
jle 0x14018f648
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018f648
lea r8, str.CONNECT_send
mov rdx, r14
mov rcx, r12
call sym.Curl_trc_cf_infof
lea r15, [r13 + 0x28]
mov rcx, r15
call sym.Curl_dyn_ptr
mov rcx, r15
mov rdi, rax
call sym.Curl_dyn_len
mov dword [rsp + 0x68], 0
mov rbp, rax
mov rax, qword [r13 + 0x48]
cmp rbp, rax
jbe 0x14018f6c9
mov rcx, qword [r14 + 8]
lea r8, [rdi + rax]
lea rdx, [rsp + 0x68]
mov r9, rbp
sub r9, rax
mov qword [rsp + 0x38], r8
mov r10, qword [rcx]
mov qword [rsp + 0x20], rdx
mov rdx, r12
call qword [r10 + 0x40]
mov r8, qword [rsp + 0x38]
test rax, rax
mov r9, rax
jns 0x14018f6b8
cmp dword [rsp + 0x68], 0x51
jne 0x14018f6c9
mov dword [rsp + 0x68], 0
jmp 0x14018f6c9
add qword [r13 + 0x48], rax
mov edx, 2
mov rcx, r12
call sym.Curl_debug
cmp dword [rsp + 0x68], 0
je 0x14018f6df
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, r12
call sym.Curl_failf
mov edi, dword [rsp + 0x68]
xor eax, eax
test edi, edi
jne 0x14018f6f2
xor eax, eax
cmp rbp, qword [r13 + 0x48]
setbe al
mov byte [rsp + 0x5e], al
and byte [rsp + 0x5e], 1
test edi, edi
jne 0x1401900c8
test eax, eax
je 0x1401900e0
mov r9, r12
mov r8d, 2
mov rdx, r13
mov rcx, r14
call sym.h1_tunnel_go_state
test r12, r12
je 0x14018f75d
test byte [r12 + 0x986], 0x20
je 0x14018f75d
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018f742
cmp dword [rax + 8], 0
jle 0x14018f75d
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018f75d
lea r8, str.CONNECT_receive
mov rdx, r14
mov rcx, r12
call sym.Curl_trc_cf_infof
mov edx, dword [r14 + 0x20]
mov rcx, r12
mov byte [rsp + 0x5e], 0
call sym.Curl_conn_data_pending
test al, al
je 0x14018f811
lea rax, [rsp + 0x60]
lea rbp, [rsp + 0x5f]
mov qword [rsp + 0x40], rax
jmp 0x14018f7d8
mov rcx, r12
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x14018fe4d
test edi, edi
jne 0x14018f894
cmp qword [rsp + 0x60], 0
jle 0x14018f818
cmp dword [r13 + 0xa0], 2
jne 0x14018f93d
mov rax, qword [r13 + 0xa8]
test rax, rax
je 0x14018f8a4
dec rax
mov qword [r13 + 0xa8], rax
test rax, rax
jle 0x14018f894
mov edi, dword [r13 + 0xa0]
test edi, edi
je 0x14018fe5b
mov rax, qword [rsp + 0x40]
mov edx, dword [r14 + 0x20]
mov r8, rbp
mov rcx, r12
mov r9d, 1
mov qword [rsp + 0x20], rax
call sym.Curl_conn_recv
mov edi, eax
cmp eax, 0x51
jne 0x14018f787
xor edi, edi
jmp 0x14018fe95
cmp dword [r12 + 0x210], 0
je 0x14018f870
cmp dword [r12 + 0xc38], 0
je 0x14018f870
cmp qword [r12 + 0x1178], 0
je 0x14018f870
or byte [r13 + 0xb4], 2
test byte [r12 + 0x986], 0x20
je 0x14018f894
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018f85f
cmp dword [rax + 8], 0
jle 0x14018f894
lea rdx, str.Proxy_CONNECT_connection_closed
mov rcx, r12
call sym.Curl_infof
jmp 0x14018f894
lea rdx, str.Proxy_CONNECT_aborted
mov rcx, r12
mov edi, 0x38
call sym.Curl_failf
mov dword [r13 + 0xa0], 0
jmp 0x14018fe5b
mov dword [r13 + 0xa0], 0
jmp 0x14018fe5b
test byte [r13 + 0xb4], 1
je 0x14018f7d8
lea rax, [rsp + 0x68]
lea r15, [r13 + 0x58]
mov r8, rbp
mov rcx, r12
mov qword [rsp + 0x20], rax
mov r9d, 1
mov rdx, r15
mov qword [rsp + 0x68], 0
call sym.Curl_httpchunk_read
mov edi, eax
test eax, eax
jne 0x14018fe95
mov rdx, r15
mov rcx, r12
call sym.Curl_httpchunk_is_done
test al, al
je 0x14018f7d8
test r12, r12
je 0x14018faf1
test byte [r12 + 0x986], 0x20
je 0x14018faf1
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018f929
cmp dword [rax + 8], 0
jle 0x14018faf1
lea rdx, str.chunk_reading_DONE
mov rcx, r12
call sym.Curl_infof
jmp 0x14018faf1
lea rax, [r13 + 8]
mov r8d, 1
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x38], rax
call sym.Curl_dyn_addn
test eax, eax
je 0x14018f974
lea rdx, str.CONNECT_response_too_large
mov rcx, r12
mov edi, 0x38
call sym.Curl_failf
jmp 0x14018fe95
cmp byte [rsp + 0x5f], 0xa
jne 0x14018f7d8
inc qword [r13 + 0x50]
mov rcx, qword [rsp + 0x38]
call sym.Curl_dyn_ptr
mov rcx, qword [rsp + 0x38]
mov r15, rax
call sym.Curl_dyn_len
mov r8, r15
mov edx, 1
mov rcx, r12
mov r9, rax
mov qword [rsp + 0x48], rax
call sym.Curl_debug
xor edx, edx
cmp qword [r13 + 0x50], 1
mov r8, r15
sete dl
mov r9, qword [rsp + 0x48]
mov rcx, r12
lea edx, [rdx*8 + 0x14]
call sym.Curl_client_write
mov edi, eax
test eax, eax
jne 0x14018fe95
mov r9, qword [rsp + 0x48]
mov r8d, 1
mov rcx, r12
mov rdx, r9
call sym.Curl_bump_headersize
mov edi, eax
test eax, eax
jne 0x14018fe95
mov al, byte [r15]
cmp al, 0xd
je 0x14018fa0c
cmp al, 0xa
jne 0x14018fb01
cmp dword [r12 + 0x13c], 0x197
jne 0x14018faf1
test byte [r12 + 0x1194], 0x20
jne 0x14018faf1
mov al, byte [r12 + 0x986]
mov r8, qword [r13 + 0xa8]
mov dword [r13 + 0xa0], 2
and eax, 0x20
test r8, r8
je 0x14018fa82
test al, al
je 0x14018f7d8
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018fa6e
cmp dword [rax + 8], 0
jle 0x14018f7d8
lea rdx, str.Ignore__lld_bytes_of_response_body
mov rcx, r12
call sym.Curl_infof
jmp 0x14018f7d8
test byte [r13 + 0xb4], 1
je 0x14018fabf
test al, al
je 0x14018f7d8
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018faab
cmp dword [rax + 8], 0
jle 0x14018f7d8
lea rdx, str.Ignore_chunked_response_body
mov rcx, r12
call sym.Curl_infof
jmp 0x14018f7d8
test al, al
je 0x14018faf1
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018fad6
cmp dword [rax + 8], 0
jle 0x14018faf1
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018faf1
lea r8, str.CONNECT:_no_content_length_or_chunked
mov rdx, r14
mov rcx, r12
call sym.Curl_trc_cf_infof
mov dword [r13 + 0xa0], 0
jmp 0x14018f7d8
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, r15
call sym.curl_strnequal
test eax, eax
je 0x14018fb4d
cmp dword [r12 + 0x13c], 0x191
jne 0x14018fb4d
cmp dword [r12 + 0x13c], 0x197
mov rcx, r15
sete dil
call sym.Curl_copy_header_value
mov r11, rax
test rax, rax
jne 0x14018fb7a
jmp 0x14018fe54
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, r15
call sym.curl_strnequal
test eax, eax
je 0x14018fbf4
cmp dword [r12 + 0x13c], 0x197
jne 0x14018fbf4
jmp 0x14018fb28
test byte [r12 + 0x986], 0x20
je 0x14018fbc0
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018fb98
cmp dword [rax + 8], 0
jle 0x14018fbc0
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018fbc0
mov r9, r15
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x48], r11
call sym.Curl_trc_cf_infof
mov r11, qword [rsp + 0x48]
movzx edx, dil
mov r8, r11
mov rcx, r12
mov qword [rsp + 0x48], r11
call sym.Curl_http_input_auth
mov r11, qword [rsp + 0x48]
mov edi, eax
mov rax, qword [0x14027abd0]
mov rcx, r11
call qword [rax]
test edi, edi
je 0x14018fe3e
jmp 0x14018fe95
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, r15
call sym.curl_strnequal
test eax, eax
je 0x14018fc70
mov r8d, dword [r12 + 0x13c]
lea eax, [r8 - 0xc8]
cmp eax, 0x63
ja 0x14018fc53
test byte [r12 + 0x986], 0x20
je 0x14018fe3e
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018fc47
cmp dword [rax + 8], 0
jle 0x14018fe3e
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
jmp 0x14018fcfb
lea rcx, [r15 + 0xf]
lea r9, [r13 + 0xa8]
mov r8d, 0xa
xor edx, edx
call sym.curlx_strtoofft
jmp 0x14018fe3e
lea r9, [0x140276b54]
mov r8d, 0xb
mov rcx, r15
mov qword [rsp + 0x20], 5
lea rdx, str.Connection:
call sym.Curl_compareheader
test al, al
jne 0x14018fdaa
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, r15
call sym.curl_strnequal
test eax, eax
je 0x14018fd81
mov r8d, dword [r12 + 0x13c]
lea eax, [r8 - 0xc8]
cmp eax, 0x63
ja 0x14018fd08
test byte [r12 + 0x986], 0x20
je 0x14018fe3e
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018fcf4
cmp dword [rax + 8], 0
jle 0x14018fe3e
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, r12
call sym.Curl_infof
jmp 0x14018fe3e
lea r9, str.chunked
mov r8d, 0x12
mov rcx, r15
mov qword [rsp + 0x20], 7
lea rdx, str.Transfer_Encoding:
call sym.Curl_compareheader
test al, al
je 0x14018fe3e
test byte [r12 + 0x986], 0x20
je 0x14018fd62
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018fd53
cmp dword [rax + 8], 0
jle 0x14018fd62
lea rdx, str.CONNECT_responded_chunked
mov rcx, r12
call sym.Curl_infof
or byte [r13 + 0xb4], 1
lea rdx, [r13 + 0x58]
mov r8d, 1
mov rcx, r12
call sym.Curl_httpchunk_reset
jmp 0x14018fe3e
lea r9, [0x140276b54]
mov r8d, 0x11
mov rcx, r15
mov qword [rsp + 0x20], 5
lea rdx, str.Proxy_Connection:
call sym.Curl_compareheader
test al, al
je 0x14018fdb7
or byte [r13 + 0xb4], 2
jmp 0x14018fe3e
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, r15
call sym.strncmp
test eax, eax
jne 0x14018fe3e
mov al, byte [r15 + 7]
sub eax, 0x30
cmp al, 1
ja 0x14018fe3e
cmp byte [r15 + 8], 0x20
jne 0x14018fe3e
mov dl, byte [r15 + 9]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14018fe3e
mov cl, byte [r15 + 0xa]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14018fe3e
mov r8b, byte [r15 + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14018fe3e
mov al, byte [r15 + 0xc]
sub eax, 0x30
cmp al, 9
jbe 0x14018fe3e
lea eax, [rdx - 0x30]
sub ecx, 0x30
sub r8d, 0x30
movsx eax, al
movsx ecx, cl
movsx r8d, r8b
imul eax, eax, 0x64
imul ecx, ecx, 0xa
add eax, ecx
add eax, r8d
mov dword [r12 + 0x13c], eax
mov dword [r12 + 0x119c], eax
mov rcx, qword [rsp + 0x38]
call sym.Curl_dyn_reset
jmp 0x14018f7d8
mov edi, 0x2a
jmp 0x14018fe95
mov edi, 0x1b
jmp 0x14018fe95
mov eax, dword [r13 + 0xa0]
test eax, eax
sete byte [rsp + 0x5e]
test edi, edi
jne 0x14018fe95
test eax, eax
jne 0x14018f811
mov eax, dword [r12 + 0x119c]
sub eax, 0xc8
cmp eax, 0x63
jbe 0x14018f811
mov rcx, r12
call sym.Curl_http_auth_act
mov edi, eax
mov rcx, r12
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x1401900c3
test edi, edi
jne 0x1401900c8
cmp byte [rsp + 0x5e], 0
je 0x1401900e0
mov r9, r12
mov r8d, 3
mov rdx, r13
mov rcx, r14
call sym.h1_tunnel_go_state
test r12, r12
je 0x14018ff0a
test byte [r12 + 0x986], 0x20
je 0x14018ff0a
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018feef
cmp dword [rax + 8], 0
jle 0x14018ff0a
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018ff0a
lea r8, str.CONNECT_response
mov rdx, r14
mov rcx, r12
call sym.Curl_trc_cf_infof
cmp qword [r12 + 0x1b8], 0
je 0x14018fffa
lea rcx, [r12 + 0xf0]
mov rdx, r12
call sym.Curl_req_soft_reset
test byte [r13 + 0xb4], 2
jne 0x14018ff45
mov rax, qword [rsp + 0x30]
test byte [rax + 0x340], 0x40
je 0x14018ffe9
test byte [r12 + 0x986], 0x20
je 0x14018ffaf
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x14018ff72
cmp dword [rax + 8], 0
jg 0x14018ff72
mov rax, qword [r12 + 0x1120]
test rax, rax
jne 0x14018ff9a
jmp 0x14018ffa0
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x14018ff63
lea r8, str.CONNECT_need_to_closeopen
mov rdx, r14
mov rcx, r12
call sym.Curl_trc_cf_infof
test byte [r12 + 0x986], 0x20
jne 0x14018ff63
jmp 0x14018ffaf
cmp dword [rax + 8], 0
jle 0x14018ffaf
lea rdx, str.Connect_me_again_please
mov rcx, r12
call sym.Curl_infof
mov rdx, r12
mov rcx, r14
call sym.Curl_conn_cf_close
mov rcx, qword [rsp + 0x30]
xor edx, edx
call sym.Curl_conncontrol
mov rcx, qword [r14 + 8]
xor r8d, r8d
mov rdx, r12
lea r9, [rsp + 0x5e]
call sym.Curl_conn_cf_connect
mov edi, eax
test eax, eax
je 0x1401900e0
jmp 0x1401900c8
mov r9, r12
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call sym.h1_tunnel_go_state
cmp qword [r12 + 0x1b8], 0
jne 0x14018f468
mov eax, dword [r12 + 0x119c]
sub eax, 0xc8
cmp eax, 0x63
jbe 0x140190078
mov rax, qword [0x14027abd0]
xor ecx, ecx
call qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, 2
mov qword [r12 + 0x1b8], 0
call sym.Curl_conncontrol
mov rdx, r13
mov rcx, r14
mov r9, r12
mov r8d, 5
call sym.h1_tunnel_go_state
mov r8d, dword [r12 + 0x13c]
lea rdx, str.CONNECT_tunnel_failed__response__d
mov rcx, r12
call sym.Curl_failf
mov ebx, 0x38
xor eax, eax
jmp 0x140190114
mov r9, r12
mov r8d, 4
mov rdx, r13
mov rcx, r14
call sym.h1_tunnel_go_state
test byte [r12 + 0x986], 0x20
je 0x1401900e0
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x1401900aa
cmp dword [rax + 8], 0
jle 0x1401900e0
mov r8d, dword [r12 + 0x119c]
lea rdx, str.CONNECT_tunnel_established__response__d
mov rcx, r12
call sym.Curl_infof
jmp 0x1401900e0
mov edi, 0x2a
mov r9, r12
mov r8d, 5
mov rdx, r13
mov rcx, r14
call sym.h1_tunnel_go_state
mov ebx, edi
jmp 0x140190071
mov rax, qword [0x14027abd0]
mov rcx, qword [r12 + 0x1178]
call qword [rax]
mov rdx, qword [r14 + 0x10]
xor eax, eax
mov qword [r12 + 0x1178], 0
test rdx, rdx
je 0x140190114
xor eax, eax
cmp dword [rdx + 0xb0], 4
sete al
mov byte [rsi], al
and byte [rsi], 1
test eax, eax
je 0x140190160
or byte [r14 + 0x24], 1
mov rdx, r12
lea rcx, [r12 + 0xf0]
call sym.Curl_req_soft_reset
mov rcx, r12
call sym.Curl_client_reset
xor edx, edx
mov rcx, r12
call sym.Curl_pgrsSetUploadCounter
xor edx, edx
mov rcx, r12
call sym.Curl_pgrsSetDownloadCounter
mov rdx, r12
mov rcx, r14
call sym.tunnel_free
jmp 0x140190160
mov ebx, 0x1b
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret