Function at 0x140047040
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 0x140047eff
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.140048100
test eax, eax
jne 0x140047f38
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 0x14004710c
cmp qword [rdi + 0x60], 5
jbe 0x14004710c
mov rdx, qword [rbp + 0x7a0]
mov rcx, rbp
call fcn.140047f60
test al, al
je 0x140047dfa
mov r10, qword [rdi + 0x80]
movzx eax, byte [r10]
cmp al, 0xa
je 0x140047bcb
cmp al, 0xd
je 0x140047bcf
mov ecx, dword [rdi + 0x50]
lea eax, [rcx + 1]
mov dword [rdi + 0x50], eax
test ecx, ecx
jne 0x14004735c
mov rax, qword [r14 + 0x358]
mov edx, dword [rax + 0x74]
test dl, 3
je 0x1400471f6
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 0x1400471b0
mov eax, dword [rsp + 0x70]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rbx], ecx
cmp dword [rdi + 0xa8], 2
jne 0x14004724e
cmp dword [rbx], 0x14
je 0x14004724e
lea rdx, str.Lying_server__not_serving_HTTP_2_n
mov rcx, rbp
call fcn.14003e620
jmp 0x14004724e
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 0x14004724e
mov rdx, qword [rdi + 0x80]
mov rcx, rbp
call fcn.140047f60
test al, al
je 0x140047f32
mov dword [rsi], 0xc8
mov dword [rbx], 0xa
jmp 0x14004724e
bt edx, 0x12
jae 0x140047f32
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 0x140047f32
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 0x14004726c
cmp eax, dword [rbx]
jle 0x140047274
mov eax, dword [rbx]
mov dword [rbp + 0x8984], eax
cmp byte [rbp + 0x438], r13b
je 0x1400472cb
mov eax, dword [rsi]
cmp eax, 0x190
jl 0x1400472cb
cmp eax, 0x191
jne 0x140047296
cmp byte [r14 + 0x32c], r13b
jne 0x1400472cb
cmp eax, 0x197
jne 0x1400472a6
cmp byte [r14 + 0x32d], r13b
jne 0x1400472cb
cmp qword [rbp + 0x89b0], r13
je 0x140047e1e
cmp dword [rbp + 0x378], 1
jne 0x140047e1e
cmp eax, 0x1a0
jne 0x140047e1e
mov eax, dword [rbx]
cmp eax, 0xa
jne 0x1400472eb
lea rdx, str.HTTP_1.0__assume_close_after_body_n
mov rcx, rbp
call fcn.14003e620
mov byte [r14 + 0x328], 1
jmp 0x14004732a
cmp eax, 0x14
je 0x14004732a
cmp dword [rdi + 0xa8], 1
jne 0x1400472fe
cmp dword [rsi], 0x65
je 0x14004732a
cmp eax, 0xb
jl 0x14004732a
cmp byte [r14 + 0x328], r13b
jne 0x14004732a
mov rbx, qword [r14 + 0x770]
test rbx, rbx
je 0x14004732a
mov rdx, r14
mov rcx, rbp
call fcn.14004a960
test al, al
jne 0x14004732a
mov byte [rbx], 1
mov ecx, dword [rsi]
sub ecx, 0xcc
je 0x140047339
cmp ecx, 0x64
jne 0x140047357
cmp dword [rbp + 0x368], r13d
je 0x140047349
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 0x1400473f7
cmp byte [rbp + 0x45f], r13b
jne 0x1400473f7
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Length:
mov r8d, 0xf
call fcn.14004b000
test eax, eax
je 0x1400473f7
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 0x1400473bf
cmp rax, rcx
jg 0x140047e30
mov rcx, rbp
test rax, rax
js 0x1400473db
mov rdx, rax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
call fcn.14004e9e0
jmp 0x140047b62
lea rdx, str.Negative_content_length:__ld__closing_after_transfer_n
mov r8, rax
mov byte [r14 + 0x328], 1
call fcn.14003e620
jmp 0x140047b62
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Type:
mov r8d, 0xd
call fcn.14004b000
test eax, eax
je 0x140047458
mov rcx, qword [rdi + 0x80]
call fcn.1400469d0
mov rbx, rax
test rax, rax
je 0x140047e49
cmp byte [rax], r13b
jne 0x14004743f
mov rcx, rax
call qword [fcn.14000409c]
jmp 0x140047b62
mov rcx, qword [rbp + 0x8a30]
call qword [fcn.14000409c]
mov qword [rbp + 0x8a30], rbx
jmp 0x140047b62
mov rdx, qword [rdi + 0x80]
lea rcx, str.Server:
mov r8d, 7
call fcn.14004b000
test eax, eax
je 0x1400474bc
mov rcx, qword [rdi + 0x80]
call fcn.1400469d0
mov rbx, rax
mov rax, qword [r14 + 0x770]
test rax, rax
je 0x1400474ae
cmp byte [rax], r13b
je 0x1400474ae
mov rdx, rbx
mov rcx, rbp
call fcn.14004a6c0
test al, al
je 0x1400474ae
mov rax, qword [r14 + 0x770]
mov byte [rax], r13b
mov rcx, rbx
call qword [fcn.14000409c]
jmp 0x140047b62
cmp dword [r14 + 0x18c], 0xa
jne 0x140047508
cmp byte [r14 + 0x32b], r13b
je 0x140047508
mov rcx, qword [rdi + 0x80]
lea r8, str.keep_alive
lea rdx, str.Proxy_Connection:
call fcn.1400468e0
test al, al
je 0x140047508
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbp
mov byte [r14 + 0x328], r13b
call fcn.14003e620
jmp 0x140047b62
cmp dword [r14 + 0x18c], 0xb
jne 0x140047555
cmp byte [r14 + 0x32b], r13b
je 0x140047555
mov rcx, qword [rdi + 0x80]
lea r8, str.close
lea rdx, str.Proxy_Connection:
call fcn.1400468e0
test al, al
je 0x140047555
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbp
mov byte [r14 + 0x328], 1
call fcn.14003e620
jmp 0x140047b62
cmp dword [r14 + 0x18c], 0xa
jne 0x140047598
mov rcx, qword [rdi + 0x80]
lea r8, str.keep_alive
lea rdx, str.Connection:
call fcn.1400468e0
test al, al
je 0x140047598
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbp
mov byte [r14 + 0x328], r13b
call fcn.14003e620
jmp 0x140047b62
mov rcx, qword [rdi + 0x80]
lea r8, str.close
lea rdx, str.Connection:
call fcn.1400468e0
test al, al
je 0x1400475c3
mov byte [r14 + 0x328], 1
jmp 0x140047b62
mov rdx, qword [rdi + 0x80]
lea rcx, str.Transfer_Encoding:
mov r8d, 0x12
call fcn.14004b000
test eax, eax
je 0x14004774e
mov rbx, qword [rdi + 0x80]
add rbx, 0x12
nop
movzx eax, byte [rbx]
test al, al
je 0x140047614
movzx ecx, al
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
jne 0x140047609
cmp byte [rbx], 0x2c
jne 0x140047614
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400475f7
lea rcx, str.chunked
mov r8d, 7
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x140047640
mov rcx, r14
mov byte [rdi + 0x100], 1
call fcn.1400599d0
add rbx, 7
cmp dword [rdi + 0xac], r13d
jne 0x140047b62
lea rcx, str.identity
mov r8d, 8
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x140047676
mov dword [rdi + 0xac], r13d
add rbx, 8
jmp 0x1400475f0
lea rcx, str.deflate
mov r8d, 7
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x1400476a2
mov dword [rdi + 0xac], 1
add rbx, 7
jmp 0x1400475f0
lea rcx, str.gzip
mov r8d, 4
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x1400476ce
mov dword [rdi + 0xac], 2
add rbx, 4
jmp 0x1400475f0
lea rcx, str.x_gzip
mov r8d, 6
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x1400476fa
mov dword [rdi + 0xac], 2
add rbx, 6
jmp 0x1400475f0
lea rcx, str.compress
mov r8d, 8
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x140047722
mov dword [rdi + 0xac], esi
add rbx, 8
jmp 0x1400475f0
lea rcx, str.x_compress
mov r8d, 0xa
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x140047b62
mov dword [rdi + 0xac], esi
add rbx, 0xa
jmp 0x1400475f0
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Encoding:
mov r8d, 0x11
call fcn.14004b000
test eax, eax
je 0x140047881
cmp qword [rbp + 0x4a8], r13
jne 0x140047786
cmp dword [r14 + 0x18c], 0x14
jne 0x140047881
mov rbx, qword [rdi + 0x80]
movzx eax, byte [rbx + 0x11]
add rbx, 0x11
test al, al
je 0x1400477b8
nop dword [rax]
movzx ecx, al
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
je 0x1400477b8
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400477a0
lea rcx, str.identity
mov r8d, 8
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x1400477dd
mov dword [rdi + 0xac], r13d
jmp 0x140047b62
lea rcx, str.deflate
mov r8d, 7
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x140047805
mov dword [rdi + 0xac], 1
jmp 0x140047b62
lea rcx, str.gzip
mov r8d, 4
mov rdx, rbx
call fcn.14004b000
test eax, eax
jne 0x140047872
lea r8d, [rax + 6]
lea rcx, str.x_gzip
mov rdx, rbx
call fcn.14004b000
test eax, eax
jne 0x140047872
lea r8d, [rax + 8]
lea rcx, str.compress
mov rdx, rbx
call fcn.14004b000
test eax, eax
jne 0x140047867
lea r8d, [rax + 0xa]
lea rcx, str.x_compress
mov rdx, rbx
call fcn.14004b000
test eax, eax
je 0x140047b62
mov dword [rdi + 0xac], esi
jmp 0x140047b62
mov dword [rdi + 0xac], 2
jmp 0x140047b62
mov rdx, qword [rdi + 0x80]
lea rcx, str.Content_Range:
mov r8d, 0xe
call fcn.14004b000
test eax, eax
je 0x140047916
mov rbx, qword [rdi + 0x80]
movzx eax, byte [rbx + 0xe]
add rbx, 0xe
test al, al
je 0x1400478ce
movzx ecx, al
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
jne 0x1400478ce
cmp byte [rbx], 0x2a
je 0x1400478ce
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1400478b1
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
je 0x14004790a
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 0x140047b62
mov byte [rdi + 0x88], 1
jmp 0x140047b62
mov qword [rbp + 0x89b0], r13
jmp 0x140047b62
cmp qword [rbp + 0x668], r13
je 0x1400479a3
mov rdx, qword [rdi + 0x80]
lea rcx, str.Set_Cookie:
mov r8d, 0xb
call fcn.14004b000
test eax, eax
je 0x1400479a3
mov edx, 2
mov rcx, rbp
mov r8d, edx
call fcn.14004b9c0
mov rcx, qword [r14 + 0x3b8]
test rcx, rcx
jne 0x140047963
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.14003a7f0
mov edx, 2
mov rcx, rbp
call fcn.14004ba00
jmp 0x140047b62
mov rdx, qword [rdi + 0x80]
lea rcx, str.Last_Modified:
mov r8d, 0xe
call fcn.14004b000
test eax, eax
je 0x140047a13
cmp dword [rbp + 0x368], r13d
jne 0x1400479d2
cmp byte [rbp + 0x431], r13b
je 0x140047a13
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.140052e20
mov qword [rdi + 0xb0], rax
cmp byte [rbp + 0x431], r13b
je 0x140047b62
mov dword [rbp + 0x8a14], eax
jmp 0x140047b62
mov rdx, qword [rdi + 0x80]
lea rcx, str.WWW_Authenticate:
mov r8d, 0x11
call fcn.14004b000
test eax, eax
je 0x140047a3d
mov eax, dword [rdi + 0x98]
cmp eax, 0x191
je 0x140047a67
mov rdx, qword [rdi + 0x80]
lea rcx, str.Proxy_authenticate:
mov r8d, 0x13
call fcn.14004b000
test eax, eax
je 0x140047ab4
mov eax, dword [rdi + 0x98]
cmp eax, 0x197
jne 0x140047ab4
mov rcx, qword [rdi + 0x80]
cmp eax, 0x197
sete sil
call fcn.1400469d0
mov rbx, rax
test rax, rax
je 0x140047e49
mov r8, rax
movzx edx, sil
mov rcx, r14
call fcn.140046cd0
mov rcx, rbx
mov esi, eax
call qword [fcn.14000409c]
test esi, esi
jne 0x140047e53
mov esi, 3
jmp 0x140047b62
mov eax, dword [rdi + 0x98]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140047b4e
mov rdx, qword [rdi + 0x80]
lea rcx, str.Location:
mov r8d, 9
call fcn.14004b000
test eax, eax
je 0x140047b4e
cmp qword [rbp + 0x170], r13
jne 0x140047b4e
mov rcx, qword [rdi + 0x80]
call fcn.1400469d0
test rax, rax
je 0x140047e49
cmp byte [rax], r13b
jne 0x140047b13
mov rcx, rax
call qword [fcn.14000409c]
jmp 0x140047b62
mov qword [rbp + 0x170], rax
cmp byte [rbp + 0x439], r13b
je 0x140047b62
mov rcx, rax
call qword [case.0x14003c377.11]
mov qword [rbp + 0x178], rax
test rax, rax
je 0x140047e49
mov rcx, r14
call fcn.140048310
test eax, eax
jne 0x140047f38
jmp 0x140047b62
mov rax, qword [r14 + 0x358]
test dword [rax + 0x74], 0x40000
jne 0x140047e5a
cmp byte [rbp + 0x43c], r13b
mov ebx, 2
cmovne ebx, esi
cmp byte [rbp + 0x448], r13b
je 0x140047b97
mov r9, qword [rdi + 0x60]
mov r8, qword [rdi + 0x80]
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.14003e390
mov r9, qword [rdi + 0x60]
mov r8, qword [rdi + 0x80]
mov edx, ebx
mov rcx, r14
call fcn.14003e370
test eax, eax
jne 0x140047f38
mov eax, dword [rdi + 0x60]
add dword [rbp + 0x8a1c], eax
mov eax, dword [rdi + 0x60]
add dword [rbp + 0xc0], eax
jmp 0x140047dcf
cmp al, 0xd
jne 0x140047bda
lea rax, [r10 + 1]
mov qword [rdi + 0x80], rax
mov rax, qword [rdi + 0x80]
cmp byte [rax], 0xa
jne 0x140047bf0
inc rax
mov qword [rdi + 0x80], rax
mov ecx, dword [rdi + 0x98]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x140047c5c
mov byte [rdi + 0x48], 1
mov dword [rdi + 0x50], r13d
sub ecx, 0x64
je 0x140047c43
dec ecx
jne 0x140047cb2
cmp dword [rdi + 0xa8], 1
jne 0x140047cb2
lea rdx, str.Received_101_n
mov rcx, rbp
call fcn.14003e620
mov dword [rdi + 0xa8], 2
mov eax, 1
jmp 0x140047f38
cmp dword [rdi + 0xa4], r13d
je 0x140047cb2
or dword [rdi + 0xd8], 2
mov dword [rdi + 0xa4], r13d
jmp 0x140047cb2
cmp qword [rdi], 0xffffffffffffffff
mov byte [rdi + 0x48], r13b
jne 0x140047cb2
cmp byte [rdi + 0x100], r13b
jne 0x140047cb2
cmp byte [r14 + 0x328], r13b
jne 0x140047cb2
cmp dword [r14 + 0x18c], 0xb
jne 0x140047cb2
mov rax, qword [r14 + 0x358]
test dword [rax + 0x74], 0x40000
jne 0x140047cb2
cmp dword [rbp + 0x378], 5
je 0x140047cb2
lea rdx, str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
mov rcx, rbp
call fcn.14003e620
mov byte [r14 + 0x328], 1
mov rcx, r14
call fcn.140048490
test eax, eax
jne 0x140047ee2
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.14003e370
test eax, eax
jne 0x140047f38
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 0x140047dc5
mov rcx, r14
call fcn.140046ae0
test eax, eax
jne 0x140047f38
cmp dword [rdi + 0x98], 0x12c
jl 0x140047da6
cmp byte [r14 + 0x336], r13b
jne 0x140047da6
cmp byte [r14 + 0x328], r13b
jne 0x140047da6
cmp byte [r14 + 0x337], r13b
jne 0x140047daf
mov eax, dword [rbp + 0x378]
add eax, 0xfffffffe
cmp eax, 2
ja 0x140047da6
cmp byte [rdi + 0xdc], r13b
jne 0x140047da6
lea rdx, str.HTTP_error_before_end_of_send__stop_sending_n
mov rcx, rbp
call fcn.14003e620
mov byte [r14 + 0x328], 1
and dword [rdi + 0xd8], 0xfffffffd
mov byte [rdi + 0xdc], 1
cmp byte [rbp + 0x8988], r13b
je 0x140047da6
mov dword [rdi + 0xa4], esi
cmp byte [r14 + 0x337], r13b
je 0x140047dc5
lea rdx, str.Keep_sending_data_to_get_tossed_away__n
mov rcx, rbp
call fcn.14003e620
or dword [rdi + 0xd8], 2
cmp byte [rdi + 0x48], r13b
je 0x140047e64
mov rax, qword [rbp + 0x7a0]
mov qword [rdi + 0x60], r13
mov qword [rdi + 0x58], rax
cmp byte [r12], r13b
jne 0x140047f36
mov rax, qword [rdi + 0x68]
cmp byte [rax], r13b
jne 0x140047080
jmp 0x140047f36
mov byte [rdi + 0x48], r13b
cmp qword [r15], r13
je 0x140047e0f
mov dword [rdi + 0x4c], 1
jmp 0x140047f36
mov dword [rdi + 0x4c], 2
mov qword [r15], rbx
jmp 0x140047f36
mov rcx, rbp
call fcn.140048710
mov eax, 0x16
jmp 0x140047f38
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbp
call fcn.14003e4f0
mov eax, 0x3f
jmp 0x140047f38
mov eax, 0x1b
jmp 0x140047f38
mov eax, esi
jmp 0x140047f38
mov eax, 4
jmp 0x140047f38
cmp byte [rbp + 0x43f], r13b
je 0x140047e74
mov byte [r12], 1
jmp 0x140047e8c
cmp byte [rdi + 0x100], r13b
je 0x140047e8c
mov qword [rdi], 0xffffffffffffffff
mov qword [rdi + 0x10], 0xffffffffffffffff
mov rdx, qword [rdi]
cmp rdx, 0xffffffffffffffff
je 0x140047ea4
mov rcx, rbp
call fcn.14004e9e0
mov rax, qword [rdi]
mov qword [rdi + 0x10], rax
cmp qword [rdi + 0x10], r13
jne 0x140047eb1
mov byte [r12], 1
jmp 0x140047eb7
cmp byte [r12], r13b
je 0x140047ebe
and dword [rdi + 0xd8], 0xfffffffe
cmp byte [rbp + 0x448], r13b
je 0x140047f36
mov r8, qword [rdi + 0x70]
mov r9, rbx
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.14003e390
jmp 0x140047f36
mov r8d, dword [rdi + 0x98]
lea rdx, str.The_requested_URL_returned_error:__d
mov rcx, rbp
call fcn.14003e4f0
mov eax, 0x16
jmp 0x140047f38
mov r8, qword [r15]
call fcn.140048100
test eax, eax
jne 0x140047f38
cmp dword [rdi + 0x50], r13d
jne 0x140047f36
cmp qword [rdi + 0x60], 5
jbe 0x140047f36
mov rdx, qword [rbp + 0x7a0]
mov rcx, rbp
call fcn.140047f60
test al, al
jne 0x140047f36
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