Function at 0x1400a0e20
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
lea r12, [0x140147570]
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov edi, send
test r9, r9
je 0x1400a0eda
cmp byte [rbp], 0
lea r9, str.WWW_Authenticate:
mov r10d, edi
mov r8, rbp
je 0x1400a0eab
nop
movzx eax, byte [r9]
test al, al
je 0x1400a0e9b
test r10, r10
je 0x1400a0ea0
movzx ecx, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a0ea7
inc r8
dec r10
inc r9
cmp byte [r8], 0
jne 0x1400a0e70
test r10, r10
jne 0x1400a0eab
mov edx, 1
jmp 0x1400a0ec1
xor edx, edx
jmp 0x1400a0ec1
movzx eax, byte [r9]
xor edx, edx
movzx ecx, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1400a0eda
mov ebx, dword [r15 + 0x14c]
cmp ebx, 0x191
je 0x1400a0f61
jmp 0x1400a0ee3
test rbp, rbp
je 0x1400a1562
cmp byte [rbp], 0
lea r9, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rdx, rbp
je 0x1400a0f39
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1400a0f29
test r8, r8
je 0x1400a0f2e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a0f35
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400a0f00
test r8, r8
jne 0x1400a0f39
mov edx, 1
jmp 0x1400a0f4e
xor edx, edx
jmp 0x1400a0f4e
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1400a0fbe
mov ebx, dword [r15 + 0x14c]
cmp ebx, 0x197
jne 0x1400a0fc7
mov rcx, rbp
call fcn.140088a80
mov rdi, rax
test rax, rax
jne 0x1400a0f7b
mov eax, 0x1b
jmp 0x1400a15dc
mov r9, rbp
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, rsi
mov rcx, r15
call fcn.140077ab0
cmp ebx, 0x197
mov r8, rdi
mov rcx, r15
sete dl
call fcn.140089890
mov rcx, rdi
mov ebx, eax
call qword [0x1401630a8]
test ebx, ebx
je 0x1400a15da
mov eax, ebx
jmp 0x1400a15dc
test rbp, rbp
je 0x1400a1562
cmp byte [rbp], 0
lea r9, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbp
je 0x1400a1019
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1400a1009
test r8, r8
je 0x1400a100e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a1015
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400a0fe0
test r8, r8
jne 0x1400a1019
mov edx, 1
jmp 0x1400a102e
xor edx, edx
jmp 0x1400a102e
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1400a1076
mov r8d, dword [r15 + 0x14c]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1400a1059
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, r15
call fcn.140077a60
jmp 0x1400a15da
lea r9, [r14 + 0xa0]
xor edx, edx
lea rcx, [rbp + 0xf]
mov r8d, 0xa
call fcn.140097150
jmp 0x1400a15da
cmp byte [rbp], 0
lea r9, str.Connection:
mov r8d, recv
mov rdx, rbp
je 0x1400a10c9
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1400a10b9
test r8, r8
je 0x1400a10be
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a10c5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400a1090
test r8, r8
jne 0x1400a10c9
mov edx, 1
jmp 0x1400a10de
xor edx, edx
jmp 0x1400a10de
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1400a11d2
movzx ecx, byte [rbp + 0xb]
lea rbx, [rbp + 0xb]
test cl, cl
je 0x1400a1112
movzx eax, cl
cmp cl, 0x20
je 0x1400a1104
cmp al, 9
je 0x1400a1104
sub al, 0xa
cmp al, 3
ja 0x1400a1112
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x1400a10f5
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400a114c
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400a114c
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x1400a11d2
test rbx, rbx
je 0x1400a11c6
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x1400a11a9
nop
movzx eax, byte [r9]
test al, al
je 0x1400a1199
test r8, r8
je 0x1400a119e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a11a5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400a1170
test r8, r8
jne 0x1400a11a9
mov edx, 1
jmp 0x1400a11be
xor edx, edx
jmp 0x1400a11be
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
jne 0x1400a15fb
dec r10
inc rbx
cmp r10, 5
jae 0x1400a1155
cmp byte [rbp], 0
lea r9, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
mov r11, r9
mov r10d, r8d
mov rdx, rbp
je 0x1400a1229
nop
movzx eax, byte [r11]
test al, al
je 0x1400a1219
test r10, r10
je 0x1400a121e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a1225
inc rdx
dec r10
inc r11
cmp byte [rdx], 0
jne 0x1400a11f0
test r10, r10
jne 0x1400a1229
mov edx, 1
jmp 0x1400a123e
xor edx, edx
jmp 0x1400a123e
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r11]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1400a140d
mov ecx, dword [r15 + 0x14c]
lea eax, [rcx - 0xc8]
cmp eax, 0x64
jae 0x1400a126f
mov r8d, ecx
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, r15
call fcn.140077a60
jmp 0x1400a15da
cmp byte [rbp], 0
mov rdx, rbp
je 0x1400a12b1
movzx eax, byte [r9]
test al, al
je 0x1400a12a1
test r8, r8
je 0x1400a12a6
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a12ad
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400a1278
test r8, r8
jne 0x1400a12b1
mov edx, 1
jmp 0x1400a12c6
xor edx, edx
jmp 0x1400a12c6
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1400a15da
movzx ecx, byte [rbp + 0x12]
lea rbx, [rbp + 0x12]
test cl, cl
je 0x1400a12fd
movzx eax, cl
nop dword [rax]
cmp cl, 0x20
je 0x1400a12ef
cmp al, 9
je 0x1400a12ef
sub al, 0xa
cmp al, 3
ja 0x1400a12fd
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x1400a12e0
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400a1337
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400a1337
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 7
jb 0x1400a15da
test rbx, rbx
je 0x1400a13b2
cmp byte [rbx], 0
lea r9, str.chunked
mov r8d, 7
mov rdx, rbx
je 0x1400a1399
nop
movzx eax, byte [r9]
test al, al
je 0x1400a1389
test r8, r8
je 0x1400a138e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a1395
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400a1360
test r8, r8
jne 0x1400a1399
mov edx, 1
jmp 0x1400a13ae
xor edx, edx
jmp 0x1400a13ae
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
jne 0x1400a13c3
dec r10
inc rbx
cmp r10, 7
jae 0x1400a1344
jmp 0x1400a15da
lea rdx, str.CONNECT_responded_chunked
mov rcx, r15
call fcn.140077a60
mov byte [r14 + 0xac], 1
mov byte [r14 + 0x80], 0
mov qword [r14 + 0x58], 0
cmp qword [r14 + 0x68], 0
je 0x1400a13f8
mov rax, qword [r14 + 0x60]
mov byte [rax], 0
mov qword [r14 + 0x68], 0
mov byte [r14 + 0x92], 1
jmp 0x1400a15da
cmp byte [rbp], 0
lea r8, str.Proxy_Connection:
mov rdx, rbp
je 0x1400a1459
nop dword [rax]
movzx eax, byte [r8]
test al, al
je 0x1400a1449
test rdi, rdi
je 0x1400a144e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a1455
inc rdx
dec rdi
inc r8
cmp byte [rdx], 0
jne 0x1400a1420
test rdi, rdi
jne 0x1400a1459
mov edx, 1
jmp 0x1400a146e
xor edx, edx
jmp 0x1400a146e
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1400a1562
movzx ecx, byte [rbp + 0x11]
lea rbx, [rbp + 0x11]
test cl, cl
je 0x1400a14a2
movzx eax, cl
cmp cl, 0x20
je 0x1400a1494
cmp al, 9
je 0x1400a1494
sub al, 0xa
cmp al, 3
ja 0x1400a14a2
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x1400a1485
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400a14dc
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400a14dc
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x1400a1562
test rbx, rbx
je 0x1400a1556
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x1400a1539
nop
movzx eax, byte [r9]
test al, al
je 0x1400a1529
test r8, r8
je 0x1400a152e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400a1535
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400a1500
test r8, r8
jne 0x1400a1539
mov edx, 1
jmp 0x1400a154e
xor edx, edx
jmp 0x1400a154e
movzx ecx, byte [rdx]
xor edx, edx
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
jne 0x1400a15fb
dec r10
inc rbx
cmp r10, 5
jae 0x1400a14e5
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400a15da
movzx eax, byte [rbp + 7]
sub al, 0x30
cmp al, 1
ja 0x1400a15da
cmp byte [rbp + 8], 0x20
jne 0x1400a15da
movsx ecx, byte [rbp + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400a15da
movsx edx, byte [rbp + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400a15da
movsx r8d, byte [rbp + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1400a15da
movzx eax, byte [rbp + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x1400a15da
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [r15 + 0x14c], ecx
mov dword [r15 + 0x1244], ecx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov byte [r14 + 0xad], 1
jmp 0x1400a15da