Function at 0x180047540
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 0x180048685
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.180048c40
test eax, eax
jne 0x180048730
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 0x180047665
mov rax, qword [rbp + 0x3f8]
mov r8, qword [rbx + 0x148]
mov rdx, qword [rbx + 0x1048]
test dword [rax + 0x7c], 0x40000
je 0x180047652
cmp r8, 5
lea rcx, str.RTSP_
mov eax, 5
mov edi, esi
cmova r8, rax
setae dil
call fcn.18003f260
test eax, eax
mov ecx, 2
cmovne ecx, edi
jmp 0x18004765c
mov rcx, rbx
call fcn.180048960
mov ecx, eax
cmp ecx, 2
je 0x1800486fe
mov r10, qword [rbx + 0x168]
movzx eax, byte [r10]
cmp al, 0xa
je 0x180048300
cmp al, 0xd
je 0x180048304
mov ecx, dword [rbx + 0x13c]
lea eax, [rcx + 1]
mov dword [rbx + 0x13c], eax
test ecx, ecx
jne 0x18004797a
mov rax, qword [rbp + 0x3f8]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x1800477e5
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.180030360
cmp eax, 1
jne 0x180047720
cmp dword [rsp + 0x40], 2
jne 0x180048763
mov rcx, qword [rbx + 0x168]
lea rdx, str._HTTP_2__d
mov r8, rsi
call fcn.180030360
cmp eax, 1
jne 0x180048763
mov dword [rdi], 0
mov byte [rsp + 0xa0], reloc.WLDAP32.dll_Ordinal_32
jmp 0x180047733
cmp eax, 4
jne 0x18004778c
cmp byte [rsp + 0xa0], 0x20
jne 0x180048763
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 0x180047762
cmp edx, 0x14
je 0x180047762
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rbx
call fcn.18003a9c0
mov eax, dword [rdi]
cmp eax, 0x14
jge 0x180047856
mov rax, qword [rbp + 0x878]
lea rdx, str.Mark_bundle_as_not_supporting_multiuse_n
mov rcx, rbx
mov dword [rax], 0xffffffff
call fcn.18003a9c0
jmp 0x180047856
test eax, eax
jne 0x180048763
mov rcx, qword [rbx + 0x168]
lea rdx, str._HTTP__3d
mov r8, rsi
call fcn.180030360
mov dword [rdi], 0xa
test eax, eax
jne 0x180047856
mov r8, qword [rbx + 0x148]
mov rcx, rbx
mov rdx, qword [rbx + 0x168]
call fcn.180048960
cmp eax, 1
jne 0x180048815
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x180047856
bt ecx, 0x12
jae 0x180048815
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.180030360
cmp eax, 4
jne 0x180048815
cmp byte [rsp + 0xb0], 0x20
jne 0x180048815
mov eax, dword [rsp + 0x44]
lea rdi, [rbp + 0x218]
mov dword [rdi], listen
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 0x180047874
cmp eax, dword [rdi]
jle 0x18004787c
mov eax, dword [rdi]
mov dword [rbx + 0x13e0], eax
cmp qword [rbx + 0x13f0], 0
je 0x1800478a0
cmp dword [rbx + 0x9f8], 1
jne 0x1800478a0
cmp dword [rsi], 0x1a0
jne 0x1800478a0
or dword [rbx + 0x658], 8
jmp 0x1800478e0
test dword [rbx + 0xe68], 0x100000
je 0x1800478e0
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x1800478e0
cmp eax, 0x191
jne 0x1800478c5
test byte [rbp + 0x3d4], 0x80
jne 0x1800478e0
cmp eax, 0x197
jne 0x180048779
test dword [rbp + 0x3d4], 0x100
je 0x180048779
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x180047905
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbx
call fcn.18003a9c0
mov edx, 1
mov rcx, rbp
call fcn.18003b550
jmp 0x180047925
cmp eax, 0x14
je 0x180047918
cmp dword [rbx + 0x194], 1
jne 0x180047925
cmp dword [rsi], 0x65
jne 0x180047925
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 0x180047967
cmp edx, 0x64
jne 0x18004797a
cmp dword [rbx + 0x9e8], esi
je 0x180047967
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 0x180047a3b
test byte [rbx + 0xe6c], 0x10
jne 0x180047a3b
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.18003f260
test eax, eax
je 0x180047a3b
mov rcx, qword [rbx + 0x168]
lea r9, [rsp + 0x48]
xor edx, edx
add rcx, 0xf
lea r8d, [rdx + 0xa]
call fcn.18004ba70
test eax, eax
jne 0x180047a05
mov rax, qword [rbx + 0xb78]
mov rdx, qword [rsp + 0x48]
test rax, rax
je 0x1800479ee
cmp rdx, rax
jg 0x180048821
mov rcx, rbx
mov qword [r14], rdx
mov qword [rbx + 0xf0], rdx
call fcn.18004a460
jmp 0x180048289
cmp eax, 1
jne 0x18004883a
cmp qword [rbx + 0xb78], 0
jne 0x180048821
lea edx, [rax + 1]
mov rcx, rbp
call fcn.18003b550
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, rbx
call fcn.18003a9c0
jmp 0x180048289
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Type:
mov r8d, reloc.WS2_32.dll_listen
call fcn.18003f260
test eax, eax
je 0x180047a9c
mov rcx, qword [rbx + 0x168]
call fcn.180046d40
mov rdi, rax
test rax, rax
je 0x180048853
cmp byte [rax], 0
jne 0x180047a83
mov rcx, rax
call qword [fcn.1800725f3]
jmp 0x180048289
mov rcx, qword [rbx + 0x1520]
call qword [fcn.1800725f3]
mov qword [rbx + 0x1520], rdi
jmp 0x180048289
cmp dword [rbp + 0x218], 0xa
jne 0x180047b69
test byte [rbp + 0x3d4], 0x20
je 0x180047b69
mov rdi, qword [rbx + 0x168]
lea rdx, str.Proxy_Connection:
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003f160
test eax, eax
je 0x180047b69
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x180047afd
movzx ecx, al
call fcn.180063550
test eax, eax
je 0x180047afd
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180047ae6
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047b32
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047b32
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x180047b69
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.18003f160
test eax, eax
jne 0x180047e05
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x180047b40
cmp dword [rbp + 0x218], 0xb
jne 0x180047c39
test byte [rbp + 0x3d4], 0x20
je 0x180047c39
mov rdi, qword [rbx + 0x168]
lea rdx, str.Proxy_Connection:
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003f160
test eax, eax
je 0x180047c39
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x180047bca
movzx ecx, al
call fcn.180063550
test eax, eax
je 0x180047bca
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180047bb3
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047bff
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047bff
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x180047c39
nop dword [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.18003f160
test eax, eax
jne 0x180047e23
dec rsi
inc rdi
cmp rsi, 5
jae 0x180047c10
cmp dword [rbp + 0x218], 0xa
jne 0x180047cf9
mov rdi, qword [rbx + 0x168]
lea rdx, str.Connection:
mov rcx, rdi
mov r8d, listen
call fcn.18003f160
test eax, eax
je 0x180047cf9
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x180047c8d
movzx ecx, al
call fcn.180063550
test eax, eax
je 0x180047c8d
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180047c76
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047cc2
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047cc2
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x180047cf9
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.18003f160
test eax, eax
jne 0x180047e44
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x180047cd0
mov rdi, qword [rbx + 0x168]
lea rdx, str.Connection:
mov rcx, rdi
mov r8d, listen
call fcn.18003f160
test eax, eax
je 0x180047db9
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x180047d47
nop dword [rax]
movzx ecx, al
call fcn.180063550
test eax, eax
je 0x180047d47
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180047d30
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047d7c
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x180047d7c
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x180047db9
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.18003f160
test eax, eax
jne 0x180047e62
dec rsi
inc rdi
cmp rsi, 5
jae 0x180047d90
test byte [rbx + 0x658], 0x10
jne 0x180047f76
mov rdx, qword [rbx + 0x168]
lea rcx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
call fcn.18003f260
test eax, eax
je 0x180047e74
mov rdx, qword [rbx + 0x168]
mov r8d, 1
add rdx, 0x12
mov rcx, rbp
call fcn.18003f610
jmp 0x18004827f
xor edx, edx
mov rcx, rbp
call fcn.18003b550
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.18003a9c0
jmp 0x180048287
mov edx, 1
mov rcx, rbp
call fcn.18003b550
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbx
call fcn.18003a9c0
jmp 0x180048287
xor edx, edx
mov rcx, rbp
call fcn.18003b550
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.18003a9c0
jmp 0x180048287
mov edx, 2
mov rcx, rbp
call fcn.18003b550
jmp 0x180048287
test byte [rbx + 0x658], 0x10
jne 0x180047f76
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Encoding:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003f260
test eax, eax
je 0x180047ec3
cmp qword [rbx + 0xc00], 0
je 0x180047ec3
mov rdx, qword [rbx + 0x168]
xor r8d, r8d
add rdx, 0x11
mov rcx, rbp
call fcn.18003f610
jmp 0x18004827f
test byte [rbx + 0x658], 0x10
jne 0x180047f76
mov rdx, qword [rbx + 0x168]
lea rcx, str.Content_Range:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.18003f260
test eax, eax
je 0x180047f76
mov rdi, qword [rbx + 0x168]
add rdi, 0xe
movzx eax, byte [rdi]
test al, al
je 0x180047f1f
movzx ecx, al
call fcn.1800634d0
test eax, eax
jne 0x180047f1f
cmp byte [rdi], 0x2a
je 0x180047f1f
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x180047f03
movzx ecx, byte [rdi]
call fcn.1800634d0
test eax, eax
je 0x180047f68
xor edx, edx
lea r9, [rbx + 0x170]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.18004ba70
test eax, eax
jne 0x180048287
mov rax, qword [rbx + 0x170]
cmp qword [rbx + 0x13f0], rax
jne 0x180048287
or dword [rbx + 0x658], 2
jmp 0x180048287
xor esi, esi
mov qword [rbx + 0x13f0], rsi
jmp 0x180048289
cmp qword [rbx + 0xe98], 0
je 0x18004801f
mov rdx, qword [rbx + 0x168]
lea rcx, str.Set_Cookie:
mov r8d, listen
call fcn.18003f260
test eax, eax
je 0x18004801f
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.18003f870
mov r8, qword [rbp + 0x470]
test r8, r8
jne 0x180047fc4
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.18002e260
mov edx, 2
mov rcx, rbx
call fcn.18003f8b0
jmp 0x180048287
test byte [rbx + 0x658], 0x10
jne 0x1800480a1
mov rdx, qword [rbx + 0x168]
lea rcx, str.Last_Modified:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.18003f260
test eax, eax
je 0x1800480a1
cmp dword [rbx + 0x9e8], 0
jne 0x18004805a
test dword [rbx + 0xe68], 0x200
je 0x1800480a1
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.18004b370
xor esi, esi
mov qword [rbx + 0x1a0], rax
test dword [rbx + 0xe68], 0x200
je 0x180048289
mov qword [rbx + 0x14f8], rax
jmp 0x180048289
mov rdx, qword [rbx + 0x168]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.18003f260
test eax, eax
je 0x1800480cc
mov edi, dword [rbx + 0x178]
cmp edi, 0x191
je 0x1800480f7
mov rdx, qword [rbx + 0x168]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.18003f260
test eax, eax
je 0x18004813d
mov edi, dword [rbx + 0x178]
cmp edi, 0x197
jne 0x18004813d
mov rcx, qword [rbx + 0x168]
call fcn.180046d40
mov rsi, rax
test rax, rax
je 0x180048853
cmp edi, 0x197
mov r8, rax
mov rcx, rbp
sete dl
call fcn.180047160
mov rcx, rsi
mov edi, eax
call qword [fcn.1800725f3]
test edi, edi
je 0x180048287
mov eax, edi
jmp 0x180048730
mov rdx, qword [rbx + 0x168]
lea rcx, str.Persistent_Auth
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.18003f260
test eax, eax
je 0x1800481ca
cmp dword [rbx + 0x113c], 4
jne 0x180048287
mov rcx, qword [rbx + 0x168]
call fcn.180046d40
mov rdi, rax
test rax, rax
je 0x180048853
mov r8d, 5
lea rcx, [0x18007b2b8]
mov rdx, rax
call fcn.18003f260
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.18003a9c0
mov rcx, rdi
call qword [fcn.1800725f3]
jmp 0x180048287
mov eax, dword [rbx + 0x178]
sub eax, 0x12c
cmp eax, 0x63
ja 0x180048260
mov rdx, qword [rbx + 0x168]
lea rcx, str.Location:
mov r8d, 9
call fcn.18003f260
test eax, eax
je 0x180048260
cmp qword [rbx + 0x1c0], 0
jne 0x180048260
mov rcx, qword [rbx + 0x168]
call fcn.180046d40
test rax, rax
je 0x180048853
cmp byte [rax], 0
jne 0x18004822a
mov rcx, rax
call qword [fcn.1800725f3]
jmp 0x180048287
test dword [rbx + 0xe68], 0x400000
mov qword [rbx + 0x1c0], rax
je 0x180048287
mov rcx, rax
call qword [case.0x180030339.0]
mov qword [rbx + 0x1c8], rax
test rax, rax
je 0x180048853
mov rcx, rbp
call fcn.180048d40
jmp 0x18004827f
mov rax, qword [rbp + 0x3f8]
test dword [rax + 0x7c], 0x40000
je 0x180048287
mov rdx, qword [rbx + 0x168]
mov rcx, rbp
call fcn.180051610
test eax, eax
jne 0x180048730
xor esi, esi
mov eax, dword [rbx + 0xe68]
mov edi, eax
and edi, 0x2000000
bts edi, 0x1a
shr edi, 0x19
bt eax, 0x1e
jae 0x1800482bf
mov r9, qword [rbx + 0x148]
mov edx, 1
mov r8, qword [rbx + 0x168]
mov rcx, rbx
call fcn.18003a780
mov r9, qword [rbx + 0x148]
mov edx, edi
mov r8, qword [rbx + 0x168]
mov rcx, rbp
call fcn.18003a760
test eax, eax
jne 0x180048730
movsxd rax, dword [rbx + 0x148]
add qword [rbx + 0x1500], rax
movsxd rax, dword [rbx + 0x148]
add qword [rbx + 0x108], rax
jmp 0x180048639
cmp al, 0xd
jne 0x180048312
inc r10
mov qword [rbx + 0x168], r10
movzx eax, byte [r10]
cmp al, 0xa
jne 0x180048321
lea rax, [r10 + 1]
mov qword [rbx + 0x168], rax
mov ecx, dword [rbx + 0x178]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x180048393
sub ecx, 0x64
je 0x180048364
cmp ecx, 1
je 0x18004834b
or dword [rbx + 0x658], 1
mov dword [rbx + 0x13c], esi
jmp 0x1800483f3
cmp dword [rbx + 0x194], 1
je 0x18004885d
and dword [rbx + 0x658], 0xfffffffe
jmp 0x1800483f3
or dword [rbx + 0x658], 1
cmp dword [rbx + 0x190], 0
mov dword [rbx + 0x13c], esi
jle 0x1800483f3
or dword [rbx + 0x1b8], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x190], esi
call fcn.18002b870
jmp 0x1800483f3
mov eax, dword [rbx + 0x658]
and eax, 0xfffffffe
cmp qword [r14], 0xffffffffffffffff
mov dword [rbx + 0x658], eax
jne 0x1800483f3
test al, 0x20
jne 0x1800483f3
test byte [rbp + 0x3d4], 1
jne 0x1800483f3
cmp dword [rbp + 0x218], 0xb
jne 0x1800483f3
mov rax, qword [rbp + 0x3f8]
test dword [rax + 0x7c], 0x40000
jne 0x1800483f3
cmp dword [rbx + 0x9f8], 6
je 0x1800483f3
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbx
call fcn.18003a9c0
mov edx, 2
mov rcx, rbp
call fcn.18003b550
mov ecx, dword [rbp + 0x3d4]
mov eax, ecx
test cl, 1
je 0x180048444
mov edx, dword [rbx + 0x178]
cmp edx, 0x191
jne 0x180048417
cmp dword [rbp + 0x520], 2
je 0x180048428
cmp edx, 0x197
jne 0x180048444
cmp dword [rbp + 0x524], 2
jne 0x180048444
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbx
call fcn.18003a9c0
or dword [rbx + 0x1494], 0x20
mov eax, dword [rbp + 0x3d4]
test al, 1
je 0x180048486
mov eax, dword [rbx + 0x178]
cmp eax, 0x191
jne 0x180048460
cmp dword [rbp + 0x618], 1
je 0x180048470
jmp 0x180048486
cmp eax, 0x197
jne 0x180048486
cmp dword [rbp + 0x61c], 1
jne 0x180048486
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbx
call fcn.18003a9c0
or dword [rbx + 0x1494], 0x20
cmp dword [rbp + 0x618], 3
jne 0x1800484a5
cmp dword [rbx + 0x178], 0x191
je 0x1800484a5
mov dword [rbp + 0x618], 4
cmp dword [rbp + 0x61c], 3
jne 0x1800484c4
cmp dword [rbx + 0x178], 0x197
je 0x1800484c4
mov dword [rbp + 0x61c], 4
mov rcx, rbp
call fcn.180048f40
test eax, eax
jne 0x180048940
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.18003a760
test eax, eax
jne 0x180048730
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.180046e50
test eax, eax
jne 0x180048730
cmp dword [rbx + 0x178], 0x12c
jl 0x18004862a
test dword [rbp + 0x3d4], 0x18001
jne 0x180048608
mov eax, dword [rbx + 0x9f8]
add eax, 0xfffffffe
cmp eax, 3
ja 0x180048608
xor edx, edx
mov rcx, rbx
call fcn.18002b870
test byte [rbx + 0x658], 4
jne 0x180048608
test dword [rbx + 0xe68], 0x200000
mov rcx, rbx
je 0x1800485bf
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.18003a9c0
cmp dword [rbx + 0x190], 0
jle 0x180048608
or dword [rbx + 0x1b8], 2
mov dword [rbx + 0x190], esi
jmp 0x180048608
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.18003a9c0
mov edx, 2
mov rcx, rbp
call fcn.18003b550
mov rdx, r14
mov rcx, rbp
call fcn.180040800
test eax, eax
jne 0x180048730
or dword [rbx + 0x658], 4
test dword [rbx + 0x1494], 0x100
je 0x180048608
mov dword [rbx + 0x190], 3
test dword [rbp + 0x3d4], 0x10000
je 0x18004862a
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbx
call fcn.18003a9c0
or dword [rbx + 0x1b8], 2
mov ecx, dword [rbx + 0x658]
test cl, 1
je 0x18004888d
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 0x18004872e
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 0x1800475b0
mov r8, qword [r15]
mov rdx, r14
mov rcx, rbx
call fcn.180048c40
test eax, eax
jne 0x180048730
cmp dword [rbx + 0x13c], eax
jne 0x18004872e
mov r9, qword [rbx + 0x148]
mov rdx, rbp
mov r8, qword [rbx + 0x1048]
mov rcx, rbx
call fcn.180048a40
cmp eax, 2
jne 0x18004872e
and dword [rbx + 0x658], 0xfffffffe
mov edx, eax
mov rcx, rbp
mov dword [rbx + 0x138], eax
call fcn.18003b550
test dword [rbx + 0xe6c], 0x4000000
jne 0x18004872e
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, rbx
call fcn.18003a840
mov eax, 1
jmp 0x180048730
mov edx, 2
mov rcx, rbp
call fcn.18003b550
test dword [rbx + 0xe6c], 0x4000000
je 0x1800486e8
and dword [rbx + 0x658], 0xfffffffe
cmp qword [r15], 0
je 0x180048748
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 0x18004872e
lea rdx, str.Unsupported_HTTP_version_in_response_n
mov rcx, rbx
call fcn.18003a840
mov eax, 1
jmp 0x180048730
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 0x180048940
lea edx, [rax + 0x20]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x180048940
inc rdi
cmp byte [rdi], 0
je 0x180048940
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 0x1800487f3
lea edx, [rax + 0xa]
mov rcx, rdi
mov bpl, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x180048940
mov r8, rdi
mov byte [rsi], 0
lea rdx, str.The_requested_URL_returned_error:__s
mov rcx, rbx
call fcn.18003a840
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rsi], bpl
jmp 0x180048730
and dword [rbx + 0x658], 0xfffffffe
jmp 0x18004872e
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.18003a840
mov eax, 0x3f
jmp 0x180048730
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.18003a840
mov eax, 8
jmp 0x180048730
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x180048730
lea rdx, str.Received_101_n
mov rcx, rbx
call fcn.18003a9c0
or dword [rbx + 0x658], 1
mov eax, 1
mov dword [rbx + 0x194], 2
mov dword [rbx + 0x13c], esi
jmp 0x180048730
test dword [rbx + 0xe68], 0x10000000
jne 0x1800488d1
mov rax, qword [rbp + 0x3f8]
test dword [rax + 0x7c], 0x40000
je 0x1800488b8
cmp dword [rbx + 0xdc8], 2
jne 0x1800488b8
cmp qword [r14], 0xffffffffffffffff
jle 0x1800488d1
test cl, 0x20
je 0x1800488d6
mov qword [r14], 0xffffffffffffffff
mov qword [rbx + 0xf0], 0xffffffffffffffff
jmp 0x1800488d6
mov byte [r13], 1
mov rdx, qword [r14]
cmp rdx, 0xffffffffffffffff
je 0x1800488f3
mov rcx, rbx
call fcn.18004a460
mov rax, qword [r14]
mov qword [rbx + 0xf0], rax
jmp 0x1800488fa
mov rax, qword [rbx + 0xf0]
test rax, rax
jne 0x180048906
mov byte [r13], 1
jmp 0x18004890d
cmp byte [r13], 0
je 0x180048914
and dword [rbx + 0x1b8], 0xfffffffe
test dword [rbx + 0xe68], 0x40000000
je 0x18004872e
mov r8, qword [rbx + 0x158]
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.18003a780
jmp 0x18004872e
mov r8d, dword [rbx + 0x178]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbx
call fcn.18003a840
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x180048730