Function at 0x1400318d0
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 + 0x168]
lea r14, [rcx + 0x100]
mov rsi, qword [r8]
mov r15, r8
mov qword [rcx + 0x170], 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 fcn.140060880
mov qword [rbx + 0x178], rax
test rax, rax
je 0x140032a35
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 + 0x178]
inc r8
mov qword [rbx + 0x168], r8
sub r8, qword [rbx + 0x170]
call fcn.140032ff0
test eax, eax
jne 0x140032ae0
cmp dword [rbx + 0x154], 0
mov rax, qword [rbx + 0x158]
mov qword [rbx + 0x178], rax
mov rax, qword [rbx + 0x1050]
mov qword [rbx + 0x180], rax
jne 0x1400319f5
mov rax, qword [rbp + 0x3e8]
mov r8, qword [rbx + 0x160]
mov rdx, qword [rbx + 0x1050]
test dword [rax + 0x7c], 0x40000
je 0x1400319e2
cmp r8, 5
lea rcx, str.RTSP_
mov eax, 5
mov edi, esi
cmova r8, rax
setae dil
call fcn.14002a400
test eax, eax
mov ecx, 2
cmovne ecx, edi
jmp 0x1400319ec
mov rcx, rbx
call fcn.140032d10
mov ecx, eax
cmp ecx, 2
je 0x140032aae
mov r10, qword [rbx + 0x180]
movzx eax, byte [r10]
cmp al, 0xa
je 0x1400326bc
cmp al, 0xd
je 0x1400326c0
mov ecx, dword [rbx + 0x154]
lea eax, [rcx + 1]
mov dword [rbx + 0x154], eax
test ecx, ecx
jne 0x140031d00
mov rax, qword [rbp + 0x3e8]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x140031b54
lea rax, [rsp + 0xa0]
mov rcx, r10
lea rsi, [rbx + 0x190]
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.14001ba20
cmp eax, 1
jne 0x140031ab0
cmp dword [rsp + 0x40], 2
jne 0x140032b13
mov rcx, qword [rbx + 0x180]
lea rdx, str._HTTP_2__d
mov r8, rsi
call fcn.14001ba20
cmp eax, 1
jne 0x140032b13
mov dword [rdi], 0
mov byte [rsp + 0xa0], reloc.WLDAP32.dll_Ordinal_32
jmp 0x140031ac3
cmp eax, 4
jne 0x140031afb
cmp byte [rsp + 0xa0], 0x20
jne 0x140032b13
mov eax, dword [rsp + 0x40]
lea ecx, [rax + rax*4]
mov eax, dword [rdi]
lea edx, [rax + rcx*2]
mov dword [rdi], edx
cmp dword [rbx + 0x1ac], 2
jne 0x140031bc5
cmp edx, 0x14
je 0x140031bc5
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rbx
call fcn.140027370
jmp 0x140031bc5
test eax, eax
jne 0x140032b13
mov rcx, qword [rbx + 0x180]
lea rdx, str._HTTP__3d
mov r8, rsi
call fcn.14001ba20
mov dword [rdi], 0xa
test eax, eax
jne 0x140031bc5
mov r8, qword [rbx + 0x160]
mov rcx, rbx
mov rdx, qword [rbx + 0x180]
call fcn.140032d10
cmp eax, 1
jne 0x140032bc4
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_200
mov dword [rdi], 0xa
jmp 0x140031bc5
bt ecx, 0x12
jae 0x140032bc4
lea rax, [rsp + 0xb0]
mov rcx, r10
lea rsi, [rbx + 0x190]
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.14001ba20
cmp eax, 4
jne 0x140032bc4
cmp byte [rsp + 0xb0], 0x20
jne 0x140032bc4
mov eax, dword [rsp + 0x44]
lea rdi, [rbp + 0x218]
mov dword [rdi], ntohl
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rbp + 0x21c], ecx
mov eax, dword [rsi]
mov dword [rbx + 0x14f0], eax
mov eax, dword [rdi]
mov dword [rbx + 0x14f8], eax
mov eax, dword [rbx + 0x13e8]
test eax, eax
je 0x140031be3
cmp eax, dword [rdi]
jle 0x140031beb
mov eax, dword [rdi]
mov dword [rbx + 0x13e8], eax
cmp qword [rbx + 0x13f8], 0
je 0x140031c0f
cmp dword [rbx + 0xa08], 1
jne 0x140031c0f
cmp dword [rsi], 0x1a0
jne 0x140031c0f
or dword [rbx + 0x670], 8
jmp 0x140031c4f
test dword [rbx + 0xe70], 0x10000
je 0x140031c4f
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x140031c4f
cmp eax, 0x191
jne 0x140031c34
test byte [rbp + 0x3c4], 0x80
jne 0x140031c4f
cmp eax, 0x197
jne 0x140032b29
test dword [rbp + 0x3c4], 0x100
je 0x140032b29
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x140031c74
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbx
call fcn.140027370
mov edx, 1
mov rcx, rbp
call fcn.140027fa0
jmp 0x140031cca
cmp eax, 0x14
je 0x140031cbd
cmp dword [rbx + 0x1ac], 1
jne 0x140031c87
cmp dword [rsi], 0x65
je 0x140031cbd
cmp eax, 0xb
jl 0x140031cca
test byte [rbp + 0x3c4], 1
jne 0x140031cca
cmp qword [rbp + 0x8b0], 0
je 0x140031cca
mov rdx, rbp
mov rcx, rbx
call fcn.140035a90
test al, al
jne 0x140031cca
mov rax, qword [rbp + 0x8b0]
mov dword [rax], 1
jmp 0x140031cca
mov rax, qword [rbp + 0x8b0]
mov dword [rax], 2
mov ecx, dword [rsi]
sub ecx, 0xcc
je 0x140031ce9
cmp ecx, 0x64
jne 0x140031cfe
cmp dword [rbx + 0x9f8], 0
je 0x140031ce9
or dword [rbx + 0x15c0], 1
xor esi, esi
or dword [rbx + 0x670], 0x10
mov qword [r14], rsi
mov qword [rbx + 0x108], rsi
jmp 0x140031d00
xor esi, esi
test byte [rbx + 0x670], 0x10
jne 0x140031dc1
test byte [rbx + 0xe74], 0x10
jne 0x140031dc1
mov rdx, qword [rbx + 0x180]
lea rcx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.14002a400
test eax, eax
je 0x140031dc1
mov rcx, qword [rbx + 0x180]
lea r9, [rsp + 0x48]
xor edx, edx
add rcx, 0xf
lea r8d, [rdx + 0xa]
call fcn.1400378d0
test eax, eax
jne 0x140031d8b
mov rax, qword [rbx + 0xb88]
mov rdx, qword [rsp + 0x48]
test rax, rax
je 0x140031d74
cmp rdx, rax
jg 0x140032bd0
mov rcx, rbx
mov qword [r14], rdx
mov qword [rbx + 0x108], rdx
call fcn.140034710
jmp 0x140032645
cmp eax, 1
jne 0x140032be9
cmp qword [rbx + 0xb88], 0
jne 0x140032bd0
lea edx, [rax + 1]
mov rcx, rbp
call fcn.140027fa0
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, rbx
call fcn.140027370
jmp 0x140032645
mov rdx, qword [rbx + 0x180]
lea rcx, str.Content_Type:
mov r8d, reloc.WS2_32.dll_listen
call fcn.14002a400
mov rdx, qword [rbx + 0x180]
test eax, eax
je 0x140031e25
mov rcx, rdx
call fcn.1400310d0
mov rdi, rax
test rax, rax
je 0x140032c02
cmp byte [rax], 0
jne 0x140031e0c
mov rcx, rax
call qword [fcn.14006500c]
jmp 0x140032645
mov rcx, qword [rbx + 0x1528]
call qword [fcn.14006500c]
mov qword [rbx + 0x1528], rdi
jmp 0x140032645
mov r8d, 7
lea rcx, str.Server:
call fcn.14002a400
mov ecx, dword [rbp + 0x218]
test eax, eax
je 0x140031e94
cmp ecx, 0x14
jge 0x140032645
mov rcx, qword [rbx + 0x180]
call fcn.1400310d0
mov rcx, qword [rbp + 0x8b0]
mov rdi, rax
test rcx, rcx
je 0x140031e86
cmp dword [rcx], 1
jne 0x140031e86
mov rdx, rax
mov rcx, rbx
call fcn.1400357f0
test al, al
je 0x140031e86
mov rax, qword [rbp + 0x8b0]
mov dword [rax], 0xffffffff
mov rcx, rdi
call qword [fcn.14006500c]
jmp 0x140032645
cmp ecx, 0xa
jne 0x140031f59
test byte [rbp + 0x3c4], 0x20
je 0x140031f59
mov rdi, qword [rbx + 0x180]
lea r8d, [rcx + 7]
mov rcx, rdi
lea rdx, str.Proxy_Connection:
call fcn.14002a300
test eax, eax
je 0x140031f59
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x140031eef
movzx ecx, al
call fcn.140050b70
test eax, eax
je 0x140031eef
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140031ed8
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x140031f24
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x140031f24
xor edx, edx
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x140031f59
nop dword [rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.14002a300
test eax, eax
jne 0x1400321e8
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x140031f30
cmp dword [rbp + 0x218], 0xb
jne 0x140032029
test byte [rbp + 0x3c4], 0x20
je 0x140032029
mov rdi, qword [rbx + 0x180]
lea rdx, str.Proxy_Connection:
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.14002a300
test eax, eax
je 0x140032029
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x140031fba
movzx ecx, al
call fcn.140050b70
test eax, eax
je 0x140031fba
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140031fa3
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x140031fef
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x140031fef
xor edx, edx
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x140032029
nop dword [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.14002a300
test eax, eax
jne 0x140032206
dec rsi
inc rdi
cmp rsi, 5
jae 0x140032000
cmp dword [rbp + 0x218], 0xa
jne 0x1400320e9
mov rdi, qword [rbx + 0x180]
lea rdx, str.Connection:
mov rcx, rdi
mov r8d, ntohl
call fcn.14002a300
test eax, eax
je 0x1400320e9
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x14003207d
movzx ecx, al
call fcn.140050b70
test eax, eax
je 0x14003207d
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140032066
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x1400320b2
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x1400320b2
xor edx, edx
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x1400320e9
nop dword [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.14002a300
test eax, eax
jne 0x140032227
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x1400320c0
mov rdi, qword [rbx + 0x180]
lea rdx, str.Connection:
mov rcx, rdi
mov r8d, ntohl
call fcn.14002a300
test eax, eax
je 0x1400321a9
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x140032137
nop dword [rax]
movzx ecx, al
call fcn.140050b70
test eax, eax
je 0x140032137
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140032120
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x14003216c
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x14003216c
xor edx, edx
mov rcx, rdi
call fcn.14006102c
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x1400321a9
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.14002a300
test eax, eax
jne 0x140032245
dec rsi
inc rdi
cmp rsi, 5
jae 0x140032180
mov rdx, qword [rbx + 0x180]
lea rcx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
call fcn.14002a400
mov rdx, qword [rbx + 0x180]
test eax, eax
je 0x140032257
add rdx, 0x12
mov r8d, 1
mov rcx, rbp
call fcn.14002a7b0
jmp 0x14003263b
xor edx, edx
mov rcx, rbp
call fcn.140027fa0
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.140027370
jmp 0x140032643
mov edx, 1
mov rcx, rbp
call fcn.140027fa0
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbx
call fcn.140027370
jmp 0x140032643
xor edx, edx
mov rcx, rbp
call fcn.140027fa0
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.140027370
jmp 0x140032643
mov edx, 2
mov rcx, rbp
call fcn.140027fa0
jmp 0x140032643
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
call fcn.14002a400
test eax, eax
je 0x140032292
cmp qword [rbx + 0xc10], 0
je 0x140032292
mov rdx, qword [rbx + 0x180]
xor r8d, r8d
add rdx, 0x11
mov rcx, rbp
call fcn.14002a7b0
jmp 0x14003263b
mov rdx, qword [rbx + 0x180]
lea rcx, str.Content_Range:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.14002a400
test eax, eax
je 0x140032338
mov rdi, qword [rbx + 0x180]
add rdi, 0xe
movzx eax, byte [rdi]
test al, al
je 0x1400322e1
movzx ecx, al
call fcn.140050af0
test eax, eax
jne 0x1400322e1
cmp byte [rdi], 0x2a
je 0x1400322e1
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400322c5
movzx ecx, byte [rdi]
call fcn.140050af0
test eax, eax
je 0x14003232a
xor edx, edx
lea r9, [rbx + 0x188]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1400378d0
test eax, eax
jne 0x140032643
mov rax, qword [rbx + 0x188]
cmp qword [rbx + 0x13f8], rax
jne 0x140032643
or dword [rbx + 0x670], 2
jmp 0x140032643
xor esi, esi
mov qword [rbx + 0x13f8], rsi
jmp 0x140032645
cmp qword [rbx + 0xea0], 0
je 0x1400323e5
mov rdx, qword [rbx + 0x180]
lea rcx, str.Set_Cookie:
mov r8d, ntohl
call fcn.14002a400
test eax, eax
je 0x1400323e5
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.14002aa10
mov r8, qword [rbp + 0x460]
test r8, r8
jne 0x14003238a
mov r8, qword [rbp + 0xd0]
mov rax, qword [rbp + 0x3e8]
xor r9d, r9d
mov rdx, qword [rbx + 0x180]
add rdx, 0xb
mov ecx, dword [rax + 0x7c]
mov rax, qword [rbx + 0x1478]
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 + 0xea0]
call fcn.1400198c0
mov edx, 2
mov rcx, rbx
call fcn.14002aa50
jmp 0x140032643
mov rdx, qword [rbx + 0x180]
lea rcx, str.Last_Modified:
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.14002a400
test eax, eax
je 0x14003245d
cmp dword [rbx + 0x9f8], 0
jne 0x140032417
test dword [rbx + 0xe70], 0x200
je 0x14003245d
xor ecx, ecx
call fcn.140069e38
mov rcx, qword [rbx + 0x180]
lea rdx, [rsp + 0x50]
add rcx, 0xe
mov qword [rsp + 0x50], rax
call fcn.1400371d0
xor esi, esi
mov qword [rbx + 0x1b8], rax
test dword [rbx + 0xe70], 0x200
je 0x140032645
mov qword [rbx + 0x1500], rax
jmp 0x140032645
mov rdx, qword [rbx + 0x180]
lea rcx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.14002a400
test eax, eax
je 0x140032488
mov edi, dword [rbx + 0x190]
cmp edi, 0x191
je 0x1400324b3
mov rdx, qword [rbx + 0x180]
lea rcx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
call fcn.14002a400
test eax, eax
je 0x1400324f9
mov edi, dword [rbx + 0x190]
cmp edi, 0x197
jne 0x1400324f9
mov rcx, qword [rbx + 0x180]
call fcn.1400310d0
mov rsi, rax
test rax, rax
je 0x140032c02
cmp edi, 0x197
mov r8, rax
mov rcx, rbp
sete dl
call fcn.1400314f0
mov rcx, rsi
mov edi, eax
call qword [fcn.14006500c]
test edi, edi
je 0x140032643
mov eax, edi
jmp 0x140032ae0
mov rdx, qword [rbx + 0x180]
lea rcx, str.Persistent_Auth
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.14002a400
test eax, eax
je 0x140032586
cmp dword [rbx + 0x1144], 4
jne 0x140032643
mov rcx, qword [rbx + 0x180]
call fcn.1400310d0
mov rdi, rax
test rax, rax
je 0x140032c02
mov r8d, 5
lea rcx, str.false
mov rdx, rax
call fcn.14002a400
test eax, eax
mov byte [rbp + 0x6c9], 1
mov r9, rdi
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [rbp + 0x6c8], cl
movzx r8d, cl
mov rcx, rbx
call fcn.140027370
mov rcx, rdi
call qword [fcn.14006500c]
jmp 0x140032643
mov eax, dword [rbx + 0x190]
sub eax, 0x12c
cmp eax, 0x63
ja 0x14003261c
mov rdx, qword [rbx + 0x180]
lea rcx, str.Location:
mov r8d, 9
call fcn.14002a400
test eax, eax
je 0x14003261c
cmp qword [rbx + 0x1d8], 0
jne 0x14003261c
mov rcx, qword [rbx + 0x180]
call fcn.1400310d0
test rax, rax
je 0x140032c02
cmp byte [rax], 0
jne 0x1400325e6
mov rcx, rax
call qword [fcn.14006500c]
jmp 0x140032643
test dword [rbx + 0xe70], 0x40000
mov qword [rbx + 0x1d8], rax
je 0x140032643
mov rcx, rax
call qword [case.0x14001b9f9.0]
mov qword [rbx + 0x1e0], rax
test rax, rax
je 0x140032c02
mov rcx, rbp
call fcn.1400330f0
jmp 0x14003263b
mov rax, qword [rbp + 0x3e8]
test dword [rax + 0x7c], 0x40000
je 0x140032643
mov rdx, qword [rbx + 0x180]
mov rcx, rbp
call fcn.14003ef10
test eax, eax
jne 0x140032ae0
xor esi, esi
mov eax, dword [rbx + 0xe70]
mov edi, eax
and edi, 0x200000
bts edi, 0x16
shr edi, 0x15
bt eax, 0x1a
jae 0x14003267b
mov r9, qword [rbx + 0x160]
mov edx, 1
mov r8, qword [rbx + 0x180]
mov rcx, rbx
call fcn.140027130
mov r9, qword [rbx + 0x160]
mov edx, edi
mov r8, qword [rbx + 0x180]
mov rcx, rbp
call fcn.140027110
test eax, eax
jne 0x140032ae0
movsxd rax, dword [rbx + 0x160]
add qword [rbx + 0x1508], rax
movsxd rax, dword [rbx + 0x160]
add qword [rbx + 0x120], rax
jmp 0x1400329e9
cmp al, 0xd
jne 0x1400326ce
inc r10
mov qword [rbx + 0x180], r10
movzx eax, byte [r10]
cmp al, 0xa
jne 0x1400326dd
lea rax, [r10 + 1]
mov qword [rbx + 0x180], rax
mov ecx, dword [rbx + 0x190]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14003274f
sub ecx, 0x64
je 0x140032720
cmp ecx, 1
je 0x140032707
or dword [rbx + 0x670], 1
mov dword [rbx + 0x154], esi
jmp 0x1400327af
cmp dword [rbx + 0x1ac], 1
je 0x140032c0c
and dword [rbx + 0x670], 0xfffffffe
jmp 0x1400327af
or dword [rbx + 0x670], 1
cmp dword [rbx + 0x1a8], 0
mov dword [rbx + 0x154], esi
jle 0x1400327af
or dword [rbx + 0x1d0], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x1a8], esi
call fcn.140016c90
jmp 0x1400327af
mov eax, dword [rbx + 0x670]
and eax, 0xfffffffe
cmp qword [r14], 0xffffffffffffffff
mov dword [rbx + 0x670], eax
jne 0x1400327af
test al, 0x20
jne 0x1400327af
test byte [rbp + 0x3c4], 1
jne 0x1400327af
cmp dword [rbp + 0x218], 0xb
jne 0x1400327af
mov rax, qword [rbp + 0x3e8]
test dword [rax + 0x7c], 0x40000
jne 0x1400327af
cmp dword [rbx + 0xa08], 6
je 0x1400327af
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbx
call fcn.140027370
mov edx, 2
mov rcx, rbp
call fcn.140027fa0
mov ecx, dword [rbp + 0x3c4]
mov eax, ecx
test cl, 1
je 0x140032800
mov edx, dword [rbx + 0x190]
cmp edx, 0x191
jne 0x1400327d3
cmp dword [rbp + 0x548], 2
je 0x1400327e4
cmp edx, 0x197
jne 0x140032800
cmp dword [rbp + 0x5c8], 2
jne 0x140032800
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbx
call fcn.140027370
or dword [rbx + 0x149c], 0x20
mov eax, dword [rbp + 0x3c4]
test al, 1
je 0x140032842
mov eax, dword [rbx + 0x190]
cmp eax, 0x191
jne 0x14003281c
cmp dword [rbp + 0x648], 1
je 0x14003282c
jmp 0x140032842
cmp eax, 0x197
jne 0x140032842
cmp dword [rbp + 0x6d0], 1
jne 0x140032842
lea rdx, str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
mov rcx, rbx
call fcn.140027370
or dword [rbx + 0x149c], 0x20
cmp dword [rbp + 0x648], 3
jne 0x140032861
cmp dword [rbx + 0x190], 0x191
je 0x140032861
mov dword [rbp + 0x648], 4
cmp dword [rbp + 0x6d0], 3
jne 0x140032880
cmp dword [rbx + 0x190], 0x197
je 0x140032880
mov dword [rbp + 0x6d0], 4
mov rcx, rbp
call fcn.1400332f0
test eax, eax
jne 0x140032cef
mov edx, dword [rbx + 0xe70]
mov r8, qword [rbx + 0x1050]
and edx, 0x200000
mov rdi, qword [rbx + 0x180]
bts edx, 0x16
sub rdi, r8
shr edx, 0x15
mov r9, rdi
call fcn.140027110
test eax, eax
jne 0x140032ae0
movsxd rax, edi
add qword [rbx + 0x120], rax
add qword [rbx + 0x1508], rax
mov eax, dword [rbx + 0x190]
mov rcx, qword [rbx + 0x120]
sub eax, 0x64
cmp eax, 0x63
cmova rcx, rsi
mov qword [rbx + 0x128], rcx
mov rcx, rbp
call fcn.1400311e0
test eax, eax
jne 0x140032ae0
cmp dword [rbx + 0x190], 0x12c
jl 0x1400329da
test dword [rbp + 0x3c4], 0x18001
jne 0x1400329b8
mov eax, dword [rbx + 0xa08]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1400329b8
xor edx, edx
mov rcx, rbx
call fcn.140016c90
test byte [rbx + 0x670], 4
jne 0x1400329b8
test dword [rbx + 0xe70], 0x20000
mov rcx, rbx
je 0x14003297b
lea rdx, str.HTTP_error_before_end_of_send__keep_sending_n
call fcn.140027370
cmp dword [rbx + 0x1a8], 0
jle 0x1400329b8
or dword [rbx + 0x1d0], 2
mov dword [rbx + 0x1a8], esi
jmp 0x1400329b8
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
call fcn.140027370
mov edx, 2
mov rcx, rbp
call fcn.140027fa0
or dword [rbx + 0x670], 4
and dword [rbx + 0x1d0], 0xfffffffd
test dword [rbx + 0x149c], 0x100
je 0x1400329b8
mov dword [rbx + 0x1a8], 3
test dword [rbp + 0x3c4], 0x10000
je 0x1400329da
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbx
call fcn.140027370
or dword [rbx + 0x1d0], 2
mov ecx, dword [rbx + 0x670]
test cl, 1
je 0x140032c3c
mov rax, qword [rbx + 0x1050]
mov qword [rbx + 0x158], rax
mov qword [rbx + 0x160], rsi
mov rdi, qword [rbx + 0x168]
cmp byte [rdi], 0
je 0x140032ade
mov qword [rbx + 0x170], rdi
mov edx, 0xa
mov r8, qword [r15]
mov rcx, rdi
call fcn.140060880
mov qword [rbx + 0x178], rax
test rax, rax
jne 0x140031940
mov r8, qword [r15]
mov rdx, r14
mov rcx, rbx
call fcn.140032ff0
test eax, eax
jne 0x140032ae0
cmp dword [rbx + 0x154], eax
jne 0x140032ade
mov r9, qword [rbx + 0x160]
mov rdx, rbp
mov r8, qword [rbx + 0x1050]
mov rcx, rbx
call fcn.140032df0
cmp eax, 2
jne 0x140032ade
and dword [rbx + 0x670], 0xfffffffe
mov edx, eax
mov rcx, rbp
mov dword [rbx + 0x150], eax
call fcn.140027fa0
test dword [rbx + 0xe74], 0x8000000
jne 0x140032ade
lea rdx, str.Received_HTTP_0.9_when_not_allowed_n
mov rcx, rbx
call fcn.1400271f0
mov eax, 1
jmp 0x140032ae0
mov edx, 2
mov rcx, rbp
call fcn.140027fa0
test dword [rbx + 0xe74], 0x8000000
je 0x140032a98
and dword [rbx + 0x670], 0xfffffffe
cmp qword [r15], 0
je 0x140032af8
mov dword [rbx + 0x150], 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 + 0x150], 2
mov qword [r15], rax
mov qword [rbx + 0x168], r12
jmp 0x140032ade
lea rdx, str.Unsupported_HTTP_version_in_response_n
mov rcx, rbx
call fcn.1400271f0
mov eax, 1
jmp 0x140032ae0
mov rdi, qword [rbx + 0x180]
lea rdx, str.HTTP
mov rcx, rdi
mov r8d, 4
call fcn.140076890
test eax, eax
jne 0x140032cef
lea edx, [rax + 0x20]
mov rcx, rdi
call fcn.14006102c
mov rdi, rax
test rax, rax
je 0x140032cef
inc rdi
cmp byte [rdi], 0
je 0x140032cef
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
mov bpl, reloc.WS2_32.dll_listen
call fcn.14006102c
mov rsi, rax
test rax, rax
jne 0x140032ba2
lea edx, [rax + 0xa]
mov rcx, rdi
mov bpl, 0xa
call fcn.14006102c
mov rsi, rax
test rax, rax
je 0x140032cef
mov r8, rdi
mov byte [rsi], 0
lea rdx, str.The_requested_URL_returned_error:__s
mov rcx, rbx
call fcn.1400271f0
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rsi], bpl
jmp 0x140032ae0
and dword [rbx + 0x670], 0xfffffffe
jmp 0x140032ade
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.1400271f0
mov eax, 0x3f
jmp 0x140032ae0
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.1400271f0
mov eax, 8
jmp 0x140032ae0
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140032ae0
lea rdx, str.Received_101_n
mov rcx, rbx
call fcn.140027370
or dword [rbx + 0x670], 1
mov eax, 1
mov dword [rbx + 0x1ac], 2
mov dword [rbx + 0x154], esi
jmp 0x140032ae0
test dword [rbx + 0xe70], 0x1000000
jne 0x140032c80
mov rax, qword [rbp + 0x3e8]
test dword [rax + 0x7c], 0x40000
je 0x140032c67
cmp dword [rbx + 0xdd0], 2
jne 0x140032c67
cmp qword [r14], 0xffffffffffffffff
jle 0x140032c80
test cl, 0x20
je 0x140032c85
mov qword [r14], 0xffffffffffffffff
mov qword [rbx + 0x108], 0xffffffffffffffff
jmp 0x140032c85
mov byte [r13], 1
mov rdx, qword [r14]
cmp rdx, 0xffffffffffffffff
je 0x140032ca2
mov rcx, rbx
call fcn.140034710
mov rax, qword [r14]
mov qword [rbx + 0x108], rax
jmp 0x140032ca9
mov rax, qword [rbx + 0x108]
test rax, rax
jne 0x140032cb5
mov byte [r13], 1
jmp 0x140032cbc
cmp byte [r13], 0
je 0x140032cc3
and dword [rbx + 0x1d0], 0xfffffffe
test dword [rbx + 0xe70], 0x4000000
je 0x140032ade
mov r8, qword [rbx + 0x170]
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.140027130
jmp 0x140032ade
mov r8d, dword [rbx + 0x190]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbx
call fcn.1400271f0
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140032ae0