Function at 0x140131250
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x1be], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x14013130c
cmp byte [rcx + 0x946], 0
jne 0x14013130c
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x14013130c
xor edx, edx
lea rcx, [rdi + 0xf]
lea r9, [rsp + 0x40]
lea r8d, [rdx + 0xa]
call fcn.140139d40
test eax, eax
jne 0x1401312cd
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0xe8], rax
mov qword [rbx + 0xf0], rax
jmp 0x140131347
cmp eax, 1
jne 0x1401312f6
cmp qword [rbx + 0x600], 0
je 0x1401313db
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.140120d90
mov eax, 0x3f
jmp 0x140131349
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.140120d90
mov eax, 8
jmp 0x140131349
mov r8d, 0xd
lea rdx, str.Content_Type:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x140131374
mov rcx, rdi
call fcn.14012e790
mov rdi, rax
test rax, rax
je 0x140131787
cmp byte [rax], 0
jne 0x14013135e
mov rcx, rax
call qword [fcn.14014a0ac]
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x11c0]
call qword [fcn.14014a0ac]
mov qword [rbx + 0x11c0], rdi
jmp 0x140131347
cmp byte [rsi + 0x437], 0xa
jne 0x1401313b2
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, 0xb
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14012f6a0
test al, al
je 0x1401313b2
xor edx, edx
mov rcx, rsi
call fcn.14011b050
jmp 0x140131347
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14012f6a0
test al, al
je 0x1401313ed
mov edx, 2
mov rcx, rsi
call fcn.14011b050
jmp 0x140131347
movzx ebp, byte [rbx + 0x1be]
test bpl, bpl
jne 0x140131492
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x140131453
lea rdx, [rdi + 0x12]
mov r8d, 1
mov rcx, rbx
call fcn.140123480
test eax, eax
jne 0x140131349
cmp byte [rbx + 0x1bf], al
jne 0x140131347
lea edx, [rax + 1]
mov rcx, rsi
call fcn.14011b050
mov byte [rbx + 0x1c0], 1
jmp 0x140131347
mov r8d, 0x11
lea rdx, str.Content_Encoding:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x140131492
cmp qword [rbx + 0x658], 0
je 0x140131492
lea rdx, [rdi + 0x11]
xor r8d, r8d
mov rcx, rbx
call fcn.140123480
test eax, eax
je 0x140131347
jmp 0x140131349
mov r8d, 0xc
lea rdx, str.Retry_After:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x1401314f9
xor edx, edx
mov qword [rsp + 0x40], 0
lea rcx, [rdi + 0xc]
lea r9, [rsp + 0x40]
lea r8d, [rdx + 0xa]
call fcn.140139d40
mov r8, qword [rsp + 0x40]
test r8, r8
jne 0x1401314ed
call fcn.14013a000
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401314ed
xor ecx, ecx
call fcn.140153170
mov r8, rdi
sub r8, rax
mov qword [rbx + 0x11d0], r8
jmp 0x140131347
test bpl, bpl
jne 0x1401315f5
mov r8d, 0xe
lea rdx, str.Content_Range:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x1401315a5
movzx ecx, byte [rdi + 0xe]
add rdi, 0xe
test cl, cl
je 0x140131550
movzx eax, cl
nop
cmp al, 0x30
jl 0x14013153b
movzx ecx, al
cmp al, 0x39
jle 0x140131550
movzx ecx, al
cmp al, 0x2a
je 0x140131550
movzx ecx, byte [rdi + 1]
inc rdi
movzx eax, cl
test cl, cl
jne 0x140131530
sub cl, 0x30
cmp cl, 9
ja 0x140131595
xor edx, edx
lea r9, [rbx + 0x150]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.140139d40
test eax, eax
jne 0x140131347
mov rax, qword [rbx + 0x150]
cmp qword [rbx + 0xff0], rax
jne 0x140131347
mov byte [rbx + 0x1bb], 1
jmp 0x140131347
mov qword [rbx + 0xff0], 0
jmp 0x140131347
mov r8d, 0xe
lea rdx, str.Last_Modified:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x1401315f5
cmp byte [rbx + 0x508], 0
jne 0x1401315d0
cmp byte [rbx + 0x930], 0
je 0x1401315f5
call fcn.14013a000
mov qword [rbx + 0x180], rax
cmp byte [rbx + 0x930], 0
je 0x140131347
mov qword [rbx + 0x1198], rax
jmp 0x140131347
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x14013161c
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x191
je 0x140131643
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x140131685
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x197
jne 0x140131685
mov rcx, rdi
call fcn.14012e790
mov rdi, rax
test rax, rax
je 0x140131787
cmp ebp, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.14012f030
mov rcx, rdi
mov ebx, eax
call qword [fcn.14014a0ac]
test ebx, ebx
je 0x140131347
mov eax, ebx
jmp 0x140131349
mov r8d, 0x10
lea rdx, str.Persistent_Auth:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x1401316ee
cmp dword [rbx + 0xc54], 4
jne 0x140131347
mov rcx, rdi
call fcn.14012e790
mov rbx, rax
test rax, rax
je 0x140131787
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.1401238c0
test eax, eax
mov byte [rsi + 0x349], 1
setne cl
mov byte [rsi + 0x348], cl
mov rcx, rbx
jmp 0x140131341
mov eax, dword [rbx + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140131791
mov r8d, 9
lea rdx, str.Location:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x140131791
cmp qword [rbx + 0x190], 0
jne 0x140131791
mov rcx, rdi
call fcn.14012e790
test rax, rax
je 0x140131787
cmp byte [rax], 0
jne 0x14013173f
mov rcx, rax
jmp 0x140131341
cmp byte [rbx + 0x938], 0
mov qword [rbx + 0x190], rax
je 0x140131347
mov rcx, rax
call qword [case.0x14011d7bf.0]
mov qword [rbx + 0x198], rax
test rax, rax
je 0x140131787
mov rdx, rsi
mov rcx, rbx
call fcn.14012eac0
test eax, eax
jne 0x140131349
mov byte [rbx + 0x1171], 1
jmp 0x140131347
mov eax, 0x1b
jmp 0x140131349
mov rbx, qword [rbx + 0x958]
test rbx, rbx
je 0x1401317db
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rdi
call fcn.1401238c0
test eax, eax
je 0x1401317db
mov rax, qword [rsi + 0x200]
test byte [rax + 0x8c], 1
je 0x1401317db
mov rdx, qword [rsi + 0x70]
lea r8, [rdi + 0x1a]
mov rcx, rbx
call fcn.140120190
jmp 0x140131347
mov rax, qword [rsi + 0x200]
test dword [rax + 0x84], 0x40000
je 0x140131347
mov eax, 4
jmp 0x140131349