Function at 0x140260700
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov qword [rsi], 0
mov al, byte [rdx]
mov r12, rcx
mov r14, rdx
mov r15, r8
mov rdi, r9
cmp al, 0xa
je 0x140260740
cmp al, 0xd
jne 0x140260d6b
mov r9, r15
mov r8, r14
mov edx, 1
mov rcx, r12
call fcn.14022fb50
mov r9, r15
mov r8, r14
mov rcx, r12
mov eax, dword [r12 + 0x13c]
sub eax, 0x64
cmp eax, 0x64
sbb edx, edx
and edx, 0x20
add edx, 4
call fcn.140229180
mov r13d, eax
test eax, eax
jne 0x14026113d
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call fcn.140227d20
mov r13d, eax
test eax, eax
jne 0x14026113d
mov eax, dword [r12 + 0x13c]
xor edx, edx
sub eax, 0x64
cmp eax, 0x63
ja 0x1402607b5
mov edx, dword [r12 + 0x120]
mov dword [r12 + 0x128], edx
lea rcx, [r12 + 0xb60]
call fcn.140230be0
mov r14, qword [r12 + 0x20]
cmp dword [r12 + 0x144], 3
jne 0x140260811
cmp byte [r14 + 0x548], 0x14
je 0x140260811
test byte [r12 + 0x986], 0x20
je 0x140260811
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x140260802
cmp dword [rax + 8], 0
jle 0x140260811
lea rdx, str.Lying_server__not_serving_HTTP_2
mov rcx, r12
call fcn.140239c50
mov cl, byte [r14 + 0x548]
cmp cl, 0x13
ja 0x14026082a
mov rax, qword [r14 + 0x510]
mov dword [rax], 0xffffffff
mov edx, dword [r12 + 0x13c]
cmp edx, 0x63
jg 0x140260843
lea rdx, str.Unsupported_response_code_in_HTTP_response
jmp 0x140260e18
cmp edx, 0xc7
mov al, byte [r12 + 0x1d4]
jg 0x140260926
mov dword [r12 + 0x12c], 0
or eax, 1
mov byte [r12 + 0x1d4], al
cmp edx, 0x64
je 0x14026087d
cmp edx, 0x65
je 0x14026088a
jmp 0x140260d61
mov rcx, r12
call fcn.1402364b0
jmp 0x140260d61
lea rdx, str.unexpected_101_response_code
cmp cl, 0xb
jne 0x1402610bb
cmp dword [r12 + 0x144], 2
jne 0x140260916
test byte [r12 + 0x986], 0x20
je 0x1402608d2
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x1402608c3
cmp dword [rax + 8], 0
jle 0x1402608d2
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, r12
call fcn.140239c50
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov r9, rdi
mov rdx, r14
or byte [r12 + 0x1d4], 1
mov rcx, r12
mov dword [r12 + 0x144], 3
mov dword [r12 + 0x12c], 0
call fcn.140235c80
test eax, eax
jne 0x14026113a
jmp 0x140260d63
and eax, 0xfffffffe
mov byte [r12 + 0x1d4], al
jmp 0x140260d61
and eax, 0xfffffffe
cmp dword [r12 + 0x144], 2
mov byte [r12 + 0x1d4], al
jne 0x140260949
mov rcx, qword [r12 + 0xd8]
call fcn.14023b8a0
cmp qword [r12 + 0xf0], 0xffffffffffffffff
jne 0x1402609fc
test byte [r12 + 0x1d5], 8
jne 0x1402609fc
test byte [r14 + 0x340], 0x40
je 0x140260991
mov eax, dword [r12 + 0x13c]
cmp eax, 0x191
jne 0x140260a0b
cmp dword [r14 + 0x408], 1
jmp 0x140260a1a
cmp byte [r14 + 0x548], 0xb
jne 0x140260a52
mov rax, qword [r14 + 0x348]
test byte [rax + 0x8e], 4
jne 0x140260a52
cmp byte [r12 + 0x1192], 5
je 0x140260a52
test byte [r12 + 0x986], 0x20
je 0x1402609ef
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x1402609e0
cmp dword [rax + 8], 0
jle 0x1402609ef
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
mov rcx, r12
call fcn.140239c50
mov edx, 2
mov rcx, r14
call fcn.14022ab10
test byte [r14 + 0x340], 0x40
je 0x140260a52
jmp 0x140260971
cmp eax, 0x197
jne 0x140260a52
cmp dword [r14 + 0x40c], 1
jne 0x140260a52
test byte [r12 + 0x986], 0x20
je 0x140260a49
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x140260a3a
cmp dword [rax + 8], 0
jle 0x140260a49
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
mov rcx, r12
call fcn.140239c50
or byte [r12 + 0x1194], 0x20
cmp dword [r14 + 0x408], 3
mov r8d, dword [r12 + 0x13c]
jne 0x140260a78
cmp r8d, 0x191
je 0x140260a78
mov dword [r14 + 0x408], 4
cmp dword [r14 + 0x40c], 3
jne 0x140260a96
cmp r8d, 0x197
je 0x140260a96
mov dword [r14 + 0x40c], 4
mov edx, r8d
mov rcx, r12
mov dword [rsp + 0x3c], r8d
call fcn.140261150
mov r8d, dword [rsp + 0x3c]
test al, al
je 0x140260ac6
lea rdx, str.The_requested_URL_returned_error:__d
mov r13d, 0x16
call fcn.140232170
jmp 0x14026113d
call fcn.140235e00
test eax, eax
jne 0x14026113a
cmp dword [r12 + 0x13c], 0x12b
jle 0x140260d07
test byte [r12 + 0x1d6], 1
jne 0x140260cb9
test byte [r14 + 0x340], 0x40
jne 0x140260cb9
mov rcx, r12
call fcn.14022f530
test al, al
jne 0x140260cb9
movzx eax, byte [r12 + 0x1192]
dec eax
cmp eax, 3
ja 0x140260cb9
mov rcx, r12
call fcn.140240050
test al, al
jne 0x140260cb9
cmp dword [r12 + 0x13c], 0x1a1
jne 0x140260c30
mov rcx, r12
call fcn.1402364f0
test al, al
je 0x140260c30
cmp qword [r12 + 0x108], 0
jne 0x140260bb4
lea rdx, str.cr_exp100
mov rcx, r12
call fcn.14022f130
test rax, rax
je 0x140260bb4
mov dl, byte [r12 + 0x986]
mov rax, qword [rax + 0x10]
and edx, 0x20
cmp dword [rax + 0x30], 1
jne 0x140260bb4
test dl, dl
je 0x140260c01
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x140260ba3
cmp dword [rax + 8], 0
jle 0x140260c01
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
mov rcx, r12
call fcn.140239c50
jmp 0x140260c01
test byte [r12 + 0x986], 0x20
je 0x140260be1
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x140260bd2
cmp dword [rax + 8], 0
jle 0x140260be1
lea rdx, str.Got_HTTP_failure_417_while_sending_data
mov rcx, r12
call fcn.140239c50
mov edx, 2
mov rcx, r14
call fcn.14022ab10
mov rdx, r14
mov rcx, r12
call fcn.140260220
test eax, eax
jne 0x14026113a
mov rax, qword [0x14037a100]
mov rcx, qword [r12 + 0x1038]
or byte [r12 + 0x1194], 0x80
call qword [rax]
mov rcx, r12
mov qword [r12 + 0x1b8], rax
call fcn.14023ffe0
jmp 0x140260cb9
mov al, byte [r12 + 0x986]
and eax, 0x20
test byte [r12 + 0x985], 0x20
je 0x140260c76
test al, al
je 0x140260c6c
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x140260c5d
cmp dword [rax + 8], 0
jle 0x140260c6c
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
mov rcx, r12
call fcn.140239c50
mov rcx, r12
call fcn.1402364b0
jmp 0x140260cb9
test al, al
je 0x140260c9c
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x140260c8d
cmp dword [rax + 8], 0
jle 0x140260c9c
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
mov rcx, r12
call fcn.140239c50
mov rcx, r14
mov edx, 2
call fcn.14022ab10
mov rcx, r12
call fcn.14023ffe0
test eax, eax
jne 0x14026113a
mov rcx, r12
call fcn.14022f530
test al, al
je 0x140260d07
mov rcx, r12
call fcn.140240050
test al, al
jne 0x140260d07
test byte [r12 + 0x986], 0x20
je 0x140260cfe
mov rax, qword [r12 + 0x1120]
test rax, rax
je 0x140260cef
cmp dword [rax + 8], 0
jle 0x140260cfe
lea rdx, str.Keep_sending_data_to_get_tossed_away
mov rcx, r12
call fcn.140239c50
or dword [r12 + 0x140], 2
mov rcx, r12
call fcn.140238e40
test eax, eax
jne 0x14026113a
cmp byte [r12 + 0x1d5], 0
jns 0x140260d2b
or byte [r12 + 0x1d4], 8
cmp qword [r12 + 0xf8], 0
jne 0x140260d51
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.140229eb0
test al, al
jne 0x140260d51
or byte [r12 + 0x1d4], 8
mov rcx, r12
call fcn.140236510
test eax, eax
jne 0x14026113a
xor ebx, ebx
add qword [rsi], rbx
jmp 0x14026113d
mov eax, dword [rcx + 0x12c]
lea edx, [rax + 1]
mov dword [rcx + 0x12c], edx
test eax, eax
jne 0x14026105c
mov dword [rcx + 0x138], 0
mov rax, qword [rcx + 0x20]
mov rax, qword [rax + 0x348]
mov eax, dword [rax + 0x8c]
test al, 3
je 0x140260f51
mov r13, r14
mov al, byte [r13]
test al, al
je 0x140260dbd
cmp al, 0x20
jne 0x140260db9
inc r13
jmp 0x140260da8
cmp al, 9
je 0x140260db4
mov r8d, 5
lea rdx, str.HTTP_
mov rcx, r13
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x140260f1f
movsx eax, byte [r13 + 5]
cmp al, 0x31
je 0x140260e0a
lea edx, [rax - 0x32]
cmp dl, 1
ja 0x140260f13
mov dl, byte [r13 + 6]
cmp dl, 0x20
je 0x140260eae
cmp dl, 9
jne 0x140260f1f
jmp 0x140260eae
cmp byte [r13 + 6], 0x2e
je 0x140260e2b
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, r12
mov r13d, 1
call fcn.140232170
jmp 0x14026113d
mov al, byte [r13 + 7]
lea edx, [rax - 0x30]
cmp dl, 1
ja 0x140260e11
mov dl, byte [r13 + 8]
cmp dl, 0x20
je 0x140260e45
cmp dl, 9
jne 0x140260e11
sub eax, 0x26
movsx eax, al
mov dword [r12 + 0x138], eax
mov al, byte [r13 + 9]
sub eax, 0x30
cmp al, 9
ja 0x140260e11
mov dil, byte [r13 + 0xa]
lea edx, [rdi - 0x30]
cmp dl, 9
ja 0x140260e11
mov sil, byte [r13 + 0xb]
lea ecx, [rsi - 0x30]
cmp cl, 9
ja 0x140260e11
movsx eax, al
movsx edx, dl
movsx ecx, cl
imul edx, edx, 0xa
imul eax, eax, 0x64
add eax, edx
add eax, ecx
mov dword [r12 + 0x13c], eax
mov al, byte [r13 + 0xc]
lea edx, [rax - 9]
cmp dl, 4
jbe 0x140261033
cmp al, 0x20
jne 0x140260e11
jmp 0x140261033
sub eax, 0x30
imul eax, eax, 0xa
mov dword [r12 + 0x138], eax
mov al, byte [r13 + 7]
sub eax, 0x30
cmp al, 9
ja 0x140260f1f
mov dil, byte [r13 + 8]
lea edx, [rdi - 0x30]
cmp dl, 9
ja 0x140260f1f
mov sil, byte [r13 + 9]
lea ecx, [rsi - 0x30]
cmp cl, 9
ja 0x140260f1f
movsx eax, al
movsx edx, dl
movsx ecx, cl
imul edx, edx, 0xa
imul eax, eax, 0x64
add eax, edx
add eax, ecx
mov dword [r12 + 0x13c], eax
mov al, byte [r13 + 0xa]
lea edx, [rax - 9]
cmp dl, 4
jbe 0x140261033
cmp al, 0x20
jne 0x140260f1f
jmp 0x140261033
lea rdx, str.Unsupported_HTTP_version_in_response
jmp 0x140260e18
mov rcx, qword [r12 + 0x6c0]
mov r8, r15
mov rdx, r14
call fcn.140251df0
dec eax
jne 0x140261051
movabs rax, 0xc80000000a
mov qword [r12 + 0x138], rax
jmp 0x140261033
bt eax, 0x12
mov r13, r14
jae 0x140261051
mov al, byte [r13]
test al, al
je 0x140260f73
cmp al, 0x20
jne 0x140260f6f
inc r13
jmp 0x140260f5e
cmp al, 9
je 0x140260f6a
mov r8d, 5
lea rdx, str.RTSP_
mov rcx, r13
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x140261051
mov al, byte [r13 + 5]
sub eax, 0x30
cmp al, 9
ja 0x1402610c3
cmp byte [r13 + 6], 0x2e
jne 0x1402610c3
mov al, byte [r13 + 7]
sub eax, 0x30
cmp al, 9
ja 0x1402610c3
mov al, byte [r13 + 8]
cmp al, 0x20
je 0x140260fc9
cmp al, 9
jne 0x1402610c3
mov al, byte [r13 + 9]
sub eax, 0x30
cmp al, 9
ja 0x1402610c3
mov dil, byte [r13 + 0xa]
lea edx, [rdi - 0x30]
cmp dl, 9
ja 0x1402610c3
mov sil, byte [r13 + 0xb]
lea ecx, [rsi - 0x30]
cmp cl, 9
ja 0x1402610c3
movsx eax, al
movsx edx, dl
movsx ecx, cl
imul edx, edx, 0xa
imul eax, eax, 0x64
add eax, edx
add eax, ecx
mov dword [r12 + 0x13c], eax
mov al, byte [r13 + 0xc]
lea edx, [rax - 9]
cmp dl, 4
jbe 0x140261027
cmp al, 0x20
jne 0x1402610c3
mov dword [r12 + 0x138], 0xb
mov rdx, qword [r12 + 0x20]
mov rcx, r12
mov ebx, 0xc
call fcn.140238ec0
mov r13d, eax
test eax, eax
je 0x140261061
jmp 0x14026113d
and byte [r12 + 0x1d4], 0xfe
jmp 0x1402610c3
mov ebx, 4
xor edx, edx
mov r8, r15
mov rcx, r14
call sub.msvcrt.dll_memchr
lea rdx, str.Nul_byte_in_header
test rax, rax
jne 0x1402610bb
mov eax, dword [r12 + 0x12c]
cmp eax, 1
jle 0x1402610cb
mov dl, byte [r14]
cmp dl, 0x20
sete cl
cmp dl, 9
sete dl
or cl, dl
je 0x14026109f
cmp eax, 2
jne 0x1402610cb
mov r8, r15
mov edx, 0x3a
mov rcx, r14
call sub.msvcrt.dll_memchr
test rax, rax
jne 0x1402610cb
lea rdx, str.Header_without_colon
mov rcx, r12
call fcn.140232170
mov r13d, 8
jmp 0x14026113d
mov r8, r15
mov rdx, r14
mov rcx, r12
call fcn.1402366c0
mov r13d, eax
test eax, eax
jne 0x14026113d
mov r9, r15
mov r8, r14
mov edx, 1
mov rcx, r12
call fcn.14022fb50
mov eax, dword [r12 + 0x13c]
sub eax, 0x64
cmp eax, 0x63
ja 0x140261106
or ebx, 0x20
mov r9, r15
mov r8, r14
mov edx, ebx
mov rcx, r12
call fcn.140229180
mov r13d, eax
test eax, eax
jne 0x14026113d
xor r8d, r8d
mov rdx, r15
mov rcx, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140227d20
mov r13d, eax
mov eax, r13d
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret