Function at 0x1400333a0
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x30], r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
lea rax, [rcx + 0xf0]
mov qword [rsp + 0x20], rax
mov rax, qword [r8]
mov qword [rsp + 0x28], rax
mov rbx, qword [rcx + 0x138]
lea r14, [rcx + 0xc98]
mov r13, rbx
mov r12, qword [r15]
mov rcx, r13
mov edx, 0xa
mov r8, r12
call fcn.140895d80
test rax, rax
je 0x140033d74
mov rcx, rax
not rcx
add r12, r13
add r12, rcx
mov qword [r15], r12
inc rax
mov qword [rsi + 0x138], rax
sub rax, r13
mov rcx, r14
mov rdx, r13
mov r8, rax
call fcn.140010670
test eax, eax
jne 0x140033d6c
cmp dword [rsi + 0x134], 0
jne 0x140033467
mov rcx, r14
call fcn.140010800
mov r12, rax
mov rcx, r14
call fcn.1400107f0
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov r9, r12
call fcn.140033f90
cmp eax, 2
je 0x140033e27
mov rcx, r14
call fcn.1400107f0
mov rbp, rax
movzx eax, byte [rax]
cmp eax, 0xd
je 0x14003347f
cmp eax, 0xa
jne 0x1400334f0
mov eax, dword [rsi + 0x148]
lea ecx, [rax - 0x64]
cmp ecx, 0x63
ja 0x1400335a0
cmp eax, 0x65
je 0x14003362a
cmp eax, 0x64
jne 0x14003364f
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
cmp dword [rsi + 0x160], 0
jle 0x140033660
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
mov rcx, rsi
xor edx, edx
call fcn.14000fc80
jmp 0x14003361f
mov eax, dword [rsi + 0x134]
lea ecx, [rax + 1]
mov dword [rsi + 0x134], ecx
mov r13d, 2
test eax, eax
jne 0x14003396d
mov rax, qword [rdi + 0x2e8]
mov eax, dword [rax + 0x84]
test al, 3
je 0x140033864
mov r12, rbp
jmp 0x140033533
inc r12
movzx eax, byte [r12]
cmp eax, 0x20
je 0x140033530
cmp eax, 9
je 0x140033530
mov r8d, 5
mov rcx, r12
lea rdx, str.HTTP_
call fcn.1408a9ec0
test eax, eax
je 0x140033abb
mov rcx, r14
call fcn.140010800
mov r12, rax
mov rcx, r14
call fcn.1400107f0
mov rcx, rsi
mov rdx, rax
mov r8, r12
call fcn.140033fc0
cmp eax, 1
jne 0x140033eba
mov dword [rsi + 0x148], Ordinal_208
mov byte [rdi + 0x70d], 0xa
jmp 0x14003395c
cmp dword [rsi + 0x164], 2
jne 0x1400335b5
mov rcx, qword [rsi + 0xd8]
call fcn.14000e160
mov byte [rsi + 0x1c2], 0
cmp qword [rsi + 0xf0], 0xffffffffffffffff
jne 0x14003363e
cmp byte [rsi + 0x1c7], 0
jne 0x14003361f
cmp byte [rdi + 0x2ce], 0
jne 0x14003361f
cmp byte [rdi + 0x70d], 0xb
jne 0x14003361f
mov rax, qword [rdi + 0x2e8]
test byte [rax + 0x86], 4
jne 0x14003361f
cmp byte [rsi + 0x1362], 5
je 0x14003361f
cmp byte [rsi + 0xaaf], 0
je 0x140033612
mov rcx, rsi
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
call fcn.140004380
mov rcx, rdi
mov edx, 2
call fcn.140018170
cmp byte [rsi + 0x1c2], 0
jne 0x140033660
jmp 0x14003363e
cmp dword [rsi + 0x164], 2
je 0x140033ec3
mov byte [rsi + 0x1c2], 0
mov rcx, rsi
call fcn.1400332b0
test eax, eax
je 0x140033660
jmp 0x140033d6c
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
cmp byte [rdi + 0x2ce], 0
mov eax, dword [rsi + 0x148]
je 0x140033714
cmp eax, 0x197
je 0x14003368c
cmp eax, 0x191
jne 0x1400336c3
cmp dword [rdi + 0x3b0], 2
je 0x140033695
jmp 0x1400336d1
cmp dword [rdi + 0x3b4], 2
jne 0x1400336e1
cmp byte [rsi + 0xaaf], 0
je 0x1400336b3
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.140004380
mov eax, dword [rsi + 0x148]
mov byte [rsi + 0x1369], 1
cmp byte [rdi + 0x2ce], 0
je 0x140033714
cmp eax, 0x197
je 0x1400336e1
cmp eax, 0x191
jne 0x140033714
mov eax, 0x191
cmp dword [rdi + 0x4a8], 1
je 0x1400336ef
jmp 0x140033739
mov eax, 0x197
cmp dword [rdi + 0x4ac], 1
jne 0x140033714
cmp byte [rsi + 0xaaf], 0
je 0x14003370d
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.140004380
mov eax, dword [rsi + 0x148]
mov byte [rsi + 0x1369], 1
cmp dword [rdi + 0x4a8], 3
jne 0x140033739
cmp eax, 0x191
mov eax, 0x191
je 0x140033739
mov dword [rdi + 0x4a8], 4
mov eax, dword [rsi + 0x148]
cmp dword [rdi + 0x4ac], 3
jne 0x14003375e
cmp eax, 0x197
mov eax, 0x197
je 0x14003375e
mov dword [rdi + 0x4ac], 4
mov eax, dword [rsi + 0x148]
movzx ecx, byte [rsi + 0xaab]
add eax, 0xffffff9c
xor r12d, r12d
cmp eax, 0x64
setb r12b
shl r12d, 4
or r12d, ecx
or r12d, 2
mov rcx, r14
call fcn.140010800
mov rbp, rax
mov rcx, r14
call fcn.1400107f0
mov rcx, rsi
mov edx, r12d
mov r8, rax
mov r9, rbp
call fcn.140017a50
test eax, eax
jne 0x140033d6c
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call fcn.140033330
test eax, eax
jne 0x140033d6c
mov rcx, rsi
call fcn.14002ffa0
mov r8d, dword [rsi + 0x148]
test al, al
jne 0x140033dfa
add r8d, 0xffffff9c
xor eax, eax
cmp r8d, 0x63
ja 0x1400337e8
mov eax, dword [rsi + 0x128]
mov dword [rsi + 0x12c], eax
mov rcx, rsi
call fcn.14002fb30
test eax, eax
jne 0x140033d6c
cmp dword [rsi + 0x148], 0x12c
jl 0x140033852
cmp byte [rdi + 0x2d8], 0
jne 0x140033820
cmp byte [rdi + 0x2ce], 0
je 0x140033a2d
cmp byte [rsi + 0x1377], 0
je 0x140033852
cmp qword [rdi + 0x310], 0xffffffffffffffff
je 0x140033852
cmp byte [rsi + 0xaaf], 0
je 0x14003384b
mov rcx, rsi
lea rdx, str.Keep_sending_data_to_get_tossed_away
call fcn.140004380
or byte [rsi + 0x14c], 2
cmp byte [rsi + 0x1c2], 0
jne 0x140033a0e
jmp 0x140033e14
test eax, 0x40000
je 0x140033eba
mov r13, rbp
jmp 0x140033883
inc r13
movzx eax, byte [r13]
cmp eax, 0x20
je 0x140033880
cmp eax, 9
je 0x140033880
mov r8d, 5
mov rcx, r13
lea rdx, str.RTSP_
call fcn.1408a9ec0
test eax, eax
jne 0x140033eba
movzx eax, byte [r13 + 5]
add al, 0xd0
mov r12d, 8
cmp al, 9
ja 0x140033f1a
cmp byte [r13 + 6], 0x2e
jne 0x140033f1a
movzx eax, byte [r13 + 7]
add al, 0xd0
cmp al, 9
ja 0x140033f1a
movzx eax, byte [r13 + 8]
cmp eax, 0x20
je 0x1400338f1
cmp eax, 9
jne 0x140033f1a
movsx eax, byte [r13 + 9]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x140033f1a
movsx ecx, byte [r13 + 0xa]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x140033f1a
movzx edx, byte [r13 + 0xb]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x140033f1a
imul eax, eax, 0x64
lea ecx, [rcx + rcx*4]
lea eax, [rax + rcx*2]
add eax, edx
add eax, 0xffffeb30
mov dword [rsi + 0x148], eax
movzx eax, byte [r13 + 0xc]
cmp eax, 9
je 0x140033955
cmp eax, 0x20
je 0x140033955
add al, 0xf6
cmp al, 3
ja 0x140033f1a
mov byte [rdi + 0x70d], 0xb
mov rcx, rsi
mov rdx, rdi
call fcn.1400331a0
mov r13d, 6
mov rcx, rsi
call fcn.140034050
test eax, eax
jne 0x140033d6c
mov rcx, rsi
mov rdx, rdi
mov r8, rbp
call fcn.140032890
test eax, eax
jne 0x140033d6c
movzx eax, byte [rsi + 0xaab]
or r13d, eax
mov eax, dword [rsi + 0x148]
add eax, 0xffffff9c
mov r12d, r13d
or r12d, 0x10
cmp eax, 0x64
cmovae r12d, r13d
mov rcx, r14
call fcn.140010800
mov rcx, rsi
mov edx, 1
mov r8, rbp
mov r9, rax
call fcn.1400041e0
mov rcx, r14
call fcn.140010800
mov rcx, rsi
mov edx, r12d
mov r8, rbp
mov r9, rax
call fcn.140017a50
test eax, eax
jne 0x140033d6c
mov rcx, r14
call fcn.140010800
mov rcx, rsi
mov rdx, rax
xor r8d, r8d
call fcn.140033330
test eax, eax
jne 0x140033d6c
mov rcx, r14
call fcn.1400105f0
mov r13, qword [rsi + 0x138]
cmp byte [r13], 0
jne 0x1400333e3
jmp 0x140033f17
cmp byte [rsi + 0x1377], 0
jne 0x140033829
movzx eax, byte [rsi + 0x1362]
dec al
cmp al, 3
ja 0x140033820
mov rcx, rsi
xor edx, edx
call fcn.14000fc80
cmp byte [rsi + 0x1c4], 0
jne 0x140033820
cmp dword [rsi + 0x148], 0x1a1
jne 0x140033c71
cmp byte [rsi + 0x136b], 0
je 0x140033c71
cmp qword [rsi + 0x108], 0
jne 0x140033d0f
cmp dword [rsi + 0x160], 1
jne 0x140033d0f
cmp byte [rsi + 0xaaf], 0
je 0x140033d3f
mov rcx, rsi
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
call fcn.140004380
jmp 0x140033d3f
movsx eax, byte [r12 + 5]
lea ecx, [rax - 0x32]
cmp ecx, 2
jae 0x140033b66
movzx ecx, byte [r12 + 6]
cmp ecx, 0x20
je 0x140033ae1
cmp ecx, 9
jne 0x14003355f
movsx ecx, byte [r12 + 7]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x14003355f
movsx edx, byte [r12 + 8]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14003355f
movzx r8d, byte [r12 + 9]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x14003355f
lea eax, [rax + rax*4]
lea eax, [rax*2 - 0x1e0]
imul ecx, ecx, 0x64
lea edx, [rdx + rdx*4]
lea ecx, [rcx + rdx*2]
add ecx, r8d
add ecx, 0xffffeb30
mov dword [rsi + 0x148], ecx
movzx edx, byte [r12 + 0xa]
cmp edx, 9
je 0x140033c14
cmp edx, 0x20
je 0x140033c14
add dl, 0xf6
cmp dl, 4
jae 0x14003355f
jmp 0x140033c14
cmp eax, 0x31
jne 0x140033f45
cmp byte [r12 + 6], 0x2e
jne 0x140033f2e
movzx eax, byte [r12 + 7]
mov ecx, eax
and cl, 0xfe
cmp cl, 0x30
jne 0x140033f2e
movzx ecx, byte [r12 + 8]
cmp ecx, 0x20
je 0x140033ba3
cmp ecx, 9
jne 0x140033f2e
movsx ecx, byte [r12 + 9]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x140033f2e
movsx edx, byte [r12 + 0xa]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x140033f2e
movzx r8d, byte [r12 + 0xb]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x140033f2e
add eax, 0xffffffda
imul ecx, ecx, 0x64
lea edx, [rdx + rdx*4]
lea ecx, [rcx + rdx*2]
add ecx, r8d
add ecx, 0xffffeb30
mov dword [rsi + 0x148], ecx
movzx edx, byte [r12 + 0xc]
cmp edx, 9
je 0x140033c14
cmp edx, 0x20
je 0x140033c14
add dl, 0xf6
cmp dl, 4
jae 0x140033f2e
cmp ecx, 0x63
jle 0x140033f4e
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0xa
jne 0x140033f57
mov byte [rdi + 0x70d], al
cmp dword [rsi + 0x164], 3
jne 0x140033c5f
cmp byte [rsi + 0xaaf], 0
je 0x140033c5f
mov rcx, rsi
lea rdx, str.Lying_server__not_serving_HTTP_2
call fcn.140004380
cmp byte [rdi + 0x70d], 0x13
ja 0x14003395c
mov rax, qword [rdi + 0x6d0]
mov dword [rax], 0xffffffff
jmp 0x14003395c
cmp byte [rsi + 0xaa7], 0
movzx eax, byte [rsi + 0xaaf]
je 0x140033cb7
test al, al
je 0x140033c94
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.140004380
cmp dword [rsi + 0x160], 0
jle 0x140033820
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
jmp 0x140033820
test al, al
je 0x140033cca
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.140004380
mov rcx, rdi
mov edx, 2
call fcn.140018170
mov rcx, rsi
mov rdx, qword [rsp + 0x20]
call fcn.140035820
test eax, eax
jne 0x140033d6c
mov byte [rsi + 0x1c4], 1
cmp byte [rsi + 0x136b], 0
je 0x140033820
mov dword [rsi + 0x160], 3
jmp 0x140033820
cmp byte [rsi + 0xaaf], 0
je 0x140033d27
mov rcx, rsi
lea rdx, str.Got_HTTP_failure_417_while_sending_data
call fcn.140004380
mov rcx, rdi
mov edx, 2
call fcn.140018170
mov rcx, rsi
mov rdx, rdi
call fcn.14002fdc0
mov byte [rsi + 0x136c], 1
mov rcx, qword [rsi + 0x1210]
call qword [case.0x140013d0e.1]
mov qword [rsi + 0x188], rax
mov rcx, rsi
mov rdx, qword [rsp + 0x20]
call fcn.140035820
jmp 0x140033820
mov r12d, eax
jmp 0x140033f1a
mov rcx, r14
mov rdx, r13
mov r8, r12
call fcn.140010670
mov r12d, eax
test eax, eax
jne 0x140033f1a
xor r12d, r12d
cmp dword [rsi + 0x134], 0
jne 0x140033f1a
mov rcx, r14
call fcn.140010800
mov rbx, rax
mov rcx, r14
call fcn.1400107f0
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov r9, rbx
call fcn.140033f90
cmp eax, 2
jne 0x140033f1a
mov byte [rsi + 0x1c2], 0
mov dword [rsi + 0x130], 2
mov rcx, rdi
mov edx, 2
call fcn.140018170
cmp byte [rsi + 0xac9], 0
jne 0x140033f1a
jmp 0x140033eb1
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rsi
call fcn.1400042b0
mov r12d, Ordinal_27
jmp 0x140033f1a
cmp byte [rsi + 0x1cc], 0
mov rcx, qword [rsp + 0x30]
je 0x140033e5d
mov byte [rcx], 1
jmp 0x140033e81
mov rcx, rdi
mov edx, 2
call fcn.140018170
cmp byte [rsi + 0xac9], 0
je 0x140033eb1
mov byte [rsi + 0x1c2], 0
cmp qword [r15], 0
je 0x140033efe
mov dword [rsi + 0x130], 1
jmp 0x140033f17
mov rax, qword [rdi + 0x2e8]
test byte [rax + 0x86], 4
je 0x140033e81
cmp dword [rsi + 0x9f0], 2
jne 0x140033e81
mov rax, qword [rsp + 0x20]
cmp qword [rax], 0
js 0x140033e22
cmp qword [rsi + 0xf8], 0
je 0x140033e92
cmp byte [rcx], 0
jne 0x140033e95
jmp 0x140033e9c
mov byte [rcx], 1
and byte [rsi + 0x14c], 0xfe
mov rcx, rsi
mov edx, 1
mov r8, r13
mov r9, rbp
call fcn.1400041e0
jmp 0x140033f17
lea rdx, str.Received_HTTP_0.9_when_not_allowed
jmp 0x140033f35
mov byte [rsi + 0x1c2], 0
jmp 0x140033f17
cmp byte [rsi + 0xaaf], 0
je 0x140033edb
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rsi
call fcn.140004380
mov dword [rsi + 0x164], 3
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
mov r12d, 1
jmp 0x140033f1a
mov dword [rsi + 0x130], 2
mov rax, qword [rsp + 0x28]
mov qword [r15], rax
mov qword [rsi + 0x138], rbx
xor r12d, r12d
mov eax, r12d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rsi
call fcn.1400042b0
mov r12d, 1
jmp 0x140033f1a
lea rdx, str.Unsupported_HTTP_version_in_response
jmp 0x140033f35
lea rdx, str.Unsupported_response_code_in_HTTP_response
jmp 0x140033f35
movzx eax, al
imul r8d, eax, 0xcd
shr r8d, 0xb
lea ecx, [r8 + r8]
lea ecx, [rcx + rcx*4]
sub al, cl
movzx r9d, al
lea rdx, str.Unsupported_HTTP_version___u._d__in_response
mov rcx, rsi
call fcn.1400042b0
mov r12d, 1
jmp 0x140033f1a