Function at 0x140096b40
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbx, qword [rcx + 0x10]
mov r13, rcx
mov rsi, rdx
mov rdi, r9
test byte [rcx + 0x24], 1
jne 0x140096bc0
mov rcx, qword [rcx + 8]
movzx r8d, r8b
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x140096bab
cmp byte [rdi], 0
je 0x140096bc4
mov byte [rdi], 0
mov r14, qword [r13 + 0x18]
test rbx, rbx
je 0x140096bd0
mov eax, dword [rbx + 0xb8]
cmp eax, 4
je 0x140096d78
cmp eax, 5
jne 0x140096c80
mov eax, 0x38
nop dword [rax + rax]
mov byte [rdi], 0
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov byte [r9], 1
xor eax, eax
jmp 0x140096bab
mov rax, qword [r14 + 0x348]
test byte [rax + 0x8d], 0x40
jne 0x140097610
mov rax, qword [0x1401869f0]
mov edx, 0xc0
mov ecx, 1
call qword [rax]
mov rbx, rax
test rax, rax
je 0x140097688
lea r12, [rax + 0x10]
mov edx, 0x4000
lea rbp, [rbx + 0x30]
mov rcx, r12
call sym.Curl_dyn_init
mov edx, 0x100000
mov rcx, rbp
call sym.Curl_dyn_init
mov r8d, 1
lea rdx, [rbx + 0x60]
mov rcx, rsi
call sym.Curl_httpchunk_init
mov rcx, qword [r13 + 0x18]
xor edx, edx
call sym.Curl_conncontrol
mov rcx, r12
call sym.Curl_dyn_reset
mov rcx, rbp
call sym.Curl_dyn_reset
and byte [rbx + 0xbc], 0xfd
mov r14, qword [r13 + 0x18]
mov dword [rbx + 0xb8], 0
mov dword [rbx + 0xa8], 1
mov qword [rbx + 0xb0], 0
mov qword [r13 + 0x10], rbx
mov qword [rsp + 0xc8], rdi
mov r15, r14
nop dword [rax + rax]
xor edx, edx
mov r8d, 1
mov rcx, rsi
call sym.Curl_timeleft
test rax, rax
jle 0x1400975a0
mov eax, dword [rbx + 0xb8]
cmp eax, 2
je 0x140096dcb
ja 0x140097020
lea rbp, [rbx + 0x30]
test eax, eax
je 0x1400970f8
mov rcx, rbp
call sym.Curl_dyn_ptr
mov rcx, rbp
mov r12, rax
call sym.Curl_dyn_len
mov dword [rsp + 0x58], 0
mov rbp, rax
mov rax, qword [rbx + 0x50]
cmp rax, rbp
jae 0x140096db8
mov rcx, qword [r13 + 8]
add r12, rax
lea rdx, [rsp + 0x58]
mov r9, rbp
sub r9, rax
mov r8, r12
mov r10, qword [rcx]
mov qword [rsp + 0x20], rdx
mov rdx, rsi
call qword [r10 + 0x40]
mov r9, rax
test rax, rax
js 0x1400972e0
add qword [rbx + 0x50], rax
mov r8, r12
mov edx, 2
mov rcx, rsi
call sym.Curl_debug
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400972ed
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rcx, rsi
call sym.Curl_failf
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400972ed
mov rdi, qword [rsp + 0xc8]
mov byte [rsp + 0x4e], 0
test eax, eax
jne 0x140097098
nop dword [rax]
mov rcx, qword [rsi + 0x1188]
mov rbx, qword [0x140186a40]
call qword [rbx]
mov rax, qword [r13 + 0x10]
mov qword [rsi + 0x1188], 0
test rax, rax
je 0x140096da9
cmp dword [rax + 0xb8], 4
je 0x140097390
mov byte [rdi], 0
xor eax, eax
jmp 0x140096bab
cmp dword [rbx + 0xb8], 2
je 0x140096dcb
mov dword [rbx + 0xb8], 2
mov edx, dword [r13 + 0x20]
mov rcx, rsi
mov byte [rsp + 0x4e], 0
call sym.Curl_conn_data_pending
test al, al
je 0x1400971b0
mov r8d, dword [rbx + 0xa8]
test r8d, r8d
je 0x140096e84
lea rbp, [rsp + 0x4f]
lea r12, [rsp + 0x50]
lea rdi, [rbx + 0x10]
mov edx, dword [r13 + 0x20]
mov qword [rsp + 0x20], r12
mov r8, rbp
mov rcx, rsi
mov r9d, 1
call sym.Curl_conn_recv
mov r14d, eax
cmp eax, 0x51
je 0x140097508
mov rcx, rsi
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x140097510
test r14d, r14d
jne 0x140097310
cmp qword [rsp + 0x50], 0
jle 0x140097520
cmp dword [rbx + 0xa8], 2
jne 0x140096fe8
mov rax, qword [rbx + 0xb0]
test rax, rax
je 0x140097030
sub rax, 1
mov qword [rbx + 0xb0], rax
test rax, rax
jg 0x140096e02
mov dword [rbx + 0xa8], 0
mov eax, dword [rsi + 0x1204]
mov byte [rsp + 0x4e], 1
mov rcx, rsi
sub eax, 0xc8
cmp eax, 0x63
ja 0x1400975c8
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x140097725
cmp byte [rsp + 0x4e], 0
je 0x14009762c
cmp dword [rbx + 0xb8], 3
je 0x140096ecb
mov dword [rbx + 0xb8], 3
cmp qword [rsi + 0x1b8], 0
je 0x140096f60
lea rcx, [rsi + 0xf0]
mov rdx, rsi
call sym.Curl_req_soft_reset
test byte [rbx + 0xbc], 2
jne 0x1400975d8
test byte [r15 + 0x340], 0x40
jne 0x1400975d8
mov eax, dword [rbx + 0xb8]
test eax, eax
je 0x140096f48
lea rcx, [rbx + 0x10]
lea rbp, [rbx + 0x30]
call sym.Curl_dyn_reset
mov rcx, rbp
call sym.Curl_dyn_reset
and byte [rbx + 0xbc], 0xfd
mov dword [rbx + 0xb8], 0
mov dword [rbx + 0xa8], 1
mov qword [rbx + 0xb0], 0
cmp qword [rsi + 0x1b8], 0
jne 0x140096c90
nop word cs:[rax + rax]
mov eax, dword [rsi + 0x1204]
mov rdi, qword [rsp + 0xc8]
sub eax, 0xc8
cmp eax, 0x63
ja 0x140097698
cmp dword [rbx + 0xb8], 4
je 0x140096d78
movzx eax, byte [rsi + 0xcbc]
lea rcx, [rbx + 0x10]
and eax, 0xfffffffc
or eax, 1
mov byte [rsi + 0xcbc], al
mov dword [rbx + 0xb8], 4
call sym.Curl_dyn_reset
lea rcx, [rbx + 0x30]
call sym.Curl_dyn_reset
mov rbx, qword [0x140186a40]
mov rcx, qword [rsi + 0x1188]
mov dword [rsi + 0x1200], 0
call qword [rbx]
xor ecx, ecx
mov qword [rsi + 0x1188], 0
jmp 0x140096d86
mov r8d, 1
mov rdx, rbp
mov rcx, rdi
call sym.Curl_dyn_addn
test eax, eax
jne 0x140097656
cmp byte [rsp + 0x4f], 0xa
je 0x1400971c0
mov eax, dword [rbx + 0xa8]
test eax, eax
jne 0x140096e02
jmp 0x140096e84
cmp eax, 3
je 0x140096ecb
jmp 0x140096f48
test byte [rbx + 0xbc], 1
je 0x140096e02
lea rax, [rsp + 0x58]
lea rdx, [rbx + 0x60]
mov r8, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov r9d, 1
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x58], 0
call sym.Curl_httpchunk_read
mov rdx, qword [rsp + 0x38]
test eax, eax
je 0x1400973d8
mov rcx, rsi
mov rdi, qword [rsp + 0xc8]
mov r15d, eax
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x14009733a
mov eax, r15d
nop dword [rax]
cmp dword [rbx + 0xb8], 5
je 0x140096ba8
mov dword [rbx + 0xb8], 5
lea rcx, [rbx + 0x10]
mov dword [rsp + 0x38], eax
call sym.Curl_dyn_reset
lea rcx, [rbx + 0x30]
call sym.Curl_dyn_reset
mov rdx, qword [0x140186a40]
mov dword [rsi + 0x1200], 0
mov rcx, qword [rsi + 0x1188]
call qword [rdx]
mov eax, dword [rsp + 0x38]
mov qword [rsi + 0x1188], 0
jmp 0x140096ba8
mov rax, qword [0x140186a40]
mov rcx, qword [rsi + 0x1b8]
mov qword [rsp + 0x58], 0
call qword [rax]
lea rcx, [rsp + 0x58]
mov r9d, 1
mov r8, rsi
mov qword [rsi + 0x1b8], 0
mov rdx, r13
call sym.Curl_http_proxy_create_CONNECT
mov r14d, eax
test eax, eax
jne 0x140097175
lea rbp, [rbx + 0x30]
mov rcx, rbp
call sym.Curl_dyn_reset
mov rax, qword [r13 + 0x18]
pxor xmm0, xmm0
xor edx, edx
movups xmmword [rbx + 0x50], xmm0
mov rcx, qword [rsp + 0x58]
mov r8, rbp
cmp byte [rax + 0xec], 1
setne dl
call sym.Curl_h1_req_write_head
mov r14d, eax
test eax, eax
je 0x1400974b0
mov rcx, rsi
lea rdx, str.Failed_sending_CONNECT_to_proxy
mov rdi, qword [rsp + 0xc8]
mov r15d, r14d
call sym.Curl_failf
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140097092
call sym.Curl_http_req_free
jmp 0x140097092
mov rcx, rsi
jmp 0x140096ea0
add qword [rbx + 0x58], 1
mov rcx, rdi
call sym.Curl_dyn_ptr
mov rcx, rdi
mov r14, rax
call sym.Curl_dyn_len
mov r8, r14
mov edx, 1
mov rcx, rsi
mov r9, rax
mov qword [rsp + 0x38], rax
call sym.Curl_debug
xor edx, edx
cmp qword [rbx + 0x58], 1
mov r8, r14
sete dl
mov r9, qword [rsp + 0x38]
mov rcx, rsi
lea edx, [rdx*8 + 0x14]
call sym.Curl_client_write
test eax, eax
jne 0x14009747a
mov rdx, qword [rsp + 0x38]
mov r8d, 1
mov rcx, rsi
call sym.Curl_bump_headersize
test eax, eax
jne 0x14009747a
movzx eax, byte [r14]
cmp al, 0xd
je 0x140097348
cmp al, 0xa
je 0x140097348
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x140097272
mov eax, dword [rsi + 0x13c]
cmp eax, 0x191
je 0x140097430
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x14009729c
mov eax, dword [rsi + 0x13c]
cmp eax, 0x197
je 0x140097430
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x1400973f0
mov eax, dword [rsi + 0x13c]
sub eax, 0xc8
cmp eax, 0x63
ja 0x140097639
mov rcx, rdi
call sym.Curl_dyn_reset
jmp 0x14009700c
mov eax, dword [rsp + 0x58]
cmp eax, 0x51
jne 0x140096d3d
mov rax, qword [rbx + 0x50]
cmp rax, rbp
jae 0x140096db8
mov rdi, qword [rsp + 0xc8]
xor eax, eax
jmp 0x140096d68
mov dword [rbx + 0xa8], 0
mov rcx, rsi
mov r15d, r14d
mov rdi, qword [rsp + 0xc8]
mov byte [rsp + 0x4e], 1
call sym.Curl_pgrsUpdate
test eax, eax
je 0x140097092
mov eax, 0x2a
jmp 0x140097098
cmp dword [rsi + 0x13c], 0x197
jne 0x140096e7a
test byte [rsi + 0x11fc], 0x20
jne 0x140096e7a
cmp qword [rbx + 0xb0], 0
mov dword [rbx + 0xa8], 2
jne 0x140096e02
test byte [rbx + 0xbc], 1
je 0x140096e7a
jmp 0x140096e02
mov byte [rdi], 1
mov rdx, rsi
lea rcx, [rsi + 0xf0]
or byte [r13 + 0x24], 1
call sym.Curl_req_soft_reset
mov rcx, rsi
call sym.Curl_client_reset
xor edx, edx
mov rcx, rsi
call sym.Curl_pgrsSetUploadCounter
xor edx, edx
mov rcx, rsi
call sym.Curl_pgrsSetDownloadCounter
mov rdx, rsi
mov rcx, r13
call sym.tunnel_free
xor eax, eax
jmp 0x140096bab
mov rcx, rsi
call sym.Curl_httpchunk_is_done
test al, al
jne 0x140096e7a
jmp 0x14009700c
lea r9, str.close
mov r8d, 0xb
mov rcx, r14
mov qword [rsp + 0x20], 5
lea rdx, str.Connection:
call sym.Curl_compareheader
test al, al
je 0x140097732
or byte [rbx + 0xbc], 2
jmp 0x1400972cd
cmp eax, 0x197
mov rcx, r14
sete byte [rsp + 0x38]
call sym.Curl_copy_header_value
mov r14, rax
test rax, rax
je 0x14009771b
movzx edx, byte [rsp + 0x38]
mov r8, rax
mov rcx, rsi
call sym.Curl_http_input_auth
mov rdx, qword [0x140186a40]
mov rcx, r14
mov dword [rsp + 0x38], eax
call qword [rdx]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400972cd
mov edx, eax
nop dword [rax]
mov rcx, rsi
mov dword [rsp + 0x38], edx
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x140097725
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x140096ead
mov rdi, qword [rsp + 0xc8]
mov eax, edx
jmp 0x140097098
mov rcx, rsi
call sym.Curl_creader_set_null
mov r14d, eax
test eax, eax
jne 0x140097175
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400974d2
call sym.Curl_http_req_free
cmp dword [rbx + 0xb8], 1
je 0x140096cca
mov dword [rbx + 0xb8], 1
lea rcx, [rbx + 0x10]
mov dword [rbx + 0xa8], 1
call sym.Curl_dyn_reset
jmp 0x140096cca
xor edx, edx
jmp 0x140097480
mov edx, 0x2a
jmp 0x140097480
mov ecx, dword [rsi + 0x210]
test ecx, ecx
je 0x140097558
mov edx, dword [rsi + 0xcb8]
test edx, edx
je 0x140097558
cmp qword [rsi + 0x1188], 0
je 0x140097558
or byte [rbx + 0xbc], 2
mov dword [rbx + 0xa8], 0
jmp 0x140096e84
mov rcx, rsi
lea rdx, str.Proxy_CONNECT_aborted
mov rdi, qword [rsp + 0xc8]
call sym.Curl_failf
mov rcx, rsi
mov byte [rsp + 0x4e], 1
mov dword [rbx + 0xa8], 0
call sym.Curl_pgrsUpdate
test eax, eax
jne 0x14009733a
mov eax, 0x38
jmp 0x140097098
lea rdx, str.Proxy_CONNECT_aborted_due_to_timeout
mov rcx, rsi
mov rdi, qword [rsp + 0xc8]
call sym.Curl_failf
mov eax, 0x1c
jmp 0x140097098
call sym.Curl_http_auth_act
mov edx, eax
jmp 0x140097480
mov rdx, rsi
mov rcx, r13
mov rdi, qword [rsp + 0xc8]
call sym.Curl_conn_cf_close
xor edx, edx
mov rcx, r15
call sym.Curl_conncontrol
mov rcx, qword [r13 + 8]
xor r8d, r8d
mov rdx, rsi
lea r9, [rsp + 0x4e]
call sym.Curl_conn_cf_connect
jmp 0x140096d6d
mov r8, qword [rax]
lea rdx, str._s_cannot_be_done_over_CONNECT
mov rcx, rsi
call sym.Curl_failf
mov eax, 1
jmp 0x140096bab
mov rdi, qword [rsp + 0xc8]
jmp 0x140096d78
lea rcx, [r14 + 0xf]
lea r9, [rbx + 0xb0]
mov r8d, 0xa
xor edx, edx
call sym.curlx_strtoofft
jmp 0x1400972cd
mov rcx, rsi
lea rdx, str.CONNECT_response_too_large
mov rdi, qword [rsp + 0xc8]
call sym.Curl_failf
mov rcx, rsi
call sym.Curl_pgrsUpdate
test eax, eax
je 0x14009758e
jmp 0x14009733a
mov eax, 0x1b
jmp 0x140096bab
mov rbp, qword [0x140186a40]
xor ecx, ecx
call qword [rbp]
mov edx, 2
mov rcx, r15
mov qword [rsi + 0x1b8], 0
call sym.Curl_conncontrol
cmp dword [rbx + 0xb8], 5
je 0x140097700
mov dword [rbx + 0xb8], 5
lea rcx, [rbx + 0x10]
call sym.Curl_dyn_reset
lea rcx, [rbx + 0x30]
call sym.Curl_dyn_reset
mov rcx, qword [rsi + 0x1188]
mov dword [rsi + 0x1200], 0
call qword [rbp]
mov qword [rsi + 0x1188], 0
mov r8d, dword [rsi + 0x13c]
lea rdx, str.CONNECT_tunnel_failed__response__d
mov rcx, rsi
call sym.Curl_failf
jmp 0x140096b9e
mov edx, 0x1b
jmp 0x140097480
mov rdi, qword [rsp + 0xc8]
jmp 0x14009733a
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, r14
call sym.curl_strnequal
test eax, eax
je 0x1400977aa
mov eax, dword [rsi + 0x13c]
sub eax, 0xc8
cmp eax, 0x63
jbe 0x1400972cd
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 0x1400972cd
or byte [rbx + 0xbc], 1
lea rdx, [rbx + 0x60]
mov r8d, 1
mov rcx, rsi
call sym.Curl_httpchunk_reset
jmp 0x1400972cd
lea r9, str.close
mov r8d, 0x11
mov rcx, r14
mov qword [rsp + 0x20], 5
lea rdx, str.Proxy_Connection:
call sym.Curl_compareheader
test al, al
jne 0x14009741d
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, r14
call sym.strncmp
test eax, eax
jne 0x1400972cd
movzx eax, byte [r14 + 7]
sub eax, 0x30
cmp al, 1
ja 0x1400972cd
cmp byte [r14 + 8], 0x20
jne 0x1400972cd
movsx eax, byte [r14 + 9]
lea edx, [rax - 0x30]
cmp dl, 9
ja 0x1400972cd
movsx edx, byte [r14 + 0xa]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x1400972cd
movsx ecx, byte [r14 + 0xb]
lea r8d, [rcx - 0x30]
cmp r8b, 9
ja 0x1400972cd
movzx r8d, byte [r14 + 0xc]
sub r8d, 0x30
cmp r8b, 9
jbe 0x1400972cd
sub eax, 0x30
sub edx, 0x30
imul eax, eax, 0x64
imul edx, edx, 0xa
add eax, edx
lea eax, [rax + rcx - 0x30]
mov dword [rsi + 0x13c], eax
mov dword [rsi + 0x1204], eax
jmp 0x1400972cd