Function at 0x180046570
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r12, qword [rcx + 0x150]
lea r14, [rcx + 0xe8]
mov rsi, qword [r8]
mov r15, r8
mov qword [rcx + 0x158], r12
mov rbp, rdx
mov r8, qword [r8]
mov rbx, rcx
mov rcx, r12
mov qword [rsp + 0x58], rsi
mov edx, 0xa
mov r13, r9
mov rdi, r12
call sub.VCRUNTIME140.dll_memchr
mov qword [rbx + 0x160], rax
test rax, rax
je 0x1800476b5
xor esi, esi
nop dword [rax]
nop word [rax + rax]
sub rdi, rax
mov rdx, r14
dec rdi
mov rcx, rbx
add qword [r15], rdi
mov r8, qword [rbx + 0x160]
inc r8
mov qword [rbx + 0x150], r8
sub r8, qword [rbx + 0x158]
call fcn.180047c70
test eax, eax
jne 0x180047760
cmp dword [rbx + 0x13c], 0
mov rax, qword [rbx + 0x140]
mov qword [rbx + 0x160], rax
mov rax, qword [rbx + 0x1048]
mov qword [rbx + 0x168], rax
jne 0x180046695
mov rax, qword [rbp + 0x3f8]
mov r8, qword [rbx + 0x148]
mov rdx, qword [rbx + 0x1048]
test dword [rax + 0x7c], 0x40000
je 0x180046682
cmp r8, 5
lea rcx, str.RTSP_
mov eax, 5
mov edi, esi
cmova r8, rax
setae dil
call fcn.18003e290
test eax, eax
mov ecx, 2
cmovne ecx, edi
jmp 0x18004668c
mov rcx, rbx
call fcn.180047990
mov ecx, eax
cmp ecx, 2
je 0x18004772e
mov r10, qword [rbx + 0x168]
movzx eax, byte [r10]
cmp al, 0xa
je 0x180047330
cmp al, 0xd
je 0x180047334
mov ecx, dword [rbx + 0x13c]
lea eax, [rcx + 1]
mov dword [rbx + 0x13c], eax
test ecx, ecx
jne 0x1800469aa
mov rax, qword [rbp + 0x3f8]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x180046815
lea rax, [rsp + 0xa0]
mov rcx, r10
lea rsi, [rbx + 0x178]
lea rdi, [rbp + 0x218]
mov qword [rsp + 0x28], rsi
mov r9, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea rdx, str._HTTP__1d._1d_c_3d
call fcn.18002f390
cmp eax, 1
jne 0x180046750
cmp dword [rsp + 0x40], 2
jne 0x180047793
mov rcx, qword [rbx + 0x168]
lea rdx, str._HTTP_2__d
mov r8, rsi
call fcn.18002f390
cmp eax, 1
jne 0x180047793
mov dword [rdi], 0
mov byte [rsp + 0xa0], reloc.WLDAP32.dll_Ordinal_32
jmp 0x180046763
cmp eax, 4
jne 0x1800467bc
cmp byte [rsp + 0xa0], 0x20
jne 0x180047793
mov eax, dword [rsp + 0x40]
lea ecx, [rax + rax*4]
mov eax, dword [rdi]
lea edx, [rax + rcx*2]
mov dword [rdi], edx
mov eax, edx
cmp dword [rbx + 0x194], 2
jne 0x180046792
cmp edx, 0x14
je 0x180046792
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rbx
call fcn.1800399f0
mov eax, dword [rdi]
cmp eax, 0x14
jge 0x180046886
mov rax, qword [rbp + 0x878]
lea rdx, str.Mark_bundle_as_not_supporting_multiuse_n
mov rcx, rbx
mov dword [rax], 0xffffffff
call fcn.1800399f0
jmp 0x180046886
test eax, eax
jne 0x180047793
mov rcx, qword [rbx + 0x168]
lea rdx, str._HTTP__3d
mov r8, rsi
call fcn.18002f390
mov dword [rdi], 0xa
test eax, eax
jne 0x180046886
mov r8, qword [rbx + 0x148]
mov rcx, rbx
mov rdx, qword [rbx + 0x168]
call fcn.180047990
cmp eax, 1
jne 0x180047845
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x180046886
bt ecx, 0x12
jae 0x180047845
lea rax, [rsp + 0xb0]
mov rcx, r10
lea rsi, [rbx + 0x178]
mov qword [rsp + 0x28], rsi
lea r9, [rbp + 0x21c]
lea r8, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea rdx, str._RTSP__1d._1d_c_3d
call fcn.18002f390
cmp eax, 4
jne 0x180047845
cmp byte [rsp + 0xb0], 0x20
jne 0x180047845
mov eax, dword [rsp + 0x44]
lea rdi, [rbp + 0x218]
mov dword [rdi], ntohs
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rbp + 0x21c], ecx
mov eax, dword [rsi]
mov dword [rbx + 0x14e8], eax
mov eax, dword [rdi]
mov dword [rbx + 0x14f0], eax
mov eax, dword [rbx + 0x13e0]
test eax, eax
je 0x1800468a4
cmp eax, dword [rdi]
jle 0x1800468ac
mov eax, dword [rdi]
mov dword [rbx + 0x13e0], eax
cmp qword [rbx + 0x13f0], 0
je 0x1800468d0
cmp dword [rbx + 0x9f8], 1
jne 0x1800468d0
cmp dword [rsi], 0x1a0
jne 0x1800468d0
or dword [rbx + 0x658], 8
jmp 0x180046910
test dword [rbx + 0xe68], 0x100000
je 0x180046910
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x180046910
cmp eax, 0x191
jne 0x1800468f5
test byte [rbp + 0x3d4], 0x80
jne 0x180046910
cmp eax, 0x197
jne 0x1800477a9
test dword [rbp + 0x3d4], 0x100
je 0x1800477a9
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x180046935
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbx
call fcn.1800399f0
mov edx, 1
mov rcx, rbp
call fcn.18003a580
jmp 0x180046955
cmp eax, 0x14
je 0x180046948
cmp dword [rbx + 0x194], 1
jne 0x180046955
cmp dword [rsi], 0x65
jne 0x180046955
mov rax, qword [rbp + 0x878]
mov dword [rax], 2
mov edx, dword [rsi]
mov ecx, reloc.WS2_32.dll_recv
mov esi, 0
lea eax, [rdx - 0x64]
cmp eax, 0x63
mov eax, dword [rbx + 0x658]
cmova ecx, esi
and eax, 0xffffffef
or ecx, eax
mov dword [rbx + 0x658], ecx
sub edx, 0xcc
je 0x180046997
cmp edx, 0x64
jne 0x1800469aa
cmp dword [rbx + 0x9e8], esi
je 0x180046997
or dword [rbx + 0x15b8], 1
or ecx, 0x10
mov qword [r14], rsi
mov dword [rbx + 0x658], ecx
mov qword [rbx + 0xf0], rsi
test byte [rbx + 0x658], 0x10
jne 0x180046a6b
test byte [rbx + 0xe6c], 0x10
jne 0x180046a6b
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.18003e290
test eax, eax
je 0x180046a6b
mov rcx, qword [rbx + 0x168]
lea r9, [rsp + 0x48]
xor edx, edx
add rcx, 0xf
lea r8d, [rdx + 0xa]
call fcn.18004aaa0
test eax, eax
jne 0x180046a35
mov rax, qword [rbx + 0xb78]
mov rdx, qword [rsp + 0x48]
test rax, rax
je 0x180046a1e
cmp rdx, rax
jg 0x180047851
mov rcx, rbx
mov qword [r14], rdx
mov qword [rbx + 0xf0], rdx
call fcn.180049490
jmp 0x1800472b9
cmp eax, 1
jne 0x18004786a
cmp qword [rbx + 0xb78], 0
jne 0x180047851
lea edx, [rax + 1]
mov rcx, rbp
call fcn.18003a580
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, rbx
call fcn.1800399f0
jmp 0x1800472b9
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Type:
mov r8d, reloc.WS2_32.dll_listen
call fcn.18003e290
test eax, eax
je 0x180046acc
mov rcx, qword [rbx + 0x168]
call fcn.180045d70
mov rdi, rax
test rax, rax
je 0x180047883
cmp byte [rax], 0
jne 0x180046ab3
mov rcx, rax
call qword [fcn.180071623]
jmp 0x1800472b9
mov rcx, qword [rbx + 0x1520]
call qword [fcn.180071623]
mov qword [rbx + 0x1520], rdi
jmp 0x1800472b9
cmp dword [rbp + 0x218], 0xa
jne 0x180046b99
test byte [rbp + 0x3d4], 0x20
je 0x180046b99
mov rdi, qword [rbx + 0x168]
lea rdx, str.Proxy_Connection:
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003e190
test eax, eax
je 0x180046b99
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x180046b2d
movzx ecx, al
call fcn.180062580
test eax, eax
je 0x180046b2d
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180046b16
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046b62
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046b62
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x180046b99
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.18003e190
test eax, eax
jne 0x180046e35
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x180046b70
cmp dword [rbp + 0x218], 0xb
jne 0x180046c69
test byte [rbp + 0x3d4], 0x20
je 0x180046c69
mov rdi, qword [rbx + 0x168]
lea rdx, str.Proxy_Connection:
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003e190
test eax, eax
je 0x180046c69
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x180046bfa
movzx ecx, al
call fcn.180062580
test eax, eax
je 0x180046bfa
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180046be3
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046c2f
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046c2f
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x180046c69
nop dword [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.18003e190
test eax, eax
jne 0x180046e53
dec rsi
inc rdi
cmp rsi, 5
jae 0x180046c40
cmp dword [rbp + 0x218], 0xa
jne 0x180046d29
mov rdi, qword [rbx + 0x168]
lea rdx, str.Connection:
mov rcx, rdi
mov r8d, ntohs
call fcn.18003e190
test eax, eax
je 0x180046d29
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x180046cbd
movzx ecx, al
call fcn.180062580
test eax, eax
je 0x180046cbd
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180046ca6
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046cf2
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046cf2
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x180046d29
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.18003e190
test eax, eax
jne 0x180046e74
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x180046d00
mov rdi, qword [rbx + 0x168]
lea rdx, str.Connection:
mov rcx, rdi
mov r8d, ntohs
call fcn.18003e190
test eax, eax
je 0x180046de9
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x180046d77
nop dword [rax]
movzx ecx, al
call fcn.180062580
test eax, eax
je 0x180046d77
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180046d60
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046dac
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180046dac
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x180046de9
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.18003e190
test eax, eax
jne 0x180046e92
dec rsi
inc rdi
cmp rsi, 5
jae 0x180046dc0
test byte [rbx + 0x658], 0x10
jne 0x180046fa6
mov rdx, qword [rbx + 0x168]
lea rcx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
call fcn.18003e290
test eax, eax
je 0x180046ea4
mov rdx, qword [rbx + 0x168]
mov r8d, 1
add rdx, 0x12
mov rcx, rbp
call fcn.18003e640
jmp 0x1800472af
xor edx, edx
mov rcx, rbp
call fcn.18003a580
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.1800399f0
jmp 0x1800472b7
mov edx, 1
mov rcx, rbp
call fcn.18003a580
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbx
call fcn.1800399f0
jmp 0x1800472b7
xor edx, edx
mov rcx, rbp
call fcn.18003a580
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.1800399f0
jmp 0x1800472b7
mov edx, 2
mov rcx, rbp
call fcn.18003a580
jmp 0x1800472b7
test byte [rbx + 0x658], 0x10
jne 0x180046fa6
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Encoding:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003e290
test eax, eax
je 0x180046ef3
cmp qword [rbx + 0xc00], 0
je 0x180046ef3
mov rdx, qword [rbx + 0x168]
xor r8d, r8d
add rdx, 0x11
mov rcx, rbp
call fcn.18003e640
jmp 0x1800472af
test byte [rbx + 0x658], 0x10
jne 0x180046fa6
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Range:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.18003e290
test eax, eax
je 0x180046fa6
mov rdi, qword [rbx + 0x168]
add rdi, 0xe
movzx eax, byte [rdi]
test al, al
je 0x180046f4f
movzx ecx, al
call fcn.180062500
test eax, eax
jne 0x180046f4f
cmp byte [rdi], 0x2a
je 0x180046f4f
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180046f33
movzx ecx, byte [rdi]
call fcn.180062500
test eax, eax
je 0x180046f98
xor edx, edx
lea r9, [rbx + 0x170]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.18004aaa0
test eax, eax
jne 0x1800472b7
mov rax, qword [rbx + 0x170]
cmp qword [rbx + 0x13f0], rax
jne 0x1800472b7
or dword [rbx + 0x658], 2
jmp 0x1800472b7
xor esi, esi
mov qword [rbx + 0x13f0], rsi
jmp 0x1800472b9
cmp qword [rbx + 0xe98], 0
je 0x18004704f
mov rdx, qword [rbx + 0x168]
lea rcx, str.Set_Cookie:
mov r8d, ntohs
call fcn.18003e290
test eax, eax
je 0x18004704f
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.18003e8a0
mov r8, qword [rbp + 0x470]
test r8, r8
jne 0x180046ff4
mov r8, qword [rbp + 0xd0]
mov rax, qword [rbp + 0x3f8]
xor r9d, r9d
mov rdx, qword [rbx + 0x168]
add rdx, 0xb
mov ecx, dword [rax + 0x7c]
mov rax, qword [rbx + 0x1470]
shr ecx, 1
and cl, 1
mov byte [rsp + 0x38], cl
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov r8b, 1
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbx + 0xe98]
call fcn.18002d290
mov edx, 2
mov rcx, rbx
call fcn.18003e8e0
jmp 0x1800472b7
test byte [rbx + 0x658], 0x10
jne 0x1800470d1
mov rdx, qword [rbx + 0x168]
lea rcx, str.Last_Modified:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.18003e290
test eax, eax
je 0x1800470d1
cmp dword [rbx + 0x9e8], 0
jne 0x18004708a
test dword [rbx + 0xe68], 0x200
je 0x1800470d1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, qword [rbx + 0x168]
lea rdx, [rsp + 0x50]
add rcx, 0xe
mov qword [rsp + 0x50], rax
call fcn.18004a3a0
xor esi, esi
mov qword [rbx + 0x1a0], rax
test dword [rbx + 0xe68], 0x200
je 0x1800472b9
mov qword [rbx + 0x14f8], rax
jmp 0x1800472b9
mov rdx, qword [rbx + 0x168]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003e290
test eax, eax
je 0x1800470fc
mov edi, dword [rbx + 0x178]
cmp edi, 0x191
je 0x180047127
mov rdx, qword [rbx + 0x168]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.18003e290
test eax, eax
je 0x18004716d
mov edi, dword [rbx + 0x178]
cmp edi, 0x197
jne 0x18004716d
mov rcx, qword [rbx + 0x168]
call fcn.180045d70
mov rsi, rax
test rax, rax
je 0x180047883
cmp edi, 0x197
mov r8, rax
mov rcx, rbp
sete dl
call fcn.180046190
mov rcx, rsi
mov edi, eax
call qword [fcn.180071623]
test edi, edi
je 0x1800472b7
mov eax, edi
jmp 0x180047760
mov rdx, qword [rbx + 0x168]
lea rcx, str.Persistent_Auth
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.18003e290
test eax, eax
je 0x1800471fa
cmp dword [rbx + 0x113c], 4
jne 0x1800472b7
mov rcx, qword [rbx + 0x168]
call fcn.180045d70
mov rdi, rax
test rax, rax
je 0x180047883
mov r8d, 5
lea rcx, [0x18007a288]
mov rdx, rax
call fcn.18003e290
test eax, eax
mov byte [rbp + 0x699], 1
mov r9, rdi
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [rbp + 0x698], cl
movzx r8d, cl
mov rcx, rbx
call fcn.1800399f0
mov rcx, rdi
call qword [fcn.180071623]
jmp 0x1800472b7
mov eax, dword [rbx + 0x178]
sub eax, 0x12c
cmp eax, 0x63
ja 0x180047290
mov rdx, qword [rbx + 0x168]
lea rcx, str.Location:
mov r8d, 9
call fcn.18003e290
test eax, eax
je 0x180047290
cmp qword [rbx + 0x1c0], 0
jne 0x180047290
mov rcx, qword [rbx + 0x168]
call fcn.180045d70
test rax, rax
je 0x180047883
cmp byte [rax], 0
jne 0x18004725a
mov rcx, rax
call qword [fcn.180071623]
jmp 0x1800472b7
test dword [rbx + 0xe68], 0x400000
mov qword [rbx + 0x1c0], rax
je 0x1800472b7
mov rcx, rax
call qword [case.0x18002f369.0]
mov qword [rbx + 0x1c8], rax
test rax, rax
je 0x180047883
mov rcx, rbp
call fcn.180047d70
jmp 0x1800472af
mov rax, qword [rbp + 0x3f8]
test dword [rax + 0x7c], 0x40000
je 0x1800472b7
mov rdx, qword [rbx + 0x168]
mov rcx, rbp
call fcn.180050640
test eax, eax
jne 0x180047760
xor esi, esi
mov eax, dword [rbx + 0xe68]
mov edi, eax
and edi, 0x2000000
bts edi, 0x1a
shr edi, 0x19
bt eax, 0x1e
jae 0x1800472ef
mov r9, qword [rbx + 0x148]
mov edx, 1
mov r8, qword [rbx + 0x168]
mov rcx, rbx
call fcn.1800397b0
mov r9, qword [rbx + 0x148]
mov edx, edi
mov r8, qword [rbx + 0x168]
mov rcx, rbp
call fcn.180039790
test eax, eax
jne 0x180047760
movsxd rax, dword [rbx + 0x148]
add qword [rbx + 0x1500], rax
movsxd rax, dword [rbx + 0x148]
add qword [rbx + 0x108], rax
jmp 0x180047669
cmp al, 0xd
jne 0x180047342
inc r10
mov qword [rbx + 0x168], r10
movzx eax, byte [r10]
cmp al, 0xa
jne 0x180047351
lea rax, [r10 + 1]
mov qword [rbx + 0x168], rax
mov ecx, dword [rbx + 0x178]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1800473c3
sub ecx, 0x64
je 0x180047394
cmp ecx, 1
je 0x18004737b
or dword [rbx + 0x658], 1
mov dword [rbx + 0x13c], esi
jmp 0x180047423
cmp dword [rbx + 0x194], 1
je 0x18004788d
and dword [rbx + 0x658], 0xfffffffe
jmp 0x180047423
or dword [rbx + 0x658], 1
cmp dword [rbx + 0x190], 0
mov dword [rbx + 0x13c], esi
jle 0x180047423
or dword [rbx + 0x1b8], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x190], esi
call fcn.18002a8a0
jmp 0x180047423
mov eax, dword [rbx + 0x658]
and eax, 0xfffffffe
cmp qword [r14], 0xffffffffffffffff
mov dword [rbx + 0x658], eax
jne 0x180047423
test al, 0x20
jne 0x180047423
test byte [rbp + 0x3d4], 1
jne 0x180047423
cmp dword [rbp + 0x218], 0xb
jne 0x180047423
mov rax, qword [rbp + 0x3f8]
test dword [rax + 0x7c], 0x40000
jne 0x180047423
cmp dword [rbx + 0x9f8], 6
je 0x180047423
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbx
call fcn.1800399f0
mov edx, 2
mov rcx, rbp
call fcn.18003a580
mov ecx, dword [rbp + 0x3d4]
mov eax, ecx
test cl, 1
je 0x180047474
mov edx, dword [rbx + 0x178]
cmp edx, 0x191
jne 0x180047447
cmp dword [rbp + 0x520], 2
je 0x180047458
cmp edx, 0x197
jne 0x180047474
cmp dword [rbp + 0x524], 2
jne 0x180047474
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbx
call fcn.1800399f0
or dword [rbx + 0x1494], 0x20
mov eax, dword [rbp + 0x3d4]
test al, 1
je 0x1800474b6
mov eax, dword [rbx + 0x178]
cmp eax, 0x191
jne 0x180047490
cmp dword [rbp + 0x618], 1
je 0x1800474a0
jmp 0x1800474b6
cmp eax, 0x197
jne 0x1800474b6
cmp dword [rbp + 0x61c], 1
jne 0x1800474b6
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbx
call fcn.1800399f0
or dword [rbx + 0x1494], 0x20
cmp dword [rbp + 0x618], 3
jne 0x1800474d5
cmp dword [rbx + 0x178], 0x191
je 0x1800474d5
mov dword [rbp + 0x618], 4
cmp dword [rbp + 0x61c], 3
jne 0x1800474f4
cmp dword [rbx + 0x178], 0x197
je 0x1800474f4
mov dword [rbp + 0x61c], 4
mov rcx, rbp
call fcn.180047f70
test eax, eax
jne 0x180047970
mov edx, dword [rbx + 0xe68]
mov r8, qword [rbx + 0x1048]
and edx, 0x2000000
mov rdi, qword [rbx + 0x168]
bts edx, 0x1a
sub rdi, r8
shr edx, 0x19
mov r9, rdi
call fcn.180039790
test eax, eax
jne 0x180047760
movsxd rax, edi
add qword [rbx + 0x108], rax
add qword [rbx + 0x1500], rax
mov eax, dword [rbx + 0x178]
mov rcx, qword [rbx + 0x108]
sub eax, 0x64
cmp eax, 0x63
cmova rcx, rsi
mov qword [rbx + 0x110], rcx
mov rcx, rbp
call fcn.180045e80
test eax, eax
jne 0x180047760
cmp dword [rbx + 0x178], 0x12c
jl 0x18004765a
test dword [rbp + 0x3d4], 0x18001
jne 0x180047638
mov eax, dword [rbx + 0x9f8]
add eax, 0xfffffffe
cmp eax, 3
ja 0x180047638
xor edx, edx
mov rcx, rbx
call fcn.18002a8a0
test byte [rbx + 0x658], 4
jne 0x180047638
test dword [rbx + 0xe68], 0x200000
mov rcx, rbx
je 0x1800475ef
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.1800399f0
cmp dword [rbx + 0x190], 0
jle 0x180047638
or dword [rbx + 0x1b8], 2
mov dword [rbx + 0x190], esi
jmp 0x180047638
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.1800399f0
mov edx, 2
mov rcx, rbp
call fcn.18003a580
mov rdx, r14
mov rcx, rbp
call fcn.18003f830
test eax, eax
jne 0x180047760
or dword [rbx + 0x658], 4
test dword [rbx + 0x1494], 0x100
je 0x180047638
mov dword [rbx + 0x190], 3
test dword [rbp + 0x3d4], 0x10000
je 0x18004765a
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbx
call fcn.1800399f0
or dword [rbx + 0x1b8], 2
mov ecx, dword [rbx + 0x658]
test cl, 1
je 0x1800478bd
mov rax, qword [rbx + 0x1048]
mov qword [rbx + 0x140], rax
mov qword [rbx + 0x148], rsi
mov rdi, qword [rbx + 0x150]
cmp byte [rdi], 0
je 0x18004775e
mov qword [rbx + 0x158], rdi
mov edx, 0xa
mov r8, qword [r15]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov qword [rbx + 0x160], rax
test rax, rax
jne 0x1800465e0
mov r8, qword [r15]
mov rdx, r14
mov rcx, rbx
call fcn.180047c70
test eax, eax
jne 0x180047760
cmp dword [rbx + 0x13c], eax
jne 0x18004775e
mov r9, qword [rbx + 0x148]
mov rdx, rbp
mov r8, qword [rbx + 0x1048]
mov rcx, rbx
call fcn.180047a70
cmp eax, 2
jne 0x18004775e
and dword [rbx + 0x658], 0xfffffffe
mov edx, eax
mov rcx, rbp
mov dword [rbx + 0x138], eax
call fcn.18003a580
test dword [rbx + 0xe6c], 0x4000000
jne 0x18004775e
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, rbx
call fcn.180039870
mov eax, 1
jmp 0x180047760
mov edx, 2
mov rcx, rbp
call fcn.18003a580
test dword [rbx + 0xe6c], 0x4000000
je 0x180047718
and dword [rbx + 0x658], 0xfffffffe
cmp qword [r15], 0
je 0x180047778
mov dword [rbx + 0x138], 1
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x58]
mov dword [rbx + 0x138], 2
mov qword [r15], rax
mov qword [rbx + 0x150], r12
jmp 0x18004775e
lea rdx, str.Unsupported_HTTP_version_in_response_n
mov rcx, rbx
call fcn.180039870
mov eax, 1
jmp 0x180047760
mov rdi, qword [rbx + 0x168]
lea rdx, str.HTTP
mov rcx, rdi
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x180047970
lea edx, [rax + 0x20]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x180047970
inc rdi
cmp byte [rdi], 0
je 0x180047970
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
mov bpl, reloc.WS2_32.dll_listen
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047823
lea edx, [rax + 0xa]
mov rcx, rdi
mov bpl, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x180047970
mov r8, rdi
mov byte [rsi], 0
lea rdx, str.The_requested_URL_returned_error:__s
mov rcx, rbx
call fcn.180039870
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rsi], bpl
jmp 0x180047760
and dword [rbx + 0x658], 0xfffffffe
jmp 0x18004775e
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.180039870
mov eax, 0x3f
jmp 0x180047760
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.180039870
mov eax, 8
jmp 0x180047760
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x180047760
lea rdx, str.Received_101_n
mov rcx, rbx
call fcn.1800399f0
or dword [rbx + 0x658], 1
mov eax, 1
mov dword [rbx + 0x194], 2
mov dword [rbx + 0x13c], esi
jmp 0x180047760
test dword [rbx + 0xe68], 0x10000000
jne 0x180047901
mov rax, qword [rbp + 0x3f8]
test dword [rax + 0x7c], 0x40000
je 0x1800478e8
cmp dword [rbx + 0xdc8], 2
jne 0x1800478e8
cmp qword [r14], 0xffffffffffffffff
jle 0x180047901
test cl, 0x20
je 0x180047906
mov qword [r14], 0xffffffffffffffff
mov qword [rbx + 0xf0], 0xffffffffffffffff
jmp 0x180047906
mov byte [r13], 1
mov rdx, qword [r14]
cmp rdx, 0xffffffffffffffff
je 0x180047923
mov rcx, rbx
call fcn.180049490
mov rax, qword [r14]
mov qword [rbx + 0xf0], rax
jmp 0x18004792a
mov rax, qword [rbx + 0xf0]
test rax, rax
jne 0x180047936
mov byte [r13], 1
jmp 0x18004793d
cmp byte [r13], 0
je 0x180047944
and dword [rbx + 0x1b8], 0xfffffffe
test dword [rbx + 0xe68], 0x40000000
je 0x18004775e
mov r8, qword [rbx + 0x158]
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.1800397b0
jmp 0x18004775e
mov r8d, dword [rbx + 0x178]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbx
call fcn.180039870
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x180047760