Function at 0x1401b37d0
Capabilities:
Check http status code

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [0x1403f80a0]
xor rax, rsp
mov qword [rbp + 7], rax
mov rdi, qword [rcx + 0x178]
lea r15, [rcx + 0x100]
mov r14d, dword [r8]
mov r12, r8
mov qword [rcx + 0x180], rdi
mov rsi, rdx
movsxd r8, dword [r8]
mov rbx, rcx
mov rcx, rdi
mov dword [rbp - 0x29], r14d
mov edx, 0xa
mov qword [rbp - 0x21], rdi
mov r13, r9
call fcn.1401334a0
xor r14d, r14d
mov qword [rbx + 0x188], rax
mov rdx, r15
mov rcx, rbx
test rax, rax
je 0x1401b45bd
mov eax, dword [rbx + 0x178]
sub eax, dword [rbx + 0x188]
dec eax
add dword [r12], eax
mov r8, qword [rbx + 0x188]
inc r8
mov qword [rbx + 0x178], r8
sub r8, qword [rbx + 0x180]
call fcn.1401b4950
test eax, eax
jne 0x1401b4456
mov rax, qword [rbx + 0x168]
mov qword [rbx + 0x188], rax
mov r8, qword [rbx + 0x1108]
mov qword [rbx + 0x190], r8
cmp dword [rbx + 0x160], r14d
jne 0x1401b38c3
mov r9, qword [rbx + 0x170]
mov rdx, rsi
mov rcx, rbx
call fcn.1401b4800
cmp eax, 2
je 0x1401b4423
mov r10, qword [rbx + 0x190]
mov al, byte [r10]
cmp al, 0xa
je 0x1401b4187
cmp al, 0xd
je 0x1401b418b
mov ecx, dword [rbx + 0x160]
lea eax, [rcx + 1]
mov dword [rbx + 0x160], eax
test ecx, ecx
jne 0x1401b3b7a
mov rax, qword [rsi + 0x408]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x1401b39ea
lea rax, [rbp - 0x19]
mov rcx, r10
lea r14, [rbx + 0x1a8]
lea rdi, [rsi + 0x218]
mov qword [rsp + 0x28], r14
mov r9, rdi
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x15]
lea rdx, str._HTTP__1d._1d_c_3d
call fcn.1401a2eb0
cmp eax, 1
jne 0x1401b3971
cmp dword [rbp - 0x15], 2
jne 0x1401b4494
mov rcx, qword [rbx + 0x190]
lea rdx, str._HTTP_2__d
mov r8, r14
call fcn.1401a2eb0
cmp eax, 1
jne 0x1401b4494
and dword [rdi], 0
mov al, reloc.WLDAP32.dll_Ordinal_32
mov byte [rbp - 0x19], al
jmp 0x1401b3979
cmp eax, 4
jne 0x1401b3990
mov al, byte [rbp - 0x19]
cmp al, 0x20
jne 0x1401b4494
mov eax, dword [rbp - 0x15]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rdi], ecx
jmp 0x1401b3a50
test eax, eax
jne 0x1401b4494
mov rcx, qword [rbx + 0x190]
lea rdx, str._HTTP__3d
mov r8, r14
call fcn.1401a2eb0
mov dword [rdi], 0xa
test eax, eax
jne 0x1401b3a50
mov r8, qword [rbx + 0x170]
mov rcx, rbx
mov rdx, qword [rbx + 0x190]
call fcn.1401b4740
cmp eax, 1
jne 0x1401b44ad
mov dword [r14], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x1401b3a50
bt ecx, 0x12
jae 0x1401b44b0
lea rax, [rbp - 0x18]
mov rcx, r10
lea r14, [rbx + 0x1a8]
lea rdi, [rsi + 0x21c]
mov qword [rsp + 0x28], r14
mov r9, rdi
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x11]
lea rdx, str._RTSP__1d._1d_c_3d
call fcn.1401a2eb0
cmp eax, 4
jne 0x1401b44ad
cmp byte [rbp - 0x18], 0x20
jne 0x1401b44ad
mov eax, dword [rbp - 0x11]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rdi], ecx
lea rdi, [rsi + 0x218]
mov dword [rdi], recv
mov eax, dword [r14]
mov dword [rbx + 0x15d8], eax
mov eax, dword [rdi]
mov dword [rbx + 0x15e0], eax
mov eax, dword [rbx + 0x14c4]
test eax, eax
je 0x1401b3a6f
cmp eax, dword [rdi]
jle 0x1401b3a77
mov eax, dword [rdi]
mov dword [rbx + 0x14c4], eax
xor eax, eax
cmp qword [rbx + 0x14d8], rax
je 0x1401b3a9d
cmp dword [rbx + 0xa40], 1
jne 0x1401b3a9d
cmp dword [r14], 0x1a0
jne 0x1401b3a9d
mov byte [rbx + 0x1f5], 1
jmp 0x1401b3ad8
cmp byte [rbx + 0xbf0], al
je 0x1401b3ad8
cmp dword [r14], 0x190
jl 0x1401b3ad8
cmp dword [r14], 0x191
jne 0x1401b3abf
cmp byte [rsi + 0x3c8], al
jne 0x1401b3ad8
cmp dword [r14], 0x197
jne 0x1401b44a0
cmp byte [rsi + 0x3c9], al
je 0x1401b44a0
cmp dword [rdi], 0xa
jne 0x1401b3aec
mov edx, 1
mov rcx, rsi
call fcn.1401ae1f0
jmp 0x1401b3b41
cmp dword [rdi], 0x14
je 0x1401b3b34
cmp dword [rbx + 0x1c4], 1
jne 0x1401b3b00
cmp dword [r14], 0x65
je 0x1401b3b34
cmp dword [rdi], 0xb
jl 0x1401b3b41
cmp byte [rsi + 0x3c1], al
jne 0x1401b3b41
cmp qword [rsi + 0x790], rax
je 0x1401b3b41
mov rdx, rsi
mov rcx, rbx
call fcn.1401b87f0
test al, al
jne 0x1401b3b41
mov rax, qword [rsi + 0x790]
mov dword [rax], 1
jmp 0x1401b3b41
mov rax, qword [rsi + 0x790]
mov dword [rax], 2
mov ecx, dword [r14]
sub ecx, 0xcc
je 0x1401b3b66
xor r14d, r14d
cmp ecx, 0x64
jne 0x1401b3b7a
cmp dword [rbx + 0xa30], r14d
je 0x1401b3b69
mov byte [rbx + 0x15f0], 1
jmp 0x1401b3b69
xor r14d, r14d
mov qword [r15], r14
mov qword [rbx + 0x110], r14
mov byte [rbx + 0x1f6], 1
cmp byte [rbx + 0x1f6], r14b
jne 0x1401b3c2a
cmp byte [rbx + 0xc17], r14b
jne 0x1401b3c2a
mov rdx, qword [rbx + 0x190]
lea rcx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.1401afd20
test eax, eax
je 0x1401b3c2a
mov rcx, qword [rbx + 0x190]
lea r9, [rbp - 9]
xor edx, edx
add rcx, 0xf
lea r8d, [rdx + 0xa]
call fcn.1401bb0d0
test eax, eax
jne 0x1401b3bfb
mov rax, qword [rbx + 0xbc8]
mov rdx, qword [rbp - 9]
test rax, rax
je 0x1401b3be4
cmp rdx, rax
jg 0x1401b3c11
mov rcx, rbx
mov qword [r15], rdx
mov qword [rbx + 0x110], rdx
call fcn.1401b7780
jmp 0x1401b411f
cmp eax, 1
jne 0x1401b44b9
cmp qword [rbx + 0xbc8], r14
je 0x1401b3d98
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.1401ad6b0
mov eax, 0x3f
jmp 0x1401b4456
mov rdx, qword [rbx + 0x190]
lea rcx, str.Content_Type:
mov r8d, reloc.WS2_32.dll_listen
call fcn.1401afd20
mov rdx, qword [rbx + 0x190]
test eax, eax
je 0x1401b3c80
mov rcx, rdx
call fcn.1401b3110
mov rdi, rax
test rax, rax
je 0x1401b44cf
cmp byte [rax], r14b
je 0x1401b3cde
mov rcx, qword [rbx + 0x1608]
call qword [fcn.14013ec60]
mov qword [rbx + 0x1608], rdi
jmp 0x1401b411f
mov r8d, 7
lea rcx, str.Server:
call fcn.1401afd20
mov ecx, dword [rsi + 0x218]
test eax, eax
je 0x1401b3cec
cmp ecx, 0x14
jge 0x1401b411f
mov rcx, qword [rbx + 0x190]
call fcn.1401b3110
mov rcx, qword [rsi + 0x790]
mov rdi, rax
test rcx, rcx
je 0x1401b3cde
cmp dword [rcx], 1
jne 0x1401b3cde
mov rdx, rax
mov rcx, rbx
call fcn.1401b85f0
test al, al
je 0x1401b3cde
mov rax, qword [rsi + 0x790]
or dword [rax], 0xffffffff
mov rcx, rdi
call qword [fcn.14013ec60]
jmp 0x1401b411f
cmp ecx, 0xa
jne 0x1401b3d18
cmp byte [rsi + 0x3c6], r14b
je 0x1401b3d18
mov rcx, qword [rbx + 0x190]
lea r8, str.keep_alive
lea rdx, str.Proxy_Connection:
call fcn.1401b3040
test al, al
jne 0x1401b3d76
cmp dword [rsi + 0x218], 0xb
jne 0x1401b3d4f
cmp byte [rsi + 0x3c6], r14b
je 0x1401b3d4f
mov rcx, qword [rbx + 0x190]
lea r8, str.close
lea rdx, str.Proxy_Connection:
call fcn.1401b3040
test al, al
je 0x1401b3d4f
mov edx, 1
jmp 0x1401b3d9d
cmp dword [rsi + 0x218], 0xa
jne 0x1401b3d7a
mov rcx, qword [rbx + 0x190]
lea r8, str.keep_alive
lea rdx, str.Connection:
call fcn.1401b3040
test al, al
je 0x1401b3d7a
xor edx, edx
jmp 0x1401b3d9d
mov rcx, qword [rbx + 0x190]
lea r8, str.close
lea rdx, str.Connection:
call fcn.1401b3040
test al, al
je 0x1401b3daa
mov edx, 2
mov rcx, rsi
call fcn.1401ae1f0
jmp 0x1401b411f
mov rdx, qword [rbx + 0x190]
lea rcx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
call fcn.1401afd20
mov rdx, qword [rbx + 0x190]
test eax, eax
je 0x1401b3dda
add rdx, 0x12
mov r8d, 1
jmp 0x1401b3e07
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
call fcn.1401afd20
test eax, eax
je 0x1401b3e14
cmp qword [rbx + 0xc78], r14
je 0x1401b3e14
mov rdx, qword [rbx + 0x190]
add rdx, 0x11
xor r8d, r8d
mov rcx, rsi
call fcn.1401afef0
jmp 0x1401b40f1
mov rdx, qword [rbx + 0x190]
lea rcx, str.Content_Range:
mov r8d, recv
call fcn.1401afd20
test eax, eax
je 0x1401b3eaf
mov rdi, qword [rbx + 0x190]
add rdi, 0xe
jmp 0x1401b3e52
movzx ecx, al
call fcn.1401d2c80
test eax, eax
jne 0x1401b3e58
cmp byte [rdi], 0x2a
je 0x1401b3e58
inc rdi
mov al, byte [rdi]
test al, al
jne 0x1401b3e3e
movzx ecx, byte [rdi]
call fcn.1401d2c80
test eax, eax
je 0x1401b3ea3
xor edx, edx
lea r14, [rbx + 0x1a0]
mov r9, r14
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1401bb0d0
test eax, eax
jne 0x1401b411c
mov rax, qword [r14]
xor r14d, r14d
cmp qword [rbx + 0x14d8], rax
jne 0x1401b411f
mov byte [rbx + 0x198], 1
jmp 0x1401b411f
mov qword [rbx + 0x14d8], r14
jmp 0x1401b411f
cmp qword [rbx + 0xf40], r14
je 0x1401b3f57
mov rdx, qword [rbx + 0x190]
lea rcx, str.Set_Cookie:
mov r8d, recv
call fcn.1401afd20
test eax, eax
je 0x1401b3f57
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.1401b0150
mov r8, qword [rsi + 0x480]
test r8, r8
jne 0x1401b3efc
mov r8, qword [rsi + 0xd0]
mov rax, qword [rsi + 0x408]
xor r9d, r9d
mov rdx, qword [rbx + 0x190]
add rdx, 0xb
mov ecx, dword [rax + 0x7c]
mov rax, qword [rbx + 0x1560]
shr ecx, 1
and cl, 1
mov byte [rsp + 0x38], cl
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov r8b, 1
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbx + 0xf40]
call fcn.1401a1370
mov edx, 2
mov rcx, rbx
call fcn.1401b0190
jmp 0x1401b411f
mov rdx, qword [rbx + 0x190]
lea rcx, str.Last_Modified:
mov r8d, recv
call fcn.1401afd20
test eax, eax
je 0x1401b3fc5
cmp dword [rbx + 0xa30], r14d
jne 0x1401b3f86
cmp byte [rbx + 0xbe9], r14b
je 0x1401b3fc5
xor ecx, ecx
call fcn.140144d20
mov rcx, qword [rbx + 0x190]
lea rdx, [rbp - 1]
add rcx, 0xe
mov qword [rbp - 1], rax
call fcn.1401ba9c0
mov qword [rbx + 0x1d0], rax
cmp byte [rbx + 0xbe9], r14b
je 0x1401b411f
mov qword [rbx + 0x15e8], rax
jmp 0x1401b411f
mov rdx, qword [rbx + 0x190]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401afd20
test eax, eax
je 0x1401b3ff0
mov edi, dword [rbx + 0x1a8]
cmp edi, 0x191
je 0x1401b401b
mov rdx, qword [rbx + 0x190]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.1401afd20
test eax, eax
je 0x1401b4064
mov edi, dword [rbx + 0x1a8]
cmp edi, 0x197
jne 0x1401b4064
mov rcx, qword [rbx + 0x190]
call fcn.1401b3110
mov r14, rax
test rax, rax
je 0x1401b44cf
cmp edi, 0x197
mov r8, rax
mov rcx, rsi
sete dl
call fcn.1401b34d0
mov rcx, r14
mov edi, eax
call qword [fcn.14013ec60]
xor r14d, r14d
test edi, edi
je 0x1401b411f
mov eax, edi
jmp 0x1401b4456
mov eax, dword [rbx + 0x1a8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1401b40fb
mov rdx, qword [rbx + 0x190]
lea rcx, str.Location:
mov r8d, 9
call fcn.1401afd20
test eax, eax
je 0x1401b40fb
cmp qword [rbx + 0x1f8], r14
jne 0x1401b40fb
mov rcx, qword [rbx + 0x190]
call fcn.1401b3110
test rax, rax
je 0x1401b44cf
cmp byte [rax], r14b
jne 0x1401b40c0
mov rcx, rax
jmp 0x1401b3ce1
mov qword [rbx + 0x1f8], rax
cmp byte [rbx + 0xbf2], r14b
je 0x1401b411f
mov rcx, rax
call qword [0x1403f8e68]
mov qword [rbx + 0x200], rax
test rax, rax
je 0x1401b44cf
mov rcx, rsi
call fcn.1401b4b80
test eax, eax
jne 0x1401b4456
jmp 0x1401b411f
mov rax, qword [rsi + 0x408]
test dword [rax + 0x7c], 0x40000
je 0x1401b411f
mov rdx, qword [rbx + 0x190]
mov rcx, rsi
call fcn.1401cbf00
jmp 0x1401b40f1
xor r14d, r14d
mov al, byte [rbx + 0xbf5]
neg al
sbb edi, edi
neg edi
cmp byte [rbx + 0xc00], r14b
je 0x1401b414f
mov r9, qword [rbx + 0x170]
mov edx, 1
mov r8, qword [rbx + 0x190]
mov rcx, rbx
call fcn.1401ad5e0
mov r9, qword [rbx + 0x170]
lea edx, [rdi + 2]
mov r8, qword [rbx + 0x190]
mov rcx, rsi
call fcn.1401ad5c0
test eax, eax
jne 0x1401b4456
mov eax, dword [rbx + 0x170]
add dword [rbx + 0x15f4], eax
add dword [rbx + 0x130], eax
jmp 0x1401b43e8
cmp al, 0xd
jne 0x1401b4198
inc r10
mov qword [rbx + 0x190], r10
mov al, byte [r10]
cmp al, 0xa
jne 0x1401b41a7
lea rax, [r10 + 1]
mov qword [rbx + 0x190], rax
mov ecx, dword [rbx + 0x1a8]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1401b4219
sub ecx, 0x64
je 0x1401b41e8
cmp ecx, 1
je 0x1401b41d2
mov byte [rbx + 0x158], 1
mov dword [rbx + 0x160], r14d
jmp 0x1401b4267
cmp dword [rbx + 0x1c4], 1
je 0x1401b44d6
mov byte [rbx + 0x158], r14b
jmp 0x1401b4267
mov byte [rbx + 0x158], 1
mov dword [rbx + 0x160], r14d
cmp dword [rbx + 0x1c0], r14d
jle 0x1401b4267
or dword [rbx + 0x1f0], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x1c0], r14d
call fcn.14019e860
jmp 0x1401b4267
cmp qword [r15], 0xffffffffffffffff
mov byte [rbx + 0x158], r14b
jne 0x1401b4267
cmp byte [rbx + 0x218], r14b
jne 0x1401b4267
cmp byte [rsi + 0x3c1], r14b
jne 0x1401b4270
cmp dword [rsi + 0x218], 0xb
jne 0x1401b4267
mov rax, qword [rsi + 0x408]
test dword [rax + 0x7c], 0x40000
jne 0x1401b4267
cmp dword [rbx + 0xa40], 6
je 0x1401b4267
mov edx, 2
mov rcx, rsi
call fcn.1401ae1f0
cmp byte [rsi + 0x3c1], r14b
je 0x1401b429f
mov eax, dword [rbx + 0x1a8]
cmp eax, 0x191
jne 0x1401b4288
cmp dword [rsi + 0x508], 2
je 0x1401b4298
jmp 0x1401b429f
cmp eax, 0x197
jne 0x1401b429f
cmp dword [rsi + 0x528], 2
jne 0x1401b429f
mov byte [rbx + 0x1258], 1
mov rcx, rsi
call fcn.1401b4cd0
test eax, eax
jne 0x1401b459d
mov r8, qword [rbx + 0x1108]
mov rdi, qword [rbx + 0x190]
mov al, byte [rbx + 0xbf5]
sub rdi, r8
neg al
mov r9, rdi
sbb edx, edx
neg edx
add edx, 2
call fcn.1401ad5c0
test eax, eax
jne 0x1401b4456
add dword [rbx + 0x130], edi
add dword [rbx + 0x15f4], edi
mov eax, dword [rbx + 0x1a8]
mov ecx, dword [rbx + 0x130]
sub eax, 0x64
cmp eax, 0x63
cmova ecx, r14d
mov dword [rbx + 0x134], ecx
mov rcx, rsi
call fcn.1401b31f0
test eax, eax
jne 0x1401b4456
cmp dword [rbx + 0x1a8], 0x12c
jl 0x1401b43db
cmp byte [rsi + 0x3d2], r14b
jne 0x1401b43cb
cmp byte [rsi + 0x3c1], r14b
jne 0x1401b43cb
cmp byte [rsi + 0x3d3], r14b
jne 0x1401b43d4
mov ecx, dword [rbx + 0xa40]
sub ecx, 2
je 0x1401b4368
sub ecx, 1
je 0x1401b4368
sub ecx, 1
je 0x1401b4368
cmp ecx, 1
jne 0x1401b43cb
xor edx, edx
mov rcx, rbx
call fcn.14019e860
cmp byte [rbx + 0x1f4], r14b
jne 0x1401b43cb
cmp byte [rbx + 0xbf1], r14b
je 0x1401b439d
cmp dword [rbx + 0x1c0], r14d
jle 0x1401b43cb
or dword [rbx + 0x1f0], 2
mov dword [rbx + 0x1c0], r14d
jmp 0x1401b43cb
mov edx, 2
mov rcx, rsi
call fcn.1401ae1f0
and dword [rbx + 0x1f0], 0xfffffffd
mov byte [rbx + 0x1f4], 1
cmp byte [rbx + 0x14c8], r14b
je 0x1401b43cb
mov dword [rbx + 0x1c0], 3
cmp byte [rsi + 0x3d3], r14b
je 0x1401b43db
or dword [rbx + 0x1f0], 2
cmp byte [rbx + 0x158], r14b
je 0x1401b44f3
mov rax, qword [rbx + 0x1108]
mov qword [rbx + 0x168], rax
mov qword [rbx + 0x170], r14
mov rcx, qword [rbx + 0x178]
cmp byte [rcx], r14b
je 0x1401b4454
mov qword [rbx + 0x180], rcx
mov edx, 0xa
movsxd r8, dword [r12]
call fcn.1401334a0
jmp 0x1401b3836
mov edx, 2
mov rcx, rsi
call fcn.1401ae1f0
cmp byte [rbx + 0xeda], r14b
je 0x1401b4621
mov byte [rbx + 0x158], r14b
cmp dword [r12], r14d
je 0x1401b4476
mov dword [rbx + 0x15c], 1
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401304f0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rbp - 0x29]
mov dword [rbx + 0x15c], 2
mov dword [r12], eax
mov rax, qword [rbp - 0x21]
mov qword [rbx + 0x178], rax
jmp 0x1401b4454
lea rdx, str.Unsupported_HTTP_version_in_response_n
jmp 0x1401b4628
mov rcx, rbx
call fcn.1401b4ee0
jmp 0x1401b45b3
xor r14d, r14d
mov byte [rbx + 0x158], r14b
jmp 0x1401b4454
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.1401ad6b0
mov eax, 8
jmp 0x1401b4456
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401b4456
mov dword [rbx + 0x1c4], 2
mov byte [rbx + 0x158], 1
mov dword [rbx + 0x160], r14d
jmp 0x1401b4630
cmp byte [rbx + 0xbf8], r14b
jne 0x1401b4532
mov rax, qword [rsi + 0x408]
test dword [rax + 0x7c], 0x40000
je 0x1401b451b
cmp dword [rbx + 0xe3c], 2
jne 0x1401b451b
cmp qword [r15], 0xffffffffffffffff
jle 0x1401b4532
cmp byte [rbx + 0x218], r14b
je 0x1401b4537
or qword [r15], 0xffffffffffffffff
or qword [rbx + 0x110], 0xffffffffffffffff
jmp 0x1401b4537
mov byte [r13], 1
cmp qword [r15], 0xffffffffffffffff
je 0x1401b4554
mov rdx, qword [r15]
mov rcx, rbx
call fcn.1401b7780
mov rax, qword [r15]
mov qword [rbx + 0x110], rax
jmp 0x1401b455b
mov rax, qword [rbx + 0x110]
test rax, rax
jne 0x1401b4567
mov byte [r13], 1
jmp 0x1401b456d
cmp byte [r13], r14b
je 0x1401b4574
and dword [rbx + 0x1f0], 0xfffffffe
cmp byte [rbx + 0xc00], r14b
je 0x1401b4454
mov r8, qword [rbx + 0x180]
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.1401ad5e0
jmp 0x1401b4454
mov r8d, dword [rbx + 0x1a8]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbx
call fcn.1401ad6b0
mov eax, reloc.WS2_32.dll_shutdown
jmp 0x1401b4456
movsxd r8, dword [r12]
call fcn.1401b4950
test eax, eax
jne 0x1401b4456
cmp dword [rbx + 0x160], r14d
jne 0x1401b4454
mov r9, qword [rbx + 0x170]
mov rdx, rsi
mov r8, qword [rbx + 0x1108]
mov rcx, rbx
call fcn.1401b4800
cmp eax, 2
jne 0x1401b4454
mov edx, eax
mov byte [rbx + 0x158], r14b
mov rcx, rsi
mov dword [rbx + 0x15c], eax
call fcn.1401ae1f0
cmp byte [rbx + 0xeda], r14b
jne 0x1401b4454
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, rbx
call fcn.1401ad6b0
mov eax, 1
jmp 0x1401b4456