Function at 0x180020d70
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 0x180021f02
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.18000b3f0
test eax, eax
jne 0x180021fb0
cmp dword [r15 + 0x54], eax
jne 0x180020e92
mov rcx, rsi
call fcn.18000b450
mov rcx, rsi
mov rdi, rax
call fcn.18000b460
mov rcx, qword [r13 + 0x698]
mov rdx, rax
test dword [rcx + 0x7c], 0x40000
je 0x180020e7c
cmp rdi, 5
mov ecx, 5
mov ebx, r12d
cmova rdi, rcx
setae bl
mov r8, rdi
lea rcx, str.RTSP_
call fcn.180018c10
test eax, eax
mov ecx, 2
cmovne ecx, ebx
mov rbx, qword [rsp + 0xc0]
jmp 0x180020e89
mov r8, rdi
mov rcx, r14
call fcn.180022200
mov ecx, eax
cmp ecx, 2
je 0x180021f81
mov rcx, rsi
call fcn.18000b460
mov r12, rax
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x180021b12
cmp cl, 0xd
je 0x180021b12
mov edx, dword [r15 + 0x54]
lea ecx, [rdx + 1]
mov dword [r15 + 0x54], ecx
test edx, edx
jne 0x1800211b3
mov rax, qword [r13 + 0x698]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x18002101e
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.18000a890
cmp eax, 1
jne 0x180020f4a
cmp dword [rsp + 0x48], 2
jl 0x180021fe3
mov r9, rsi
lea r8, [rsp + 0x44]
lea rdx, str._HTTP__1_23___d
mov rcx, r12
call fcn.18000a890
cmp eax, 2
jne 0x180021fe3
xor eax, eax
mov byte [rsp + 0xb0], reloc.WLDAP32.dll_Ordinal_32
mov dword [rdi], eax
jmp 0x180020f5d
cmp eax, 4
jne 0x180020fb7
cmp byte [rsp + 0xb0], 0x20
jne 0x180021fe3
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 0x180020f8d
cmp edx, 0x14
je 0x180020f8d
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, r14
call fcn.1800158b0
mov eax, dword [rdi]
cmp eax, 0x14
jge 0x180021087
mov rax, qword [r13 + 0xad0]
lea rdx, str.Mark_bundle_as_not_supporting_multiuse_n
mov rcx, r14
mov dword [rax], 0xffffffff
call fcn.1800158b0
jmp 0x180021087
test eax, eax
jne 0x180021fe3
mov r8, rsi
lea rdx, str._HTTP__3d
mov rcx, r12
call fcn.18000a890
mov dword [rdi], 0xa
test eax, eax
jne 0x180021087
lea rbp, [r14 + 0x1160]
mov rcx, rbp
call fcn.18000b450
mov rcx, rbp
mov rbx, rax
call fcn.18000b460
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.180022200
cmp eax, 1
jne 0x1800220a9
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x18002108e
bt ecx, 0x12
jae 0x1800220a9
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.18000a890
cmp eax, 4
jne 0x1800220a9
cmp byte [rsp + 0x40], 0x20
jne 0x1800220a9
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 0x1800210af
cmp eax, dword [rdi]
jle 0x1800210b8
mov eax, dword [rdi]
mov dword [r14 + 0x1568], eax
cmp qword [r14 + 0x1578], 0
je 0x1800210de
cmp dword [r14 + 0x1608], 1
jne 0x1800210de
cmp dword [rsi], 0x1a0
jne 0x1800210de
mov byte [r15 + 0x55b], 1
jmp 0x18002111b
cmp byte [r14 + 0xf5c], 0
je 0x18002111b
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x18002111b
cmp eax, 0x191
jne 0x180021102
cmp byte [r13 + 0x65f], 0
jmp 0x180021115
cmp eax, 0x197
jne 0x180021ff9
cmp byte [r13 + 0x656], 0
je 0x180021ff9
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x180021140
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, r14
call fcn.1800158b0
mov edx, 1
mov rcx, r13
call fcn.1800164d0
jmp 0x180021161
cmp eax, 0x14
je 0x180021154
cmp dword [r15 + 0x84], 1
jne 0x180021161
cmp dword [rsi], 0x65
jne 0x180021161
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 0x180021192
cmp ecx, 0x64
jne 0x1800211ac
cmp dword [r14 + 0x9e0], 0
je 0x180021192
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 0x1800211b5
lea rsi, [r14 + 0x1160]
xor ebp, ebp
cmp byte [r15 + 0x55c], 0
jne 0x180021267
cmp byte [r14 + 0xf6c], 0
jne 0x180021267
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x180021267
xor edx, edx
lea rcx, [r12 + 0xf]
lea r9, [rsp + 0x58]
lea r8d, [rdx + 0xa]
call fcn.180026f70
test eax, eax
jne 0x180021231
mov rax, qword [r14 + 0xbb0]
mov rdx, qword [rsp + 0x58]
test rax, rax
je 0x18002121d
cmp rdx, rax
jg 0x1800220b6
mov rcx, r14
mov qword [r15], rdx
mov qword [r15 + 8], rdx
call fcn.180022f50
jmp 0x180021a99
cmp eax, 1
jne 0x1800220cf
cmp qword [r14 + 0xbb0], 0
jne 0x1800220b6
lea edx, [rax + 1]
mov rcx, r13
call fcn.1800164d0
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, r14
call fcn.1800158b0
jmp 0x180021a99
mov r8d, reloc.WS2_32.dll_listen
lea rcx, str.Content_Type:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x1800212c0
mov rcx, r12
call fcn.180020580
mov rbx, rax
test rax, rax
je 0x1800220e8
cmp byte [rax], 0
jne 0x1800212a7
mov rcx, rax
call qword [0x180067008]
jmp 0x180021a99
mov rcx, qword [r14 + 0x1728]
call qword [0x180067008]
mov qword [r14 + 0x1728], rbx
jmp 0x180021a99
cmp dword [r13 + 0x488], 0xa
jne 0x180021389
cmp byte [r13 + 0x654], 0
je 0x180021389
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.180018b30
test eax, eax
je 0x180021389
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x18002131f
movzx ecx, al
call fcn.18003fd80
test eax, eax
je 0x18002131f
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180021308
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x180021354
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x180021354
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x180021389
nop dword [rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.180018b30
test eax, eax
jne 0x18002160c
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x180021360
cmp dword [r13 + 0x488], 0xb
jne 0x180021459
cmp byte [r13 + 0x654], 0
je 0x180021459
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, r12
call fcn.180018b30
test eax, eax
je 0x180021459
movzx eax, byte [r12 + 0x11]
lea rbx, [r12 + 0x11]
test al, al
je 0x1800213e8
movzx ecx, al
call fcn.18003fd80
test eax, eax
je 0x1800213e8
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1800213d1
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x18002141d
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x18002141d
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x180021459
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.180018b30
test eax, eax
jne 0x18002162a
dec rdi
inc rbx
cmp rdi, 5
jae 0x180021430
cmp dword [r13 + 0x488], 0xa
jne 0x180021519
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, r12
call fcn.180018b30
test eax, eax
je 0x180021519
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x1800214aa
movzx ecx, al
call fcn.18003fd80
test eax, eax
je 0x1800214aa
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180021493
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1800214df
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x1800214df
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 0xa
jb 0x180021519
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rbx
call fcn.180018b30
test eax, eax
jne 0x18002164b
dec rdi
inc rbx
cmp rdi, 0xa
jae 0x1800214f0
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, r12
call fcn.180018b30
test eax, eax
je 0x1800215c9
movzx eax, byte [r12 + 0xb]
lea rbx, [r12 + 0xb]
test al, al
je 0x18002155c
movzx ecx, al
call fcn.18003fd80
test eax, eax
je 0x18002155c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180021545
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x180021591
lea edx, [rax + 0xa]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
jne 0x180021591
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
sub rdi, rbx
cmp rdi, 5
jb 0x1800215c9
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rbx
call fcn.180018b30
test eax, eax
jne 0x180021669
dec rdi
inc rbx
cmp rdi, 5
jae 0x1800215a0
cmp byte [r15 + 0x55c], 0
jne 0x1800216bd
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x18002167b
lea rdx, [r12 + 0x12]
mov r8d, 1
mov rcx, r13
call fcn.180018fb0
jmp 0x180021a91
xor edx, edx
mov rcx, r13
call fcn.1800164d0
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.1800158b0
jmp 0x180021a99
mov edx, 1
mov rcx, r13
call fcn.1800164d0
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, r14
call fcn.1800158b0
jmp 0x180021a99
xor edx, edx
mov rcx, r13
call fcn.1800164d0
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, r14
call fcn.1800158b0
jmp 0x180021a99
mov edx, 2
mov rcx, r13
call fcn.1800164d0
jmp 0x180021a99
cmp byte [r15 + 0x55c], 0
jne 0x1800216bd
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x1800216bd
cmp qword [r14 + 0xc38], 0
je 0x1800216bd
lea rdx, [r12 + 0x11]
xor r8d, r8d
mov rcx, r13
call fcn.180018fb0
jmp 0x180021a91
mov r8d, ntohs
lea rcx, str.Retry_After:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x18002172b
lea rcx, [r12 + 0xc]
mov qword [rsp + 0x50], rbp
call fcn.1800273f0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180021714
lea r9, [rsp + 0x50]
xor edx, edx
lea r8d, [rax + 0xb]
lea rcx, [r12 + 0xc]
call fcn.180026f70
mov rbx, qword [rsp + 0x50]
mov qword [r14 + 0x1738], rbx
jmp 0x180021a99
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 0x180021a99
cmp byte [r15 + 0x55c], 0
jne 0x1800217cd
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Content_Range:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x1800217cd
movzx eax, byte [r12 + 0xe]
lea rbx, [r12 + 0xe]
test al, al
je 0x18002177d
movzx ecx, al
call fcn.18003fd00
test eax, eax
jne 0x18002177d
cmp byte [rbx], 0x2a
je 0x18002177d
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180021761
movzx ecx, byte [rbx]
call fcn.18003fd00
test eax, eax
je 0x1800217c1
xor edx, edx
lea r9, [r15 + 0x60]
mov rcx, rbx
lea r8d, [rdx + 0xa]
call fcn.180026f70
test eax, eax
jne 0x180021a99
mov rax, qword [r15 + 0x60]
cmp qword [r14 + 0x1578], rax
jne 0x180021a99
mov byte [r15 + 0x559], 1
jmp 0x180021a99
mov qword [r14 + 0x1578], rbp
jmp 0x180021a99
cmp qword [r14 + 0xfb0], 0
je 0x18002187a
cmp byte [r14 + 0x169f], 0
je 0x18002187a
mov r8d, ntohs
lea rcx, str.Set_Cookie:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x18002187a
mov edx, 2
mov rcx, r14
mov r8d, edx
call fcn.180019200
mov r8, qword [r14 + 0x1678]
test r8, r8
jne 0x180021825
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.180008700
mov edx, 2
mov rcx, r14
call fcn.180019240
jmp 0x180021a99
cmp byte [r15 + 0x55c], 0
jne 0x1800218dc
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Last_Modified:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x1800218dc
cmp dword [r14 + 0x9e0], 0
jne 0x1800218b1
cmp byte [r14 + 0xf51], 0
je 0x1800218dc
lea rcx, [r12 + 0xe]
call fcn.1800273f0
mov qword [r15 + 0x90], rax
cmp byte [r14 + 0xf51], 0
je 0x180021a99
mov qword [r14 + 0x1700], rax
jmp 0x180021a99
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x180021901
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x191
je 0x180021926
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x180021968
mov ebx, dword [r15 + 0x68]
cmp ebx, 0x197
jne 0x180021968
mov rcx, r12
call fcn.180020580
mov rdi, rax
test rax, rax
je 0x1800220e8
cmp ebx, 0x197
mov r8, rax
mov rcx, r13
sete dl
call fcn.180020990
mov rcx, rdi
mov ebx, eax
call qword [0x180067008]
test ebx, ebx
je 0x180021a99
mov eax, ebx
jmp 0x180021fb0
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Persistent_Auth
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x1800219f0
cmp dword [r14 + 0x1294], 4
jne 0x180021a99
mov rcx, r12
call fcn.180020580
mov rbx, rax
test rax, rax
je 0x1800220e8
mov r8d, 5
lea rcx, str.false
mov rdx, rax
call fcn.180018c10
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.1800158b0
mov rcx, rbx
call qword [0x180067008]
jmp 0x180021a99
mov eax, dword [r15 + 0x68]
sub eax, 0x12c
cmp eax, 0x63
ja 0x180021a76
mov r8d, 9
lea rcx, str.Location:
mov rdx, r12
call fcn.180018c10
test eax, eax
je 0x180021a76
cmp qword [r14 + 0x188], 0
jne 0x180021a76
mov rcx, r12
call fcn.180020580
test rax, rax
je 0x1800220e8
cmp byte [rax], 0
jne 0x180021a42
mov rcx, rax
call qword [0x180067008]
jmp 0x180021a99
cmp byte [r14 + 0xf5e], 0
mov qword [r14 + 0x188], rax
je 0x180021a99
mov rcx, rax
call qword [case.0x18000a869.0]
mov qword [r14 + 0x190], rax
test rax, rax
je 0x1800220e8
mov rcx, r13
call fcn.1800224d0
jmp 0x180021a91
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x180021a99
mov rdx, r12
mov rcx, r13
call fcn.180037570
test eax, eax
jne 0x180021fb0
cmp byte [r14 + 0xf61], 0
mov ebx, ebp
setne bl
cmp byte [r14 + 0xf66], 0
je 0x180021acb
mov rcx, rsi
call fcn.18000b450
mov r9, rax
mov r8, r12
mov edx, 1
mov rcx, r14
call fcn.180015670
mov rcx, rsi
call fcn.18000b450
mov r9, rax
lea edx, [rbx + 2]
mov r8, r12
mov rcx, r13
call fcn.180015650
test eax, eax
jne 0x180021fb0
mov rcx, rsi
call fcn.18000b450
add qword [r14 + 0x1708], rax
mov rcx, rsi
call fcn.18000b450
add qword [r14 + 0x108], rax
xor r12d, r12d
jmp 0x180021eb9
mov ecx, dword [r15 + 0x68]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x180021b8e
sub ecx, 0x64
je 0x180021b57
cmp ecx, 1
je 0x180021b3c
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
jmp 0x180021bf3
cmp dword [r15 + 0x84], 1
je 0x1800220f2
mov byte [r15 + 0x558], 0
jmp 0x180021bf0
xor r12d, r12d
mov byte [r15 + 0x558], 1
mov dword [r15 + 0x54], r12d
cmp dword [r15 + 0x80], r12d
jle 0x180021bf3
or dword [r15 + 0x9c], 2
xor edx, edx
mov rcx, r14
mov dword [r15 + 0x80], r12d
call fcn.180005910
jmp 0x180021bf3
cmp qword [r15], 0xffffffffffffffff
mov byte [r15 + 0x558], 0
jne 0x180021bf0
cmp byte [r15 + 0x55d], 0
jne 0x180021bf0
cmp byte [r13 + 0x659], 0
jne 0x180021bf0
cmp dword [r13 + 0x488], 0xb
jne 0x180021bf0
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
jne 0x180021bf0
cmp dword [r14 + 0x1608], 6
je 0x180021bf0
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, r14
call fcn.1800158b0
mov edx, 2
mov rcx, r13
call fcn.1800164d0
xor r12d, r12d
movzx eax, byte [r13 + 0x659]
test al, al
je 0x180021c91
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x180021c1b
cmp dword [r13 + 0x770], 2
je 0x180021c2c
cmp eax, 0x197
jne 0x180021c4f
cmp dword [r13 + 0x774], 2
jne 0x180021c4f
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.1800158b0
mov byte [r14 + 0x1695], 1
movzx eax, byte [r13 + 0x659]
test al, al
je 0x180021c91
mov eax, dword [r14 + 0x150]
cmp eax, 0x191
jne 0x180021c69
cmp dword [r13 + 0x868], 1
je 0x180021c7a
jmp 0x180021c91
cmp eax, 0x197
jne 0x180021c91
cmp dword [r13 + 0x86c], 1
jne 0x180021c91
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, r14
call fcn.1800158b0
mov byte [r14 + 0x1695], 1
cmp dword [r13 + 0x868], 3
jne 0x180021cb3
cmp dword [r14 + 0x150], 0x191
je 0x180021cb3
mov dword [r13 + 0x868], 4
cmp dword [r13 + 0x86c], 3
jne 0x180021cd5
cmp dword [r14 + 0x150], 0x197
je 0x180021cd5
mov dword [r13 + 0x86c], 4
mov rcx, r13
call fcn.1800226d0
test eax, eax
jne 0x1800221d7
movzx ebx, byte [r14 + 0xf61]
mov rcx, rsi
call fcn.18000b450
mov rcx, rsi
mov rdi, rax
call fcn.18000b460
mov edx, r12d
test bl, bl
mov r8, rax
mov r9, rdi
setne dl
mov rcx, r13
add edx, 2
call fcn.180015650
test eax, eax
jne 0x180021fb0
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.180020690
test eax, eax
jne 0x180021fb0
cmp dword [r15 + 0x68], 0x12c
jl 0x180021eab
cmp byte [r13 + 0x665], al
jne 0x180021e8a
cmp byte [r13 + 0x659], al
jne 0x180021e8a
cmp byte [r13 + 0x666], al
jne 0x180021e94
mov eax, dword [r14 + 0x1608]
add eax, 0xfffffffe
cmp eax, 3
ja 0x180021e8a
xor edx, edx
mov rcx, r14
call fcn.180005910
cmp byte [r15 + 0x55a], 0
jne 0x180021e8a
cmp dword [r15 + 0x68], 0x1a1
jne 0x180021e0e
cmp byte [r14 + 0x1698], 0
je 0x180021e0e
lea rdx, str.Got_417_while_waiting_for_a_100_n
mov rcx, r14
call fcn.1800158b0
mov byte [r14 + 0x1699], 1
mov rcx, qword [r13]
mov rcx, qword [rcx + 0xf88]
call qword [case.0x18000a869.0]
mov rdx, r15
mov rcx, r13
mov qword [r14 + 0x190], rax
call fcn.18001a0f0
jmp 0x180021e8a
cmp byte [r14 + 0xf5d], 0
mov rcx, r14
je 0x180021e42
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.1800158b0
cmp dword [r15 + 0x80], 0
jle 0x180021e8a
or dword [r15 + 0x9c], 2
mov dword [r15 + 0x80], r12d
jmp 0x180021e8a
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.1800158b0
mov edx, 2
mov rcx, r13
call fcn.1800164d0
mov rdx, r15
mov rcx, r13
call fcn.18001a0f0
test eax, eax
jne 0x180021fb0
mov byte [r15 + 0x55a], 1
cmp byte [r14 + 0x1698], al
je 0x180021e8a
mov dword [r15 + 0x80], 3
cmp byte [r13 + 0x666], 0
je 0x180021eab
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, r14
call fcn.1800158b0
or dword [r15 + 0x9c], 2
cmp byte [r15 + 0x558], 0
je 0x180022124
mov rcx, rsi
call fcn.18000b470
mov rbx, qword [r15 + 0x58]
cmp byte [rbx], 0
je 0x180021fae
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 0x180020de0
lea r12, [r14 + 0x1160]
mov r8, rsi
mov rdx, rbp
mov rcx, r12
call fcn.18000b3f0
test eax, eax
jne 0x180021fb0
cmp dword [r15 + 0x54], eax
jne 0x180021fae
mov rcx, r12
call fcn.18000b450
mov rcx, r12
mov rbx, rax
call fcn.18000b460
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, r14
call fcn.1800222e0
cmp eax, 2
jne 0x180021fae
mov edx, eax
mov byte [r15 + 0x558], 0
mov rcx, r13
mov dword [r15 + 0x50], eax
call fcn.1800164d0
cmp byte [r14 + 0xf82], 0
jne 0x180021fae
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, r14
call fcn.180015730
mov eax, 1
jmp 0x180021fb0
mov edx, 2
mov rcx, r13
call fcn.1800164d0
cmp byte [r14 + 0xf82], 0
je 0x180021f6b
mov byte [r15 + 0x558], 0
cmp qword [rbx], 0
je 0x180021fc8
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 0x180021fae
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, r14
call fcn.180015730
mov eax, 1
jmp 0x180021fb0
mov rcx, rbp
call fcn.18000b460
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 0x180022089
lea edx, [rax + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rbx, rax
test rax, rax
je 0x180022089
inc rbx
cmp byte [rbx], 0
je 0x180022089
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 0x180022067
lea edx, [rax + 0xa]
mov rcx, rbx
mov sil, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x180022089
mov r8, rbx
mov byte [rdi], 0
lea rdx, str.The_requested_URL_returned_error:__s
mov rcx, r14
call fcn.180015730
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rdi], sil
jmp 0x180021fb0
mov r8d, dword [r14 + 0x150]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.180015730
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x180021fb0
mov byte [r15 + 0x558], 0
jmp 0x180021fae
lea rdx, str.Maximum_file_size_exceeded
mov rcx, r14
call fcn.180015730
mov eax, 0x3f
jmp 0x180021fb0
lea rdx, str.Invalid_Content_Length:_value
mov rcx, r14
call fcn.180015730
mov eax, 8
jmp 0x180021fb0
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x180021fb0
lea rdx, str.Received_101_n
mov rcx, r14
call fcn.1800158b0
xor eax, eax
mov dword [r15 + 0x84], 2
mov dword [r15 + 0x54], eax
mov eax, 1
mov byte [r15 + 0x558], 1
jmp 0x180021fb0
cmp byte [r14 + 0xf64], 0
jne 0x180022171
mov rax, qword [r13 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x18002214e
cmp dword [r14 + 0xea8], 2
jne 0x18002214e
cmp qword [r15], 0xffffffffffffffff
jle 0x180022171
cmp byte [r15 + 0x55d], 0
mov rbx, qword [rsp + 0xc8]
je 0x18002217c
mov qword [r15], 0xffffffffffffffff
mov qword [r15 + 8], 0xffffffffffffffff
jmp 0x18002217c
mov rbx, qword [rsp + 0xc8]
mov byte [rbx], 1
mov rdx, qword [r15]
cmp rdx, 0xffffffffffffffff
je 0x180022196
mov rcx, r14
call fcn.180022f50
mov rax, qword [r15]
mov qword [r15 + 8], rax
jmp 0x18002219a
mov rax, qword [r15 + 8]
test rax, rax
jne 0x1800221a4
mov byte [rbx], 1
jmp 0x1800221a9
cmp byte [rbx], 0
je 0x1800221b1
and dword [r15 + 0x9c], 0xfffffffe
cmp byte [r14 + 0xf66], 0
je 0x180021fae
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.180015670
jmp 0x180021fae
mov r8d, dword [r15 + 0x68]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, r14
call fcn.180015730
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x180021fb0