Function at 0x14046bd40
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.1404a3480
test rax, rax
je 0x14046c714
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.140449030
test eax, eax
jne 0x14046c70c
cmp dword [rsi + 0x134], 0
jne 0x14046be07
mov rcx, r14
call fcn.14009b120
mov r12, rax
mov rcx, r14
call fcn.14009c9f0
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov r9, r12
call fcn.14046c930
cmp eax, 2
je 0x14046c7c7
mov rcx, r14
call fcn.14009c9f0
mov rbp, rax
movzx eax, byte [rax]
cmp eax, 0xd
je 0x14046be1f
cmp eax, 0xa
jne 0x14046be90
mov eax, dword [rsi + 0x148]
lea ecx, [rax - 0x64]
cmp ecx, 0x63
ja 0x14046bf40
cmp eax, 0x65
je 0x14046bfca
cmp eax, 0x64
jne 0x14046bfef
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
cmp dword [rsi + 0x160], 0
jle 0x14046c000
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
mov rcx, rsi
xor edx, edx
call fcn.140448640
jmp 0x14046bfbf
mov eax, dword [rsi + 0x134]
lea ecx, [rax + 1]
mov dword [rsi + 0x134], ecx
mov r13d, 2
test eax, eax
jne 0x14046c30d
mov rax, qword [rdi + 0x2e8]
mov eax, dword [rax + 0x84]
test al, 3
je 0x14046c204
mov r12, rbp
jmp 0x14046bed3
inc r12
movzx eax, byte [r12]
cmp eax, 0x20
je 0x14046bed0
cmp eax, 9
je 0x14046bed0
mov r8d, 5
mov rcx, r12
lea rdx, str.HTTP_
call fcn.1404bc100
test eax, eax
je 0x14046c45b
mov rcx, r14
call fcn.14009b120
mov r12, rax
mov rcx, r14
call fcn.14009c9f0
mov rcx, rsi
mov rdx, rax
mov r8, r12
call fcn.14046c960
cmp eax, 1
jne 0x14046c85a
mov dword [rsi + 0x148], Ordinal_208
mov byte [rdi + 0x70d], 0xa
jmp 0x14046c2fc
cmp dword [rsi + 0x164], 2
jne 0x14046bf55
mov rcx, qword [rsi + 0xd8]
call fcn.140446b20
mov byte [rsi + 0x1c2], 0
cmp qword [rsi + 0xf0], 0xffffffffffffffff
jne 0x14046bfde
cmp byte [rsi + 0x1c7], 0
jne 0x14046bfbf
cmp byte [rdi + 0x2ce], 0
jne 0x14046bfbf
cmp byte [rdi + 0x70d], 0xb
jne 0x14046bfbf
mov rax, qword [rdi + 0x2e8]
test byte [rax + 0x86], 4
jne 0x14046bfbf
cmp byte [rsi + 0x1362], 5
je 0x14046bfbf
cmp byte [rsi + 0xaaf], 0
je 0x14046bfb2
mov rcx, rsi
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
call fcn.14043cd70
mov rcx, rdi
mov edx, 2
call fcn.140450b10
cmp byte [rsi + 0x1c2], 0
jne 0x14046c000
jmp 0x14046bfde
cmp dword [rsi + 0x164], 2
je 0x14046c863
mov byte [rsi + 0x1c2], 0
mov rcx, rsi
call fcn.14046bc50
test eax, eax
je 0x14046c000
jmp 0x14046c70c
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
cmp byte [rdi + 0x2ce], 0
mov eax, dword [rsi + 0x148]
je 0x14046c0b4
cmp eax, 0x197
je 0x14046c02c
cmp eax, 0x191
jne 0x14046c063
cmp dword [rdi + 0x3b0], 2
je 0x14046c035
jmp 0x14046c071
cmp dword [rdi + 0x3b4], 2
jne 0x14046c081
cmp byte [rsi + 0xaaf], 0
je 0x14046c053
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.14043cd70
mov eax, dword [rsi + 0x148]
mov byte [rsi + 0x1369], 1
cmp byte [rdi + 0x2ce], 0
je 0x14046c0b4
cmp eax, 0x197
je 0x14046c081
cmp eax, 0x191
jne 0x14046c0b4
mov eax, 0x191
cmp dword [rdi + 0x4a8], 1
je 0x14046c08f
jmp 0x14046c0d9
mov eax, 0x197
cmp dword [rdi + 0x4ac], 1
jne 0x14046c0b4
cmp byte [rsi + 0xaaf], 0
je 0x14046c0ad
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.14043cd70
mov eax, dword [rsi + 0x148]
mov byte [rsi + 0x1369], 1
cmp dword [rdi + 0x4a8], 3
jne 0x14046c0d9
cmp eax, 0x191
mov eax, 0x191
je 0x14046c0d9
mov dword [rdi + 0x4a8], 4
mov eax, dword [rsi + 0x148]
cmp dword [rdi + 0x4ac], 3
jne 0x14046c0fe
cmp eax, 0x197
mov eax, 0x197
je 0x14046c0fe
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.14009b120
mov rbp, rax
mov rcx, r14
call fcn.14009c9f0
mov rcx, rsi
mov edx, r12d
mov r8, rax
mov r9, rbp
call fcn.1404503f0
test eax, eax
jne 0x14046c70c
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call fcn.14046bcd0
test eax, eax
jne 0x14046c70c
mov rcx, rsi
call fcn.140468940
mov r8d, dword [rsi + 0x148]
test al, al
jne 0x14046c79a
add r8d, 0xffffff9c
xor eax, eax
cmp r8d, 0x63
ja 0x14046c188
mov eax, dword [rsi + 0x128]
mov dword [rsi + 0x12c], eax
mov rcx, rsi
call fcn.1404684d0
test eax, eax
jne 0x14046c70c
cmp dword [rsi + 0x148], 0x12c
jl 0x14046c1f2
cmp byte [rdi + 0x2d8], 0
jne 0x14046c1c0
cmp byte [rdi + 0x2ce], 0
je 0x14046c3cd
cmp byte [rsi + 0x1377], 0
je 0x14046c1f2
cmp qword [rdi + 0x310], 0xffffffffffffffff
je 0x14046c1f2
cmp byte [rsi + 0xaaf], 0
je 0x14046c1eb
mov rcx, rsi
lea rdx, str.Keep_sending_data_to_get_tossed_away
call fcn.14043cd70
or byte [rsi + 0x14c], 2
cmp byte [rsi + 0x1c2], 0
jne 0x14046c3ae
jmp 0x14046c7b4
test eax, 0x40000
je 0x14046c85a
mov r13, rbp
jmp 0x14046c223
inc r13
movzx eax, byte [r13]
cmp eax, 0x20
je 0x14046c220
cmp eax, 9
je 0x14046c220
mov r8d, 5
mov rcx, r13
lea rdx, str.RTSP_
call fcn.1404bc100
test eax, eax
jne 0x14046c85a
movzx eax, byte [r13 + 5]
add al, 0xd0
mov r12d, 8
cmp al, 9
ja 0x14046c8ba
cmp byte [r13 + 6], 0x2e
jne 0x14046c8ba
movzx eax, byte [r13 + 7]
add al, 0xd0
cmp al, 9
ja 0x14046c8ba
movzx eax, byte [r13 + 8]
cmp eax, 0x20
je 0x14046c291
cmp eax, 9
jne 0x14046c8ba
movsx eax, byte [r13 + 9]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x14046c8ba
movsx ecx, byte [r13 + 0xa]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x14046c8ba
movzx edx, byte [r13 + 0xb]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14046c8ba
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 0x14046c2f5
cmp eax, 0x20
je 0x14046c2f5
add al, 0xf6
cmp al, 3
ja 0x14046c8ba
mov byte [rdi + 0x70d], 0xb
mov rcx, rsi
mov rdx, rdi
call fcn.14046bb40
mov r13d, 6
mov rcx, rsi
call fcn.14046c9f0
test eax, eax
jne 0x14046c70c
mov rcx, rsi
mov rdx, rdi
mov r8, rbp
call fcn.14046b230
test eax, eax
jne 0x14046c70c
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.14009b120
mov rcx, rsi
mov edx, 1
mov r8, rbp
mov r9, rax
call fcn.14043cbd0
mov rcx, r14
call fcn.14009b120
mov rcx, rsi
mov edx, r12d
mov r8, rbp
mov r9, rax
call fcn.1404503f0
test eax, eax
jne 0x14046c70c
mov rcx, r14
call fcn.14009b120
mov rcx, rsi
mov rdx, rax
xor r8d, r8d
call fcn.14046bcd0
test eax, eax
jne 0x14046c70c
mov rcx, r14
call fcn.140448fb0
mov r13, qword [rsi + 0x138]
cmp byte [r13], 0
jne 0x14046bd83
jmp 0x14046c8b7
cmp byte [rsi + 0x1377], 0
jne 0x14046c1c9
movzx eax, byte [rsi + 0x1362]
dec al
cmp al, 3
ja 0x14046c1c0
mov rcx, rsi
xor edx, edx
call fcn.140448640
cmp byte [rsi + 0x1c4], 0
jne 0x14046c1c0
cmp dword [rsi + 0x148], 0x1a1
jne 0x14046c611
cmp byte [rsi + 0x136b], 0
je 0x14046c611
cmp qword [rsi + 0x108], 0
jne 0x14046c6af
cmp dword [rsi + 0x160], 1
jne 0x14046c6af
cmp byte [rsi + 0xaaf], 0
je 0x14046c6df
mov rcx, rsi
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
call fcn.14043cd70
jmp 0x14046c6df
movsx eax, byte [r12 + 5]
lea ecx, [rax - 0x32]
cmp ecx, 2
jae 0x14046c506
movzx ecx, byte [r12 + 6]
cmp ecx, 0x20
je 0x14046c481
cmp ecx, 9
jne 0x14046beff
movsx ecx, byte [r12 + 7]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x14046beff
movsx edx, byte [r12 + 8]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14046beff
movzx r8d, byte [r12 + 9]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x14046beff
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 0x14046c5b4
cmp edx, 0x20
je 0x14046c5b4
add dl, 0xf6
cmp dl, 4
jae 0x14046beff
jmp 0x14046c5b4
cmp eax, 0x31
jne 0x14046c8e5
cmp byte [r12 + 6], 0x2e
jne 0x14046c8ce
movzx eax, byte [r12 + 7]
mov ecx, eax
and cl, 0xfe
cmp cl, 0x30
jne 0x14046c8ce
movzx ecx, byte [r12 + 8]
cmp ecx, 0x20
je 0x14046c543
cmp ecx, 9
jne 0x14046c8ce
movsx ecx, byte [r12 + 9]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x14046c8ce
movsx edx, byte [r12 + 0xa]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14046c8ce
movzx r8d, byte [r12 + 0xb]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x14046c8ce
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 0x14046c5b4
cmp edx, 0x20
je 0x14046c5b4
add dl, 0xf6
cmp dl, 4
jae 0x14046c8ce
cmp ecx, 0x63
jle 0x14046c8ee
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0xa
jne 0x14046c8f7
mov byte [rdi + 0x70d], al
cmp dword [rsi + 0x164], 3
jne 0x14046c5ff
cmp byte [rsi + 0xaaf], 0
je 0x14046c5ff
mov rcx, rsi
lea rdx, str.Lying_server__not_serving_HTTP_2
call fcn.14043cd70
cmp byte [rdi + 0x70d], 0x13
ja 0x14046c2fc
mov rax, qword [rdi + 0x6d0]
mov dword [rax], 0xffffffff
jmp 0x14046c2fc
cmp byte [rsi + 0xaa7], 0
movzx eax, byte [rsi + 0xaaf]
je 0x14046c657
test al, al
je 0x14046c634
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.14043cd70
cmp dword [rsi + 0x160], 0
jle 0x14046c1c0
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
jmp 0x14046c1c0
test al, al
je 0x14046c66a
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.14043cd70
mov rcx, rdi
mov edx, 2
call fcn.140450b10
mov rcx, rsi
mov rdx, qword [rsp + 0x20]
call fcn.14046e1c0
test eax, eax
jne 0x14046c70c
mov byte [rsi + 0x1c4], 1
cmp byte [rsi + 0x136b], 0
je 0x14046c1c0
mov dword [rsi + 0x160], 3
jmp 0x14046c1c0
cmp byte [rsi + 0xaaf], 0
je 0x14046c6c7
mov rcx, rsi
lea rdx, str.Got_HTTP_failure_417_while_sending_data
call fcn.14043cd70
mov rcx, rdi
mov edx, 2
call fcn.140450b10
mov rcx, rsi
mov rdx, rdi
call fcn.140468760
mov byte [rsi + 0x136c], 1
mov rcx, qword [rsi + 0x1210]
call qword [fcn.1404b5fe4]
mov qword [rsi + 0x188], rax
mov rcx, rsi
mov rdx, qword [rsp + 0x20]
call fcn.14046e1c0
jmp 0x14046c1c0
mov r12d, eax
jmp 0x14046c8ba
mov rcx, r14
mov rdx, r13
mov r8, r12
call fcn.140449030
mov r12d, eax
test eax, eax
jne 0x14046c8ba
xor r12d, r12d
cmp dword [rsi + 0x134], 0
jne 0x14046c8ba
mov rcx, r14
call fcn.14009b120
mov rbx, rax
mov rcx, r14
call fcn.14009c9f0
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov r9, rbx
call fcn.14046c930
cmp eax, 2
jne 0x14046c8ba
mov byte [rsi + 0x1c2], 0
mov dword [rsi + 0x130], 2
mov rcx, rdi
mov edx, 2
call fcn.140450b10
cmp byte [rsi + 0xac9], 0
jne 0x14046c8ba
jmp 0x14046c851
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rsi
call fcn.14043cca0
mov r12d, Ordinal_26
jmp 0x14046c8ba
cmp byte [rsi + 0x1cc], 0
mov rcx, qword [rsp + 0x30]
je 0x14046c7fd
mov byte [rcx], 1
jmp 0x14046c821
mov rcx, rdi
mov edx, 2
call fcn.140450b10
cmp byte [rsi + 0xac9], 0
je 0x14046c851
mov byte [rsi + 0x1c2], 0
cmp qword [r15], 0
je 0x14046c89e
mov dword [rsi + 0x130], 1
jmp 0x14046c8b7
mov rax, qword [rdi + 0x2e8]
test byte [rax + 0x86], 4
je 0x14046c821
cmp dword [rsi + 0x9f0], 2
jne 0x14046c821
mov rax, qword [rsp + 0x20]
cmp qword [rax], 0
js 0x14046c7c2
cmp qword [rsi + 0xf8], 0
je 0x14046c832
cmp byte [rcx], 0
jne 0x14046c835
jmp 0x14046c83c
mov byte [rcx], 1
and byte [rsi + 0x14c], 0xfe
mov rcx, rsi
mov edx, 1
mov r8, r13
mov r9, rbp
call fcn.14043cbd0
jmp 0x14046c8b7
lea rdx, str.Received_HTTP_0.9_when_not_allowed
jmp 0x14046c8d5
mov byte [rsi + 0x1c2], 0
jmp 0x14046c8b7
cmp byte [rsi + 0xaaf], 0
je 0x14046c87b
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rsi
call fcn.14043cd70
mov dword [rsi + 0x164], 3
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
mov r12d, 1
jmp 0x14046c8ba
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.14043cca0
mov r12d, 1
jmp 0x14046c8ba
lea rdx, str.Unsupported_HTTP_version_in_response
jmp 0x14046c8d5
lea rdx, str.Unsupported_response_code_in_HTTP_response
jmp 0x14046c8d5
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.14043cca0
mov r12d, 1
jmp 0x14046c8ba