Function at 0x14012f7d0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp byte [rcx + 0x1be], r14b
jne 0x14012f89d
cmp byte [rcx + 0x946], r14b
jne 0x14012f89d
lea r8d, [r14 + 0xf]
mov rcx, rdi
lea rdx, str.Content_Length:
call fcn.140122e00
test eax, eax
je 0x14012f89d
lea rcx, [rdi + 0xf]
xor edx, edx
lea r9, [rsp + 0x50]
lea r8d, [r14 + 0xa]
call fcn.1401376d0
test eax, eax
jne 0x14012f85f
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0xe8], rax
mov qword [rbx + 0xf0], rax
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
cmp eax, 1
jne 0x14012f887
cmp qword [rbx + 0x600], r14
je 0x14012f94e
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.140120854
mov eax, 0x3f
jmp 0x14012f84c
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.140120854
mov eax, 8
jmp 0x14012f84c
mov r8d, 0xd
lea rdx, str.Content_Type:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012f8f0
mov rcx, rdi
call fcn.14012d058
mov rdi, rax
test rax, rax
je 0x14012fce3
cmp byte [rax], r14b
jne 0x14012f8d7
mov rcx, rax
jmp 0x14012fc43
mov rcx, qword [rbx + 0x11c0]
call qword [fcn.1401472ec]
mov qword [rbx + 0x11c0], rdi
jmp 0x14012f84a
cmp byte [rsi + 0x437], 0xa
mov ebp, 0xb
jne 0x14012f928
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, ebp
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14012dde0
test al, al
je 0x14012f928
xor edx, edx
jmp 0x14012f953
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, rbp
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14012dde0
test al, al
je 0x14012f960
mov edx, 2
mov rcx, rsi
call fcn.14011b28c
jmp 0x14012f84a
mov bpl, byte [rbx + 0x1be]
test bpl, bpl
jne 0x14012fa04
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012f9c6
lea rdx, [rdi + 0x12]
mov r8d, 1
mov rcx, rbx
call fcn.140122a50
test eax, eax
jne 0x14012f84c
cmp byte [rbx + 0x1bf], r14b
jne 0x14012f84a
lea edx, [rax + 1]
mov rcx, rsi
call fcn.14011b28c
mov byte [rbx + 0x1c0], dl
jmp 0x14012f84a
mov r8d, 0x11
lea rdx, str.Content_Encoding:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fa04
cmp qword [rbx + 0x658], r14
je 0x14012fa04
lea rdx, [rdi + 0x11]
xor r8d, r8d
mov rcx, rbx
call fcn.140122a50
test eax, eax
je 0x14012f84a
jmp 0x14012f84c
mov r8d, 0xc
lea rdx, str.Retry_After:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fa67
xor edx, edx
mov qword [rsp + 0x50], r14
lea rcx, [rdi + 0xc]
lea r9, [rsp + 0x50]
lea r8d, [rdx + 0xa]
call fcn.1401376d0
mov r9, qword [rsp + 0x50]
test r9, r9
jne 0x14012fa5b
call fcn.140137974
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14012fa5b
xor ecx, ecx
call fcn.1401503b0
mov r9, rdi
sub r9, rax
mov qword [rbx + 0x11d0], r9
jmp 0x14012f84a
test bpl, bpl
jne 0x14012fb4f
mov ebp, 0xe
lea rdx, str.Content_Range:
mov r8d, ebp
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fb02
add rdi, rbp
mov al, byte [rdi]
test al, al
je 0x14012fab4
mov cl, al
cmp cl, 0x30
jl 0x14012faa2
mov al, cl
cmp cl, 0x39
jle 0x14012fab4
mov al, cl
cmp cl, 0x2a
je 0x14012fab4
inc rdi
mov al, byte [rdi]
mov cl, al
test al, al
jne 0x14012fa96
sub al, 0x30
cmp al, 9
ja 0x14012faf6
xor edx, edx
lea rsi, [rbx + 0x150]
mov r9, rsi
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1401376d0
test eax, eax
jne 0x14012f84a
mov rax, qword [rsi]
cmp qword [rbx + 0xff0], rax
jne 0x14012f84a
mov byte [rbx + 0x1bb], 1
jmp 0x14012f84a
mov qword [rbx + 0xff0], r14
jmp 0x14012f84a
mov r8, rbp
lea rdx, str.Last_Modified:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fb4f
cmp byte [rbx + 0x508], r14b
jne 0x14012fb2a
cmp byte [rbx + 0x930], r14b
je 0x14012fb4f
call fcn.140137974
mov qword [rbx + 0x180], rax
cmp byte [rbx + 0x930], r14b
je 0x14012f84a
mov qword [rbx + 0x1198], rax
jmp 0x14012f84a
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fb76
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x191
je 0x14012fb9d
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fbdf
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x197
jne 0x14012fbdf
mov rcx, rdi
call fcn.14012d058
mov rdi, rax
test rax, rax
je 0x14012fce3
cmp ebp, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.14012d7dc
mov rcx, rdi
mov ebx, eax
call qword [fcn.1401472ec]
test ebx, ebx
je 0x14012f84a
mov eax, ebx
jmp 0x14012f84c
mov r8d, 0x10
lea rdx, str.Persistent_Auth:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fc4e
cmp dword [rbx + 0xc54], 4
jne 0x14012f84a
mov rcx, rdi
call fcn.14012d058
mov rbx, rax
test rax, rax
je 0x14012fce3
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.140122e00
test eax, eax
mov byte [rsi + 0x349], 1
setne cl
mov byte [rsi + 0x348], cl
mov rcx, rbx
call qword [fcn.1401472ec]
jmp 0x14012f84a
mov eax, dword [rbx + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x14012fced
mov r8d, 9
lea rdx, str.Location:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fced
cmp qword [rbx + 0x190], r14
jne 0x14012fced
mov rcx, rdi
call fcn.14012d058
test rax, rax
je 0x14012fce3
cmp byte [rax], r14b
jne 0x14012fc9b
mov rcx, rax
jmp 0x14012fc43
mov qword [rbx + 0x190], rax
cmp byte [rbx + 0x938], r14b
je 0x14012f84a
mov rcx, rax
call qword [case.0x14011d62c.0]
mov qword [rbx + 0x198], rax
test rax, rax
je 0x14012fce3
mov rdx, rsi
mov rcx, rbx
call fcn.14012d2e4
test eax, eax
jne 0x14012f84c
mov byte [rbx + 0x1171], 1
jmp 0x14012f84a
mov eax, 0x1b
jmp 0x14012f84c
mov rbx, qword [rbx + 0x958]
test rbx, rbx
je 0x14012fd37
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rdi
call fcn.140122e00
test eax, eax
je 0x14012fd37
mov rax, qword [rsi + 0x200]
test byte [rax + 0x8c], 1
je 0x14012fd37
mov rdx, qword [rsi + 0x70]
lea r8, [rdi + 0x1a]
mov rcx, rbx
call fcn.14011fd90
jmp 0x14012f84a
mov rax, qword [rsi + 0x200]
test dword [rax + 0x84], 0x40000
je 0x14012f84a
mov eax, 4
jmp 0x14012f84c