Function at 0x140125510
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, [0x14026b9b0]
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov edi, reloc.WS2_32.dll_recvfrom
test r9, r9
je 0x1401255ca
cmp byte [rbp], 0
lea r9, str.WWW_Authenticate:
mov r10d, edi
mov r8, rbp
je 0x14012559b
nop
movzx eax, byte [r9]
test al, al
je 0x14012558b
test r10, r10
je 0x140125590
movzx ecx, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125597
inc r8
dec r10
inc r9
cmp byte [r8], 0
jne 0x140125560
test r10, r10
jne 0x14012559b
mov edx, 1
jmp 0x1401255b1
xor edx, edx
jmp 0x1401255b1
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 0x1401255ca
mov ebx, dword [r15 + 0x138]
cmp ebx, 0x191
je 0x140125651
jmp 0x1401255d3
test rbp, rbp
je 0x140125c52
cmp byte [rbp], 0
lea r9, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rdx, rbp
je 0x140125629
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x140125619
test r8, r8
je 0x14012561e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125625
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401255f0
test r8, r8
jne 0x140125629
mov edx, 1
jmp 0x14012563e
xor edx, edx
jmp 0x14012563e
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 0x1401256ae
mov ebx, dword [r15 + 0x138]
cmp ebx, 0x197
jne 0x1401256b7
mov rcx, rbp
call fcn.140132f50
mov rdi, rax
test rax, rax
jne 0x14012566b
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140125ccc
mov r9, rbp
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, rsi
mov rcx, r15
call fcn.140102180
cmp ebx, 0x197
mov r8, rdi
mov rcx, r15
sete dl
call fcn.140133df0
mov rcx, rdi
mov ebx, eax
call qword [fcn.14016f1de]
test ebx, ebx
je 0x140125cca
mov eax, ebx
jmp 0x140125ccc
test rbp, rbp
je 0x140125c52
cmp byte [rbp], 0
lea r9, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbp
je 0x140125709
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1401256f9
test r8, r8
je 0x1401256fe
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125705
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401256d0
test r8, r8
jne 0x140125709
mov edx, 1
jmp 0x14012571e
xor edx, edx
jmp 0x14012571e
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 0x140125766
mov r8d, dword [r15 + 0x138]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x140125749
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, r15
call fcn.140102070
jmp 0x140125cca
lea r9, [r14 + 0xb0]
xor edx, edx
lea rcx, [rbp + 0xf]
mov r8d, 0xa
call fcn.14013c820
jmp 0x140125cca
cmp byte [rbp], 0
lea r9, str.Connection:
mov r8d, ntohs
mov rdx, rbp
je 0x1401257b9
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1401257a9
test r8, r8
je 0x1401257ae
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1401257b5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140125780
test r8, r8
jne 0x1401257b9
mov edx, 1
jmp 0x1401257ce
xor edx, edx
jmp 0x1401257ce
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 0x1401258c2
movzx ecx, byte [rbp + 0xb]
lea rbx, [rbp + 0xb]
test cl, cl
je 0x140125802
movzx eax, cl
cmp cl, 0x20
je 0x1401257f4
cmp al, 9
je 0x1401257f4
sub al, 0xa
cmp al, 3
ja 0x140125802
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x1401257e5
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x14012583c
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x14012583c
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x1401258c2
test rbx, rbx
je 0x1401258b6
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x140125899
nop
movzx eax, byte [r9]
test al, al
je 0x140125889
test r8, r8
je 0x14012588e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125895
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140125860
test r8, r8
jne 0x140125899
mov edx, 1
jmp 0x1401258ae
xor edx, edx
jmp 0x1401258ae
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 0x140125ceb
dec r10
inc rbx
cmp r10, 5
jae 0x140125845
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 0x140125919
nop
movzx eax, byte [r11]
test al, al
je 0x140125909
test r10, r10
je 0x14012590e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125915
inc rdx
dec r10
inc r11
cmp byte [rdx], 0
jne 0x1401258e0
test r10, r10
jne 0x140125919
mov edx, 1
jmp 0x14012592e
xor edx, edx
jmp 0x14012592e
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 0x140125afd
mov ecx, dword [r15 + 0x138]
lea eax, [rcx - 0xc8]
cmp eax, 0x64
jae 0x14012595f
mov r8d, ecx
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, r15
call fcn.140102070
jmp 0x140125cca
cmp byte [rbp], 0
mov rdx, rbp
je 0x1401259a1
movzx eax, byte [r9]
test al, al
je 0x140125991
test r8, r8
je 0x140125996
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x14012599d
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140125968
test r8, r8
jne 0x1401259a1
mov edx, 1
jmp 0x1401259b6
xor edx, edx
jmp 0x1401259b6
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 0x140125cca
movzx ecx, byte [rbp + 0x12]
lea rbx, [rbp + 0x12]
test cl, cl
je 0x1401259ed
movzx eax, cl
nop dword [rax]
cmp cl, 0x20
je 0x1401259df
cmp al, 9
je 0x1401259df
sub al, 0xa
cmp al, 3
ja 0x1401259ed
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x1401259d0
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140125a27
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140125a27
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 7
jb 0x140125cca
test rbx, rbx
je 0x140125aa2
cmp byte [rbx], 0
lea r9, str.chunked
mov r8d, 7
mov rdx, rbx
je 0x140125a89
nop
movzx eax, byte [r9]
test al, al
je 0x140125a79
test r8, r8
je 0x140125a7e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125a85
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140125a50
test r8, r8
jne 0x140125a89
mov edx, 1
jmp 0x140125a9e
xor edx, edx
jmp 0x140125a9e
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 0x140125ab3
dec r10
inc rbx
cmp r10, 7
jae 0x140125a34
jmp 0x140125cca
lea rdx, str.CONNECT_responded_chunked
mov rcx, r15
call fcn.140102070
mov byte [r14 + 0xbc], 1
mov byte [r14 + 0x90], 0
mov qword [r14 + 0x68], 0
cmp qword [r14 + 0x78], 0
je 0x140125ae8
mov rax, qword [r14 + 0x70]
mov byte [rax], 0
mov qword [r14 + 0x78], 0
mov byte [r14 + 0xa2], 1
jmp 0x140125cca
cmp byte [rbp], 0
lea r8, str.Proxy_Connection:
mov rdx, rbp
je 0x140125b49
nop dword [rax]
movzx eax, byte [r8]
test al, al
je 0x140125b39
test rdi, rdi
je 0x140125b3e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125b45
inc rdx
dec rdi
inc r8
cmp byte [rdx], 0
jne 0x140125b10
test rdi, rdi
jne 0x140125b49
mov edx, 1
jmp 0x140125b5e
xor edx, edx
jmp 0x140125b5e
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 0x140125c52
movzx ecx, byte [rbp + 0x11]
lea rbx, [rbp + 0x11]
test cl, cl
je 0x140125b92
movzx eax, cl
cmp cl, 0x20
je 0x140125b84
cmp al, 9
je 0x140125b84
sub al, 0xa
cmp al, 3
ja 0x140125b92
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140125b75
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140125bcc
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140125bcc
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x140125c52
test rbx, rbx
je 0x140125c46
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x140125c29
nop
movzx eax, byte [r9]
test al, al
je 0x140125c19
test r8, r8
je 0x140125c1e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140125c25
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140125bf0
test r8, r8
jne 0x140125c29
mov edx, 1
jmp 0x140125c3e
xor edx, edx
jmp 0x140125c3e
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 0x140125ceb
dec r10
inc rbx
cmp r10, 5
jae 0x140125bd5
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 0x140125cca
movzx eax, byte [rbp + 7]
sub al, 0x30
cmp al, 1
ja 0x140125cca
cmp byte [rbp + 8], 0x20
jne 0x140125cca
movsx ecx, byte [rbp + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140125cca
movsx edx, byte [rbp + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140125cca
movsx r8d, byte [rbp + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x140125cca
movzx eax, byte [rbp + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x140125cca
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 + 0x138], ecx
mov dword [r15 + 0x1324], 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 + 0xbd], 1
jmp 0x140125cca