Function at 0x140020560
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 0x1400216f2
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.14000abe0
test eax, eax
jne 0x1400217a0
cmp dword [r15 + 0x54], eax
jne 0x140020682
mov rcx, rsi
call fcn.14000ac40
mov rcx, rsi
mov rdi, rax
call fcn.14000ac50
mov rcx, qword [r13 + 0x698]
mov rdx, rax
test dword [rcx + 0x7c], 0x40000
je 0x14002066c
cmp rdi, 5
mov ecx, 5
mov ebx, r12d
cmova rdi, rcx
setae bl
mov r8, rdi
lea rcx, str.RTSP_
call fcn.140018400
test eax, eax
mov ecx, 2
cmovne ecx, ebx
mov rbx, qword [rsp + 0xc0]
jmp 0x140020679
mov r8, rdi
mov rcx, r14
call fcn.1400219f0
mov ecx, eax
cmp ecx, 2
je 0x140021771
mov rcx, rsi
call fcn.14000ac50
mov r12, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x140021302
cmp cl, 0xd
je 0x140021302
mov edx, dword [r15 + 0x54]
lea ecx, [rdx + 1]
mov dword [r15 + 0x54], ecx
test edx, edx
jne 0x1400209a3
mov rax, qword [r13 + 0x698]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x14002080e
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.14000a080
cmp eax, 1
jne 0x14002073a
cmp dword [rsp + 0x48], 2
jl 0x1400217d3
mov r9, rsi
lea r8, [rsp + 0x44]
lea rdx, str._HTTP__1_23___d
mov rcx, r12
call fcn.14000a080
cmp eax, 2
jne 0x1400217d3
xor eax, eax
mov byte [rsp + 0xb0], reloc.WLDAP32.dll_Ordinal_32
mov dword [rdi], eax
jmp 0x14002074d
cmp eax, 4
jne 0x1400207a7
cmp byte [rsp + 0xb0], 0x20
jne 0x1400217d3
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 0x14002077d
cmp edx, 0x14
je 0x14002077d
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, r14
call fcn.1400150a0
mov eax, dword [rdi]
cmp eax, 0x14
jge 0x140020877
mov rax, qword [r13 + 0xad0]
lea rdx, str.Mark_bundle_as_not_supporting_multiuse_n
mov rcx, r14
mov dword [rax], 0xffffffff
call fcn.1400150a0
jmp 0x140020877
test eax, eax
jne 0x1400217d3
mov r8, rsi
lea rdx, str._HTTP__3d
mov rcx, r12
call fcn.14000a080
mov dword [rdi], 0xa
test eax, eax
jne 0x140020877
lea rbp, [r14 + 0x1160]
mov rcx, rbp
call fcn.14000ac40
mov rcx, rbp
mov rbx, rax
call fcn.14000ac50
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.1400219f0
cmp eax, 1
jne 0x140021899
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x14002087e
bt ecx, 0x12
jae 0x140021899
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.14000a080
cmp eax, 4
jne 0x140021899
cmp byte [rsp + 0x40], 0x20
jne 0x140021899
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 0x14002089f
cmp eax, dword [rdi]
jle 0x1400208a8
mov eax, dword [rdi]
mov dword [r14 + 0x1568], eax
cmp qword [r14 + 0x1578], 0
je 0x1400208ce
cmp dword [r14 + 0x1608], 1
jne 0x1400208ce
cmp dword [rsi], 0x1a0
jne 0x1400208ce
mov byte [r15 + 0x55b], 1
jmp 0x14002090b
cmp byte [r14 + 0xf5c], 0
je 0x14002090b
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x14002090b
cmp eax, 0x191
jne 0x1400208f2
cmp byte [r13 + 0x65f], 0
jmp 0x140020905
cmp eax, 0x197
jne 0x1400217e9
cmp byte [r13 + 0x656], 0
je 0x1400217e9
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x140020930
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, r14
call fcn.1400150a0
mov edx, 1
mov rcx, r13
call fcn.140015cc0
jmp 0x140020951
cmp eax, 0x14
je 0x140020944
cmp dword [r15 + 0x84], 1
jne 0x140020951
cmp dword [rsi], 0x65
jne 0x140020951
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 0x140020982
cmp ecx, 0x64
jne 0x14002099c
cmp dword [r14 + 0x9e0], 0
je 0x140020982
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 0x1400209a5
lea rsi, [r14 + 0x1160]
xor ebp, ebp
cmp byte [r15 + 0x55c], 0
jne 0x140020a57
cmp byte [r14 + 0xf6c], 0
jne 0x140020a57
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140020a57
xor edx, edx
lea rcx, [r12 + 0xf]
lea r9, [rsp + 0x58]
lea r8d, [rdx + 0xa]
call fcn.140026760
test eax, eax
jne 0x140020a21
mov rax, qword [r14 + 0xbb0]
mov rdx, qword [rsp + 0x58]
test rax, rax
je 0x140020a0d
cmp rdx, rax
jg 0x1400218a6
mov rcx, r14
mov qword [r15], rdx
mov qword [r15 + 8], rdx
call fcn.140022740
jmp 0x140021289
cmp eax, 1
jne 0x1400218bf
cmp qword [r14 + 0xbb0], 0
jne 0x1400218a6
lea edx, [rax + 1]
mov rcx, r13
call fcn.140015cc0
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, r14
call fcn.1400150a0
jmp 0x140021289
mov r8d, reloc.WS2_32.dll_listen
lea rcx, str.Content_Type:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140020ab0
mov rcx, r12
call fcn.14001fd70
mov rbx, rax
test rax, rax
je 0x1400218d8
cmp byte [rax], 0
jne 0x140020a97
mov rcx, rax
call qword [0x140065008]
jmp 0x140021289
mov rcx, qword [r14 + 0x1728]
call qword [0x140065008]
mov qword [r14 + 0x1728], rbx
jmp 0x140021289
cmp dword [r13 + 0x488], 0xa
jne 0x140020b79
cmp byte [r13 + 0x654], 0
je 0x140020b79
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.140018320
test eax, eax
je 0x140020b79
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x140020b0f
movzx ecx, al
call fcn.14003f570
test eax, eax
je 0x140020b0f
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140020af8
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020b44
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020b44
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x140020b79
nop dword [rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.140018320
test eax, eax
jne 0x140020dfc
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x140020b50
cmp dword [r13 + 0x488], 0xb
jne 0x140020c49
cmp byte [r13 + 0x654], 0
je 0x140020c49
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.140018320
test eax, eax
je 0x140020c49
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x140020bd8
movzx ecx, al
call fcn.14003f570
test eax, eax
je 0x140020bd8
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140020bc1
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020c0d
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020c0d
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x140020c49
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.140018320
test eax, eax
jne 0x140020e1a
dec rdi
inc rbx
cmp rdi, 5
jae 0x140020c20
cmp dword [r13 + 0x488], 0xa
jne 0x140020d09
mov r8d, recv
lea rdx, str.Connection:
mov rcx, r12
call fcn.140018320
test eax, eax
je 0x140020d09
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x140020c9a
movzx ecx, al
call fcn.14003f570
test eax, eax
je 0x140020c9a
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140020c83
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020ccf
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020ccf
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x140020d09
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.140018320
test eax, eax
jne 0x140020e3b
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x140020ce0
mov r8d, recv
lea rdx, str.Connection:
mov rcx, r12
call fcn.140018320
test eax, eax
je 0x140020db9
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x140020d4c
movzx ecx, al
call fcn.14003f570
test eax, eax
je 0x140020d4c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140020d35
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020d81
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x140020d81
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x140020db9
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.140018320
test eax, eax
jne 0x140020e59
dec rdi
inc rbx
cmp rdi, 5
jae 0x140020d90
cmp byte [r15 + 0x55c], 0
jne 0x140020ead
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140020e6b
lea rdx, [r12 + 0x12]
mov r8d, 1
mov rcx, r13
call fcn.1400187a0
jmp 0x140021281
xor edx, edx
mov rcx, r13
call fcn.140015cc0
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.1400150a0
jmp 0x140021289
mov edx, 1
mov rcx, r13
call fcn.140015cc0
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, r14
call fcn.1400150a0
jmp 0x140021289
xor edx, edx
mov rcx, r13
call fcn.140015cc0
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.1400150a0
jmp 0x140021289
mov edx, 2
mov rcx, r13
call fcn.140015cc0
jmp 0x140021289
cmp byte [r15 + 0x55c], 0
jne 0x140020ead
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140020ead
cmp qword [r14 + 0xc38], 0
je 0x140020ead
lea rdx, [r12 + 0x11]
xor r8d, r8d
mov rcx, r13
call fcn.1400187a0
jmp 0x140021281
mov r8d, recv
lea rcx, str.Retry_After:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140020f1b
lea rcx, [r12 + 0xc]
mov qword [rsp + 0x50], rbp
call fcn.140026be0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140020f04
lea r9, [rsp + 0x50]
xor edx, edx
lea r8d, [rax + 0xb]
lea rcx, [r12 + 0xc]
call fcn.140026760
mov rbx, qword [rsp + 0x50]
mov qword [r14 + 0x1738], rbx
jmp 0x140021289
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 0x140021289
cmp byte [r15 + 0x55c], 0
jne 0x140020fbd
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Content_Range:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140020fbd
movzx eax, byte [r12 + 0xe]
lea rbx, [r12 + 0xe]
test al, al
je 0x140020f6d
movzx ecx, al
call fcn.14003f4f0
test eax, eax
jne 0x140020f6d
cmp byte [rbx], 0x2a
je 0x140020f6d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140020f51
movzx ecx, byte [rbx]
call fcn.14003f4f0
test eax, eax
je 0x140020fb1
xor edx, edx
lea r9, [r15 + 0x60]
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.140026760
test eax, eax
jne 0x140021289
mov rax, qword [r15 + 0x60]
cmp qword [r14 + 0x1578], rax
jne 0x140021289
mov byte [r15 + 0x559], 1
jmp 0x140021289
mov qword [r14 + 0x1578], rbp
jmp 0x140021289
cmp qword [r14 + 0xfb0], 0
je 0x14002106a
cmp byte [r14 + 0x169f], 0
je 0x14002106a
mov r8d, recv
lea rcx, str.Set_Cookie:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x14002106a
mov edx, 2
mov rcx, r14
mov r8d, edx
call fcn.1400189f0
mov r8, qword [r14 + 0x1678]
test r8, r8
jne 0x140021015
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.140007ef0
mov edx, 2
mov rcx, r14
call fcn.140018a30
jmp 0x140021289
cmp byte [r15 + 0x55c], 0
jne 0x1400210cc
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Last_Modified:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x1400210cc
cmp dword [r14 + 0x9e0], 0
jne 0x1400210a1
cmp byte [r14 + 0xf51], 0
je 0x1400210cc
lea rcx, [r12 + 0xe]
call fcn.140026be0
mov qword [r15 + 0x90], rax
cmp byte [r14 + 0xf51], 0
je 0x140021289
mov qword [r14 + 0x1700], rax
jmp 0x140021289
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x1400210f1
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x191
je 0x140021116
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140021158
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x197
jne 0x140021158
mov rcx, r12
call fcn.14001fd70
mov rdi, rax
test rax, rax
je 0x1400218d8
cmp ebx, 0x197
mov r8, rax
mov rcx, r13
sete dl
call fcn.140020180
mov rcx, rdi
mov ebx, eax
call qword [0x140065008]
test ebx, ebx
je 0x140021289
mov eax, ebx
jmp 0x1400217a0
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Persistent_Auth
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x1400211e0
cmp dword [r14 + 0x1294], 4
jne 0x140021289
mov rcx, r12
call fcn.14001fd70
mov rbx, rax
test rax, rax
je 0x1400218d8
mov r8d, 5
lea rcx, str.false
mov rdx, rax
call fcn.140018400
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.1400150a0
mov rcx, rbx
call qword [0x140065008]
jmp 0x140021289
mov eax, dword [r15 + 0x68]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140021266
mov r8d, 9
lea rcx, str.Location:
mov rdx, r12
call fcn.140018400
test eax, eax
je 0x140021266
cmp qword [r14 + 0x188], 0
jne 0x140021266
mov rcx, r12
call fcn.14001fd70
test rax, rax
je 0x1400218d8
cmp byte [rax], 0
jne 0x140021232
mov rcx, rax
call qword [0x140065008]
jmp 0x140021289
cmp byte [r14 + 0xf5e], 0
mov qword [r14 + 0x188], rax
je 0x140021289
mov rcx, rax
call qword [case.0x14000a059.0]
mov qword [r14 + 0x190], rax
test rax, rax
je 0x1400218d8
mov rcx, r13
call fcn.140021cc0
jmp 0x140021281
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x140021289
mov rdx, r12
mov rcx, r13
call fcn.140036d60
test eax, eax
jne 0x1400217a0
cmp byte [r14 + 0xf61], 0
mov ebx, ebp
setne bl
cmp byte [r14 + 0xf66], 0
je 0x1400212bb
mov rcx, rsi
call fcn.14000ac40
mov r9, rax
mov r8, r12
mov edx, 1
mov rcx, r14
call fcn.140014e60
mov rcx, rsi
call fcn.14000ac40
mov r9, rax
lea edx, [rbx + 2]
mov r8, r12
mov rcx, r13
call fcn.140014e40
test eax, eax
jne 0x1400217a0
mov rcx, rsi
call fcn.14000ac40
add qword [r14 + 0x1708], rax
mov rcx, rsi
call fcn.14000ac40
add qword [r14 + 0x108], rax
xor r12d, r12d
jmp 0x1400216a9
mov ecx, dword [r15 + 0x68]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14002137e
sub ecx, 0x64
je 0x140021347
cmp ecx, 1
je 0x14002132c
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
jmp 0x1400213e3
cmp dword [r15 + 0x84], 1
je 0x1400218e2
mov byte [r15 + 0x558], 0
jmp 0x1400213e0
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
cmp dword [r15 + 0x80], r12d
jle 0x1400213e3
or dword [r15 + 0x9c], 2
xor edx, edx
mov rcx, r14
mov dword [r15 + 0x80], r12d
call fcn.140005100
jmp 0x1400213e3
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0x558], 0
jne 0x1400213e0
cmp byte [r15 + 0x55d], 0
jne 0x1400213e0
cmp byte [r13 + 0x659], 0
jne 0x1400213e0
cmp dword [r13 + 0x488], 0xb
jne 0x1400213e0
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
jne 0x1400213e0
cmp dword [r14 + 0x1608], 6
je 0x1400213e0
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, r14
call fcn.1400150a0
mov edx, 2
mov rcx, r13
call fcn.140015cc0
xor r12d, r12d
movzx eax, byte [r13 + 0x659]
test al, al
je 0x140021481
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x14002140b
cmp dword [r13 + 0x770], 2
je 0x14002141c
cmp eax, 0x197
jne 0x14002143f
cmp dword [r13 + 0x774], 2
jne 0x14002143f
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.1400150a0
mov byte [r14 + 0x1695], 1
movzx eax, byte [r13 + 0x659]
test al, al
je 0x140021481
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x140021459
cmp dword [r13 + 0x868], 1
je 0x14002146a
jmp 0x140021481
cmp eax, 0x197
jne 0x140021481
cmp dword [r13 + 0x86c], 1
jne 0x140021481
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.1400150a0
mov byte [r14 + 0x1695], 1
cmp dword [r13 + 0x868], 3
jne 0x1400214a3
cmp dword [r14 + 0x150], 0x191
je 0x1400214a3
mov dword [r13 + 0x868], 4
cmp dword [r13 + 0x86c], 3
jne 0x1400214c5
cmp dword [r14 + 0x150], 0x197
je 0x1400214c5
mov dword [r13 + 0x86c], 4
mov rcx, r13
call fcn.140021ec0
test eax, eax
jne 0x1400219c7
movzx ebx, byte [r14 + 0xf61]
mov rcx, rsi
call fcn.14000ac40
mov rcx, rsi
mov rdi, rax
call fcn.14000ac50
mov edx, r12d
test bl, bl
mov r8, rax
mov r9, rdi
setne dl
mov rcx, r13
add edx, 2
call fcn.140014e40
test eax, eax
jne 0x1400217a0
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.14001fe80
test eax, eax
jne 0x1400217a0
cmp dword [r15 + 0x68], 0x12c
jl 0x14002169b
cmp byte [r13 + 0x665], al
jne 0x14002167a
cmp byte [r13 + 0x659], al
jne 0x14002167a
cmp byte [r13 + 0x666], al
jne 0x140021684
mov eax, dword [r14 + 0x1608]
add eax, 0xfffffffe
cmp eax, 3
ja 0x14002167a
xor edx, edx
mov rcx, r14
call fcn.140005100
cmp byte [r15 + 0x55a], 0
jne 0x14002167a
cmp dword [r15 + 0x68], 0x1a1
jne 0x1400215fe
cmp byte [r14 + 0x1698], 0
je 0x1400215fe
lea rdx, str.Got_417_while_waiting_for_a_100_n
mov rcx, r14
call fcn.1400150a0
mov byte [r14 + 0x1699], 1
mov rcx, qword [r13]
mov rcx, qword [rcx + 0xf88]
call qword [case.0x14000a059.0]
mov rdx, r15
mov rcx, r13
mov qword [r14 + 0x190], rax
call fcn.1400198e0
jmp 0x14002167a
cmp byte [r14 + 0xf5d], 0
mov rcx, r14
je 0x140021632
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.1400150a0
cmp dword [r15 + 0x80], 0
jle 0x14002167a
or dword [r15 + 0x9c], 2
mov dword [r15 + 0x80], r12d
jmp 0x14002167a
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.1400150a0
mov edx, 2
mov rcx, r13
call fcn.140015cc0
mov rdx, r15
mov rcx, r13
call fcn.1400198e0
test eax, eax
jne 0x1400217a0
mov byte [r15 + 0x55a], 1
cmp byte [r14 + 0x1698], al
je 0x14002167a
mov dword [r15 + 0x80], 3
cmp byte [r13 + 0x666], 0
je 0x14002169b
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, r14
call fcn.1400150a0
or dword [r15 + 0x9c], 2
cmp byte [r15 + 0x558], 0
je 0x140021914
mov rcx, rsi
call fcn.14000ac60
mov rbx, qword [r15 + 0x58]
cmp byte [rbx], 0
je 0x14002179e
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 0x1400205d0
lea r12, [r14 + 0x1160]
mov r8, rsi
mov rdx, rbp
mov rcx, r12
call fcn.14000abe0
test eax, eax
jne 0x1400217a0
cmp dword [r15 + 0x54], eax
jne 0x14002179e
mov rcx, r12
call fcn.14000ac40
mov rcx, r12
mov rbx, rax
call fcn.14000ac50
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, r14
call fcn.140021ad0
cmp eax, 2
jne 0x14002179e
mov edx, eax
mov byte [r15 + 0x558], 0
mov rcx, r13
mov dword [r15 + 0x50], eax
call fcn.140015cc0
cmp byte [r14 + 0xf82], 0
jne 0x14002179e
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, r14
call fcn.140014f20
mov eax, 1
jmp 0x1400217a0
mov edx, 2
mov rcx, r13
call fcn.140015cc0
cmp byte [r14 + 0xf82], 0
je 0x14002175b
mov byte [r15 + 0x558], 0
cmp qword [rbx], 0
je 0x1400217b8
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 0x14002179e
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, r14
call fcn.140014f20
mov eax, 1
jmp 0x1400217a0
mov rcx, rbp
call fcn.14000ac50
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 0x140021879
lea edx, [rax + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rbx, rax
test rax, rax
je 0x140021879
inc rbx
cmp byte [rbx], 0
je 0x140021879
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 0x140021857
lea edx, [rax + 0xa]
mov rcx, rbx
mov sil, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x140021879
mov r8, rbx
mov byte [rdi], 0
lea rdx, str.The_requested_URL_returned_error:__s
mov rcx, r14
call fcn.140014f20
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rdi], sil
jmp 0x1400217a0
mov r8d, dword [r14 + 0x150]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.140014f20
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400217a0
mov byte [r15 + 0x558], 0
jmp 0x14002179e
lea rdx, str.Maximum_file_size_exceeded
mov rcx, r14
call fcn.140014f20
mov eax, 0x3f
jmp 0x1400217a0
lea rdx, str.Invalid_Content_Length:_value
mov rcx, r14
call fcn.140014f20
mov eax, 8
jmp 0x1400217a0
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400217a0
lea rdx, str.Received_101_n
mov rcx, r14
call fcn.1400150a0
xor eax, eax
mov dword [r15 + 0x84], 2
mov dword [r15 + 0x54], eax
mov eax, 1
mov byte [r15 + 0x558], 1
jmp 0x1400217a0
cmp byte [r14 + 0xf64], 0
jne 0x140021961
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x14002193e
cmp dword [r14 + 0xea8], 2
jne 0x14002193e
cmp qword [r15], 0xffffffffffffffff
jle 0x140021961
cmp byte [r15 + 0x55d], 0
mov rbx, qword [rsp + 0xc8]
je 0x14002196c
mov qword [r15], 0xffffffffffffffff
mov qword [r15 + 8], 0xffffffffffffffff
jmp 0x14002196c
mov rbx, qword [rsp + 0xc8]
mov byte [rbx], 1
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x140021986
mov rcx, r14
call fcn.140022740
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x14002198a
mov rax, qword [r15 + 8]
test rax, rax
jne 0x140021994
mov byte [rbx], 1
jmp 0x140021999
cmp byte [rbx], 0
je 0x1400219a1
and dword [r15 + 0x9c], 0xfffffffe
cmp byte [r14 + 0xf66], 0
je 0x14002179e
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.140014e60
jmp 0x14002179e
mov r8d, dword [r15 + 0x68]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.140014f20
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x1400217a0