Function at 0x1401278b0
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, [0x14026f9e0]
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov edi, reloc.WS2_32.dll_recvfrom
test r9, r9
je 0x14012796a
cmp byte [rbp], 0
lea r9, str.WWW_Authenticate:
mov r10d, edi
mov r8, rbp
je 0x14012793b
nop
movzx eax, byte [r9]
test al, al
je 0x14012792b
test r10, r10
je 0x140127930
movzx ecx, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127937
inc r8
dec r10
inc r9
cmp byte [r8], 0
jne 0x140127900
test r10, r10
jne 0x14012793b
mov edx, 1
jmp 0x140127951
xor edx, edx
jmp 0x140127951
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 0x14012796a
mov ebx, dword [r15 + 0x13c]
cmp ebx, 0x191
je 0x1401279f1
jmp 0x140127973
test rbp, rbp
je 0x140127ff2
cmp byte [rbp], 0
lea r9, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rdx, rbp
je 0x1401279c9
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1401279b9
test r8, r8
je 0x1401279be
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401279c5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140127990
test r8, r8
jne 0x1401279c9
mov edx, 1
jmp 0x1401279de
xor edx, edx
jmp 0x1401279de
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 0x140127a4e
mov ebx, dword [r15 + 0x13c]
cmp ebx, 0x197
jne 0x140127a57
mov rcx, rbp
call fcn.1401359a0
mov rdi, rax
test rax, rax
jne 0x140127a0b
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14012806c
mov r9, rbp
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, rsi
mov rcx, r15
call fcn.140102040
cmp ebx, 0x197
mov r8, rdi
mov rcx, r15
sete dl
call fcn.140136810
mov rcx, rdi
mov ebx, eax
call qword [0x1402e1138]
test ebx, ebx
je 0x14012806a
mov eax, ebx
jmp 0x14012806c
test rbp, rbp
je 0x140127ff2
cmp byte [rbp], 0
lea r9, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbp
je 0x140127aa9
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x140127a99
test r8, r8
je 0x140127a9e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127aa5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140127a70
test r8, r8
jne 0x140127aa9
mov edx, 1
jmp 0x140127abe
xor edx, edx
jmp 0x140127abe
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 0x140127b06
mov r8d, dword [r15 + 0x13c]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140127ae9
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, r15
call fcn.140101ff0
jmp 0x14012806a
lea r9, [r14 + 0xa0]
xor edx, edx
lea rcx, [rbp + 0xf]
mov r8d, 0xa
call fcn.14013fd40
jmp 0x14012806a
cmp byte [rbp], 0
lea r9, str.Connection:
mov r8d, listen
mov rdx, rbp
je 0x140127b59
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x140127b49
test r8, r8
je 0x140127b4e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127b55
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140127b20
test r8, r8
jne 0x140127b59
mov edx, 1
jmp 0x140127b6e
xor edx, edx
jmp 0x140127b6e
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 0x140127c62
movzx ecx, byte [rbp + 0xb]
lea rbx, [rbp + 0xb]
test cl, cl
je 0x140127ba2
movzx eax, cl
cmp cl, 0x20
je 0x140127b94
cmp al, 9
je 0x140127b94
sub al, 0xa
cmp al, 3
ja 0x140127ba2
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140127b85
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140127bdc
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140127bdc
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x140127c62
test rbx, rbx
je 0x140127c56
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x140127c39
nop
movzx eax, byte [r9]
test al, al
je 0x140127c29
test r8, r8
je 0x140127c2e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127c35
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140127c00
test r8, r8
jne 0x140127c39
mov edx, 1
jmp 0x140127c4e
xor edx, edx
jmp 0x140127c4e
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 0x14012808b
dec r10
inc rbx
cmp r10, 5
jae 0x140127be5
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 0x140127cb9
nop
movzx eax, byte [r11]
test al, al
je 0x140127ca9
test r10, r10
je 0x140127cae
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127cb5
inc rdx
dec r10
inc r11
cmp byte [rdx], 0
jne 0x140127c80
test r10, r10
jne 0x140127cb9
mov edx, 1
jmp 0x140127cce
xor edx, edx
jmp 0x140127cce
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 0x140127e9d
mov ecx, dword [r15 + 0x13c]
lea eax, [rcx - 0xc8]
cmp eax, 0x64
jae 0x140127cff
mov r8d, ecx
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, r15
call fcn.140101ff0
jmp 0x14012806a
cmp byte [rbp], 0
mov rdx, rbp
je 0x140127d41
movzx eax, byte [r9]
test al, al
je 0x140127d31
test r8, r8
je 0x140127d36
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127d3d
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140127d08
test r8, r8
jne 0x140127d41
mov edx, 1
jmp 0x140127d56
xor edx, edx
jmp 0x140127d56
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 0x14012806a
movzx ecx, byte [rbp + 0x12]
lea rbx, [rbp + 0x12]
test cl, cl
je 0x140127d8d
movzx eax, cl
nop dword [rax]
cmp cl, 0x20
je 0x140127d7f
cmp al, 9
je 0x140127d7f
sub al, 0xa
cmp al, 3
ja 0x140127d8d
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140127d70
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140127dc7
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140127dc7
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 7
jb 0x14012806a
test rbx, rbx
je 0x140127e42
cmp byte [rbx], 0
lea r9, str.chunked
mov r8d, 7
mov rdx, rbx
je 0x140127e29
nop
movzx eax, byte [r9]
test al, al
je 0x140127e19
test r8, r8
je 0x140127e1e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127e25
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140127df0
test r8, r8
jne 0x140127e29
mov edx, 1
jmp 0x140127e3e
xor edx, edx
jmp 0x140127e3e
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 0x140127e53
dec r10
inc rbx
cmp r10, 7
jae 0x140127dd4
jmp 0x14012806a
lea rdx, str.CONNECT_responded_chunked
mov rcx, r15
call fcn.140101ff0
mov byte [r14 + 0xac], 1
mov byte [r14 + 0x80], 0
mov qword [r14 + 0x58], 0
cmp qword [r14 + 0x68], 0
je 0x140127e88
mov rax, qword [r14 + 0x60]
mov byte [rax], 0
mov qword [r14 + 0x68], 0
mov byte [r14 + 0x92], 1
jmp 0x14012806a
cmp byte [rbp], 0
lea r8, str.Proxy_Connection:
mov rdx, rbp
je 0x140127ee9
nop dword [rax]
movzx eax, byte [r8]
test al, al
je 0x140127ed9
test rdi, rdi
je 0x140127ede
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127ee5
inc rdx
dec rdi
inc r8
cmp byte [rdx], 0
jne 0x140127eb0
test rdi, rdi
jne 0x140127ee9
mov edx, 1
jmp 0x140127efe
xor edx, edx
jmp 0x140127efe
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 0x140127ff2
movzx ecx, byte [rbp + 0x11]
lea rbx, [rbp + 0x11]
test cl, cl
je 0x140127f32
movzx eax, cl
cmp cl, 0x20
je 0x140127f24
cmp al, 9
je 0x140127f24
sub al, 0xa
cmp al, 3
ja 0x140127f32
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140127f15
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140127f6c
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140127f6c
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x140127ff2
test rbx, rbx
je 0x140127fe6
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x140127fc9
nop
movzx eax, byte [r9]
test al, al
je 0x140127fb9
test r8, r8
je 0x140127fbe
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140127fc5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140127f90
test r8, r8
jne 0x140127fc9
mov edx, 1
jmp 0x140127fde
xor edx, edx
jmp 0x140127fde
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 0x14012808b
dec r10
inc rbx
cmp r10, 5
jae 0x140127f75
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 0x14012806a
movzx eax, byte [rbp + 7]
sub al, 0x30
cmp al, 1
ja 0x14012806a
cmp byte [rbp + 8], 0x20
jne 0x14012806a
movsx ecx, byte [rbp + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14012806a
movsx edx, byte [rbp + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14012806a
movsx r8d, byte [rbp + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14012806a
movzx eax, byte [rbp + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x14012806a
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 + 0x13c], ecx
mov dword [r15 + 0x12bc], 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 0x14012806a