Function at 0x1401fdc80
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movdqa xmmword [rsp + 0x50], xmm6
mov r15, r9
mov r12, r8
mov rdi, rdx
mov rsi, rcx
lea rax, [rcx + 0xe8]
mov qword [rsp + 0x28], rax
mov rax, qword [r8]
mov qword [rsp + 0x40], rax
mov rbp, qword [rcx + 0x138]
lea r14, [rcx + 0xc50]
pcmpeqd xmm6, xmm6
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], r8
mov rbx, qword [r12]
mov rcx, rbp
mov edx, 0xa
mov r8, rbx
call sub.msvcrt.dll_memchr
test rax, rax
je 0x1401fe733
mov rcx, rax
not rcx
add rbx, rbp
add rbx, rcx
mov qword [r12], rbx
inc rax
mov qword [rsi + 0x138], rax
sub rax, rbp
mov rcx, r14
mov rdx, rbp
mov r8, rax
call fcn.1401a20f0
test eax, eax
jne 0x1401fe72c
cmp dword [rsi + 0x134], 0
jne 0x1401fdd58
mov rcx, r14
call fcn.1401a2300
mov rbx, rax
mov rcx, r14
call fcn.1401a2320
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9, rax
call fcn.1401fe980
cmp eax, 2
je 0x1401fe80a
mov rcx, r14
call fcn.1401a2300
mov r13, rax
movzx eax, byte [rax]
cmp eax, 0xd
je 0x1401fdd70
cmp eax, 0xa
jne 0x1401fdde0
mov eax, dword [rsi + 0x148]
lea ecx, [rax - 0x64]
cmp ecx, 0x63
ja 0x1401fdec0
cmp eax, 0x65
je 0x1401fdf29
cmp eax, 0x64
jne 0x1401fdf3f
or byte [rsi + 0x1c4], 1
mov dword [rsi + 0x134], 0
cmp dword [rsi + 0x160], 0
je 0x1401fdf50
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
mov rcx, rsi
xor edx, edx
call fcn.1401a18b0
jmp 0x1401fdf50
mov eax, dword [rsi + 0x134]
lea ecx, [rax + 1]
mov dword [rsi + 0x134], ecx
mov r12d, 2
test eax, eax
jne 0x1401fe473
mov rax, qword [rdi + 0x2d0]
mov eax, dword [rax + 0x84]
test al, 3
je 0x1401fe289
mov rbx, r13
jmp 0x1401fde23
inc rbx
movzx eax, byte [rbx]
cmp eax, 0x20
je 0x1401fde20
cmp eax, 9
je 0x1401fde20
mov r8d, 5
mov rcx, rbx
lea rdx, str.HTTP_
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x1401fe377
mov qword [rsp + 0x30], r15
mov rcx, r14
call fcn.1401a2300
mov rbp, rax
mov rcx, r14
call fcn.1401a2320
mov rbx, rax
mov r15, qword [rsi + 0x6d0]
test r15, r15
je 0x1401fe41d
nop dword [rax + rax]
mov r12, qword [r15]
mov rcx, r12
call sub.msvcrt.dll_strlen
cmp rax, rbx
cmovae rax, rbx
mov rcx, r12
mov rdx, rbp
mov r8, rax
call fcn.1401aa790
test eax, eax
jne 0x1401fe417
mov r15, qword [r15 + 8]
test r15, r15
jne 0x1401fde80
jmp 0x1401fe41d
mov eax, dword [rsi + 0x1c4]
mov ecx, eax
and ecx, 0xfffffffe
mov dword [rsi + 0x1c4], ecx
cmp qword [rsi + 0xe8], 0xffffffffffffffff
jne 0x1401fdf50
and eax, 0x20
jne 0x1401fdf50
test byte [rdi + 0x2c8], 0x40
jne 0x1401fdf50
cmp byte [rdi + 0x6f7], 0xb
jne 0x1401fdf50
mov rax, qword [rdi + 0x2d0]
test byte [rax + 0x86], 4
jne 0x1401fdf50
cmp byte [rsi + 0x11b0], 5
je 0x1401fdf50
mov rcx, rsi
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
call fcn.1401955d0
mov rcx, rdi
mov edx, 2
call fcn.1401a8060
jmp 0x1401fdf50
cmp dword [rsi + 0x164], 2
je 0x1401fe89d
and byte [rsi + 0x1c4], 0xfe
jmp 0x1401fdf50
or byte [rsi + 0x1c4], 1
mov dword [rsi + 0x134], 0
mov eax, dword [rsi + 0x1c4]
test al, 1
jne 0x1401fdfb0
test al, 0x60
je 0x1401fdf69
mov rax, qword [rsp + 0x28]
movdqu xmmword [rax], xmm6
jmp 0x1401fdfb0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax]
cmp rdx, 0xffffffffffffffff
je 0x1401fdfb0
mov rax, qword [rsi + 0x6e0]
test rax, rax
je 0x1401fdf8c
cmp rdx, rax
jg 0x1401fe8e7
mov rcx, rsi
call fcn.1401f50a0
mov rax, qword [rsi + 0xe8]
mov qword [rsi + 0xf0], rax
nop word cs:[rax + rax]
test byte [rdi + 0x2c8], 0x40
je 0x1401fe060
mov eax, dword [rsi + 0x148]
cmp eax, 0x197
je 0x1401fdfdc
cmp eax, 0x191
jne 0x1401fe00a
cmp dword [rdi + 0x398], 2
je 0x1401fdfe5
jmp 0x1401fe018
cmp dword [rdi + 0x39c], 2
jne 0x1401fe037
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.1401955d0
or byte [rsi + 0x12f8], 0x20
test byte [rdi + 0x2c8], 0x40
je 0x1401fe060
mov eax, dword [rsi + 0x148]
cmp eax, 0x197
je 0x1401fe037
cmp eax, 0x191
jne 0x1401fe060
mov eax, dword [rdi + 0x490]
cmp eax, 1
je 0x1401fe040
nop word cs:[rax + rax]
cmp eax, 3
je 0x1401fe06b
jmp 0x1401fe081
cmp dword [rdi + 0x494], 1
jne 0x1401fe060
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.1401955d0
or byte [rsi + 0x12f8], 0x20
nop word cs:[rax + rax]
mov eax, dword [rdi + 0x490]
cmp eax, 3
jne 0x1401fe081
cmp dword [rsi + 0x148], 0x191
je 0x1401fe081
mov dword [rdi + 0x490], 4
cmp dword [rdi + 0x494], 3
jne 0x1401fe0a0
cmp dword [rsi + 0x148], 0x197
je 0x1401fe0a0
mov dword [rdi + 0x494], 4
mov eax, dword [rsi + 0xa88]
shr eax, 0x18
and eax, 1
mov ecx, dword [rsi + 0x148]
add ecx, 0xffffff9c
xor edx, edx
cmp ecx, 0x64
setb dl
shl edx, 4
lea ebx, [rax + rdx]
add ebx, 2
mov rcx, r14
call fcn.1401a2320
mov r13, rax
mov rcx, r14
call fcn.1401a2300
mov rcx, rsi
mov edx, ebx
mov r8, rax
mov r9, r13
call fcn.1401a7960
test eax, eax
jne 0x1401fe72c
movsxd rax, r13d
add qword [rsi + 0x1320], rax
add rax, qword [rsi + 0x108]
mov qword [rsi + 0x108], rax
mov r8d, dword [rsi + 0x148]
test byte [rsi + 0xa8a], 8
je 0x1401fe170
cmp r8d, 0x190
jl 0x1401fe170
cmp qword [rsi + 0x1138], 0
je 0x1401fe13e
cmp byte [rsi + 0x11b0], 0
jne 0x1401fe13e
cmp r8d, 0x1a0
je 0x1401fe1a1
cmp r8d, 0x197
je 0x1401fe183
cmp r8d, 0x191
jne 0x1401fe7f4
cmp qword [rsi + 0x12d8], 0
jne 0x1401fe194
jmp 0x1401fe7f4
add r8d, 0xffffff9c
cmp r8d, 0x64
mov ecx, 0
cmovae rax, rcx
jmp 0x1401fe1a3
mov rax, qword [rsi + 0x18]
test byte [rax + 0x2c8], 4
je 0x1401fe7f4
test byte [rsi + 0x12f8], 0x20
jne 0x1401fe7f4
xor eax, eax
mov qword [rsi + 0x110], rax
mov rcx, rsi
call fcn.1401fa400
test eax, eax
jne 0x1401fe72c
cmp dword [rsi + 0x148], 0x12c
jl 0x1401fe700
test dword [rdi + 0x2c8], 0x10040
jne 0x1401fe6d0
test byte [rsi + 0x12fa], 8
jne 0x1401fe6d0
movzx eax, byte [rsi + 0x11b0]
dec al
cmp al, 3
ja 0x1401fe6d0
mov rcx, rsi
xor edx, edx
call fcn.1401a18b0
test byte [rsi + 0x1c4], 4
jne 0x1401fe6d0
cmp dword [rsi + 0x148], 0x1a1
jne 0x1401fe228
test byte [rsi + 0x12f8], 0x80
jne 0x1401fe68f
test byte [rsi + 0xa8a], 0x10
jne 0x1401fe664
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.1401955d0
mov rcx, rdi
mov edx, 2
call fcn.1401a8060
mov rcx, rsi
mov rdx, qword [rsp + 0x28]
call fcn.1401f6470
test eax, eax
jne 0x1401fe72c
or byte [rsi + 0x1c4], 4
test byte [rsi + 0x12f8], 0x80
je 0x1401fe6d0
mov dword [rsi + 0x160], 3
jmp 0x1401fe6d0
test eax, 0x40000
je 0x1401fe894
mov rbp, r13
jmp 0x1401fe2a3
inc rbp
movzx eax, byte [rbp]
cmp eax, 0x20
je 0x1401fe2a0
cmp eax, 9
je 0x1401fe2a0
mov r8d, 5
mov rcx, rbp
lea rdx, str.RTSP_
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x1401fe894
movzx eax, byte [rbp + 5]
add al, 0xd0
mov ebx, 8
cmp al, 9
ja 0x1401fe862
cmp byte [rbp + 6], 0x2e
jne 0x1401fe862
movzx eax, byte [rbp + 7]
add al, 0xd0
cmp al, 9
ja 0x1401fe862
movzx eax, byte [rbp + 8]
cmp eax, 0x20
je 0x1401fe30b
cmp eax, 9
jne 0x1401fe862
movsx eax, byte [rbp + 9]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x1401fe862
movsx ecx, byte [rbp + 0xa]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x1401fe862
movzx edx, byte [rbp + 0xb]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x1401fe862
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 [rbp + 0xc]
cmp eax, 9
je 0x1401fe36b
cmp eax, 0x20
je 0x1401fe36b
add al, 0xf6
cmp al, 3
ja 0x1401fe862
mov byte [rdi + 0x6f7], 0xb
jmp 0x1401fe462
movsx eax, byte [rbx + 5]
lea ecx, [rax - 0x32]
cmp ecx, 2
jae 0x1401fe56f
movzx ecx, byte [rbx + 6]
cmp ecx, 0x20
je 0x1401fe399
cmp ecx, 9
jne 0x1401fde4d
movsx ecx, byte [rbx + 7]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x1401fde4d
movsx edx, byte [rbx + 8]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x1401fde4d
movzx r8d, byte [rbx + 9]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x1401fde4d
lea eax, [rax + rax*4]
add eax, eax
add eax, 0xfffffe20
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 [rbx + 0xa]
cmp edx, 9
je 0x1401fe610
cmp edx, 0x20
je 0x1401fe610
add dl, 0xf6
cmp dl, 4
jae 0x1401fde4d
jmp 0x1401fe610
cmp rbx, 4
ja 0x1401fe44c
cmp rbx, 5
mov r8d, 5
cmovb r8, rbx
lea rcx, str.HTTP_
mov rdx, rbp
call fcn.1401aa790
test eax, eax
je 0x1401fe894
cmp rbx, 5
jb 0x1401fe894
mov dword [rsi + 0x148], 0xc8
mov byte [rdi + 0x6f7], 0xa
mov r15, qword [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1401fdb60
mov r12d, 6
mov rcx, r14
call fcn.1401a2300
mov rbx, rax
mov rcx, r14
call fcn.1401a2320
mov rbp, rax
mov rcx, rbx
xor edx, edx
mov r8, rax
call sub.msvcrt.dll_memchr
test rax, rax
jne 0x1401fe836
mov eax, dword [rsi + 0x134]
cmp eax, 2
jl 0x1401fe4d5
movzx ecx, byte [rbx]
cmp ecx, 0x20
je 0x1401fe4b7
cmp ecx, 9
jne 0x1401fe4bc
cmp eax, 2
ja 0x1401fe4d5
mov rcx, rbx
mov edx, 0x3a
mov r8, rbp
call sub.msvcrt.dll_memchr
test rax, rax
je 0x1401fe8ce
mov rcx, rsi
mov rdx, rdi
mov r8, r13
call fcn.1401fd2e0
test eax, eax
jne 0x1401fe72c
mov eax, dword [rsi + 0xa88]
shr eax, 0x18
and eax, 1
or eax, r12d
mov ecx, dword [rsi + 0x148]
add ecx, 0xffffff9c
lea ebx, [rax + 0x10]
cmp ecx, 0x64
cmovae ebx, eax
mov rcx, r14
call fcn.1401a2320
mov rcx, rsi
mov edx, 1
mov r8, r13
mov r9, rax
call fcn.140195450
mov rcx, r14
call fcn.1401a2320
mov rcx, rsi
mov edx, ebx
mov r8, r13
mov r9, rax
call fcn.1401a7960
test eax, eax
jne 0x1401fe72c
mov rcx, r14
call fcn.1401a2320
add qword [rsi + 0x1320], rax
mov rcx, r14
call fcn.1401a2320
add qword [rsi + 0x108], rax
mov r12, qword [rsp + 0x48]
jmp 0x1401fe70e
cmp eax, 0x31
jne 0x1401fe930
cmp byte [rbx + 6], 0x2e
jne 0x1401fe924
movzx eax, byte [rbx + 7]
mov ecx, eax
and cl, 0xfe
cmp cl, 0x30
jne 0x1401fe924
movzx ecx, byte [rbx + 8]
cmp ecx, 0x20
je 0x1401fe5a6
cmp ecx, 9
jne 0x1401fe924
movsx ecx, byte [rbx + 9]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x1401fe924
movsx edx, byte [rbx + 0xa]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x1401fe924
movzx r8d, byte [rbx + 0xb]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x1401fe924
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 [rbx + 0xc]
cmp edx, 9
je 0x1401fe610
cmp edx, 0x20
je 0x1401fe610
add dl, 0xf6
cmp dl, 4
jae 0x1401fe924
cmp ecx, 0x63
jle 0x1401fe93c
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0xa
jne 0x1401fe948
mov byte [rdi + 0x6f7], al
cmp dword [rsi + 0x164], 3
jne 0x1401fe652
mov rcx, rsi
lea rdx, str.Lying_server__not_serving_HTTP_2
call fcn.1401955d0
cmp byte [rdi + 0x6f7], 0x13
ja 0x1401fe462
mov rax, qword [rdi + 0x6b8]
mov dword [rax], 0xffffffff
jmp 0x1401fe462
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.1401955d0
cmp dword [rsi + 0x160], 0
je 0x1401fe6d0
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
jmp 0x1401fe6d0
mov rcx, rsi
lea rdx, str.Got_417_while_waiting_for_a_100
call fcn.1401955d0
or byte [rsi + 0x12f9], 1
mov rcx, qword [rsi + 0x11b8]
mov rax, qword [0x1402654d0]
call qword [rax]
mov qword [rsi + 0x188], rax
mov rcx, rsi
mov rdx, qword [rsp + 0x28]
call fcn.1401f6470
nop dword [rax]
test byte [rsi + 0x12fa], 8
je 0x1401fe700
cmp qword [rdi + 0x2f8], 0xffffffffffffffff
je 0x1401fe700
mov rcx, rsi
lea rdx, str.Keep_sending_data_to_get_tossed_away
call fcn.1401955d0
or byte [rsi + 0x14c], 2
nop dword [rax]
mov eax, dword [rsi + 0x1c4]
test al, 1
je 0x1401fe7b3
mov rcx, r14
call fcn.1401a2060
mov rbp, qword [rsi + 0x138]
cmp byte [rbp], 0
jne 0x1401fdcd2
jmp 0x1401fe860
mov ebx, eax
jmp 0x1401fe862
mov rcx, r14
mov rdx, rbp
mov r8, rbx
call fcn.1401a20f0
mov ebx, eax
test eax, eax
jne 0x1401fe862
xor ebx, ebx
cmp dword [rsi + 0x134], 0
jne 0x1401fe862
mov rcx, r14
call fcn.1401a2300
mov r15, rax
mov rcx, r14
call fcn.1401a2320
mov rcx, rsi
mov rdx, rdi
mov r8, r15
mov r9, rax
call fcn.1401fe980
cmp eax, 2
jne 0x1401fe862
and byte [rsi + 0x1c4], 0xfe
mov dword [rsi + 0x130], 2
mov rcx, rdi
mov edx, 2
call fcn.1401a8060
test byte [rsi + 0xa8e], 0x80
je 0x1401fe820
jmp 0x1401fe862
test eax, 0x400
jne 0x1401fe7de
mov rax, qword [rdi + 0x2d0]
test byte [rax + 0x86], 4
je 0x1401fe7e2
cmp dword [rsi + 0x9e0], 2
jne 0x1401fe7e2
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jns 0x1401fe7e2
mov byte [r15], 1
cmp qword [rsi + 0xf0], 0
je 0x1401fe842
cmp byte [r15], 0
jne 0x1401fe846
jmp 0x1401fe84d
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rsi
call fcn.140195520
mov ebx, 0x16
jmp 0x1401fe862
mov rcx, rdi
mov edx, 2
call fcn.1401a8060
test byte [rsi + 0xa8e], 0x80
jne 0x1401fe87a
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rsi
call fcn.140195520
mov ebx, 1
jmp 0x1401fe862
lea rdx, str.Nul_byte_in_header
jmp 0x1401fe8d5
mov byte [r15], 1
and byte [rsi + 0x14c], 0xfe
mov rcx, rsi
mov edx, 1
mov r8, rbp
mov r9, r13
call fcn.140195450
xor ebx, ebx
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and byte [rsi + 0x1c4], 0xfe
cmp qword [r12], 0
je 0x1401fe900
mov dword [rsi + 0x130], 1
jmp 0x1401fe860
and byte [rsi + 0x1c4], 0xfe
jmp 0x1401fe860
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rsi
call fcn.1401955d0
mov dword [rsi + 0x164], 3
or byte [rsi + 0x1c4], 1
mov dword [rsi + 0x134], 0
mov ebx, 1
jmp 0x1401fe862
lea rdx, str.Header_without_colon
mov rcx, rsi
call fcn.140195520
mov ebx, 8
jmp 0x1401fe862
lea rdx, [0x14027b2f7]
mov rcx, rsi
call fcn.140195520
mov ebx, 0x3f
jmp 0x1401fe862
mov dword [rsi + 0x130], 2
mov rax, qword [rsp + 0x40]
mov qword [r12], rax
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x138], rax
jmp 0x1401fe860
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
jmp 0x1401fe827
lea rdx, str.Unsupported_HTTP_version_in_response
jmp 0x1401fe827
lea rdx, str.Unsupported_response_code_in_HTTP_response
jmp 0x1401fe827
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.140195520
mov ebx, 1
jmp 0x1401fe862