Function at 0x140016920
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r13d, r13d
mov r12, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
lea rdi, [rcx + 0x90]
lea esi, [r13 + 3]
nop word [rax + rax]
mov rcx, qword [rdi + 0x68]
mov edx, 0xa
mov qword [rdi + 0x70], rcx
mov r8, qword [r15]
call qword [sym.imp.msvcrt.dll_memchr]
mov rdx, rdi
mov rcx, rbp
mov rbx, rax
mov qword [rdi + 0x78], rax
test rax, rax
je 0x1400177df
sub rbx, qword [rdi + 0x68]
inc rbx
sub qword [r15], rbx
mov r8, qword [rdi + 0x78]
inc r8
mov qword [rdi + 0x68], r8
sub r8, qword [rdi + 0x70]
call fcn.1400179e0
test eax, eax
jne 0x140017818
mov rax, qword [rdi + 0x58]
mov qword [rdi + 0x78], rax
mov rax, qword [rbp + 0x7a0]
mov qword [rdi + 0x80], rax
cmp dword [rdi + 0x50], r13d
jne 0x1400169ec
cmp qword [rdi + 0x60], 5
jbe 0x1400169ec
mov rdx, qword [rbp + 0x7a0]
mov rcx, rbp
call fcn.140017840
test al, al
je 0x1400176da
mov r10, qword [rdi + 0x80]
movzx eax, byte [r10]
cmp al, 0xa
je 0x1400174ab
cmp al, 0xd
je 0x1400174af
mov ecx, dword [rdi + 0x50]
lea eax, [rcx + 1]
mov dword [rdi + 0x50], eax
test ecx, ecx
jne 0x140016c3c
mov rax, qword [r14 + 0x358]
mov edx, dword [rax + 0x74]
test dl, 3
je 0x140016ad6
lea rbx, [r14 + 0x18c]
lea rsi, [rdi + 0x98]
lea r8, [rsp + 0x70]
lea rdx, str._HTTP__d._d__d
mov rcx, r10
mov r9, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.msvcrt.dll_sscanf]
cmp eax, 3
jne 0x140016a90
mov eax, dword [rsp + 0x70]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rbx], ecx
cmp dword [rdi + 0xa8], 2
jne 0x140016b2e
cmp dword [rbx], 0x14
je 0x140016b2e
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rbp
call fcn.14000df00
jmp 0x140016b2e
mov rcx, qword [rdi + 0x80]
lea rdx, str._HTTP__3d
mov r8, rsi
call qword [sym.imp.msvcrt.dll_sscanf]
mov dword [rbx], 0xa
test eax, eax
jne 0x140016b2e
mov rdx, qword [rdi + 0x80]
mov rcx, rbp
call fcn.140017840
test al, al
je 0x140017812
mov dword [rsi], 0xc8
mov dword [rbx], 0xa
jmp 0x140016b2e
bt edx, 0x12
jae 0x140017812
lea rsi, [rdi + 0x98]
lea r9, [r14 + 0x190]
lea r8, [rsp + 0x30]
lea rdx, str._RTSP__d._d__3d
mov rcx, r10
mov qword [rsp + 0x20], rsi
call qword [sym.imp.msvcrt.dll_sscanf]
cmp eax, 3
jne 0x140017812
mov eax, dword [rsp + 0x30]
lea rbx, [r14 + 0x18c]
lea ecx, [rax + rax*4]
mov dword [rbx], 0xb
add ecx, ecx
add dword [r14 + 0x190], ecx
mov eax, dword [rsi]
mov dword [rbp + 0x8a08], eax
mov eax, dword [rbx]
mov dword [rbp + 0x8a10], eax
mov eax, dword [rbp + 0x8984]
test eax, eax
je 0x140016b4c
cmp eax, dword [rbx]
jle 0x140016b54
mov eax, dword [rbx]
mov dword [rbp + 0x8984], eax
cmp byte [rbp + 0x438], r13b
je 0x140016bab
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x140016bab
cmp eax, 0x191
jne 0x140016b76
cmp byte [r14 + 0x32c], r13b
jne 0x140016bab
cmp eax, 0x197
jne 0x140016b86
cmp byte [r14 + 0x32d], r13b
jne 0x140016bab
cmp qword [rbp + 0x89b0], r13
je 0x1400176fe
cmp dword [rbp + 0x378], 1
jne 0x1400176fe
cmp eax, 0x1a0
jne 0x1400176fe
mov eax, dword [rbx]
cmp eax, 0xa
jne 0x140016bcb
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbp
call fcn.14000df00
mov byte [r14 + 0x328], 1
jmp 0x140016c0a
cmp eax, 0x14
je 0x140016c0a
cmp dword [rdi + 0xa8], 1
jne 0x140016bde
cmp dword [rsi], 0x65
je 0x140016c0a
cmp eax, 0xb
jl 0x140016c0a
cmp byte [r14 + 0x328], r13b
jne 0x140016c0a
mov rbx, qword [r14 + 0x770]
test rbx, rbx
je 0x140016c0a
mov rdx, r14
mov rcx, rbp
call fcn.14001a240
test al, al
jne 0x140016c0a
mov byte [rbx], 1
mov ecx, dword [rsi]
sub ecx, 0xcc
je 0x140016c19
cmp ecx, 0x64
jne 0x140016c37
cmp dword [rbp + 0x368], r13d
je 0x140016c29
mov byte [rbp + 0x8a18], 1
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov byte [rdi + 0xde], 1
mov esi, 3
cmp byte [rdi + 0xde], r13b
jne 0x140016cd7
cmp byte [rbp + 0x45f], r13b
jne 0x140016cd7
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Length:
mov r8d, 0xf
call fcn.14001a8e0
test eax, eax
je 0x140016cd7
mov rcx, qword [rdi + 0x80]
xor edx, edx
lea r8d, [rdx + 0xa]
add rcx, 0xf
call qword [sym.imp.msvcrt.dll__strtoi64]
mov rcx, qword [rbp + 0x410]
test rcx, rcx
je 0x140016c9f
cmp rax, rcx
jg 0x140017710
mov rcx, rbp
test rax, rax
js 0x140016cbb
mov rdx, rax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
call fcn.14001e2c0
jmp 0x140017442
lea rdx, str.Negative_content_length:__ld__closing_after_transfer_n
mov r8, rax
mov byte [r14 + 0x328], 1
call fcn.14000df00
jmp 0x140017442
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Type:
mov r8d, 0xd
call fcn.14001a8e0
test eax, eax
je 0x140016d38
mov rcx, qword [rdi + 0x80]
call fcn.1400162b0
mov rbx, rax
test rax, rax
je 0x140017729
cmp byte [rax], r13b
jne 0x140016d1f
mov rcx, rax
call qword [fcn.14000202a]
jmp 0x140017442
mov rcx, qword [rbp + 0x8a30]
call qword [fcn.14000202a]
mov qword [rbp + 0x8a30], rbx
jmp 0x140017442
mov rdx, qword [rdi + 0x80]
lea rcx, str.Server:
mov r8d, 7
call fcn.14001a8e0
test eax, eax
je 0x140016d9c
mov rcx, qword [rdi + 0x80]
call fcn.1400162b0
mov rbx, rax
mov rax, qword [r14 + 0x770]
test rax, rax
je 0x140016d8e
cmp byte [rax], r13b
je 0x140016d8e
mov rdx, rbx
mov rcx, rbp
call fcn.140019fa0
test al, al
je 0x140016d8e
mov rax, qword [r14 + 0x770]
mov byte [rax], r13b
mov rcx, rbx
call qword [fcn.14000202a]
jmp 0x140017442
cmp dword [r14 + 0x18c], 0xa
jne 0x140016de8
cmp byte [r14 + 0x32b], r13b
je 0x140016de8
mov rcx, qword [rdi + 0x80]
lea r8, str.keep_alive
lea rdx, str.Proxy_Connection:
call fcn.1400161c0
test al, al
je 0x140016de8
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbp
mov byte [r14 + 0x328], r13b
call fcn.14000df00
jmp 0x140017442
cmp dword [r14 + 0x18c], 0xb
jne 0x140016e35
cmp byte [r14 + 0x32b], r13b
je 0x140016e35
mov rcx, qword [rdi + 0x80]
lea r8, str.close
lea rdx, str.Proxy_Connection:
call fcn.1400161c0
test al, al
je 0x140016e35
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbp
mov byte [r14 + 0x328], 1
call fcn.14000df00
jmp 0x140017442
cmp dword [r14 + 0x18c], 0xa
jne 0x140016e78
mov rcx, qword [rdi + 0x80]
lea r8, str.keep_alive
lea rdx, str.Connection:
call fcn.1400161c0
test al, al
je 0x140016e78
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbp
mov byte [r14 + 0x328], r13b
call fcn.14000df00
jmp 0x140017442
mov rcx, qword [rdi + 0x80]
lea r8, str.close
lea rdx, str.Connection:
call fcn.1400161c0
test al, al
je 0x140016ea3
mov byte [r14 + 0x328], 1
jmp 0x140017442
mov rdx, qword [rdi + 0x80]
lea rcx, str.Transfer_Encoding:
mov r8d, 0x12
call fcn.14001a8e0
test eax, eax
je 0x14001702e
mov rbx, qword [rdi + 0x80]
add rbx, 0x12
nop
movzx eax, byte [rbx]
test al, al
je 0x140016ef4
movzx ecx, al
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
jne 0x140016ee9
cmp byte [rbx], 0x2c
jne 0x140016ef4
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140016ed7
lea rcx, str.chunked
mov r8d, 7
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140016f20
mov rcx, r14
mov byte [rdi + 0x100], 1
call fcn.1400292b0
add rbx, 7
cmp dword [rdi + 0xac], r13d
jne 0x140017442
lea rcx, str.identity
mov r8d, 8
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140016f56
mov dword [rdi + 0xac], r13d
add rbx, 8
jmp 0x140016ed0
lea rcx, str.deflate
mov r8d, 7
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140016f82
mov dword [rdi + 0xac], 1
add rbx, 7
jmp 0x140016ed0
lea rcx, str.gzip
mov r8d, 4
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140016fae
mov dword [rdi + 0xac], 2
add rbx, 4
jmp 0x140016ed0
lea rcx, str.x_gzip
mov r8d, 6
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140016fda
mov dword [rdi + 0xac], 2
add rbx, 6
jmp 0x140016ed0
lea rcx, str.compress
mov r8d, 8
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140017002
mov dword [rdi + 0xac], esi
add rbx, 8
jmp 0x140016ed0
lea rcx, str.x_compress
mov r8d, 0xa
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140017442
mov dword [rdi + 0xac], esi
add rbx, 0xa
jmp 0x140016ed0
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Encoding:
mov r8d, 0x11
call fcn.14001a8e0
test eax, eax
je 0x140017161
cmp qword [rbp + 0x4a8], r13
jne 0x140017066
cmp dword [r14 + 0x18c], 0x14
jne 0x140017161
mov rbx, qword [rdi + 0x80]
movzx eax, byte [rbx + 0x11]
add rbx, 0x11
test al, al
je 0x140017098
nop dword [rax]
movzx ecx, al
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
je 0x140017098
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140017080
lea rcx, str.identity
mov r8d, 8
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x1400170bd
mov dword [rdi + 0xac], r13d
jmp 0x140017442
lea rcx, str.deflate
mov r8d, 7
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x1400170e5
mov dword [rdi + 0xac], 1
jmp 0x140017442
lea rcx, str.gzip
mov r8d, 4
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
jne 0x140017152
lea r8d, [rax + 6]
lea rcx, str.x_gzip
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
jne 0x140017152
lea r8d, [rax + 8]
lea rcx, str.compress
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
jne 0x140017147
lea r8d, [rax + 0xa]
lea rcx, str.x_compress
mov rdx, rbx
call fcn.14001a8e0
test eax, eax
je 0x140017442
mov dword [rdi + 0xac], esi
jmp 0x140017442
mov dword [rdi + 0xac], 2
jmp 0x140017442
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Range:
mov r8d, 0xe
call fcn.14001a8e0
test eax, eax
je 0x1400171f6
mov rbx, qword [rdi + 0x80]
movzx eax, byte [rbx + 0xe]
add rbx, 0xe
test al, al
je 0x1400171ae
movzx ecx, al
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
jne 0x1400171ae
cmp byte [rbx], 0x2a
je 0x1400171ae
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140017191
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
je 0x1400171ea
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0xa]
call qword [sym.imp.msvcrt.dll__strtoi64]
mov qword [rdi + 0x90], rax
cmp qword [rbp + 0x89b0], rax
jne 0x140017442
mov byte [rdi + 0x88], 1
jmp 0x140017442
mov qword [rbp + 0x89b0], r13
jmp 0x140017442
cmp qword [rbp + 0x668], r13
je 0x140017283
mov rdx, qword [rdi + 0x80]
lea rcx, str.Set_Cookie:
mov r8d, 0xb
call fcn.14001a8e0
test eax, eax
je 0x140017283
mov edx, 2
mov rcx, rbp
mov r8d, edx
call fcn.14001b2a0
mov rcx, qword [r14 + 0x3b8]
test rcx, rcx
jne 0x140017243
mov rcx, qword [r14 + 0xb8]
mov rax, qword [rbp + 0x8998]
mov r9, qword [rdi + 0x80]
mov rdx, qword [rbp + 0x668]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
add r9, 0xb
mov rcx, rbp
mov r8b, 1
call fcn.14000a0d0
mov edx, 2
mov rcx, rbp
call fcn.14001b2e0
jmp 0x140017442
mov rdx, qword [rdi + 0x80]
lea rcx, str.Last_Modified:
mov r8d, 0xe
call fcn.14001a8e0
test eax, eax
je 0x1400172f3
cmp dword [rbp + 0x368], r13d
jne 0x1400172b2
cmp byte [rbp + 0x431], r13b
je 0x1400172f3
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x38]
add rcx, 0xe
mov qword [rsp + 0x38], rax
call fcn.140022700
mov qword [rdi + 0xb0], rax
cmp byte [rbp + 0x431], r13b
je 0x140017442
mov dword [rbp + 0x8a14], eax
jmp 0x140017442
mov rdx, qword [rdi + 0x80]
lea rcx, str.WWW_Authenticate:
mov r8d, 0x11
call fcn.14001a8e0
test eax, eax
je 0x14001731d
mov eax, dword [rdi + 0x98]
cmp eax, 0x191
je 0x140017347
mov rdx, qword [rdi + 0x80]
lea rcx, str.Proxy_authenticate:
mov r8d, 0x13
call fcn.14001a8e0
test eax, eax
je 0x140017394
mov eax, dword [rdi + 0x98]
cmp eax, 0x197
jne 0x140017394
mov rcx, qword [rdi + 0x80]
cmp eax, 0x197
sete sil
call fcn.1400162b0
mov rbx, rax
test rax, rax
je 0x140017729
mov r8, rax
movzx edx, sil
mov rcx, r14
call fcn.1400165b0
mov rcx, rbx
mov esi, eax
call qword [fcn.14000202a]
test esi, esi
jne 0x140017733
mov esi, 3
jmp 0x140017442
mov eax, dword [rdi + 0x98]
sub eax, 0x12c
cmp eax, 0x63
ja 0x14001742e
mov rdx, qword [rdi + 0x80]
lea rcx, str.Location:
mov r8d, 9
call fcn.14001a8e0
test eax, eax
je 0x14001742e
cmp qword [rbp + 0x170], r13
jne 0x14001742e
mov rcx, qword [rdi + 0x80]
call fcn.1400162b0
test rax, rax
je 0x140017729
cmp byte [rax], r13b
jne 0x1400173f3
mov rcx, rax
call qword [fcn.14000202a]
jmp 0x140017442
mov qword [rbp + 0x170], rax
cmp byte [rbp + 0x439], r13b
je 0x140017442
mov rcx, rax
call qword [case.0x14000bc57.0]
mov qword [rbp + 0x178], rax
test rax, rax
je 0x140017729
mov rcx, r14
call fcn.140017bf0
test eax, eax
jne 0x140017818
jmp 0x140017442
mov rax, qword [r14 + 0x358]
test dword [rax + 0x74], 0x40000
jne 0x14001773a
cmp byte [rbp + 0x43c], r13b
mov ebx, 2
cmovne ebx, esi
cmp byte [rbp + 0x448], r13b
je 0x140017477
mov r9, qword [rdi + 0x60]
mov r8, qword [rdi + 0x80]
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.14000dc70
mov r9, qword [rdi + 0x60]
mov r8, qword [rdi + 0x80]
mov edx, ebx
mov rcx, r14
call fcn.14000dc50
test eax, eax
jne 0x140017818
mov eax, dword [rdi + 0x60]
add dword [rbp + 0x8a1c], eax
mov eax, dword [rdi + 0x60]
add dword [rbp + 0xc0], eax
jmp 0x1400176af
cmp al, 0xd
jne 0x1400174ba
lea rax, [r10 + 1]
mov qword [rdi + 0x80], rax
mov rax, qword [rdi + 0x80]
cmp byte [rax], 0xa
jne 0x1400174d0
inc rax
mov qword [rdi + 0x80], rax
mov ecx, dword [rdi + 0x98]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x14001753c
mov byte [rdi + 0x48], 1
mov dword [rdi + 0x50], r13d
sub ecx, 0x64
je 0x140017523
dec ecx
jne 0x140017592
cmp dword [rdi + 0xa8], 1
jne 0x140017592
lea rdx, str.Received_101_n
mov rcx, rbp
call fcn.14000df00
mov dword [rdi + 0xa8], 2
mov eax, 1
jmp 0x140017818
cmp dword [rdi + 0xa4], r13d
je 0x140017592
or dword [rdi + 0xd8], 2
mov dword [rdi + 0xa4], r13d
jmp 0x140017592
cmp qword [rdi], 0xffffffffffffffff
mov byte [rdi + 0x48], r13b
jne 0x140017592
cmp byte [rdi + 0x100], r13b
jne 0x140017592
cmp byte [r14 + 0x328], r13b
jne 0x140017592
cmp dword [r14 + 0x18c], 0xb
jne 0x140017592
mov rax, qword [r14 + 0x358]
test dword [rax + 0x74], 0x40000
jne 0x140017592
cmp dword [rbp + 0x378], 5
je 0x140017592
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbp
call fcn.14000df00
mov byte [r14 + 0x328], 1
mov rcx, r14
call fcn.140017d70
test eax, eax
jne 0x1400177c2
cmp byte [rbp + 0x43c], r13b
mov r8, qword [rbp + 0x7a0]
mov rbx, qword [rdi + 0x80]
mov edx, 2
cmovne edx, esi
sub rbx, r8
mov r9, rbx
call fcn.14000dc50
test eax, eax
jne 0x140017818
add dword [rbp + 0xc0], ebx
add dword [rbp + 0x8a1c], ebx
mov eax, dword [rdi + 0x98]
sub eax, 0x64
mov ecx, r13d
cmp eax, 0x63
cmovbe ecx, dword [rbp + 0xc0]
mov dword [rbp + 0xc4], ecx
cmp byte [r12], r13b
jne 0x1400176a5
mov rcx, r14
call fcn.1400163c0
test eax, eax
jne 0x140017818
cmp dword [rdi + 0x98], 0x12c
jl 0x140017686
cmp byte [r14 + 0x336], r13b
jne 0x140017686
cmp byte [r14 + 0x328], r13b
jne 0x140017686
cmp byte [r14 + 0x337], r13b
jne 0x14001768f
mov eax, dword [rbp + 0x378]
add eax, 0xfffffffe
cmp eax, 2
ja 0x140017686
cmp byte [rdi + 0xdc], r13b
jne 0x140017686
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
mov rcx, rbp
call fcn.14000df00
mov byte [r14 + 0x328], 1
and dword [rdi + 0xd8], 0xfffffffd
mov byte [rdi + 0xdc], 1
cmp byte [rbp + 0x8988], r13b
je 0x140017686
mov dword [rdi + 0xa4], esi
cmp byte [r14 + 0x337], r13b
je 0x1400176a5
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbp
call fcn.14000df00
or dword [rdi + 0xd8], 2
cmp byte [rdi + 0x48], r13b
je 0x140017744
mov rax, qword [rbp + 0x7a0]
mov qword [rdi + 0x60], r13
mov qword [rdi + 0x58], rax
cmp byte [r12], r13b
jne 0x140017816
mov rax, qword [rdi + 0x68]
cmp byte [rax], r13b
jne 0x140016960
jmp 0x140017816
mov byte [rdi + 0x48], r13b
cmp qword [r15], r13
je 0x1400176ef
mov dword [rdi + 0x4c], 1
jmp 0x140017816
mov dword [rdi + 0x4c], 2
mov qword [r15], rbx
jmp 0x140017816
mov rcx, rbp
call fcn.140017ff0
mov eax, 0x16
jmp 0x140017818
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbp
call fcn.14000ddd0
mov eax, 0x3f
jmp 0x140017818
mov eax, 0x1b
jmp 0x140017818
mov eax, esi
jmp 0x140017818
mov eax, 4
jmp 0x140017818
cmp byte [rbp + 0x43f], r13b
je 0x140017754
mov byte [r12], 1
jmp 0x14001776c
cmp byte [rdi + 0x100], r13b
je 0x14001776c
mov qword [rdi], 0xffffffffffffffff
mov qword [rdi + 0x10], 0xffffffffffffffff
mov rdx, qword [rdi]
cmp rdx, 0xffffffffffffffff
je 0x140017784
mov rcx, rbp
call fcn.14001e2c0
mov rax, qword [rdi]
mov qword [rdi + 0x10], rax
cmp qword [rdi + 0x10], r13
jne 0x140017791
mov byte [r12], 1
jmp 0x140017797
cmp byte [r12], r13b
je 0x14001779e
and dword [rdi + 0xd8], 0xfffffffe
cmp byte [rbp + 0x448], r13b
je 0x140017816
mov r8, qword [rdi + 0x70]
mov r9, rbx
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.14000dc70
jmp 0x140017816
mov r8d, dword [rdi + 0x98]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbp
call fcn.14000ddd0
mov eax, 0x16
jmp 0x140017818
mov r8, qword [r15]
call fcn.1400179e0
test eax, eax
jne 0x140017818
cmp dword [rdi + 0x50], r13d
jne 0x140017816
cmp qword [rdi + 0x60], 5
jbe 0x140017816
mov rdx, qword [rbp + 0x7a0]
mov rcx, rbp
call fcn.140017840
test al, al
jne 0x140017816
mov dword [rdi + 0x4c], 2
mov byte [rdi + 0x48], r13b
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret