Function at 0x140020d30
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 0x140021ec2
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.14000b3b0
test eax, eax
jne 0x140021f70
cmp dword [r15 + 0x54], eax
jne 0x140020e52
mov rcx, rsi
call fcn.14000b410
mov rcx, rsi
mov rdi, rax
call fcn.14000b420
mov rcx, qword [r13 + 0x698]
mov rdx, rax
test dword [rcx + 0x7c], 0x40000
je 0x140020e3c
cmp rdi, 5
mov ecx, 5
mov ebx, r12d
cmova rdi, rcx
setae bl
mov r8, rdi
lea rcx, str.RTSP_
call fcn.140018bd0
test eax, eax
mov ecx, 2
cmovne ecx, ebx
mov rbx, qword [rsp + 0xc0]
jmp 0x140020e49
mov r8, rdi
mov rcx, r14
call fcn.1400221c0
mov ecx, eax
cmp ecx, 2
je 0x140021f41
mov rcx, rsi
call fcn.14000b420
mov r12, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140021ad2
cmp cl, 0xd
je 0x140021ad2
mov edx, dword [r15 + 0x54]
lea ecx, [rdx + 1]
mov dword [r15 + 0x54], ecx
test edx, edx
jne 0x140021173
mov rax, qword [r13 + 0x698]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x140020fde
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.140001030
cmp eax, 1
jne 0x140020f0a
cmp dword [rsp + 0x48], 2
jl 0x140021fa3
mov r9, rsi
lea r8, [rsp + 0x44]
lea rdx, str._HTTP__1_23___d
mov rcx, r12
call fcn.140001030
cmp eax, 2
jne 0x140021fa3
xor eax, eax
mov byte [rsp + 0xb0], reloc.WLDAP32.dll_Ordinal_32
mov dword [rdi], eax
jmp 0x140020f1d
cmp eax, 4
jne 0x140020f77
cmp byte [rsp + 0xb0], 0x20
jne 0x140021fa3
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 0x140020f4d
cmp edx, 0x14
je 0x140020f4d
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, r14
call fcn.140015870
mov eax, dword [rdi]
cmp eax, 0x14
jge 0x140021047
mov rax, qword [r13 + 0xad0]
lea rdx, str.Mark_bundle_as_not_supporting_multiuse_n
mov rcx, r14
mov dword [rax], 0xffffffff
call fcn.140015870
jmp 0x140021047
test eax, eax
jne 0x140021fa3
mov r8, rsi
lea rdx, str._HTTP__3d
mov rcx, r12
call fcn.140001030
mov dword [rdi], 0xa
test eax, eax
jne 0x140021047
lea rbp, [r14 + 0x1160]
mov rcx, rbp
call fcn.14000b410
mov rcx, rbp
mov rbx, rax
call fcn.14000b420
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.1400221c0
cmp eax, 1
jne 0x140022069
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x14002104e
bt ecx, 0x12
jae 0x140022069
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.140001030
cmp eax, 4
jne 0x140022069
cmp byte [rsp + 0x40], 0x20
jne 0x140022069
mov eax, dword [rsp + 0x4c]
lea rdi, [r13 + 0x488]
mov dword [rdi], recv
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 0x14002106f
cmp eax, dword [rdi]
jle 0x140021078
mov eax, dword [rdi]
mov dword [r14 + 0x1568], eax
cmp qword [r14 + 0x1578], 0
je 0x14002109e
cmp dword [r14 + 0x1608], 1
jne 0x14002109e
cmp dword [rsi], 0x1a0
jne 0x14002109e
mov byte [r15 + 0x55b], 1
jmp 0x1400210db
cmp byte [r14 + 0xf5c], 0
je 0x1400210db
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x1400210db
cmp eax, 0x191
jne 0x1400210c2
cmp byte [r13 + 0x65f], 0
jmp 0x1400210d5
cmp eax, 0x197
jne 0x140021fb9
cmp byte [r13 + 0x656], 0
je 0x140021fb9
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x140021100
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, r14
call fcn.140015870
mov edx, 1
mov rcx, r13
call fcn.140016490
jmp 0x140021121
cmp eax, 0x14
je 0x140021114
cmp dword [r15 + 0x84], 1
jne 0x140021121
cmp dword [rsi], 0x65
jne 0x140021121
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 0x140021152
cmp ecx, 0x64
jne 0x14002116c
cmp dword [r14 + 0x9e0], 0
je 0x140021152
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 0x140021175
lea rsi, [r14 + 0x1160]
xor ebp, ebp
cmp byte [r15 + 0x55c], 0
jne 0x140021227
cmp byte [r14 + 0xf6c], 0
jne 0x140021227
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x140021227
xor edx, edx
lea rcx, [r12 + 0xf]
lea r9, [rsp + 0x58]
lea r8d, [rdx + 0xa]
call fcn.140026ed0
test eax, eax
jne 0x1400211f1
mov rax, qword [r14 + 0xbb0]
mov rdx, qword [rsp + 0x58]
test rax, rax
je 0x1400211dd
cmp rdx, rax
jg 0x140022076
mov rcx, r14
mov qword [r15], rdx
mov qword [r15 + 8], rdx
call fcn.140022f10
jmp 0x140021a59
cmp eax, 1
jne 0x14002208f
cmp qword [r14 + 0xbb0], 0
jne 0x140022076
lea edx, [rax + 1]
mov rcx, r13
call fcn.140016490
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, r14
call fcn.140015870
jmp 0x140021a59
mov r8d, reloc.WS2_32.dll_listen
lea rcx, str.Content_Type:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x140021280
mov rcx, r12
call fcn.140020540
mov rbx, rax
test rax, rax
je 0x1400220a8
cmp byte [rax], 0
jne 0x140021267
mov rcx, rax
call qword [0x14006b008]
jmp 0x140021a59
mov rcx, qword [r14 + 0x1728]
call qword [0x14006b008]
mov qword [r14 + 0x1728], rbx
jmp 0x140021a59
cmp dword [r13 + 0x488], 0xa
jne 0x140021349
cmp byte [r13 + 0x654], 0
je 0x140021349
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.140018af0
test eax, eax
je 0x140021349
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x1400212df
movzx ecx, al
call fcn.14003fce0
test eax, eax
je 0x1400212df
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400212c8
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140021314
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140021314
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x140021349
nop dword [rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.140018af0
test eax, eax
jne 0x1400215cc
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x140021320
cmp dword [r13 + 0x488], 0xb
jne 0x140021419
cmp byte [r13 + 0x654], 0
je 0x140021419
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.140018af0
test eax, eax
je 0x140021419
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x1400213a8
movzx ecx, al
call fcn.14003fce0
test eax, eax
je 0x1400213a8
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140021391
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1400213dd
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1400213dd
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x140021419
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.140018af0
test eax, eax
jne 0x1400215ea
dec rdi
inc rbx
cmp rdi, 5
jae 0x1400213f0
cmp dword [r13 + 0x488], 0xa
jne 0x1400214d9
mov r8d, recv
lea rdx, str.Connection:
mov rcx, r12
call fcn.140018af0
test eax, eax
je 0x1400214d9
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x14002146a
movzx ecx, al
call fcn.14003fce0
test eax, eax
je 0x14002146a
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140021453
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x14002149f
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x14002149f
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x1400214d9
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.140018af0
test eax, eax
jne 0x14002160b
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x1400214b0
mov r8d, recv
lea rdx, str.Connection:
mov rcx, r12
call fcn.140018af0
test eax, eax
je 0x140021589
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x14002151c
movzx ecx, al
call fcn.14003fce0
test eax, eax
je 0x14002151c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140021505
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140021551
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140021551
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x140021589
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.140018af0
test eax, eax
jne 0x140021629
dec rdi
inc rbx
cmp rdi, 5
jae 0x140021560
cmp byte [r15 + 0x55c], 0
jne 0x14002167d
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x14002163b
lea rdx, [r12 + 0x12]
mov r8d, 1
mov rcx, r13
call fcn.140018f70
jmp 0x140021a51
xor edx, edx
mov rcx, r13
call fcn.140016490
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.140015870
jmp 0x140021a59
mov edx, 1
mov rcx, r13
call fcn.140016490
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, r14
call fcn.140015870
jmp 0x140021a59
xor edx, edx
mov rcx, r13
call fcn.140016490
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.140015870
jmp 0x140021a59
mov edx, 2
mov rcx, r13
call fcn.140016490
jmp 0x140021a59
cmp byte [r15 + 0x55c], 0
jne 0x14002167d
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x14002167d
cmp qword [r14 + 0xc38], 0
je 0x14002167d
lea rdx, [r12 + 0x11]
xor r8d, r8d
mov rcx, r13
call fcn.140018f70
jmp 0x140021a51
mov r8d, recv
lea rcx, str.Retry_After:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x1400216eb
lea rcx, [r12 + 0xc]
mov qword [rsp + 0x50], rbp
call fcn.140027350
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400216d4
lea r9, [rsp + 0x50]
xor edx, edx
lea r8d, [rax + 0xb]
lea rcx, [r12 + 0xc]
call fcn.140026ed0
mov rbx, qword [rsp + 0x50]
mov qword [r14 + 0x1738], rbx
jmp 0x140021a59
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 0x140021a59
cmp byte [r15 + 0x55c], 0
jne 0x14002178d
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Content_Range:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x14002178d
movzx eax, byte [r12 + 0xe]
lea rbx, [r12 + 0xe]
test al, al
je 0x14002173d
movzx ecx, al
call fcn.14003fc60
test eax, eax
jne 0x14002173d
cmp byte [rbx], 0x2a
je 0x14002173d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140021721
movzx ecx, byte [rbx]
call fcn.14003fc60
test eax, eax
je 0x140021781
xor edx, edx
lea r9, [r15 + 0x60]
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.140026ed0
test eax, eax
jne 0x140021a59
mov rax, qword [r15 + 0x60]
cmp qword [r14 + 0x1578], rax
jne 0x140021a59
mov byte [r15 + 0x559], 1
jmp 0x140021a59
mov qword [r14 + 0x1578], rbp
jmp 0x140021a59
cmp qword [r14 + 0xfb0], 0
je 0x14002183a
cmp byte [r14 + 0x169f], 0
je 0x14002183a
mov r8d, recv
lea rcx, str.Set_Cookie:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x14002183a
mov edx, 2
mov rcx, r14
mov r8d, edx
call fcn.1400191c0
mov r8, qword [r14 + 0x1678]
test r8, r8
jne 0x1400217e5
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.140008730
mov edx, 2
mov rcx, r14
call fcn.140019200
jmp 0x140021a59
cmp byte [r15 + 0x55c], 0
jne 0x14002189c
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Last_Modified:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x14002189c
cmp dword [r14 + 0x9e0], 0
jne 0x140021871
cmp byte [r14 + 0xf51], 0
je 0x14002189c
lea rcx, [r12 + 0xe]
call fcn.140027350
mov qword [r15 + 0x90], rax
cmp byte [r14 + 0xf51], 0
je 0x140021a59
mov qword [r14 + 0x1700], rax
jmp 0x140021a59
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x1400218c1
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x191
je 0x1400218e6
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x140021928
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x197
jne 0x140021928
mov rcx, r12
call fcn.140020540
mov rdi, rax
test rax, rax
je 0x1400220a8
cmp ebx, 0x197
mov r8, rax
mov rcx, r13
sete dl
call fcn.140020950
mov rcx, rdi
mov ebx, eax
call qword [0x14006b008]
test ebx, ebx
je 0x140021a59
mov eax, ebx
jmp 0x140021f70
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Persistent_Auth
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x1400219b0
cmp dword [r14 + 0x1294], 4
jne 0x140021a59
mov rcx, r12
call fcn.140020540
mov rbx, rax
test rax, rax
je 0x1400220a8
mov r8d, 5
lea rcx, str.false
mov rdx, rax
call fcn.140018bd0
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.140015870
mov rcx, rbx
call qword [0x14006b008]
jmp 0x140021a59
mov eax, dword [r15 + 0x68]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140021a36
mov r8d, 9
lea rcx, str.Location:
mov rdx, r12
call fcn.140018bd0
test eax, eax
je 0x140021a36
cmp qword [r14 + 0x188], 0
jne 0x140021a36
mov rcx, r12
call fcn.140020540
test rax, rax
je 0x1400220a8
cmp byte [rax], 0
jne 0x140021a02
mov rcx, rax
call qword [0x14006b008]
jmp 0x140021a59
cmp byte [r14 + 0xf5e], 0
mov qword [r14 + 0x188], rax
je 0x140021a59
mov rcx, rax
call qword [case.0x14000a889.0]
mov qword [r14 + 0x190], rax
test rax, rax
je 0x1400220a8
mov rcx, r13
call fcn.140022490
jmp 0x140021a51
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x140021a59
mov rdx, r12
mov rcx, r13
call fcn.1400374d0
test eax, eax
jne 0x140021f70
cmp byte [r14 + 0xf61], 0
mov ebx, ebp
setne bl
cmp byte [r14 + 0xf66], 0
je 0x140021a8b
mov rcx, rsi
call fcn.14000b410
mov r9, rax
mov r8, r12
mov edx, 1
mov rcx, r14
call fcn.140015630
mov rcx, rsi
call fcn.14000b410
mov r9, rax
lea edx, [rbx + 2]
mov r8, r12
mov rcx, r13
call fcn.140015610
test eax, eax
jne 0x140021f70
mov rcx, rsi
call fcn.14000b410
add qword [r14 + 0x1708], rax
mov rcx, rsi
call fcn.14000b410
add qword [r14 + 0x108], rax
xor r12d, r12d
jmp 0x140021e79
mov ecx, dword [r15 + 0x68]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140021b4e
sub ecx, 0x64
je 0x140021b17
cmp ecx, 1
je 0x140021afc
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
jmp 0x140021bb3
cmp dword [r15 + 0x84], 1
je 0x1400220b2
mov byte [r15 + 0x558], 0
jmp 0x140021bb0
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
cmp dword [r15 + 0x80], r12d
jle 0x140021bb3
or dword [r15 + 0x9c], 2
xor edx, edx
mov rcx, r14
mov dword [r15 + 0x80], r12d
call fcn.140005940
jmp 0x140021bb3
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0x558], 0
jne 0x140021bb0
cmp byte [r15 + 0x55d], 0
jne 0x140021bb0
cmp byte [r13 + 0x659], 0
jne 0x140021bb0
cmp dword [r13 + 0x488], 0xb
jne 0x140021bb0
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
jne 0x140021bb0
cmp dword [r14 + 0x1608], 6
je 0x140021bb0
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, r14
call fcn.140015870
mov edx, 2
mov rcx, r13
call fcn.140016490
xor r12d, r12d
movzx eax, byte [r13 + 0x659]
test al, al
je 0x140021c51
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x140021bdb
cmp dword [r13 + 0x770], 2
je 0x140021bec
cmp eax, 0x197
jne 0x140021c0f
cmp dword [r13 + 0x774], 2
jne 0x140021c0f
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.140015870
mov byte [r14 + 0x1695], 1
movzx eax, byte [r13 + 0x659]
test al, al
je 0x140021c51
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x140021c29
cmp dword [r13 + 0x868], 1
je 0x140021c3a
jmp 0x140021c51
cmp eax, 0x197
jne 0x140021c51
cmp dword [r13 + 0x86c], 1
jne 0x140021c51
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.140015870
mov byte [r14 + 0x1695], 1
cmp dword [r13 + 0x868], 3
jne 0x140021c73
cmp dword [r14 + 0x150], 0x191
je 0x140021c73
mov dword [r13 + 0x868], 4
cmp dword [r13 + 0x86c], 3
jne 0x140021c95
cmp dword [r14 + 0x150], 0x197
je 0x140021c95
mov dword [r13 + 0x86c], 4
mov rcx, r13
call fcn.140022690
test eax, eax
jne 0x140022197
movzx ebx, byte [r14 + 0xf61]
mov rcx, rsi
call fcn.14000b410
mov rcx, rsi
mov rdi, rax
call fcn.14000b420
mov edx, r12d
test bl, bl
mov r8, rax
mov r9, rdi
setne dl
mov rcx, r13
add edx, 2
call fcn.140015610
test eax, eax
jne 0x140021f70
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.140020650
test eax, eax
jne 0x140021f70
cmp dword [r15 + 0x68], 0x12c
jl 0x140021e6b
cmp byte [r13 + 0x665], al
jne 0x140021e4a
cmp byte [r13 + 0x659], al
jne 0x140021e4a
cmp byte [r13 + 0x666], al
jne 0x140021e54
mov eax, dword [r14 + 0x1608]
add eax, 0xfffffffe
cmp eax, 3
ja 0x140021e4a
xor edx, edx
mov rcx, r14
call fcn.140005940
cmp byte [r15 + 0x55a], 0
jne 0x140021e4a
cmp dword [r15 + 0x68], 0x1a1
jne 0x140021dce
cmp byte [r14 + 0x1698], 0
je 0x140021dce
lea rdx, str.Got_417_while_waiting_for_a_100_n
mov rcx, r14
call fcn.140015870
mov byte [r14 + 0x1699], 1
mov rcx, qword [r13]
mov rcx, qword [rcx + 0xf88]
call qword [case.0x14000a889.0]
mov rdx, r15
mov rcx, r13
mov qword [r14 + 0x190], rax
call fcn.14001a0b0
jmp 0x140021e4a
cmp byte [r14 + 0xf5d], 0
mov rcx, r14
je 0x140021e02
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.140015870
cmp dword [r15 + 0x80], 0
jle 0x140021e4a
or dword [r15 + 0x9c], 2
mov dword [r15 + 0x80], r12d
jmp 0x140021e4a
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.140015870
mov edx, 2
mov rcx, r13
call fcn.140016490
mov rdx, r15
mov rcx, r13
call fcn.14001a0b0
test eax, eax
jne 0x140021f70
mov byte [r15 + 0x55a], 1
cmp byte [r14 + 0x1698], al
je 0x140021e4a
mov dword [r15 + 0x80], 3
cmp byte [r13 + 0x666], 0
je 0x140021e6b
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, r14
call fcn.140015870
or dword [r15 + 0x9c], 2
cmp byte [r15 + 0x558], 0
je 0x1400220e4
mov rcx, rsi
call fcn.14000b430
mov rbx, qword [r15 + 0x58]
cmp byte [rbx], 0
je 0x140021f6e
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 0x140020da0
lea r12, [r14 + 0x1160]
mov r8, rsi
mov rdx, rbp
mov rcx, r12
call fcn.14000b3b0
test eax, eax
jne 0x140021f70
cmp dword [r15 + 0x54], eax
jne 0x140021f6e
mov rcx, r12
call fcn.14000b410
mov rcx, r12
mov rbx, rax
call fcn.14000b420
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, r14
call fcn.1400222a0
cmp eax, 2
jne 0x140021f6e
mov edx, eax
mov byte [r15 + 0x558], 0
mov rcx, r13
mov dword [r15 + 0x50], eax
call fcn.140016490
cmp byte [r14 + 0xf82], 0
jne 0x140021f6e
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, r14
call fcn.1400156f0
mov eax, 1
jmp 0x140021f70
mov edx, 2
mov rcx, r13
call fcn.140016490
cmp byte [r14 + 0xf82], 0
je 0x140021f2b
mov byte [r15 + 0x558], 0
cmp qword [rbx], 0
je 0x140021f88
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 0x140021f6e
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, r14
call fcn.1400156f0
mov eax, 1
jmp 0x140021f70
mov rcx, rbp
call fcn.14000b420
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 0x140022049
lea edx, [rax + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rbx, rax
test rax, rax
je 0x140022049
inc rbx
cmp byte [rbx], 0
je 0x140022049
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 0x140022027
lea edx, [rax + 0xa]
mov rcx, rbx
mov sil, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x140022049
mov r8, rbx
mov byte [rdi], 0
lea rdx, str.The_requested_URL_returned_error:__s
mov rcx, r14
call fcn.1400156f0
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rdi], sil
jmp 0x140021f70
mov r8d, dword [r14 + 0x150]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.1400156f0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140021f70
mov byte [r15 + 0x558], 0
jmp 0x140021f6e
lea rdx, str.Maximum_file_size_exceeded
mov rcx, r14
call fcn.1400156f0
mov eax, 0x3f
jmp 0x140021f70
lea rdx, str.Invalid_Content_Length:_value
mov rcx, r14
call fcn.1400156f0
mov eax, 8
jmp 0x140021f70
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140021f70
lea rdx, str.Received_101_n
mov rcx, r14
call fcn.140015870
xor eax, eax
mov dword [r15 + 0x84], 2
mov dword [r15 + 0x54], eax
mov eax, 1
mov byte [r15 + 0x558], 1
jmp 0x140021f70
cmp byte [r14 + 0xf64], 0
jne 0x140022131
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x14002210e
cmp dword [r14 + 0xea8], 2
jne 0x14002210e
cmp qword [r15], 0xffffffffffffffff
jle 0x140022131
cmp byte [r15 + 0x55d], 0
mov rbx, qword [rsp + 0xc8]
je 0x14002213c
mov qword [r15], 0xffffffffffffffff
mov qword [r15 + 8], 0xffffffffffffffff
jmp 0x14002213c
mov rbx, qword [rsp + 0xc8]
mov byte [rbx], 1
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x140022156
mov rcx, r14
call fcn.140022f10
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x14002215a
mov rax, qword [r15 + 8]
test rax, rax
jne 0x140022164
mov byte [rbx], 1
jmp 0x140022169
cmp byte [rbx], 0
je 0x140022171
and dword [r15 + 0x9c], 0xfffffffe
cmp byte [r14 + 0xf66], 0
je 0x140021f6e
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.140015630
jmp 0x140021f6e
mov r8d, dword [r15 + 0x68]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.1400156f0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140021f70