Function at 0x140032920
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.1408b1c60
test rax, rax
je 0x1400332f4
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.14000fbf0
test eax, eax
jne 0x1400332ec
cmp dword [rsi + 0x134], 0
jne 0x1400329e7
mov rcx, r14
call fcn.14000fd80
mov r12, rax
mov rcx, r14
call fcn.14000fd70
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov r9, r12
call fcn.140033510
cmp eax, 2
je 0x1400333a7
mov rcx, r14
call fcn.14000fd70
mov rbp, rax
movzx eax, byte [rax]
cmp eax, 0xd
je 0x1400329ff
cmp eax, 0xa
jne 0x140032a70
mov eax, dword [rsi + 0x148]
lea ecx, [rax - 0x64]
cmp ecx, 0x63
ja 0x140032b20
cmp eax, 0x65
je 0x140032baa
cmp eax, 0x64
jne 0x140032bcf
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
cmp dword [rsi + 0x160], 0
jle 0x140032be0
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
mov rcx, rsi
xor edx, edx
call fcn.14000f200
jmp 0x140032b9f
mov eax, dword [rsi + 0x134]
lea ecx, [rax + 1]
mov dword [rsi + 0x134], ecx
mov r13d, 2
test eax, eax
jne 0x140032eed
mov rax, qword [rdi + 0x2e8]
mov eax, dword [rax + 0x84]
test al, 3
je 0x140032de4
mov r12, rbp
jmp 0x140032ab3
inc r12
movzx eax, byte [r12]
cmp eax, 0x20
je 0x140032ab0
cmp eax, 9
je 0x140032ab0
mov r8d, 5
mov rcx, r12
lea rdx, str.HTTP_
call fcn.1408c55a0
test eax, eax
je 0x14003303b
mov rcx, r14
call fcn.14000fd80
mov r12, rax
mov rcx, r14
call fcn.14000fd70
mov rcx, rsi
mov rdx, rax
mov r8, r12
call fcn.140033540
cmp eax, 1
jne 0x14003343a
mov dword [rsi + 0x148], Ordinal_208
mov byte [rdi + 0x70d], 0xa
jmp 0x140032edc
cmp dword [rsi + 0x164], 2
jne 0x140032b35
mov rcx, qword [rsi + 0xd8]
call fcn.14000d6e0
mov byte [rsi + 0x1c2], 0
cmp qword [rsi + 0xf0], 0xffffffffffffffff
jne 0x140032bbe
cmp byte [rsi + 0x1c7], 0
jne 0x140032b9f
cmp byte [rdi + 0x2ce], 0
jne 0x140032b9f
cmp byte [rdi + 0x70d], 0xb
jne 0x140032b9f
mov rax, qword [rdi + 0x2e8]
test byte [rax + 0x86], 4
jne 0x140032b9f
cmp byte [rsi + 0x1362], 5
je 0x140032b9f
cmp byte [rsi + 0xaaf], 0
je 0x140032b92
mov rcx, rsi
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end
call fcn.140003900
mov rcx, rdi
mov edx, 2
call fcn.1400176f0
cmp byte [rsi + 0x1c2], 0
jne 0x140032be0
jmp 0x140032bbe
cmp dword [rsi + 0x164], 2
je 0x140033443
mov byte [rsi + 0x1c2], 0
mov rcx, rsi
call fcn.140032830
test eax, eax
je 0x140032be0
jmp 0x1400332ec
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
cmp byte [rdi + 0x2ce], 0
mov eax, dword [rsi + 0x148]
je 0x140032c94
cmp eax, 0x197
je 0x140032c0c
cmp eax, 0x191
jne 0x140032c43
cmp dword [rdi + 0x3b0], 2
je 0x140032c15
jmp 0x140032c51
cmp dword [rdi + 0x3b4], 2
jne 0x140032c61
cmp byte [rsi + 0xaaf], 0
je 0x140032c33
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.140003900
mov eax, dword [rsi + 0x148]
mov byte [rsi + 0x1369], 1
cmp byte [rdi + 0x2ce], 0
je 0x140032c94
cmp eax, 0x197
je 0x140032c61
cmp eax, 0x191
jne 0x140032c94
mov eax, 0x191
cmp dword [rdi + 0x4a8], 1
je 0x140032c6f
jmp 0x140032cb9
mov eax, 0x197
cmp dword [rdi + 0x4ac], 1
jne 0x140032c94
cmp byte [rsi + 0xaaf], 0
je 0x140032c8d
mov rcx, rsi
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0__
call fcn.140003900
mov eax, dword [rsi + 0x148]
mov byte [rsi + 0x1369], 1
cmp dword [rdi + 0x4a8], 3
jne 0x140032cb9
cmp eax, 0x191
mov eax, 0x191
je 0x140032cb9
mov dword [rdi + 0x4a8], 4
mov eax, dword [rsi + 0x148]
cmp dword [rdi + 0x4ac], 3
jne 0x140032cde
cmp eax, 0x197
mov eax, 0x197
je 0x140032cde
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.14000fd80
mov rbp, rax
mov rcx, r14
call fcn.14000fd70
mov rcx, rsi
mov edx, r12d
mov r8, rax
mov r9, rbp
call fcn.140016fd0
test eax, eax
jne 0x1400332ec
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call fcn.1400328b0
test eax, eax
jne 0x1400332ec
mov rcx, rsi
call fcn.14002f520
mov r8d, dword [rsi + 0x148]
test al, al
jne 0x14003337a
add r8d, 0xffffff9c
xor eax, eax
cmp r8d, 0x63
ja 0x140032d68
mov eax, dword [rsi + 0x128]
mov dword [rsi + 0x12c], eax
mov rcx, rsi
call fcn.14002f0b0
test eax, eax
jne 0x1400332ec
cmp dword [rsi + 0x148], 0x12c
jl 0x140032dd2
cmp byte [rdi + 0x2d8], 0
jne 0x140032da0
cmp byte [rdi + 0x2ce], 0
je 0x140032fad
cmp byte [rsi + 0x1377], 0
je 0x140032dd2
cmp qword [rdi + 0x310], 0xffffffffffffffff
je 0x140032dd2
cmp byte [rsi + 0xaaf], 0
je 0x140032dcb
mov rcx, rsi
lea rdx, str.Keep_sending_data_to_get_tossed_away
call fcn.140003900
or byte [rsi + 0x14c], 2
cmp byte [rsi + 0x1c2], 0
jne 0x140032f8e
jmp 0x140033394
test eax, 0x40000
je 0x14003343a
mov r13, rbp
jmp 0x140032e03
inc r13
movzx eax, byte [r13]
cmp eax, 0x20
je 0x140032e00
cmp eax, 9
je 0x140032e00
mov r8d, 5
mov rcx, r13
lea rdx, str.RTSP_
call fcn.1408c55a0
test eax, eax
jne 0x14003343a
movzx eax, byte [r13 + 5]
add al, 0xd0
mov r12d, 8
cmp al, 9
ja 0x14003349a
cmp byte [r13 + 6], 0x2e
jne 0x14003349a
movzx eax, byte [r13 + 7]
add al, 0xd0
cmp al, 9
ja 0x14003349a
movzx eax, byte [r13 + 8]
cmp eax, 0x20
je 0x140032e71
cmp eax, 9
jne 0x14003349a
movsx eax, byte [r13 + 9]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x14003349a
movsx ecx, byte [r13 + 0xa]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x14003349a
movzx edx, byte [r13 + 0xb]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14003349a
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 0x140032ed5
cmp eax, 0x20
je 0x140032ed5
add al, 0xf6
cmp al, 3
ja 0x14003349a
mov byte [rdi + 0x70d], 0xb
mov rcx, rsi
mov rdx, rdi
call fcn.140032720
mov r13d, 6
mov rcx, rsi
call fcn.1400335d0
test eax, eax
jne 0x1400332ec
mov rcx, rsi
mov rdx, rdi
mov r8, rbp
call fcn.140031e10
test eax, eax
jne 0x1400332ec
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.14000fd80
mov rcx, rsi
mov edx, 1
mov r8, rbp
mov r9, rax
call fcn.140003760
mov rcx, r14
call fcn.14000fd80
mov rcx, rsi
mov edx, r12d
mov r8, rbp
mov r9, rax
call fcn.140016fd0
test eax, eax
jne 0x1400332ec
mov rcx, r14
call fcn.14000fd80
mov rcx, rsi
mov rdx, rax
xor r8d, r8d
call fcn.1400328b0
test eax, eax
jne 0x1400332ec
mov rcx, r14
call fcn.14000fb70
mov r13, qword [rsi + 0x138]
cmp byte [r13], 0
jne 0x140032963
jmp 0x140033497
cmp byte [rsi + 0x1377], 0
jne 0x140032da9
movzx eax, byte [rsi + 0x1362]
dec al
cmp al, 3
ja 0x140032da0
mov rcx, rsi
xor edx, edx
call fcn.14000f200
cmp byte [rsi + 0x1c4], 0
jne 0x140032da0
cmp dword [rsi + 0x148], 0x1a1
jne 0x1400331f1
cmp byte [rsi + 0x136b], 0
je 0x1400331f1
cmp qword [rsi + 0x108], 0
jne 0x14003328f
cmp dword [rsi + 0x160], 1
jne 0x14003328f
cmp byte [rsi + 0xaaf], 0
je 0x1400332bf
mov rcx, rsi
lea rdx, str.Got_HTTP_failure_417_while_waiting_for_a_100
call fcn.140003900
jmp 0x1400332bf
movsx eax, byte [r12 + 5]
lea ecx, [rax - 0x32]
cmp ecx, 2
jae 0x1400330e6
movzx ecx, byte [r12 + 6]
cmp ecx, 0x20
je 0x140033061
cmp ecx, 9
jne 0x140032adf
movsx ecx, byte [r12 + 7]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x140032adf
movsx edx, byte [r12 + 8]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x140032adf
movzx r8d, byte [r12 + 9]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x140032adf
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 0x140033194
cmp edx, 0x20
je 0x140033194
add dl, 0xf6
cmp dl, 4
jae 0x140032adf
jmp 0x140033194
cmp eax, 0x31
jne 0x1400334c5
cmp byte [r12 + 6], 0x2e
jne 0x1400334ae
movzx eax, byte [r12 + 7]
mov ecx, eax
and cl, 0xfe
cmp cl, 0x30
jne 0x1400334ae
movzx ecx, byte [r12 + 8]
cmp ecx, 0x20
je 0x140033123
cmp ecx, 9
jne 0x1400334ae
movsx ecx, byte [r12 + 9]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x1400334ae
movsx edx, byte [r12 + 0xa]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x1400334ae
movzx r8d, byte [r12 + 0xb]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x1400334ae
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 0x140033194
cmp edx, 0x20
je 0x140033194
add dl, 0xf6
cmp dl, 4
jae 0x1400334ae
cmp ecx, 0x63
jle 0x1400334ce
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0xa
jne 0x1400334d7
mov byte [rdi + 0x70d], al
cmp dword [rsi + 0x164], 3
jne 0x1400331df
cmp byte [rsi + 0xaaf], 0
je 0x1400331df
mov rcx, rsi
lea rdx, str.Lying_server__not_serving_HTTP_2
call fcn.140003900
cmp byte [rdi + 0x70d], 0x13
ja 0x140032edc
mov rax, qword [rdi + 0x6d0]
mov dword [rax], 0xffffffff
jmp 0x140032edc
cmp byte [rsi + 0xaa7], 0
movzx eax, byte [rsi + 0xaaf]
je 0x140033237
test al, al
je 0x140033214
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__keep_sending
call fcn.140003900
cmp dword [rsi + 0x160], 0
jle 0x140032da0
mov dword [rsi + 0x160], 0
or byte [rsi + 0x14c], 2
jmp 0x140032da0
test al, al
je 0x14003324a
mov rcx, rsi
lea rdx, str.HTTP_error_before_end_of_send__stop_sending
call fcn.140003900
mov rcx, rdi
mov edx, 2
call fcn.1400176f0
mov rcx, rsi
mov rdx, qword [rsp + 0x20]
call fcn.140034da0
test eax, eax
jne 0x1400332ec
mov byte [rsi + 0x1c4], 1
cmp byte [rsi + 0x136b], 0
je 0x140032da0
mov dword [rsi + 0x160], 3
jmp 0x140032da0
cmp byte [rsi + 0xaaf], 0
je 0x1400332a7
mov rcx, rsi
lea rdx, str.Got_HTTP_failure_417_while_sending_data
call fcn.140003900
mov rcx, rdi
mov edx, 2
call fcn.1400176f0
mov rcx, rsi
mov rdx, rdi
call fcn.14002f340
mov byte [rsi + 0x136c], 1
mov rcx, qword [rsi + 0x1210]
call qword [case.0x14001328e.1]
mov qword [rsi + 0x188], rax
mov rcx, rsi
mov rdx, qword [rsp + 0x20]
call fcn.140034da0
jmp 0x140032da0
mov r12d, eax
jmp 0x14003349a
mov rcx, r14
mov rdx, r13
mov r8, r12
call fcn.14000fbf0
mov r12d, eax
test eax, eax
jne 0x14003349a
xor r12d, r12d
cmp dword [rsi + 0x134], 0
jne 0x14003349a
mov rcx, r14
call fcn.14000fd80
mov rbx, rax
mov rcx, r14
call fcn.14000fd70
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov r9, rbx
call fcn.140033510
cmp eax, 2
jne 0x14003349a
mov byte [rsi + 0x1c2], 0
mov dword [rsi + 0x130], 2
mov rcx, rdi
mov edx, 2
call fcn.1400176f0
cmp byte [rsi + 0xac9], 0
jne 0x14003349a
jmp 0x140033431
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rsi
call fcn.140003830
mov r12d, Ordinal_27
jmp 0x14003349a
cmp byte [rsi + 0x1cc], 0
mov rcx, qword [rsp + 0x30]
je 0x1400333dd
mov byte [rcx], 1
jmp 0x140033401
mov rcx, rdi
mov edx, 2
call fcn.1400176f0
cmp byte [rsi + 0xac9], 0
je 0x140033431
mov byte [rsi + 0x1c2], 0
cmp qword [r15], 0
je 0x14003347e
mov dword [rsi + 0x130], 1
jmp 0x140033497
mov rax, qword [rdi + 0x2e8]
test byte [rax + 0x86], 4
je 0x140033401
cmp dword [rsi + 0x9f0], 2
jne 0x140033401
mov rax, qword [rsp + 0x20]
cmp qword [rax], 0
js 0x1400333a2
cmp qword [rsi + 0xf8], 0
je 0x140033412
cmp byte [rcx], 0
jne 0x140033415
jmp 0x14003341c
mov byte [rcx], 1
and byte [rsi + 0x14c], 0xfe
mov rcx, rsi
mov edx, 1
mov r8, r13
mov r9, rbp
call fcn.140003760
jmp 0x140033497
lea rdx, str.Received_HTTP_0.9_when_not_allowed
jmp 0x1400334b5
mov byte [rsi + 0x1c2], 0
jmp 0x140033497
cmp byte [rsi + 0xaaf], 0
je 0x14003345b
lea rdx, str.Received_101__Switching_to_HTTP_2
mov rcx, rsi
call fcn.140003900
mov dword [rsi + 0x164], 3
mov byte [rsi + 0x1c2], 1
mov dword [rsi + 0x134], 0
mov r12d, 1
jmp 0x14003349a
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.140003830
mov r12d, 1
jmp 0x14003349a
lea rdx, str.Unsupported_HTTP_version_in_response
jmp 0x1400334b5
lea rdx, str.Unsupported_response_code_in_HTTP_response
jmp 0x1400334b5
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.140003830
mov r12d, 1
jmp 0x14003349a