Function at 0x1401d8e70
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, [0x1402e0f40]
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov edi, reloc.WS2_32.dll_recvfrom
test r9, r9
je 0x1401d8f2a
cmp byte [rbp], 0
lea r9, str.WWW_Authenticate:
mov r10d, edi
mov r8, rbp
je 0x1401d8efb
nop
movzx eax, byte [r9]
test al, al
je 0x1401d8eeb
test r10, r10
je 0x1401d8ef0
movzx ecx, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d8ef7
inc r8
dec r10
inc r9
cmp byte [r8], 0
jne 0x1401d8ec0
test r10, r10
jne 0x1401d8efb
mov edx, 1
jmp 0x1401d8f11
xor edx, edx
jmp 0x1401d8f11
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 0x1401d8f2a
mov ebx, dword [r15 + 0x140]
cmp ebx, 0x191
je 0x1401d8fb1
jmp 0x1401d8f33
test rbp, rbp
je 0x1401d95c6
cmp byte [rbp], 0
lea r9, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rdx, rbp
je 0x1401d8f89
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1401d8f79
test r8, r8
je 0x1401d8f7e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d8f85
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d8f50
test r8, r8
jne 0x1401d8f89
mov edx, 1
jmp 0x1401d8f9e
xor edx, edx
jmp 0x1401d8f9e
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 0x1401d900c
mov ebx, dword [r15 + 0x140]
cmp ebx, 0x197
jne 0x1401d9015
mov rcx, rbp
call fcn.1401a84a0
mov rdi, rax
test rax, rax
jne 0x1401d8fc9
lea eax, [rdi + 0x1b]
jmp 0x1401d963f
mov r9, rbp
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, rsi
mov rcx, r15
call fcn.14019b2c0
cmp ebx, 0x197
mov r8, rdi
mov rcx, r15
sete dl
call fcn.1401a92e0
mov rcx, rdi
mov ebx, eax
call qword [fcn.140229280]
test ebx, ebx
je 0x1401d963d
mov eax, ebx
jmp 0x1401d963f
test rbp, rbp
je 0x1401d95c6
cmp byte [rbp], 0
lea r9, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbp
je 0x1401d9069
nop dword [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1401d9059
test r8, r8
je 0x1401d905e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d9065
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d9030
test r8, r8
jne 0x1401d9069
mov edx, 1
jmp 0x1401d907e
xor edx, edx
jmp 0x1401d907e
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 0x1401d90c4
mov r8d, dword [r15 + 0x140]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1401d90a9
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, r15
call fcn.14019b1d0
jmp 0x1401d963d
xor edx, edx
lea r9, [r14 + 0x110]
lea rcx, [rbp + 0xf]
lea r8d, [rdx + 0xa]
call fcn.1401b9c20
jmp 0x1401d963d
cmp byte [rbp], 0
lea r9, str.Connection:
mov r8d, recv
mov rdx, rbp
je 0x1401d9119
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1401d9109
test r8, r8
je 0x1401d910e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d9115
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d90e0
test r8, r8
jne 0x1401d9119
mov edx, 1
jmp 0x1401d912e
xor edx, edx
jmp 0x1401d912e
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 0x1401d9226
movzx eax, byte [rbp + 0xb]
lea rbx, [rbp + 0xb]
test al, al
je 0x1401d915b
cmp al, 0x20
je 0x1401d9150
cmp al, 9
je 0x1401d9150
sub al, 0xa
cmp al, 3
ja 0x1401d915b
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1401d9142
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
test rax, rax
jne 0x1401d9190
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
test rax, rax
jne 0x1401d9190
xor edx, edx
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x1401d9226
nop dword [rax]
test rbx, rbx
je 0x1401d9216
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x1401d91f9
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1401d91e9
test r8, r8
je 0x1401d91ee
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d91f5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d91c0
test r8, r8
jne 0x1401d91f9
mov edx, 1
jmp 0x1401d920e
xor edx, edx
jmp 0x1401d920e
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 0x1401d965e
dec r10
inc rbx
cmp r10, 5
jae 0x1401d91a0
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 0x1401d927b
movzx eax, byte [r11]
test al, al
je 0x1401d926b
test r10, r10
je 0x1401d9270
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d9277
inc rdx
dec r10
inc r11
cmp byte [rdx], 0
jne 0x1401d9242
test r10, r10
jne 0x1401d927b
mov edx, 1
jmp 0x1401d9290
xor edx, edx
jmp 0x1401d9290
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 0x1401d9469
mov ecx, dword [r15 + 0x140]
lea eax, [rcx - 0xc8]
cmp eax, 0x64
jae 0x1401d92c1
mov r8d, ecx
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, r15
call fcn.14019b1d0
jmp 0x1401d963d
cmp byte [rbp], 0
mov rdx, rbp
je 0x1401d9309
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1401d92f9
test r8, r8
je 0x1401d92fe
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d9305
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d92d0
test r8, r8
jne 0x1401d9309
mov edx, 1
jmp 0x1401d931e
xor edx, edx
jmp 0x1401d931e
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 0x1401d963d
movzx eax, byte [rbp + 0x12]
lea rbx, [rbp + 0x12]
test al, al
je 0x1401d934b
cmp al, 0x20
je 0x1401d9340
cmp al, 9
je 0x1401d9340
sub al, 0xa
cmp al, 3
ja 0x1401d934b
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1401d9332
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
test rax, rax
jne 0x1401d9380
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
test rax, rax
jne 0x1401d9380
xor edx, edx
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
sub r10, rbx
cmp r10, 7
jb 0x1401d963d
nop dword [rax]
test rbx, rbx
je 0x1401d9402
cmp byte [rbx], 0
lea r9, str.chunked
mov r8d, 7
mov rdx, rbx
je 0x1401d93e9
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1401d93d9
test r8, r8
je 0x1401d93de
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d93e5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d93b0
test r8, r8
jne 0x1401d93e9
mov edx, 1
jmp 0x1401d93fe
xor edx, edx
jmp 0x1401d93fe
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 0x1401d9413
dec r10
inc rbx
cmp r10, 7
jae 0x1401d9390
jmp 0x1401d963d
lea rdx, str.CONNECT_responded_chunked
mov rcx, r15
call fcn.14019b1d0
mov byte [r14 + 0x11c], 1
mov byte [r14 + 0xf0], 0
mov qword [r14 + 0xc8], 0
cmp qword [r14 + 0xd8], 0
je 0x1401d9451
mov rax, qword [r14 + 0xd0]
mov byte [rax], 0
mov qword [r14 + 0xd8], 0
mov byte [r14 + 0x102], 1
jmp 0x1401d963d
cmp byte [rbp], 0
lea r8, str.Proxy_Connection:
mov rdx, rbp
je 0x1401d94b9
nop dword [rax]
movzx eax, byte [r8]
test al, al
je 0x1401d94a9
test rdi, rdi
je 0x1401d94ae
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d94b5
inc rdx
dec rdi
inc r8
cmp byte [rdx], 0
jne 0x1401d9480
test rdi, rdi
jne 0x1401d94b9
mov edx, 1
jmp 0x1401d94ce
xor edx, edx
jmp 0x1401d94ce
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 0x1401d95c6
movzx eax, byte [rbp + 0x11]
lea rbx, [rbp + 0x11]
test al, al
je 0x1401d94fb
cmp al, 0x20
je 0x1401d94f0
cmp al, 9
je 0x1401d94f0
sub al, 0xa
cmp al, 3
ja 0x1401d94fb
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1401d94e2
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
test rax, rax
jne 0x1401d9530
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
test rax, rax
jne 0x1401d9530
xor edx, edx
mov rcx, rbx
call fcn.1401f9440
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x1401d95c6
nop dword [rax]
test rbx, rbx
je 0x1401d95b6
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x1401d9599
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1401d9589
test r8, r8
je 0x1401d958e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401d9595
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d9560
test r8, r8
jne 0x1401d9599
mov edx, 1
jmp 0x1401d95ae
xor edx, edx
jmp 0x1401d95ae
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 0x1401d965e
dec r10
inc rbx
cmp r10, 5
jae 0x1401d9540
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rbp
call fcn.140226ab0
test eax, eax
jne 0x1401d963d
movzx eax, byte [rbp + 7]
sub al, 0x30
cmp al, 1
ja 0x1401d963d
cmp byte [rbp + 8], 0x20
jne 0x1401d963d
movsx ecx, byte [rbp + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1401d963d
movsx edx, byte [rbp + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401d963d
movsx r8d, byte [rbp + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1401d963d
movzx eax, byte [rbp + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x1401d963d
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 + 0x140], ecx
mov dword [r15 + 0x1384], 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 + 0x11d], 1
jmp 0x1401d963d