Function at 0x1401fcbb0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r8
lea rbx, [rdx + 0x148]
mov rsi, rdx
mov r15, rcx
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WWW_Authenticate:
mov rcx, r9
mov rdi, r9
call fcn.1401e8f3c
test eax, eax
je 0x1401fcbfe
mov ebp, dword [rbx]
cmp ebp, 0x191
je 0x1401fcc21
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.1401e8f3c
test eax, eax
je 0x1401fcc7c
mov ebp, dword [rbx]
cmp ebp, 0x197
jne 0x1401fcc7c
mov rcx, rdi
call fcn.1401d7228
mov rbx, rax
test rax, rax
jne 0x1401fcc39
lea eax, [rbx + 0x1b]
jmp 0x1401fce36
mov r9, rdi
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, r15
mov rcx, rsi
call fcn.1401e3c4c
cmp ebp, 0x197
mov r8, rbx
mov rcx, rsi
sete dl
call fcn.1401d9180
mov rcx, rbx
mov edi, eax
call qword [0x14047b588]
test edi, edi
je 0x1401fce34
mov eax, edi
jmp 0x1401fce36
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, rdi
call fcn.1401e8f3c
test eax, eax
je 0x1401fccdf
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1401fccb8
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rsi
call fcn.1401e3bac
jmp 0x1401fce34
lea rcx, str.Content_Length:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
xor edx, edx
lea r9, [r14 + 0xe0]
lea rcx, [rdi + rax]
lea r8d, [rdx + 0xa]
call fcn.1401f5ec4
jmp 0x1401fce34
mov ebp, 5
lea r9, str.close
lea rdx, str.Connection:
mov qword [rsp + 0x20], rbp
mov rcx, rdi
lea r8d, [rbp + 6]
call fcn.1401d7178
test al, al
jne 0x1401fce2c
lea r15d, [rbp + 0xd]
mov rcx, rdi
mov r8d, r15d
lea rdx, str.Transfer_Encoding:
call fcn.1401e8f3c
test eax, eax
je 0x1401fcd8e
mov r8d, dword [rbx]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1401fcd40
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
jmp 0x1401fccab
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8, r15
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.1401d7178
test al, al
je 0x1401fce34
lea rdx, str.CONNECT_responded_chunked
mov rcx, rsi
call fcn.1401e3bac
mov rcx, rsi
mov byte [r14 + 0xec], 1
call fcn.1401f0890
jmp 0x1401fce34
lea r9, str.close
mov qword [rsp + 0x20], rbp
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.1401d7178
test al, al
jne 0x1401fce2c
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1401fce34
mov al, byte [rdi + 7]
mov cl, 0x30
sub al, cl
cmp al, 1
ja 0x1401fce34
cmp byte [rdi + 8], 0x20
jne 0x1401fce34
mov al, byte [rdi + 9]
mov dl, 9
sub al, cl
cmp al, dl
ja 0x1401fce34
mov al, byte [rdi + 0xa]
sub al, cl
cmp al, dl
ja 0x1401fce34
mov al, byte [rdi + 0xb]
sub al, cl
cmp al, dl
ja 0x1401fce34
mov al, byte [rdi + 0xc]
sub al, cl
cmp al, dl
jbe 0x1401fce34
movsx eax, byte [rdi + 9]
lea ecx, [rax + rax*4]
movsx eax, byte [rdi + 0xa]
lea ecx, [rax + rcx*2]
movsx eax, byte [rdi + 0xb]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [rax + rcx*2]
mov dword [rbx], ecx
mov dword [rsi + 0x12fc], ecx
jmp 0x1401fce34
mov byte [r14 + 0xed], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret