Function at 0x140121fa0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1402ba030]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r13d, r13d
lea r12, [0x14024e630]
mov dword [rsp + 0x20], r13d
mov rsi, r9
mov r15, r8
mov rbp, rdx
lea edi, [r13 + 0x11]
test r9, r9
je 0x14012205e
lea r9, str.WWW_Authenticate:
mov r8d, edi
mov rdx, rsi
cmp byte [rsi], r13b
je 0x140122030
movzx eax, byte [r9]
test al, al
je 0x14012201f
test r8, r8
je 0x140122024
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x14012202b
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x140121ff6
test r8, r8
jne 0x140122030
mov edx, 1
jmp 0x140122046
mov edx, r13d
jmp 0x140122046
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x14012205e
mov ebx, dword [rbp + 0x158]
cmp ebx, 0x191
je 0x1401220e6
jmp 0x140122067
test rsi, rsi
je 0x14012212c
lea r9, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rdx, rsi
cmp byte [rsi], r13b
je 0x1401220ba
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1401220a9
test r8, r8
je 0x1401220ae
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401220b5
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x140122080
test r8, r8
jne 0x1401220ba
mov edx, 1
jmp 0x1401220d0
mov edx, r13d
jmp 0x1401220d0
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
lea r14, [rbp + 0x158]
test edx, edx
je 0x140122133
mov ebx, dword [r14]
cmp ebx, 0x197
jne 0x14012213c
mov rcx, rsi
call fcn.140114ab0
mov rdi, rax
test rax, rax
jne 0x1401220fe
lea eax, [rdi + 0x1b]
jmp 0x1401226f7
cmp ebx, 0x197
mov r8, rdi
mov rcx, rbp
sete dl
call fcn.140115950
mov rcx, rdi
mov ebx, eax
call qword [0x1402ba0c8]
test ebx, ebx
je 0x1401226f5
mov eax, ebx
jmp 0x1401226f7
lea r14, [rbp + 0x158]
test rsi, rsi
je 0x1401226d0
lea r9, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rsi
cmp byte [rsi], r13b
je 0x14012218b
movzx eax, byte [r9]
test al, al
je 0x14012217a
test r8, r8
je 0x14012217f
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140122186
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x140122151
test r8, r8
jne 0x14012218b
mov edx, 1
jmp 0x1401221a1
mov edx, r13d
jmp 0x1401221a1
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1401221e3
mov r8d, dword [r14]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1401221c8
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rbp
call fcn.140106050
jmp 0x1401226f5
xor edx, edx
lea r9, [r15 + 0x310]
lea rcx, [rsi + 0xf]
lea r8d, [rdx + 0xa]
call fcn.140123aa0
jmp 0x1401226f5
lea r9, str.Connection:
mov r8d, ntohs
mov rdx, rsi
cmp byte [rsi], r13b
je 0x140122232
movzx eax, byte [r9]
test al, al
je 0x140122221
test r8, r8
je 0x140122226
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x14012222d
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x1401221f8
test r8, r8
jne 0x140122232
mov edx, 1
jmp 0x140122248
mov edx, r13d
jmp 0x140122248
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x140122348
movzx eax, byte [rsi + 0xb]
lea rbx, [rsi + 0xb]
test al, al
je 0x140122279
nop dword [rax]
cmp al, 0x20
je 0x14012226e
cmp al, 9
je 0x14012226e
sub al, 0xa
cmp al, 3
ja 0x140122279
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140122260
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1401222b1
lea edx, [rax + 0xa]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1401222b1
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x140122348
nop
test rbx, rbx
je 0x140122338
lea r9, str.close
mov r8d, 5
mov rdx, rbx
cmp byte [rbx], r13b
je 0x14012231a
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x140122309
test r8, r8
je 0x14012230e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140122315
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x1401222e0
test r8, r8
jne 0x14012231a
mov edx, 1
jmp 0x140122330
mov edx, r13d
jmp 0x140122330
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
jne 0x140122719
dec r10
inc rbx
cmp r10, 5
jae 0x1401222c0
lea r9, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
mov r10d, r8d
mov r11, r9
mov rdx, rsi
cmp byte [rsi], r13b
je 0x14012239d
movzx eax, byte [r11]
test al, al
je 0x14012238c
test r10, r10
je 0x140122391
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140122398
inc rdx
dec r10
inc r11
cmp byte [rdx], r13b
jne 0x140122363
test r10, r10
jne 0x14012239d
mov edx, 1
jmp 0x1401223b3
mov edx, r13d
jmp 0x1401223b3
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r11]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x14012257d
mov ecx, dword [r14]
lea eax, [rcx - 0xc8]
cmp eax, 0x64
jae 0x1401223e0
mov r8d, ecx
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rbp
call fcn.140106050
jmp 0x1401226f5
mov rdx, rsi
cmp byte [rsi], r13b
je 0x140122422
movzx eax, byte [r9]
test al, al
je 0x140122411
test r8, r8
je 0x140122416
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x14012241d
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x1401223e8
test r8, r8
jne 0x140122422
mov edx, 1
jmp 0x140122438
mov edx, r13d
jmp 0x140122438
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1401226f5
movzx eax, byte [rsi + 0x12]
lea rbx, [rsi + 0x12]
test al, al
je 0x140122469
nop dword [rax]
cmp al, 0x20
je 0x14012245e
cmp al, 9
je 0x14012245e
sub al, 0xa
cmp al, 3
ja 0x140122469
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140122450
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1401224a1
lea edx, [rax + 0xa]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1401224a1
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 7
jb 0x1401226f5
nop
test rbx, rbx
je 0x140122524
lea r9, str.chunked
mov r8d, 7
mov rdx, rbx
cmp byte [rbx], r13b
je 0x14012250a
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1401224f9
test r8, r8
je 0x1401224fe
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140122505
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x1401224d0
test r8, r8
jne 0x14012250a
mov edx, 1
jmp 0x140122520
mov edx, r13d
jmp 0x140122520
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
jne 0x140122535
dec r10
inc rbx
cmp r10, 7
jae 0x1401224b0
jmp 0x1401226f5
lea rdx, str.CONNECT_responded_chunked
mov rcx, rbp
call fcn.140106050
mov byte [r15 + 0x31c], 1
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x24], r13b
mov dword [rax + 0x20], r13d
mov qword [rax + 0x5f0], r13
mov qword [rax + 0x5f8], r13
mov qword [rax + 0x600], r13
mov qword [rax + 0x608], 0x1000
jmp 0x1401226f5
lea r8, str.Proxy_Connection:
mov rdx, rsi
cmp byte [rsi], r13b
je 0x1401225ca
nop dword [rax]
movzx eax, byte [r8]
test al, al
je 0x1401225b9
test rdi, rdi
je 0x1401225be
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401225c5
inc rdx
dec rdi
inc r8
cmp byte [rdx], r13b
jne 0x140122590
test rdi, rdi
jne 0x1401225ca
mov edx, 1
jmp 0x1401225e0
mov edx, r13d
jmp 0x1401225e0
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
je 0x1401226d0
movzx eax, byte [rsi + 0x11]
lea rbx, [rsi + 0x11]
test al, al
je 0x14012260d
cmp al, 0x20
je 0x140122602
cmp al, 9
je 0x140122602
sub al, 0xa
cmp al, 3
ja 0x14012260d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1401225f4
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140122645
lea edx, [rax + 0xa]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140122645
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x1401226d0
test rbx, rbx
je 0x1401226c4
lea r9, str.close
mov r8d, 5
mov rdx, rbx
cmp byte [rbx], r13b
je 0x1401226aa
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x140122699
test r8, r8
je 0x14012269e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401226a5
inc rdx
dec r8
inc r9
cmp byte [rdx], r13b
jne 0x140122670
test r8, r8
jne 0x1401226aa
mov edx, 1
jmp 0x1401226c0
mov edx, r13d
jmp 0x1401226c0
movzx ecx, byte [rdx]
mov edx, r13d
movzx eax, byte [r9]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
sete dl
test edx, edx
jne 0x140122719
dec r10
inc rbx
cmp r10, 5
jae 0x140122652
mov r9, r14
lea r8, [rsp + 0x20]
lea rdx, str.HTTP_1._d__d
mov rcx, rsi
call fcn.140046470
cmp eax, 2
jne 0x1401226f5
mov eax, dword [r14]
mov dword [rbp + 0x133c], eax
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401526c0
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [r15 + 0x31d], 1
jmp 0x1401226f5