Function at 0x140020b00
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [r8]
lea r15, [rcx + 0xe8]
mov rbx, qword [r15 + 0x58]
lea r12, [rcx + 0x1160]
mov r13, rdx
mov qword [rsp + 0x60], rax
mov r14, rcx
mov qword [rsp + 0x68], rbx
mov rcx, rbx
mov r8, rax
mov edx, 0xa
mov rbp, rbx
mov rdi, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
je 0x140021c92
xor r12d, r12d
nop dword [rax + rax]
sub rbx, rcx
lea r8, [rcx + 1]
lea rsi, [r14 + 0x1160]
mov rdx, rbp
mov rcx, rsi
lea rax, [rbx - 1]
mov rbx, qword [rsp + 0xc0]
add rax, rdi
mov qword [rbx], rax
mov qword [r15 + 0x58], r8
sub r8, rbp
call fcn.14000b180
test eax, eax
jne 0x140021d40
cmp dword [r15 + 0x54], eax
jne 0x140020c22
mov rcx, rsi
call fcn.14000b1e0
mov rcx, rsi
mov rdi, rax
call fcn.14000b1f0
mov rcx, qword [r13 + 0x698]
mov rdx, rax
test dword [rcx + 0x7c], 0x40000
je 0x140020c0c
cmp rdi, 5
mov ecx, 5
mov ebx, r12d
cmova rdi, rcx
setae bl
mov r8, rdi
lea rcx, str.RTSP_
call fcn.1400189a0
test eax, eax
mov ecx, 2
cmovne ecx, ebx
mov rbx, qword [rsp + 0xc0]
jmp 0x140020c19
mov r8, rdi
mov rcx, r14
call fcn.140021f90
mov ecx, eax
cmp ecx, 2
je 0x140021d11
mov rcx, rsi
call fcn.14000b1f0
mov r12, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1400218a2
cmp cl, 0xd
je 0x1400218a2
mov edx, dword [r15 + 0x54]
lea ecx, [rdx + 1]
mov dword [r15 + 0x54], ecx
test edx, edx
jne 0x140020f43
mov rax, qword [r13 + 0x698]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x140020dae
lea rax, [rsp + 0xb0]
mov rcx, r12
lea rsi, [r15 + 0x68]
lea rdi, [r13 + 0x488]
mov qword [rsp + 0x28], rsi
mov r9, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
lea rdx, str._HTTP__1d._1d_c_3d
call fcn.14000a620
cmp eax, 1
jne 0x140020cda
cmp dword [rsp + 0x48], 2
jl 0x140021d73
mov r9, rsi
lea r8, [rsp + 0x44]
lea rdx, str._HTTP__1_23___d
mov rcx, r12
call fcn.14000a620
cmp eax, 2
jne 0x140021d73
xor eax, eax
mov byte [rsp + 0xb0], reloc.WLDAP32.dll_Ordinal_32
mov dword [rdi], eax
jmp 0x140020ced
cmp eax, 4
jne 0x140020d47
cmp byte [rsp + 0xb0], 0x20
jne 0x140021d73
mov eax, dword [rsp + 0x48]
lea ecx, [rax + rax*4]
mov eax, dword [rdi]
lea edx, [rax + rcx*2]
mov dword [rdi], edx
mov eax, edx
cmp dword [r15 + 0x84], 2
jne 0x140020d1d
cmp edx, 0x14
je 0x140020d1d
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, r14
call fcn.140015640
mov eax, dword [rdi]
cmp eax, 0x14
jge 0x140020e17
mov rax, qword [r13 + 0xad0]
lea rdx, str.Mark_bundle_as_not_supporting_multiuse_n
mov rcx, r14
mov dword [rax], 0xffffffff
call fcn.140015640
jmp 0x140020e17
test eax, eax
jne 0x140021d73
mov r8, rsi
lea rdx, str._HTTP__3d
mov rcx, r12
call fcn.14000a620
mov dword [rdi], 0xa
test eax, eax
jne 0x140020e17
lea rbp, [r14 + 0x1160]
mov rcx, rbp
call fcn.14000b1e0
mov rcx, rbp
mov rbx, rax
call fcn.14000b1f0
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.140021f90
cmp eax, 1
jne 0x140021e39
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x140020e1e
bt ecx, 0x12
jae 0x140021e39
lea rax, [rsp + 0x40]
mov rcx, r12
lea rsi, [r15 + 0x68]
mov qword [rsp + 0x28], rsi
lea r9, [r13 + 0x48c]
lea r8, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea rdx, str._RTSP__1d._1d_c_3d
call fcn.14000a620
cmp eax, 4
jne 0x140021e39
cmp byte [rsp + 0x40], 0x20
jne 0x140021e39
mov eax, dword [rsp + 0x4c]
lea rdi, [r13 + 0x488]
mov dword [rdi], ntohs
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [r13 + 0x48c], ecx
lea rbp, [r14 + 0x1160]
mov eax, dword [rsi]
mov dword [r14 + 0x16f0], eax
mov eax, dword [rdi]
mov dword [r14 + 0x16f8], eax
mov eax, dword [r14 + 0x1568]
test eax, eax
je 0x140020e3f
cmp eax, dword [rdi]
jle 0x140020e48
mov eax, dword [rdi]
mov dword [r14 + 0x1568], eax
cmp qword [r14 + 0x1578], 0
je 0x140020e6e
cmp dword [r14 + 0x1608], 1
jne 0x140020e6e
cmp dword [rsi], 0x1a0
jne 0x140020e6e
mov byte [r15 + 0x55b], 1
jmp 0x140020eab
cmp byte [r14 + 0xf5c], 0
je 0x140020eab
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x140020eab
cmp eax, 0x191
jne 0x140020e92
cmp byte [r13 + 0x65f], 0
jmp 0x140020ea5
cmp eax, 0x197
jne 0x140021d89
cmp byte [r13 + 0x656], 0
je 0x140021d89
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x140020ed0
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, r14
call fcn.140015640
mov edx, 1
mov rcx, r13
call fcn.140016260
jmp 0x140020ef1
cmp eax, 0x14
je 0x140020ee4
cmp dword [r15 + 0x84], 1
jne 0x140020ef1
cmp dword [rsi], 0x65
jne 0x140020ef1
mov rax, qword [r13 + 0xad0]
mov dword [rax], 2
mov ecx, dword [rsi]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [r15 + 0x55c], al
sub ecx, 0xcc
je 0x140020f22
cmp ecx, 0x64
jne 0x140020f3c
cmp dword [r14 + 0x9e0], 0
je 0x140020f22
mov byte [r14 + 0x17c8], 1
xor ebp, ebp
mov byte [r15 + 0x55c], 1
mov qword [r15], rbp
lea rsi, [r14 + 0x1160]
mov qword [r15 + 8], rbp
jmp 0x140020f45
lea rsi, [r14 + 0x1160]
xor ebp, ebp
cmp byte [r15 + 0x55c], 0
jne 0x140020ff7
cmp byte [r14 + 0xf6c], 0
jne 0x140020ff7
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x140020ff7
xor edx, edx
lea rcx, [r12 + 0xf]
lea r9, [rsp + 0x58]
lea r8d, [rdx + 0xa]
call fcn.140026d00
test eax, eax
jne 0x140020fc1
mov rax, qword [r14 + 0xbb0]
mov rdx, qword [rsp + 0x58]
test rax, rax
je 0x140020fad
cmp rdx, rax
jg 0x140021e46
mov rcx, r14
mov qword [r15], rdx
mov qword [r15 + 8], rdx
call fcn.140022ce0
jmp 0x140021829
cmp eax, 1
jne 0x140021e5f
cmp qword [r14 + 0xbb0], 0
jne 0x140021e46
lea edx, [rax + 1]
mov rcx, r13
call fcn.140016260
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, r14
call fcn.140015640
jmp 0x140021829
mov r8d, reloc.WS2_32.dll_listen
lea rcx, str.Content_Type:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x140021050
mov rcx, r12
call fcn.140020310
mov rbx, rax
test rax, rax
je 0x140021e78
cmp byte [rax], 0
jne 0x140021037
mov rcx, rax
call qword [0x140066008]
jmp 0x140021829
mov rcx, qword [r14 + 0x1728]
call qword [0x140066008]
mov qword [r14 + 0x1728], rbx
jmp 0x140021829
cmp dword [r13 + 0x488], 0xa
jne 0x140021119
cmp byte [r13 + 0x654], 0
je 0x140021119
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.1400188c0
test eax, eax
je 0x140021119
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x1400210af
movzx ecx, al
call fcn.14003fb10
test eax, eax
je 0x1400210af
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140021098
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1400210e4
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1400210e4
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x140021119
nop dword [rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.1400188c0
test eax, eax
jne 0x14002139c
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x1400210f0
cmp dword [r13 + 0x488], 0xb
jne 0x1400211e9
cmp byte [r13 + 0x654], 0
je 0x1400211e9
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.1400188c0
test eax, eax
je 0x1400211e9
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x140021178
movzx ecx, al
call fcn.14003fb10
test eax, eax
je 0x140021178
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140021161
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1400211ad
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1400211ad
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x1400211e9
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.1400188c0
test eax, eax
jne 0x1400213ba
dec rdi
inc rbx
cmp rdi, 5
jae 0x1400211c0
cmp dword [r13 + 0x488], 0xa
jne 0x1400212a9
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, r12
call fcn.1400188c0
test eax, eax
je 0x1400212a9
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x14002123a
movzx ecx, al
call fcn.14003fb10
test eax, eax
je 0x14002123a
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140021223
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x14002126f
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x14002126f
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x1400212a9
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.1400188c0
test eax, eax
jne 0x1400213db
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x140021280
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, r12
call fcn.1400188c0
test eax, eax
je 0x140021359
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x1400212ec
movzx ecx, al
call fcn.14003fb10
test eax, eax
je 0x1400212ec
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400212d5
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140021321
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140021321
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x140021359
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.1400188c0
test eax, eax
jne 0x1400213f9
dec rdi
inc rbx
cmp rdi, 5
jae 0x140021330
cmp byte [r15 + 0x55c], 0
jne 0x14002144d
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x14002140b
lea rdx, [r12 + 0x12]
mov r8d, 1
mov rcx, r13
call fcn.140018d40
jmp 0x140021821
xor edx, edx
mov rcx, r13
call fcn.140016260
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.140015640
jmp 0x140021829
mov edx, 1
mov rcx, r13
call fcn.140016260
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, r14
call fcn.140015640
jmp 0x140021829
xor edx, edx
mov rcx, r13
call fcn.140016260
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.140015640
jmp 0x140021829
mov edx, 2
mov rcx, r13
call fcn.140016260
jmp 0x140021829
cmp byte [r15 + 0x55c], 0
jne 0x14002144d
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x14002144d
cmp qword [r14 + 0xc38], 0
je 0x14002144d
lea rdx, [r12 + 0x11]
xor r8d, r8d
mov rcx, r13
call fcn.140018d40
jmp 0x140021821
mov r8d, ntohs
lea rcx, str.Retry_After:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x1400214bb
lea rcx, [r12 + 0xc]
mov qword [rsp + 0x50], rbp
call fcn.140027180
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400214a4
lea r9, [rsp + 0x50]
xor edx, edx
lea r8d, [rax + 0xb]
lea rcx, [r12 + 0xc]
call fcn.140026d00
mov rbx, qword [rsp + 0x50]
mov qword [r14 + 0x1738], rbx
jmp 0x140021829
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub rbx, rax
mov qword [r14 + 0x1738], rbx
jmp 0x140021829
cmp byte [r15 + 0x55c], 0
jne 0x14002155d
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Content_Range:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x14002155d
movzx eax, byte [r12 + 0xe]
lea rbx, [r12 + 0xe]
test al, al
je 0x14002150d
movzx ecx, al
call fcn.14003fa90
test eax, eax
jne 0x14002150d
cmp byte [rbx], 0x2a
je 0x14002150d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400214f1
movzx ecx, byte [rbx]
call fcn.14003fa90
test eax, eax
je 0x140021551
xor edx, edx
lea r9, [r15 + 0x60]
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.140026d00
test eax, eax
jne 0x140021829
mov rax, qword [r15 + 0x60]
cmp qword [r14 + 0x1578], rax
jne 0x140021829
mov byte [r15 + 0x559], 1
jmp 0x140021829
mov qword [r14 + 0x1578], rbp
jmp 0x140021829
cmp qword [r14 + 0xfb0], 0
je 0x14002160a
cmp byte [r14 + 0x169f], 0
je 0x14002160a
mov r8d, ntohs
lea rcx, str.Set_Cookie:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x14002160a
mov edx, 2
mov rcx, r14
mov r8d, edx
call fcn.140018f90
mov r8, qword [r14 + 0x1678]
test r8, r8
jne 0x1400215b5
mov r8, qword [r13 + 0x340]
mov rax, qword [r13 + 0x698]
lea rdx, [r12 + 0xb]
xor r9d, r9d
mov ecx, dword [rax + 0x7c]
mov rax, qword [r14 + 0x15f8]
shr ecx, 1
and cl, 1
mov byte [rsp + 0x38], cl
mov rcx, r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov r8b, 1
mov qword [rsp + 0x20], rdx
mov rdx, qword [r14 + 0xfb0]
call fcn.140008490
mov edx, 2
mov rcx, r14
call fcn.140018fd0
jmp 0x140021829
cmp byte [r15 + 0x55c], 0
jne 0x14002166c
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Last_Modified:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x14002166c
cmp dword [r14 + 0x9e0], 0
jne 0x140021641
cmp byte [r14 + 0xf51], 0
je 0x14002166c
lea rcx, [r12 + 0xe]
call fcn.140027180
mov qword [r15 + 0x90], rax
cmp byte [r14 + 0xf51], 0
je 0x140021829
mov qword [r14 + 0x1700], rax
jmp 0x140021829
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x140021691
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x191
je 0x1400216b6
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x1400216f8
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x197
jne 0x1400216f8
mov rcx, r12
call fcn.140020310
mov rdi, rax
test rax, rax
je 0x140021e78
cmp ebx, 0x197
mov r8, rax
mov rcx, r13
sete dl
call fcn.140020720
mov rcx, rdi
mov ebx, eax
call qword [0x140066008]
test ebx, ebx
je 0x140021829
mov eax, ebx
jmp 0x140021d40
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Persistent_Auth
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x140021780
cmp dword [r14 + 0x1294], 4
jne 0x140021829
mov rcx, r12
call fcn.140020310
mov rbx, rax
test rax, rax
je 0x140021e78
mov r8d, 5
lea rcx, str.false
mov rdx, rax
call fcn.1400189a0
test eax, eax
mov byte [r13 + 0x8e9], 1
mov r9, rbx
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [r13 + 0x8e8], cl
movzx r8d, cl
mov rcx, r14
call fcn.140015640
mov rcx, rbx
call qword [0x140066008]
jmp 0x140021829
mov eax, dword [r15 + 0x68]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140021806
mov r8d, 9
lea rcx, str.Location:
mov rdx, r12
call fcn.1400189a0
test eax, eax
je 0x140021806
cmp qword [r14 + 0x188], 0
jne 0x140021806
mov rcx, r12
call fcn.140020310
test rax, rax
je 0x140021e78
cmp byte [rax], 0
jne 0x1400217d2
mov rcx, rax
call qword [0x140066008]
jmp 0x140021829
cmp byte [r14 + 0xf5e], 0
mov qword [r14 + 0x188], rax
je 0x140021829
mov rcx, rax
call qword [case.0x14000a5f9.0]
mov qword [r14 + 0x190], rax
test rax, rax
je 0x140021e78
mov rcx, r13
call fcn.140022260
jmp 0x140021821
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x140021829
mov rdx, r12
mov rcx, r13
call fcn.140037300
test eax, eax
jne 0x140021d40
cmp byte [r14 + 0xf61], 0
mov ebx, ebp
setne bl
cmp byte [r14 + 0xf66], 0
je 0x14002185b
mov rcx, rsi
call fcn.14000b1e0
mov r9, rax
mov r8, r12
mov edx, 1
mov rcx, r14
call fcn.140015400
mov rcx, rsi
call fcn.14000b1e0
mov r9, rax
lea edx, [rbx + 2]
mov r8, r12
mov rcx, r13
call fcn.1400153e0
test eax, eax
jne 0x140021d40
mov rcx, rsi
call fcn.14000b1e0
add qword [r14 + 0x1708], rax
mov rcx, rsi
call fcn.14000b1e0
add qword [r14 + 0x108], rax
xor r12d, r12d
jmp 0x140021c49
mov ecx, dword [r15 + 0x68]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14002191e
sub ecx, 0x64
je 0x1400218e7
cmp ecx, 1
je 0x1400218cc
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
jmp 0x140021983
cmp dword [r15 + 0x84], 1
je 0x140021e82
mov byte [r15 + 0x558], 0
jmp 0x140021980
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
cmp dword [r15 + 0x80], r12d
jle 0x140021983
or dword [r15 + 0x9c], 2
xor edx, edx
mov rcx, r14
mov dword [r15 + 0x80], r12d
call fcn.1400056a0
jmp 0x140021983
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0x558], 0
jne 0x140021980
cmp byte [r15 + 0x55d], 0
jne 0x140021980
cmp byte [r13 + 0x659], 0
jne 0x140021980
cmp dword [r13 + 0x488], 0xb
jne 0x140021980
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
jne 0x140021980
cmp dword [r14 + 0x1608], 6
je 0x140021980
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, r14
call fcn.140015640
mov edx, 2
mov rcx, r13
call fcn.140016260
xor r12d, r12d
movzx eax, byte [r13 + 0x659]
test al, al
je 0x140021a21
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x1400219ab
cmp dword [r13 + 0x770], 2
je 0x1400219bc
cmp eax, 0x197
jne 0x1400219df
cmp dword [r13 + 0x774], 2
jne 0x1400219df
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.140015640
mov byte [r14 + 0x1695], 1
movzx eax, byte [r13 + 0x659]
test al, al
je 0x140021a21
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x1400219f9
cmp dword [r13 + 0x868], 1
je 0x140021a0a
jmp 0x140021a21
cmp eax, 0x197
jne 0x140021a21
cmp dword [r13 + 0x86c], 1
jne 0x140021a21
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.140015640
mov byte [r14 + 0x1695], 1
cmp dword [r13 + 0x868], 3
jne 0x140021a43
cmp dword [r14 + 0x150], 0x191
je 0x140021a43
mov dword [r13 + 0x868], 4
cmp dword [r13 + 0x86c], 3
jne 0x140021a65
cmp dword [r14 + 0x150], 0x197
je 0x140021a65
mov dword [r13 + 0x86c], 4
mov rcx, r13
call fcn.140022460
test eax, eax
jne 0x140021f67
movzx ebx, byte [r14 + 0xf61]
mov rcx, rsi
call fcn.14000b1e0
mov rcx, rsi
mov rdi, rax
call fcn.14000b1f0
mov edx, r12d
test bl, bl
mov r8, rax
mov r9, rdi
setne dl
mov rcx, r13
add edx, 2
call fcn.1400153e0
test eax, eax
jne 0x140021d40
movsxd rax, edi
add qword [r14 + 0x108], rax
add qword [r14 + 0x1708], rax
mov eax, dword [r15 + 0x68]
mov rcx, qword [r14 + 0x108]
sub eax, 0x64
cmp eax, 0x63
cmova rcx, r12
mov qword [r14 + 0x110], rcx
mov rcx, r13
call fcn.140020420
test eax, eax
jne 0x140021d40
cmp dword [r15 + 0x68], 0x12c
jl 0x140021c3b
cmp byte [r13 + 0x665], al
jne 0x140021c1a
cmp byte [r13 + 0x659], al
jne 0x140021c1a
cmp byte [r13 + 0x666], al
jne 0x140021c24
mov eax, dword [r14 + 0x1608]
add eax, 0xfffffffe
cmp eax, 3
ja 0x140021c1a
xor edx, edx
mov rcx, r14
call fcn.1400056a0
cmp byte [r15 + 0x55a], 0
jne 0x140021c1a
cmp dword [r15 + 0x68], 0x1a1
jne 0x140021b9e
cmp byte [r14 + 0x1698], 0
je 0x140021b9e
lea rdx, str.Got_417_while_waiting_for_a_100_n
mov rcx, r14
call fcn.140015640
mov byte [r14 + 0x1699], 1
mov rcx, qword [r13]
mov rcx, qword [rcx + 0xf88]
call qword [case.0x14000a5f9.0]
mov rdx, r15
mov rcx, r13
mov qword [r14 + 0x190], rax
call fcn.140019e80
jmp 0x140021c1a
cmp byte [r14 + 0xf5d], 0
mov rcx, r14
je 0x140021bd2
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.140015640
cmp dword [r15 + 0x80], 0
jle 0x140021c1a
or dword [r15 + 0x9c], 2
mov dword [r15 + 0x80], r12d
jmp 0x140021c1a
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.140015640
mov edx, 2
mov rcx, r13
call fcn.140016260
mov rdx, r15
mov rcx, r13
call fcn.140019e80
test eax, eax
jne 0x140021d40
mov byte [r15 + 0x55a], 1
cmp byte [r14 + 0x1698], al
je 0x140021c1a
mov dword [r15 + 0x80], 3
cmp byte [r13 + 0x666], 0
je 0x140021c3b
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, r14
call fcn.140015640
or dword [r15 + 0x9c], 2
cmp byte [r15 + 0x558], 0
je 0x140021eb4
mov rcx, rsi
call fcn.14000b200
mov rbx, qword [r15 + 0x58]
cmp byte [rbx], 0
je 0x140021d3e
mov rdi, qword [rsp + 0xc0]
mov edx, 0xa
mov rcx, rbx
mov rbp, rbx
mov rdi, qword [rdi]
mov r8, rdi
mov rsi, rdi
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
jne 0x140020b70
lea r12, [r14 + 0x1160]
mov r8, rsi
mov rdx, rbp
mov rcx, r12
call fcn.14000b180
test eax, eax
jne 0x140021d40
cmp dword [r15 + 0x54], eax
jne 0x140021d3e
mov rcx, r12
call fcn.14000b1e0
mov rcx, r12
mov rbx, rax
call fcn.14000b1f0
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, r14
call fcn.140022070
cmp eax, 2
jne 0x140021d3e
mov edx, eax
mov byte [r15 + 0x558], 0
mov rcx, r13
mov dword [r15 + 0x50], eax
call fcn.140016260
cmp byte [r14 + 0xf82], 0
jne 0x140021d3e
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, r14
call fcn.1400154c0
mov eax, 1
jmp 0x140021d40
mov edx, 2
mov rcx, r13
call fcn.140016260
cmp byte [r14 + 0xf82], 0
je 0x140021cfb
mov byte [r15 + 0x558], 0
cmp qword [rbx], 0
je 0x140021d58
mov dword [r15 + 0x50], 1
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov dword [r15 + 0x50], 2
mov qword [rbx], rax
mov rax, qword [rsp + 0x68]
mov qword [r15 + 0x58], rax
jmp 0x140021d3e
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, r14
call fcn.1400154c0
mov eax, 1
jmp 0x140021d40
mov rcx, rbp
call fcn.14000b1f0
mov r8d, 4
lea rdx, str.HTTP
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140021e19
lea edx, [rax + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rbx, rax
test rax, rax
je 0x140021e19
inc rbx
cmp byte [rbx], 0
je 0x140021e19
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
mov sil, reloc.WS2_32.dll_listen
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140021df7
lea edx, [rax + 0xa]
mov rcx, rbx
mov sil, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x140021e19
mov r8, rbx
mov byte [rdi], 0
lea rdx, str.The_requested_URL_returned_error:__s
mov rcx, r14
call fcn.1400154c0
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rdi], sil
jmp 0x140021d40
mov r8d, dword [r14 + 0x150]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.1400154c0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140021d40
mov byte [r15 + 0x558], 0
jmp 0x140021d3e
lea rdx, str.Maximum_file_size_exceeded
mov rcx, r14
call fcn.1400154c0
mov eax, 0x3f
jmp 0x140021d40
lea rdx, str.Invalid_Content_Length:_value
mov rcx, r14
call fcn.1400154c0
mov eax, 8
jmp 0x140021d40
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140021d40
lea rdx, str.Received_101_n
mov rcx, r14
call fcn.140015640
xor eax, eax
mov dword [r15 + 0x84], 2
mov dword [r15 + 0x54], eax
mov eax, 1
mov byte [r15 + 0x558], 1
jmp 0x140021d40
cmp byte [r14 + 0xf64], 0
jne 0x140021f01
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x140021ede
cmp dword [r14 + 0xea8], 2
jne 0x140021ede
cmp qword [r15], 0xffffffffffffffff
jle 0x140021f01
cmp byte [r15 + 0x55d], 0
mov rbx, qword [rsp + 0xc8]
je 0x140021f0c
mov qword [r15], 0xffffffffffffffff
mov qword [r15 + 8], 0xffffffffffffffff
jmp 0x140021f0c
mov rbx, qword [rsp + 0xc8]
mov byte [rbx], 1
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x140021f26
mov rcx, r14
call fcn.140022ce0
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x140021f2a
mov rax, qword [r15 + 8]
test rax, rax
jne 0x140021f34
mov byte [rbx], 1
jmp 0x140021f39
cmp byte [rbx], 0
je 0x140021f41
and dword [r15 + 0x9c], 0xfffffffe
cmp byte [r14 + 0xf66], 0
je 0x140021d3e
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.140015400
jmp 0x140021d3e
mov r8d, dword [r15 + 0x68]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.1400154c0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140021d40