Function at 0x140003fa0
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, [0x140069160]
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov edi, reloc.WS2_32.dll_recvfrom
test r9, r9
je 0x14000405a
cmp byte [rbp], 0
lea r9, str.WWW_Authenticate:
mov r10d, edi
mov r8, rbp
je 0x14000402b
nop
movzx eax, byte [r9]
test al, al
je 0x14000401b
test r10, r10
je 0x140004020
movzx ecx, byte [r8]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140004027
inc r8
dec r10
inc r9
cmp byte [r8], 0
jne 0x140003ff0
test r10, r10
jne 0x14000402b
mov edx, 1
jmp 0x140004041
xor edx, edx
jmp 0x140004041
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 0x14000405a
mov ebx, dword [r15 + 0x140]
cmp ebx, 0x191
je 0x1400040e1
jmp 0x140004063
test rbp, rbp
je 0x1400046f6
cmp byte [rbp], 0
lea r9, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rdx, rbp
je 0x1400040b9
nop dword [rax]
movzx eax, byte [r9]
test al, al
je 0x1400040a9
test r8, r8
je 0x1400040ae
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400040b5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140004080
test r8, r8
jne 0x1400040b9
mov edx, 1
jmp 0x1400040ce
xor edx, edx
jmp 0x1400040ce
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 0x14000413c
mov ebx, dword [r15 + 0x140]
cmp ebx, 0x197
jne 0x140004145
mov rcx, rbp
call fcn.140024e70
mov rdi, rax
test rax, rax
jne 0x1400040f9
lea eax, [rdi + 0x1b]
jmp 0x140004770
mov r9, rbp
lea r8, str.CONNECT:_fwd_auth_header__s
mov rdx, rsi
mov rcx, r15
call fcn.140013370
cmp ebx, 0x197
mov r8, rdi
mov rcx, r15
sete dl
call fcn.140025ce0
mov rcx, rdi
mov ebx, eax
call qword [0x14007c4b8]
test ebx, ebx
je 0x14000476e
mov eax, ebx
jmp 0x140004770
test rbp, rbp
je 0x1400046f6
cmp byte [rbp], 0
lea r9, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbp
je 0x140004199
nop dword [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x140004189
test r8, r8
je 0x14000418e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140004195
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140004160
test r8, r8
jne 0x140004199
mov edx, 1
jmp 0x1400041ae
xor edx, edx
jmp 0x1400041ae
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 0x1400041f4
mov r8d, dword [r15 + 0x140]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x1400041d9
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, r15
call fcn.140013280
jmp 0x14000476e
xor edx, edx
lea r9, [r14 + 0x110]
lea rcx, [rbp + 0xf]
lea r8d, [rdx + 0xa]
call fcn.140054120
jmp 0x14000476e
cmp byte [rbp], 0
lea r9, str.Connection:
mov r8d, listen
mov rdx, rbp
je 0x140004249
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x140004239
test r8, r8
je 0x14000423e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140004245
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140004210
test r8, r8
jne 0x140004249
mov edx, 1
jmp 0x14000425e
xor edx, edx
jmp 0x14000425e
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 0x140004356
movzx eax, byte [rbp + 0xb]
lea rbx, [rbp + 0xb]
test al, al
je 0x14000428b
cmp al, 0x20
je 0x140004280
cmp al, 9
je 0x140004280
sub al, 0xa
cmp al, 3
ja 0x14000428b
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140004272
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400042c3
lea edx, [rax + 0xa]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400042c3
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x140004356
test rbx, rbx
je 0x140004346
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x140004329
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x140004319
test r8, r8
je 0x14000431e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140004325
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400042f0
test r8, r8
jne 0x140004329
mov edx, 1
jmp 0x14000433e
xor edx, edx
jmp 0x14000433e
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 0x14000478f
dec r10
inc rbx
cmp r10, 5
jae 0x1400042d0
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 0x1400043ab
movzx eax, byte [r11]
test al, al
je 0x14000439b
test r10, r10
je 0x1400043a0
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400043a7
inc rdx
dec r10
inc r11
cmp byte [rdx], 0
jne 0x140004372
test r10, r10
jne 0x1400043ab
mov edx, 1
jmp 0x1400043c0
xor edx, edx
jmp 0x1400043c0
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 0x140004599
mov ecx, dword [r15 + 0x140]
lea eax, [rcx - 0xc8]
cmp eax, 0x64
jae 0x1400043f1
mov r8d, ecx
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, r15
call fcn.140013280
jmp 0x14000476e
cmp byte [rbp], 0
mov rdx, rbp
je 0x140004439
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x140004429
test r8, r8
je 0x14000442e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140004435
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140004400
test r8, r8
jne 0x140004439
mov edx, 1
jmp 0x14000444e
xor edx, edx
jmp 0x14000444e
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 0x14000476e
movzx eax, byte [rbp + 0x12]
lea rbx, [rbp + 0x12]
test al, al
je 0x14000447b
cmp al, 0x20
je 0x140004470
cmp al, 9
je 0x140004470
sub al, 0xa
cmp al, 3
ja 0x14000447b
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140004462
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400044b3
lea edx, [rax + 0xa]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x1400044b3
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 7
jb 0x14000476e
test rbx, rbx
je 0x140004532
cmp byte [rbx], 0
lea r9, str.chunked
mov r8d, 7
mov rdx, rbx
je 0x140004519
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x140004509
test r8, r8
je 0x14000450e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140004515
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1400044e0
test r8, r8
jne 0x140004519
mov edx, 1
jmp 0x14000452e
xor edx, edx
jmp 0x14000452e
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 0x140004543
dec r10
inc rbx
cmp r10, 7
jae 0x1400044c0
jmp 0x14000476e
lea rdx, str.CONNECT_responded_chunked
mov rcx, r15
call fcn.140013280
mov byte [r14 + 0x11c], 1
mov byte [r14 + 0xf0], 0
mov qword [r14 + 0xc8], 0
cmp qword [r14 + 0xd8], 0
je 0x140004581
mov rax, qword [r14 + 0xd0]
mov byte [rax], 0
mov qword [r14 + 0xd8], 0
mov byte [r14 + 0x102], 1
jmp 0x14000476e
cmp byte [rbp], 0
lea r8, str.Proxy_Connection:
mov rdx, rbp
je 0x1400045e9
nop dword [rax]
movzx eax, byte [r8]
test al, al
je 0x1400045d9
test rdi, rdi
je 0x1400045de
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400045e5
inc rdx
dec rdi
inc r8
cmp byte [rdx], 0
jne 0x1400045b0
test rdi, rdi
jne 0x1400045e9
mov edx, 1
jmp 0x1400045fe
xor edx, edx
jmp 0x1400045fe
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 0x1400046f6
movzx eax, byte [rbp + 0x11]
lea rbx, [rbp + 0x11]
test al, al
je 0x14000462b
cmp al, 0x20
je 0x140004620
cmp al, 9
je 0x140004620
sub al, 0xa
cmp al, 3
ja 0x14000462b
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140004612
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140004663
lea edx, [rax + 0xa]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
test rax, rax
jne 0x140004663
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r10, rax
sub r10, rbx
cmp r10, 5
jb 0x1400046f6
test rbx, rbx
je 0x1400046e6
cmp byte [rbx], 0
lea r9, str.close
mov r8d, 5
mov rdx, rbx
je 0x1400046c9
nop word [rax + rax]
movzx eax, byte [r9]
test al, al
je 0x1400046b9
test r8, r8
je 0x1400046be
movzx ecx, byte [rdx]
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x1400046c5
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x140004690
test r8, r8
jne 0x1400046c9
mov edx, 1
jmp 0x1400046de
xor edx, edx
jmp 0x1400046de
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 0x14000478f
dec r10
inc rbx
cmp r10, 5
jae 0x140004670
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 0x14000476e
movzx eax, byte [rbp + 7]
sub al, 0x30
cmp al, 1
ja 0x14000476e
cmp byte [rbp + 8], 0x20
jne 0x14000476e
movsx ecx, byte [rbp + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000476e
movsx edx, byte [rbp + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x14000476e
movsx r8d, byte [rbp + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x14000476e
movzx eax, byte [rbp + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x14000476e
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 + 0x139c], 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 0x14000476e