Function at 0x140021aa0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, r9
mov qword [rsp + 0x78], rdi
mov r15, r8
lea rsi, [rcx + 0xd8]
mov r14, rdx
mov rbp, rcx
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsi + 0x78]
mov edx, 0xa
mov qword [rsi + 0x80], rcx
mov r8, qword [r15]
call fcn.14004ec08
mov qword [rsi + 0x88], rax
mov rbx, rax
mov rdx, rsi
mov rcx, rbp
test rax, rax
je 0x140022a59
sub rbx, qword [rsi + 0x78]
inc rbx
sub qword [r15], rbx
mov r8, qword [rsi + 0x88]
inc r8
mov qword [rsi + 0x78], r8
sub r8, qword [rsi + 0x80]
call fcn.1400234c0
test eax, eax
jne 0x140022a95
mov rax, qword [rsi + 0x68]
mov qword [rsi + 0x88], rax
mov rax, qword [rbp + 0xa20]
mov qword [rsi + 0x90], rax
cmp dword [rsi + 0x60], r13d
jne 0x140021b7d
cmp qword [rsi + 0x70], 5
jbe 0x140021b7d
mov r8, qword [rbp + 0xa20]
mov rdx, r14
mov rcx, rbp
call fcn.140023490
test al, al
je 0x1400228f8
mov r10, qword [rsi + 0x90]
movzx eax, byte [r10]
cmp al, 0xa
je 0x140022646
cmp al, 0xd
je 0x14002264a
mov ecx, dword [rsi + 0x60]
lea eax, [rcx + 1]
mov dword [rsi + 0x60], eax
test ecx, ecx
jne 0x140021e36
mov rax, qword [r14 + 0x598]
mov edx, dword [rax + 0x7c]
test dl, 3
je 0x140021cbb
lea rax, [rsp + 0x70]
mov rcx, r10
lea rdi, [rsi + 0xa8]
lea rbx, [r14 + 0x210]
mov qword [rsp + 0x28], rdi
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
lea rdx, str._HTTP__1d._1d_c_3d
call fcn.14000de30
cmp eax, 1
jne 0x140021c29
cmp dword [rsp + 0x30], 2
jne 0x14002291c
mov rcx, qword [rsi + 0x90]
lea rdx, str._HTTP_2__d
mov r8, rdi
call fcn.14000de30
cmp eax, 1
jne 0x14002291c
mov dword [rbx], r13d
mov byte [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_32
jmp 0x140021c39
cmp eax, 4
jne 0x140021c6e
cmp byte [rsp + 0x70], 0x20
jne 0x14002291c
mov eax, dword [rsp + 0x30]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rbx], ecx
cmp dword [rsi + 0xc4], 2
jne 0x140021d12
cmp dword [rbx], 0x14
je 0x140021d12
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rbp
call fcn.1400191f0
jmp 0x140021d12
test eax, eax
jne 0x14002291c
mov rcx, qword [rsi + 0x90]
lea rdx, str._HTTP__3d
mov r8, rdi
call fcn.14000de30
mov dword [rbx], 0xa
test eax, eax
jne 0x140021d12
mov rdx, qword [rsi + 0x90]
mov rcx, rbp
call fcn.1400233c0
test al, al
je 0x140022a8f
mov dword [rdi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rbx], 0xa
jmp 0x140021d12
bt edx, 0x12
jae 0x140022a8f
lea rdi, [rsi + 0xa8]
mov rcx, r10
lea r9, [r14 + 0x214]
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x34]
lea rdx, str._RTSP__d._d__3d
call fcn.14000de30
cmp eax, 3
jne 0x140022a8f
mov eax, dword [rsp + 0x34]
lea rbx, [r14 + 0x210]
mov dword [rbx], ntohl
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [r14 + 0x214], ecx
mov eax, dword [rdi]
mov dword [rbp + 0x4f50], eax
mov eax, dword [rbx]
mov dword [rbp + 0x4f58], eax
mov eax, dword [rbp + 0x4e84]
test eax, eax
je 0x140021d30
cmp eax, dword [rbx]
jle 0x140021d38
mov eax, dword [rbx]
mov dword [rbp + 0x4e84], eax
cmp byte [rbp + 0x588], r13b
je 0x140021d8f
mov eax, dword [rdi]
cmp eax, 0x190
jl 0x140021d8f
cmp eax, 0x191
jne 0x140021d5a
cmp byte [r14 + 0x558], r13b
jne 0x140021d8f
cmp eax, 0x197
jne 0x140021d6a
cmp byte [r14 + 0x559], r13b
jne 0x140021d8f
cmp qword [rbp + 0x4eb0], r13
je 0x140022935
cmp dword [rbp + 0x3e0], 1
jne 0x140022935
cmp eax, 0x1a0
jne 0x140022935
mov eax, dword [rbx]
cmp eax, 0xa
jne 0x140021db4
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbp
call fcn.1400191f0
mov edx, 1
mov rcx, r14
call fcn.14001ab60
jmp 0x140021e09
cmp eax, 0x14
je 0x140021dfc
cmp dword [rsi + 0xc4], 1
jne 0x140021dc7
cmp dword [rdi], 0x65
je 0x140021dfc
cmp eax, 0xb
jl 0x140021e09
cmp byte [r14 + 0x551], r13b
jne 0x140021e09
cmp qword [r14 + 0xa08], r13
je 0x140021e09
mov rdx, r14
mov rcx, rbp
call fcn.140024ee0
test al, al
jne 0x140021e09
mov rax, qword [r14 + 0xa08]
mov dword [rax], 1
jmp 0x140021e09
mov rax, qword [r14 + 0xa08]
mov dword [rax], 2
mov ecx, dword [rdi]
sub ecx, 0xcc
je 0x140021e18
cmp ecx, 0x64
jne 0x140021e36
cmp dword [rbp + 0x3d0], r13d
je 0x140021e28
mov byte [rbp + 0x4f60], 1
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov byte [rsi + 0xf6], 1
cmp byte [rsi + 0xf6], r13b
jne 0x140021edb
cmp byte [rbp + 0x5af], r13b
jne 0x140021edb
mov rdx, qword [rsi + 0x90]
lea rcx, [0x1400b6870]
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.1400253b0
test eax, eax
je 0x140021edb
mov rcx, qword [rsi + 0x90]
xor edx, edx
add rcx, 0xf
lea r8d, [rdx + 0xa]
call fcn.14006009c
mov rbx, rax
mov rax, qword [rbp + 0x560]
test rax, rax
je 0x140021e9b
cmp rbx, rax
jg 0x140022947
test rbx, rbx
js 0x140021eb7
mov rdx, rbx
mov qword [rsi], rbx
mov rcx, rbp
mov qword [rsi + 0x10], rbx
call fcn.140023da0
jmp 0x1400225df
mov edx, 2
mov rcx, r14
call fcn.14001ab60
mov r8, rbx
lea rdx, str.Negative_content_length:__I64d__closing_after_transfer_n
mov rcx, rbp
call fcn.1400191f0
jmp 0x1400225df
mov rdx, qword [rsi + 0x90]
lea rcx, [0x1400b68e0]
mov r8d, reloc.WS2_32.dll_listen
call fcn.1400253b0
test eax, eax
je 0x140021f3c
mov rcx, qword [rsi + 0x90]
call fcn.14001f3c0
mov rbx, rax
test rax, rax
je 0x140022960
cmp byte [rax], r13b
jne 0x140021f23
mov rcx, rax
call qword [fcn.14005470c]
jmp 0x1400225df
mov rcx, qword [rbp + 0x4f78]
call qword [fcn.14005470c]
mov qword [rbp + 0x4f78], rbx
jmp 0x1400225df
mov rdx, qword [rsi + 0x90]
lea rcx, str.Server:
mov r8d, 7
call fcn.1400253b0
test eax, eax
je 0x140021fb1
cmp dword [r14 + 0x210], 0x14
jge 0x1400225df
mov rcx, qword [rsi + 0x90]
call fcn.14001f3c0
mov rcx, qword [r14 + 0xa08]
mov rbx, rax
test rcx, rcx
je 0x140021fa3
cmp dword [rcx], 1
jne 0x140021fa3
mov rdx, rax
mov rcx, rbp
call fcn.1400250b0
test al, al
je 0x140021fa3
mov rax, qword [r14 + 0xa08]
mov dword [rax], 0xffffffff
mov rcx, rbx
call qword [fcn.14005470c]
jmp 0x1400225df
cmp dword [r14 + 0x210], 0xa
jne 0x140022000
cmp byte [r14 + 0x556], r13b
je 0x140022000
mov rcx, qword [rsi + 0x90]
lea r8, [0x1400b6948]
lea rdx, [0x1400b6958]
call fcn.14001f260
test al, al
je 0x140022000
xor edx, edx
mov rcx, r14
call fcn.14001ab60
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbp
call fcn.1400191f0
jmp 0x1400225df
cmp dword [r14 + 0x210], 0xb
jne 0x140022052
cmp byte [r14 + 0x556], r13b
je 0x140022052
mov rcx, qword [rsi + 0x90]
lea r8, [0x1400b6694]
lea rdx, [0x1400b69f8]
call fcn.14001f260
test al, al
je 0x140022052
mov edx, 1
mov rcx, r14
call fcn.14001ab60
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbp
call fcn.1400191f0
jmp 0x1400225df
cmp dword [r14 + 0x210], 0xa
jne 0x140022098
mov rcx, qword [rsi + 0x90]
lea r8, str.keep_alive
lea rdx, [0x1400b6a48]
call fcn.14001f260
test al, al
je 0x140022098
xor edx, edx
mov rcx, r14
call fcn.14001ab60
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbp
call fcn.1400191f0
jmp 0x1400225df
mov rcx, qword [rsi + 0x90]
lea r8, str.close
lea rdx, str.Connection:
call fcn.14001f260
test al, al
je 0x1400220c8
mov edx, 2
mov rcx, r14
call fcn.14001ab60
jmp 0x1400225df
mov rdx, qword [rsi + 0x90]
lea rcx, [0x1400b6a98]
mov r8d, reloc.WS2_32.dll_select
call fcn.1400253b0
test eax, eax
je 0x140022216
mov rbx, qword [rsi + 0x90]
add rbx, 0x12
movzx eax, byte [rbx]
test al, al
je 0x14002211c
nop dword [rax + rax]
movzx ecx, al
call fcn.1400549ec
test eax, eax
jne 0x140022111
cmp byte [rbx], 0x2c
jne 0x14002211c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140022100
mov r8d, 7
lea rcx, [0x1400b6ab0]
mov rdx, rbx
call fcn.1400253b0
test eax, eax
je 0x140022148
mov rcx, r14
mov byte [rsi + 0x118], 1
call fcn.1400400b0
add rbx, 7
cmp dword [rsi + 0xc8], r13d
jne 0x1400225df
mov r8d, 8
lea rcx, [0x1400b6ab8]
mov rdx, rbx
call fcn.1400253b0
test eax, eax
je 0x140022182
mov eax, 8
mov dword [rsi + 0xc8], r13d
add rbx, rax
jmp 0x1400220f4
mov r8d, 7
lea rcx, [0x1400b6ad8]
mov rdx, rbx
call fcn.1400253b0
test eax, eax
je 0x1400221b2
mov eax, 7
mov dword [rsi + 0xc8], 1
add rbx, rax
jmp 0x1400220f4
mov r8d, 4
lea rcx, [0x1400b6ae0]
mov rdx, rbx
call fcn.1400253b0
test eax, eax
je 0x1400221e2
mov eax, 4
mov dword [rsi + 0xc8], 2
add rbx, rax
jmp 0x1400220f4
mov r8d, 6
lea rcx, [0x1400b664c]
mov rdx, rbx
call fcn.1400253b0
test eax, eax
je 0x1400225df
mov eax, 6
mov dword [rsi + 0xc8], 2
add rbx, rax
jmp 0x1400220f4
mov rdx, qword [rsi + 0x90]
lea rcx, str.Content_Encoding:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1400253b0
test eax, eax
je 0x1400222fd
cmp qword [rbp + 0x610], r13
je 0x1400222fd
mov rbx, qword [rsi + 0x90]
add rbx, 0x11
movzx eax, byte [rbx]
test al, al
je 0x14002226d
movzx ecx, al
call fcn.1400549ec
test eax, eax
je 0x14002226d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140022256
mov r8d, 8
lea rcx, str.identity
mov rdx, rbx
call fcn.1400253b0
test eax, eax
je 0x140022292
mov dword [rsi + 0xc8], r13d
jmp 0x1400225df
mov r8d, 7
lea rcx, str.deflate
mov rdx, rbx
call fcn.1400253b0
test eax, eax
je 0x1400222ba
mov dword [rsi + 0xc8], 1
jmp 0x1400225df
mov r8d, 4
lea rcx, str.gzip
mov rdx, rbx
call fcn.1400253b0
test eax, eax
jne 0x1400222ee
lea r8d, [rax + 6]
mov rdx, rbx
lea rcx, str.x_gzip
call fcn.1400253b0
test eax, eax
je 0x1400225df
mov dword [rsi + 0xc8], 2
jmp 0x1400225df
mov rdx, qword [rsi + 0x90]
lea rcx, [0x1400b6b20]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400253b0
test eax, eax
je 0x140022392
mov rbx, qword [rsi + 0x90]
add rbx, 0xe
movzx eax, byte [rbx]
test al, al
je 0x14002234c
nop dword [rax]
movzx ecx, al
call fcn.14005480c
test eax, eax
jne 0x14002234c
cmp byte [rbx], 0x2a
je 0x14002234c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140022330
movzx ecx, byte [rbx]
call fcn.14005480c
test eax, eax
je 0x140022386
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.14006009c
mov qword [rsi + 0xa0], rax
cmp qword [rbp + 0x4eb0], rax
jne 0x1400225df
mov byte [rsi + 0x98], 1
jmp 0x1400225df
mov qword [rbp + 0x4eb0], r13
jmp 0x1400225df
cmp qword [rbp + 0x860], r13
je 0x14002241f
mov rdx, qword [rsi + 0x90]
lea rcx, str.Set_Cookie:
mov r8d, ntohl
call fcn.1400253b0
test eax, eax
je 0x14002241f
mov edx, 2
mov rcx, rbp
mov r8d, edx
call fcn.140026120
mov rcx, qword [r14 + 0x5f8]
test rcx, rcx
jne 0x1400223df
mov rcx, qword [r14 + 0xd0]
mov rax, qword [rbp + 0x4e98]
mov r8b, 1
mov r9, qword [rsi + 0x90]
mov rdx, qword [rbp + 0x860]
add r9, 0xb
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call fcn.14000c3c0
mov edx, 2
mov rcx, rbp
call fcn.140026160
jmp 0x1400225df
mov rdx, qword [rsi + 0x90]
lea rcx, str.Last_Modified:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400253b0
test eax, eax
je 0x14002248e
cmp dword [rbp + 0x3d0], r13d
jne 0x14002244e
cmp byte [rbp + 0x581], r13b
je 0x14002248e
xor ecx, ecx
call fcn.1400509d0
mov rcx, qword [rsi + 0x90]
lea rdx, [rsp + 0x38]
add rcx, 0xe
mov qword [rsp + 0x38], rax
call fcn.1400255b0
mov qword [rsi + 0xd0], rax
cmp byte [rbp + 0x581], r13b
je 0x1400225df
mov dword [rbp + 0x4f5c], eax
jmp 0x1400225df
mov rdx, qword [rsi + 0x90]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1400253b0
test eax, eax
je 0x1400224b9
mov ebx, dword [rsi + 0xa8]
cmp ebx, 0x191
je 0x1400224e4
mov rdx, qword [rsi + 0x90]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.1400253b0
test eax, eax
je 0x14002252a
mov ebx, dword [rsi + 0xa8]
cmp ebx, 0x197
jne 0x14002252a
mov rcx, qword [rsi + 0x90]
call fcn.14001f3c0
mov rdi, rax
test rax, rax
je 0x140022960
cmp ebx, 0x197
mov r8, rax
mov rcx, r14
sete dl
call fcn.140021610
mov rcx, rdi
mov ebx, eax
call qword [fcn.14005470c]
test ebx, ebx
je 0x1400225df
mov eax, ebx
jmp 0x140022a95
mov eax, dword [rsi + 0xa8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1400225b8
mov rdx, qword [rsi + 0x90]
lea rcx, str.Location:
mov r8d, 9
call fcn.1400253b0
test eax, eax
je 0x1400225b8
cmp qword [rbp + 0x1d0], r13
jne 0x1400225b8
mov rcx, qword [rsi + 0x90]
call fcn.14001f3c0
test rax, rax
je 0x140022960
cmp byte [rax], r13b
jne 0x140022585
mov rcx, rax
call qword [fcn.14005470c]
jmp 0x1400225df
mov qword [rbp + 0x1d0], rax
cmp byte [rbp + 0x58a], r13b
je 0x1400225df
mov rcx, rax
call qword [case.0x14000d816.0]
mov qword [rbp + 0x1d8], rax
test rax, rax
je 0x140022960
mov rcx, r14
call fcn.140022e80
jmp 0x1400225d7
mov rax, qword [r14 + 0x598]
test dword [rax + 0x7c], 0x40000
je 0x1400225df
mov rdx, qword [rsi + 0x90]
mov rcx, r14
call fcn.14003b890
test eax, eax
jne 0x140022a95
mov ebx, r13d
cmp byte [rbp + 0x58d], bl
setne bl
cmp byte [rbp + 0x598], r13b
je 0x140022611
mov r9, qword [rsi + 0x70]
mov edx, 1
mov r8, qword [rsi + 0x90]
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.140019990
mov r9, qword [rsi + 0x70]
lea edx, [rbx + 2]
mov r8, qword [rsi + 0x90]
mov rcx, r14
call fcn.140019540
test eax, eax
jne 0x140022a95
mov eax, dword [rsi + 0x70]
add dword [rbp + 0x4f64], eax
mov eax, dword [rsi + 0x70]
add dword [rbp + 0x108], eax
jmp 0x1400228d7
cmp al, 0xd
jne 0x140022655
lea rax, [r10 + 1]
mov qword [rsi + 0x90], rax
mov rax, qword [rsi + 0x90]
cmp byte [rax], 0xa
jne 0x14002266b
inc rax
mov qword [rsi + 0x90], rax
mov ecx, dword [rsi + 0xa8]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1400226d1
sub ecx, 0x64
je 0x1400226a6
cmp ecx, 1
je 0x140022690
mov byte [rsi + 0x58], 1
mov dword [rsi + 0x60], r13d
jmp 0x14002272c
cmp dword [rsi + 0xc4], 1
je 0x14002296a
mov byte [rsi + 0x58], r13b
jmp 0x14002272c
mov byte [rsi + 0x58], 1
mov dword [rsi + 0x60], r13d
cmp dword [rsi + 0xc0], r13d
jle 0x14002272c
or dword [rsi + 0xf0], 2
xor edx, edx
mov rcx, rbp
mov dword [rsi + 0xc0], r13d
call fcn.140009ee0
jmp 0x14002272c
cmp qword [rsi], 0xffffffffffffffff
mov byte [rsi + 0x58], r13b
jne 0x14002272c
cmp byte [rsi + 0x118], r13b
jne 0x14002272c
cmp byte [r14 + 0x551], r13b
jne 0x140022735
cmp dword [r14 + 0x210], 0xb
jne 0x14002272c
mov rax, qword [r14 + 0x598]
test dword [rax + 0x7c], 0x40000
jne 0x14002272c
cmp dword [rbp + 0x3e0], 5
je 0x14002272c
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbp
call fcn.1400191f0
mov edx, 2
mov rcx, r14
call fcn.14001ab60
cmp byte [r14 + 0x551], r13b
je 0x140022773
mov eax, dword [rbp + 0x180]
cmp eax, 0x191
jne 0x14002274c
cmp dword [r14 + 0x6e0], 2
je 0x14002275d
cmp eax, 0x197
jne 0x140022773
cmp dword [r14 + 0x750], 2
jne 0x140022773
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbp
call fcn.1400191f0
mov byte [rbp + 0x4c20], 1
mov rcx, r14
call fcn.140022c10
test eax, eax
jne 0x140022a3c
mov r8, qword [rbp + 0xa20]
mov edx, r13d
mov rbx, qword [rsi + 0x90]
sub rbx, r8
cmp byte [rbp + 0x58d], dl
mov r9, rbx
setne dl
add edx, 2
call fcn.140019540
test eax, eax
jne 0x140022a95
add dword [rbp + 0x108], ebx
mov ecx, r13d
add dword [rbp + 0x4f64], ebx
mov eax, dword [rsi + 0xa8]
sub eax, 0x64
cmp eax, 0x63
cmovbe ecx, dword [rbp + 0x108]
mov dword [rbp + 0x10c], ecx
mov rcx, r14
call fcn.1400218a0
test eax, eax
jne 0x140022a95
cmp dword [rsi + 0xa8], 0x12c
jl 0x1400228cd
cmp byte [r14 + 0x562], r13b
jne 0x1400228ae
cmp byte [r14 + 0x551], r13b
jne 0x1400228ae
cmp byte [r14 + 0x563], r13b
jne 0x1400228b7
mov eax, dword [rbp + 0x3e0]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1400228ae
xor edx, edx
mov rcx, rbp
call fcn.140009ee0
cmp byte [rsi + 0xf4], r13b
jne 0x1400228ae
mov rcx, rbp
cmp byte [rbp + 0x589], r13b
je 0x140022874
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.1400191f0
cmp dword [rsi + 0xc0], r13d
jle 0x1400228ae
or dword [rsi + 0xf0], 2
mov dword [rsi + 0xc0], r13d
jmp 0x1400228ae
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.1400191f0
mov edx, 2
mov rcx, r14
call fcn.14001ab60
and dword [rsi + 0xf0], 0xfffffffd
mov byte [rsi + 0xf4], 1
cmp byte [rbp + 0x4e88], r13b
je 0x1400228ae
mov dword [rsi + 0xc0], 3
cmp byte [r14 + 0x563], r13b
je 0x1400228cd
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbp
call fcn.1400191f0
or dword [rsi + 0xf0], 2
cmp byte [rsi + 0x58], r13b
je 0x140022995
mov rax, qword [rbp + 0xa20]
mov qword [rsi + 0x68], rax
mov rax, qword [rsi + 0x78]
mov qword [rsi + 0x70], r13
cmp byte [rax], r13b
jne 0x140021ae0
jmp 0x140022a93
mov byte [rsi + 0x58], r13b
cmp qword [r15], r13
je 0x14002290d
mov dword [rsi + 0x5c], 1
jmp 0x140022a93
mov dword [rsi + 0x5c], 2
mov qword [r15], rbx
jmp 0x140022a93
lea rdx, str.Unsupported_HTTP_version_in_response_n
mov rcx, rbp
call fcn.1400192a0
mov eax, 1
jmp 0x140022a95
mov rcx, rbp
call fcn.1400235c0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140022a95
lea rdx, [0x1400b6880]
mov rcx, rbp
call fcn.1400192a0
mov eax, 0x3f
jmp 0x140022a95
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140022a95
lea rdx, str.Received_101_n
mov rcx, rbp
call fcn.1400191f0
mov eax, 1
mov dword [rsi + 0xc4], 2
mov byte [rsi + 0x58], 1
mov dword [rsi + 0x60], r13d
jmp 0x140022a95
cmp byte [rbp + 0x590], r13b
je 0x1400229a5
mov byte [r12], 1
jmp 0x1400229e3
mov rax, qword [r14 + 0x598]
test dword [rax + 0x7c], 0x40000
je 0x1400229cb
cmp dword [rbp + 0x7b4], 2
jne 0x1400229cb
cmp qword [rsi], 0xffffffffffffffff
jg 0x1400229cb
mov byte [r12], 1
jmp 0x1400229e3
cmp byte [rsi + 0x118], r13b
je 0x1400229e3
mov qword [rsi], 0xffffffffffffffff
mov qword [rsi + 0x10], 0xffffffffffffffff
mov rdx, qword [rsi]
cmp rdx, 0xffffffffffffffff
je 0x1400229fb
mov rcx, rbp
call fcn.140023da0
mov rax, qword [rsi]
mov qword [rsi + 0x10], rax
cmp qword [rsi + 0x10], r13
jne 0x140022a08
mov byte [r12], 1
jmp 0x140022a0e
cmp byte [r12], r13b
je 0x140022a15
and dword [rsi + 0xf0], 0xfffffffe
cmp byte [rbp + 0x598], r13b
je 0x140022a93
mov r8, qword [rsi + 0x80]
mov r9, rbx
mov edx, 1
mov qword [rsp + 0x20], r14
mov rcx, rbp
call fcn.140019990
jmp 0x140022a93
mov r8d, dword [rsi + 0xa8]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbp
call fcn.1400192a0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140022a95
mov r8, qword [r15]
call fcn.1400234c0
test eax, eax
jne 0x140022a95
cmp dword [rsi + 0x60], r13d
jne 0x140022a93
cmp qword [rsi + 0x70], 5
jbe 0x140022a93
mov r8, qword [rbp + 0xa20]
mov rdx, r14
mov rcx, rbp
call fcn.140023490
test al, al
jne 0x140022a93
mov dword [rsi + 0x5c], 2
mov byte [rsi + 0x58], r13b
xor eax, eax
mov rdi, qword [rsp + 0x78]
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rsi
ret