Function at 0x1400210d0
Capabilities:
Check http status code

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
lea rdx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, r9
call fcn.14001cef0
test eax, eax
je 0x14002110f
cmp dword [rsi + 0x148], 0x191
jne 0x14002110f
xor ebp, ebp
jmp 0x140021137
lea rdx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rcx, rdi
call fcn.14001cef0
test eax, eax
je 0x14002119c
mov bpl, 1
cmp dword [rsi + 0x148], 0x197
jne 0x14002119c
mov rcx, rdi
call fcn.14002fa10
test rax, rax
je 0x1400211e2
mov rbx, rax
test r14, r14
je 0x140021177
cmp byte [rsi + 0xaaf], 0
je 0x140021177
mov rax, qword [r14]
cmp dword [rax + 0xc], 0
jle 0x140021177
lea r8, str.CONNECT:_fwd_auth_header__s
mov rcx, rsi
mov rdx, r14
mov r9, rdi
call fcn.140004420
mov rcx, rsi
mov edx, ebp
mov r8, rbx
call fcn.1400303a0
mov esi, eax
mov rcx, rbx
call qword [fcn.140899688]
test esi, esi
jne 0x14002123b
jmp 0x140021239
lea rdx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rdi
call fcn.14001cef0
test eax, eax
je 0x1400211e9
mov r8d, dword [rsi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x63
ja 0x14002121b
cmp byte [rsi + 0xaaf], 0
je 0x140021239
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rsi
call fcn.140004380
jmp 0x140021239
mov esi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14002123b
mov qword [rsp + 0x20], 5
lea rdx, str.Connection:
lea r9, str.close
mov r8d, listen
mov rcx, rdi
call fcn.140030a60
test al, al
je 0x140021248
mov byte [rbx + 0xed], 1
jmp 0x140021239
add rbx, 0xe0
add rdi, 0xf
mov rcx, rdi
xor edx, edx
mov r8d, 0xa
mov r9, rbx
call fcn.14004ea90
xor esi, esi
mov eax, esi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rdx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
mov rcx, rdi
call fcn.14001cef0
test eax, eax
je 0x14002128d
mov r8d, dword [rsi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x63
ja 0x140021355
cmp byte [rsi + 0xaaf], 0
je 0x140021239
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
jmp 0x1400211d8
mov qword [rsp + 0x20], 5
lea rdx, str.Proxy_Connection:
lea r9, str.close
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rdi
call fcn.140030a60
test al, al
jne 0x140021212
lea rdx, str.HTTP_1.
mov r8d, 7
mov rcx, rdi
call fcn.1408a9ec0
test eax, eax
jne 0x140021239
movzx eax, byte [rdi + 7]
and al, 0xfe
cmp al, 0x30
jne 0x140021239
cmp byte [rdi + 8], 0x20
jne 0x140021239
movzx eax, byte [rdi + 9]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x140021239
movzx ecx, byte [rdi + 0xa]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x140021239
movzx edx, byte [rdi + 0xb]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x140021239
movzx r8d, byte [rdi + 0xc]
add r8b, 0xd0
cmp r8b, 0xa
jb 0x140021239
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
mov dword [rsi + 0x138c], eax
jmp 0x140021239
mov qword [rsp + 0x20], 7
lea rdx, str.Transfer_Encoding:
lea r9, str.chunked
mov r8d, reloc.WS2_32.dll_select
mov rcx, rdi
call fcn.140030a60
test al, al
je 0x140021239
cmp byte [rsi + 0xaaf], 0
je 0x14002139a
lea rdx, str.CONNECT_responded_chunked
mov rcx, rsi
call fcn.140004380
mov byte [rbx + 0xec], 1
mov rcx, rsi
call fcn.140050160
jmp 0x140021239